Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.52 KB

File metadata and controls

53 lines (39 loc) · 1.52 KB

Coding Preset

For software development projects: libraries, tools, applications.

When to Use

Choose this preset when your project:

  • Has package.json, Cargo.toml, pyproject.toml, go.mod, or pom.xml
  • Is primarily source code
  • Focuses on building software

Quality Standards

## Code Quality Standards

- Write clean, maintainable code with clear intent
- Test-driven development where applicable
- Meaningful commit messages following conventional format
- No premature optimization
- Avoid over-engineering - only make requested changes

Recommended Components

Component Tier Recommended Why
permissions.allow 1 ✅ Yes (baseline) Pre-approve git read commands
Stop hook 1 ✅ Yes (baseline) Uncommitted/unpushed reminders
CLAUDE.md 2 ✅ Yes Project context
Session hook 2 ✅ Yes Shows git status, recent commits
Post-tool hook 3 Optional Auto-format with prettier/black
GitHub Actions 3 For teams @.claude PR reviews

See Project Infrastructure Pattern for the full tiered approach.

Git Workflow

## Git Workflow

Commit messages follow conventional format:
- `feat:` New features
- `fix:` Bug fixes
- `docs:` Documentation changes
- `refactor:` Code refactoring
- `test:` Test additions/changes
- `chore:` Maintenance tasks

Example CLAUDE.md

See examples/coding-project/.claude/CLAUDE.md