This directory contains coding standards, conventions, and development practices.
- Common rules index:
docs/rules/common/README.md - Common rules navigation:
docs/rules/common/AGENTS.md - Common rules docs (authoritative baseline):
docs/rules/common/*.md - Language-specific rules:
docs/rules/{language}/*.md(for example:docs/rules/typescript/ordocs/rules/rust/) - Framework-specific rules:
docs/rules/{framework}/*.md(for example:docs/rules/react/ordocs/rules/nextjs/)
- Files in
docs/rules/common/*.mdare live baseline rules for this repository. - Keep reusable scaffolds in
docs/templates/only when you need to bootstrap rules in other repositories.
- Keep shared rules in
common/ - Add language/framework folders only when they are actively used
- Keep rules concise, actionable, and implementation-oriented
- Start with
common/rules for any task. - Apply language/framework rules when the task requires them.
- Update relevant rule docs when conventions evolve.