Agent instructions and coding standards built on the 6 Principles of Good Code Design: Consistent, Correct, Clear, Concise, Simple, Salient.
npx skills add kengz/good-codeThis installs the good-code skill, which generates a project-specific CLAUDE.md (or AGENTS.md) tailored to your stack. Works with 37+ agents — Claude Code, Cursor, Codex, Copilot, and more.
Copy skills/good-code/CLAUDE.md into your project root and adapt the comment blocks to your stack.
| File | Purpose |
|---|---|
PRINCIPLES.md |
The 6 Principles — full explanations |
CLAUDE.md |
Agent instructions template |
SKILL.md |
Skill definition — auto-detects your stack and generates a tailored instructions file |
- Consistent — Design from first principles — unified naming, patterns, and conventions throughout.
- Correct — Constructed from known truths, not debugged into shape.
- Clear — Code does what it says — intent is obvious from naming and logic alone.
- Concise — Simplified to the essence — nothing left to remove.
- Simple — Few moving parts, easy to explain, cheap to maintain — complexity is not sophistication.
- Salient — Essential enough to be used widely, fundamental enough to last.
Read the full writeup in PRINCIPLES.md.