Coding Guidelines
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
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 -yInstalls 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- Mermaid Studio355
- Perf Lighthouse349
- Decomposition Planning Roadmap329
- Docs Writer322
- Playwright Skill320
- Perf Astro303
- Coupling Analysis299
- Perf Web Optimization298
- Best Practices295
- Accessibility274
- Jira Assistant274
- Cursor Subagent Creator272
- Excalidraw Studio269
- Seo254
- Figma Implement Design248
- Tlc Spec Driven1.4K
- Subagent Creator971
- Technical Design Doc Creator669
- Security Best Practices406
- Domain Analysis389
- Nestjs Modular Monolith362
Similar to Coding Guidelines
More Agent Workflow & Planningkarpathy-guidelinesmultica-ai/andrej-karpathy-skills48.8K installsBehavioral guidelines that steer LLM coding toward simpler, surgical, verifiable changes.
clean-codedavila7/claude-code-templates1.1K installsPragmatic coding standards that enforce small functions, direct fixes, and minimal comments for AI-assisted coding.
clean-code-guardamelnagdy/guard-skills5K installsGuards code before it ships using Clean Code, SOLID, DRY, KISS, YAGNI, and LLM failure-mode checks.
code-simplificationaddyosmani/agent-skills81.8K installsSimplifies working code for clarity while holding behavior exactly constant, with a five-principle process.
ai-first-engineeringaffaan-m/ecc12.3K installsEngineering operating model that sets planning, review, and architecture rules for codebases largely written by agents.