Skip to content

Behavioral guidelines that curb common LLM coding mistakes through caution, simplicity, and verifiable goals.

CCM score
62 of 100
skills.sh installs
358
GitHub stars
7.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers four principles: surface assumptions before coding, keep solutions minimal, make surgical edits, and verify against defined success criteria
  • Enforces stating assumptions and surfacing tradeoffs rather than silently picking one interpretation
  • Requires each changed line to trace to the request, and flags unrelated dead code instead of deleting it
  • Designed for implementation, refactoring, bug fix, and feature tasks, and not for architecture design or documentation work

Install

$ npx -y skills add tech-leads-club/agent-skills --skill coding-guidelines -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Coding Guidelines

Behavioral guidelines to reduce common LLM coding mistakes. These principles bias toward caution over speed—for trivial tasks, use judgment.

1. Think Before Coding

Don't assume. Don't hide confusion. Surface tradeoffs.

Before implementing:

  • State assumptions explicitly. If uncertain, ask.
  • If multiple interpretations exist, present them—don't pick silently.
  • If a simpler approach exists, say so. Push back when warranted.
  • If something is unclear, stop. Name what's confusing. Ask.
  • Disagree honestly. If the user's approach seems wrong, say so—don't be sycophantic.

2. Simplicity First

Minimum code that solves the problem. Nothing speculative.

  • No features beyond what was asked.
  • No abstractions for single-use code.
  • No "flexibility" or "configurability" that wasn't requested.
  • No error handling for impossible scenarios.
  • If you write 200 lines and it could be 50, rewrite it.

Ask yourself: "Would a senior engineer say this is overcomplicated?" If yes, simplify.

3. Surgical Changes

Touch only what you must. Clean up only your own mess.

When editing existing code:

Details

Repository
github.com/tech-leads-club/agent-skills
Categories
Agent Workflow & Planning, Code Review & Quality
First seen
Jun 3, 2026

Questions

What does the coding-guidelines skill do?

coding-guidelines gives an agent behavioral rules to reduce common LLM coding mistakes. It covers thinking before coding, simplicity first, surgical changes, and goal-driven execution with verifiable success criteria.

When should I use the coding-guidelines skill?

coding-guidelines applies when writing, modifying, or reviewing code, including bug fixes, refactoring, and feature development. It should not be used for architecture design, documentation, or non-code tasks.

How do I install the coding-guidelines skill?

Run npx -y skills add tech-leads-club/agent-skills --skill coding-guidelines -y in a project to install coding-guidelines. After that, the agent follows its rules on code changes.

Which category does coding-guidelines belong to?

coding-guidelines is listed in the Agent Workflow & Planning category. Its neighbors there include grill-me, grill-with-docs, setup-matt-pocock-skills, grilling and prototype.

More from tech-leads-club/agent-skills

All 22

Similar to Coding Guidelines

More Agent Workflow & Planning