Keep project documentation current after a feature lands — README, AGENT_CONTEXT.md, feature docs, and ARCHITECTURE.md suggestions.
/cverify passes — this is the final step before mergingverified and the verification report exists/cspec), writing code documentation inline, or documenting features that haven’t been verified yet/cdocs is the last skill in the pipeline before merge. The full flow is: /cspec → /creview → /ctdd → /cverify → /cdocs → merge. It requires the verification report from /cverify to exist — if it does not, the skill stops and tells you to run /cverify first.
docs/features/ with usage, configuration, examples, and known limitationsAgent: Diff analysis complete — 1 new feature (login rate limiting),
2 new config options. Checking README...
README changes proposed:
- Add "Rate Limiting" to the Features section
- Add RATE_LIMIT_WINDOW_MINUTES to the Configuration table
AGENT_CONTEXT.md updates:
- Add Redis dependency to Key Components
- Add rate limiting pattern to Design Patterns
Feature doc: created docs/features/rate-limiting.md
- What it does, config options, Redis requirement
ARCHITECTURE.md: no new patterns needed — rate limiting
follows existing middleware pattern (PAT-003).
Staleness check: docs/features/old-auth.md references
`src/middleware/basicAuth.ts` which was removed in this branch.
Approve these changes?
| Reads | Writes |
|---|---|
docs/verification/{slug}-verification.md |
README.md (updated) |
.correctless/specs/{slug}.md |
AGENT_CONTEXT.md (updated) |
README.md, ARCHITECTURE.md, AGENT_CONTEXT.md |
docs/features/{slug}.md (new or updated) |
.correctless/config/workflow-config.json |
ARCHITECTURE.md (additions, if approved) |
| Git diff against main | CLAUDE.md (convention learning, if 3+ features share a pattern) |
| Workflow state (advances to documented) |
Same at all intensity levels for documentation checks. At high/critical intensity, convention learning is included — if the same architectural pattern has appeared in 3+ features, it appends a “Convention confirmed” entry to CLAUDE.md so future agents treat it as an established project convention.
docs/verification/{slug}-verification.md. If you see this message, run /cverify before /cdocs.