src/orchestrator/skills/documentation-standards/SKILL.md
Scaffolds issue docs, ADRs, README outlines, changelog entries, roadmap updates, and Mermaid architecture diagrams using project templates. Use when drafting an ADR, writing a changelog, updating the roadmap after a feature ships, creating a README for a new library, or diagramming a system flow.
npx skillsauth add etylsarin/opencastle documentation-standardsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
For project-specific directory structure and practices, see docs-structure.md.
### ISSUE-ID: Brief Description
**Issue ID:** ISSUE-ID
**Status:** Known Limitation | Fixed | Workaround Available
**Severity:** Critical | High | Medium | Low
**Impact:** [What user/developer experience is affected]
#### Problem
[Clear description of the issue]
#### Root Cause
[Technical explanation]
#### Solution Options
1. **Option A** — [Description] — Pros: ... Cons: ...
2. **Option B** — [Description]
#### Related Files
- `path/to/file.ts` — [What it does]
When a feature is completed: add COMPLETE row with date and owner, list files changed with rationale, add validation command + exit status, move to Completed section with one-line release note.
- Feature: Add priceRange filter
Completed: 2026-03-30 | Owner: @developer
Files: src/components/PriceRangeFilter.tsx, src/lib/filters.ts
Validation: `pnpm build` (exit 0)
## ADR-NNN: Decision Title
**Date:** YYYY-MM-DD
**Status:** Accepted | Superseded | Deprecated
**Context:** [Why this decision was needed]
**Decision:** [What was decided]
**Consequences:** [Impact of the decision]
**Alternatives Considered:** [What else was evaluated]
# Feature / Library Name
One-sentence summary of what this does and why it exists.
## Quick Start
Brief usage example or setup steps.
## Architecture
High-level overview. Include a Mermaid diagram for non-trivial systems.
## Key Files
| File | Purpose |
|------|---------|
| `src/handler.ts` | Request handling logic |
| `src/schema.ts` | Validation schemas |
Keep diagrams focused — one concern per diagram, max 10–12 nodes.
flowchart TD
A[Receive Request] --> B{Authenticated?}
B -- Yes --> C[Process]
B -- No --> D[Return 401]
flowchart TD for pipelines, LR for request flows, sequenceDiagram for API flows, erDiagram for data models%% Title: ... on complex diagrams; use verb labels on arrowsGroup entries by Conventional Commits type under a version heading:
## [1.2.0] — YYYY-MM-DD
### Added
- feat: Add retry logic to API client (#123)
### Fixed
- fix: Resolve race condition in queue processor (#127)
### Changed
- refactor: Extract validation into shared module (#125)
npx markdown-link-check docs/**/*.md && pnpm prettier --check "docs/**/*.md"
See WRITING-GUIDE.md for writing guidelines, formatting rules, and anti-patterns.
development
Defines 10 sequential validation gates: secret scanning, lint/test/build checks, blast radius analysis, dependency auditing, browser testing, cache management, regression checks, and smoke tests. Use when running pre-deploy validation or CI checks, CI/CD pipelines, deployment pipeline validation, pre-merge checks, continuous integration, or pull request validation.
development
Generates test plans, writes unit/integration/E2E test files, identifies coverage gaps, and flags common testing anti-patterns. Use when writing tests, creating test suites, planning test strategies, mocking dependencies, measuring code coverage, or test planning.
development
Provides model routing rules, validates delegation prerequisites, supplies cost tracking templates, and defines dead-letter queue formats for Team Lead orchestration. Load when assigning tasks to agents, choosing model tiers, starting a delegation session, running a multi-agent workflow, delegating work, choosing which model to use, or assigning tasks.
testing
Saves and restores session state including task progress, file changes, and delegation history. Use when saving progress, resuming interrupted work, picking up where you left off, or checkpointing current work.