mirror of
https://github.com/NickCrew/Claude-Cortex.git
synced 2026-09-14 20:17:11 +08:00
2.0 KiB
2.0 KiB
Documentation Rules
- Always use kebab-case filenames for files in
**docs/* - Do not create documentation files in the project root without asking the user. Exceptions:
README.md,CONTRIBUTING.md,CHANGELOG.md - Maintain a documentation navigator at
docs/NAVIGATOR.md site/is the preferred location for statically generated doc sites like Github pages- Maintain a clean logical separation between user-facing documentation and development (project) documentation.
- Store plans and design notes in the repo's
docs/tree (see structure below): design notes underdocs/development/design/, rollout/implementation plans underdocs/development/plans/, ADRs underdocs/architecture/decisions/. Link them from the task that motivates them (the GitHub issue, or — for repos still on Backlog.md such as Cortex — the backlog task viabacklog docs).
Docs Folder Structure
Organize documentation for neatly using sub-directories under docs/.
docs/asssets- Images, JS, CSSdocs/NAVIGATOR.md- File index, role-based discoverydocs/devel- Development docs: instructions for setting up the local environment, managing local processes, dependencies, task runners, any reports or analysis that are only relevant to developers.docs/devel/testing- Test methodology of the project and how to execute testsdocs/devel/plans- Future plansdocs/devel/reports- Reports, summaries, implementation details
docs/architecture- Architecture, designs, diagramsdocs/reference- References for APIs, CLI, etc. Feature inventories.docs/reference/api- API Documentationdocs/reference/features- Product featuresdocs/reference/clidocs/reference/cli/man- Manpages if they existdocs/tutorials- How-to
docs/presentations- Slideshows, reveal.js presentations, etcdocs/guides- Explanationsdocs/archive- Deprecated documentation, completed plans, old reports.docs/site/- Alternative location for static site content