Adding a Project and Documenting Features

By Engineering Team•November 29, 2026•4 min read

Adding a new project

  1. Create or clone the project as its own git repository inside the workspace folder.
  2. Add its folder to the workspace .gitignore, so the workspace never tracks its files.
  3. Give it a CLAUDE.md that holds only what is specific to the project: stack, layout, commands, conventions. Link to shared rules by name. Never copy them.
  4. Add a row to the Projects table in the workspace CLAUDE.md: what it is, what to read first, how it is deployed.
  5. In <site-repo>, add src/content/applications/<project>.md and a section set under src/content/appDocs/app-articles-<project>/, and register each section in src/lib/applications.ts (APP_SECTIONS).
  6. Check whether a shared rule needs a project-scope note (for example a paths: entry), and whether .claudeignore or .graphifyignore need new entries for its build output.
  7. If the project gets its own dev container, use /dev-container-tofu for infrastructure containers, and /infra-docs for its operator docs.
  8. Harden its GitHub repository with /github-repo-hardening.

Documenting every feature

A feature in any project counts as done only when it is documented in <site-repo>. Write the docs in this order, each against the real implementation:

Stage Folder Holds
1. Business Requirement 01-business-requirement/ The what and why, in business language. No tool, protocol, field or language names
2. System Requirements 02-system-requirements/ FR/NFR derived from the BRD, naming the real tools and files that implement each
3. Architecture Decision Record 03-architecture-design-record/ Options considered and why the built approach won, in the fixed ADR layout
4. Architecture 04-architecture/ Components and end-to-end flow, citing the SR IDs

Services or modules touched, and UI walkthroughs where relevant, are documented alongside. Every gap found while writing 2–4 goes to the project’s private register, <project>/docs/technical-debts/, with evidence and remediation; it is never published.

Rules the assistant follows, from <site-repo>/CLAUDE.md:

  • Read the code first. Never document a feature ahead of what is built.
  • Docs describe only the current design. When the implementation changes, rewrite the affected pages to the new design: no dates on ADR options, no “previously” or “no longer”, no notes about the old design. The history stays in Git.
  • Each fact has one owning page; other pages link to it instead of repeating it.
  • Published docs never contain real resource names, secret names or live hostnames. Use placeholders such as <state-bucket>.
  • Code and docs are separate repositories, so they are separate commits or pull requests. Link each to the other in the description.
  • Published docs describe what a control does, never its exact thresholds, blocked paths, allowlists or credential lifetimes, and never copy code from the implementation.
  • Run /publish-review and npm run build in <site-repo> before calling a docs change done.

A good request to the assistant: “Document the in following the doc pipeline. Read the code in first.”