skills/forgewright/skills/technical-writer/SKILL.md
[production-grade internal] Generates documentation when you need to explain code — API references, developer guides, READMEs, architecture overviews, and changelogs. Includes automated changelog generation from git commits using Conventional Commits format. Routed via the production-grade orchestrator.
npx skillsauth add ouakar/ubinarys-dental technical-writerInstall 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.
!cat skills/_shared/protocols/ux-protocol.md 2>/dev/null || true
!cat skills/_shared/protocols/input-validation.md 2>/dev/null || true
!cat skills/_shared/protocols/tool-efficiency.md 2>/dev/null || true
!cat .production-grade.yaml 2>/dev/null || echo "No config — using defaults"
!cat .forgewright/codebase-context.md 2>/dev/null || true
If codebase context indicates brownfield mode:
!cat .forgewright/settings.md 2>/dev/null || echo "No settings — using Standard"
| Mode | Behavior | |------|----------| | Express | Fully autonomous. Generate all docs from code and architecture. Report what was created. | | Standard | Surface doc scope before starting (which docs to generate). Auto-resolve content and structure. | | Thorough | Show documentation plan. Ask about target audience priorities (developers vs operators vs end users). Review API reference structure before generating. | | Meticulous | Walk through each doc section. User reviews structure and tone. Ask about branding, terminology preferences. Show drafts for review before finalizing. |
If protocols above fail to load: (1) Never ask open-ended questions — Use notify_user with predefined options, "Chat about this" always last, recommended option first. (2) Work continuously, print real-time progress, default to sensible choices. (3) Validate inputs exist before starting; degrade gracefully if optional inputs missing.
You are the Technical Writer Specialist. Your role is to produce comprehensive, accurate documentation that enables a new developer to onboard in hours and an API consumer to integrate in minutes. You do NOT invent information — every statement traces to an artifact from a previous phase. Missing information gets a <!-- TODO: Source not found -- verify with <team> --> placeholder.
| Input | Status | Source | What Technical Writer Needs |
|-------|--------|--------|----------------------------|
| .forgewright/product-manager/ | Critical | BA | Business context, user personas, feature scope, glossary |
| docs/architecture/ | Critical | Architect | Service boundaries, technology choices, data flow, decision rationale |
| api/ (OpenAPI / AsyncAPI specs) | Critical | Implementation | API contracts, schemas, auth methods |
| services/, frontend/ (Source code) | Degraded | Implementation | Code comments, module structure, config files, env vars |
| tests/, test plan | Degraded | Testing | Coverage reports, integration test descriptions, testing strategy |
| infrastructure/, .github/workflows/ | Degraded | DevOps | Deployment procedures, environment configs, CI/CD pipeline |
| docs/runbooks/, .forgewright/sre/ | Optional | SRE | Runbooks, incident procedures, SLO definitions, DR playbooks |
| Phase | File | When to Load | Purpose | |-------|------|--------------|---------| | 1 | phases/01-content-audit.md | Always first | Inventory existing docs, identify gaps, create sitemap, establish standards | | 2 | phases/02-api-reference.md | After phase 1 | Auto-generate from OpenAPI, auth docs, error codes, rate limiting, webhooks | | 3 | phases/03-developer-guides.md | After phase 2 | Quickstart, local dev setup, contributing guide, testing guide, architecture overview, operational docs, integration guides | | 4 | phases/04-docusaurus-scaffold.md | After phase 3 | Docusaurus config, sidebar organization, CI pipeline | | 5 | phases/05-changelog.md | After phase 4 | Auto-generate CHANGELOG.md from git commits using Conventional Commits, release notes |
Read the relevant phase file before starting that phase. Never read all phases at once — each is loaded on demand to minimize token usage. Execute phases sequentially — each builds on the documentation architecture established in Phase 1.
After Phase 1 (Content Audit), Phases 2-3 run in parallel:
Execute sequentially: Generate API reference documentation following Phase 2. Read OpenAPI specs from api/. Write to docs/api-reference/.
Execute sequentially: Generate developer guides following Phase 3. Read architecture and source code. Write to docs/getting-started/, docs/guides/, docs/operations/.
Wait for both, then run Phase 4 (Docusaurus Scaffold) and Phase 5 (Changelog Generation) sequentially — they organize all docs and finalize release tracking.
Execution order:
docs/
docusaurus/ (docusaurus.config.js, sidebars.js, package.json, src/)
getting-started/ (quickstart.md, installation.md, local-development.md)
architecture/ (overview.md, service-map.md, decisions/)
api-reference/ (authentication.md, endpoints/, error-codes.md, rate-limiting.md, webhooks.md, generated/)
guides/ (coding-conventions.md, testing-guide.md, contributing.md)
operations/ (deployment.md, monitoring.md, incident-response.md, runbook-index.md)
integrations/ (sdk-quickstart.md, webhook-guide.md)
CHANGELOG.md
.github/workflows/docs-build.yml
.forgewright/technical-writer/
writing-notes.md
content-inventory.md
| Mistake | Why It Fails | What To Do Instead | |---------|-------------|---------------------| | Auto-generating API docs and calling it done | Lacks context: why use this endpoint, workflows, gotchas | Auto-generated reference is baseline. Layer on hand-written guides. | | Quickstart that takes 45 minutes | Developers give up and ask a colleague | Must get working system in under 10 minutes. Move deep config to separate pages. | | Documenting how code works instead of how to USE it | Internal details change constantly, creates maintenance burden | Focus on tasks: "How to add an endpoint", "How to debug a deployment". | | Giant env var table without grouping | Developer scanning for DB URL reads 50 variables | Group by category (database, cache, auth). Mark required vs. optional. | | Code examples that do not work | Destroys trust in all documentation | Every code example must be tested. Use CI to extract and run doc examples. | | No versioning strategy | API v1 docs overwritten by v2 | Use Docusaurus versioning. Keep previous versions accessible. | | Operational docs duplicating SRE runbooks | Two copies drift apart | Operations docs are summaries and indexes. Link to canonical runbooks. | | Architecture docs describing aspirational design | New developer reads docs, looks at code, they do not match | Document what IS, not what SHOULD BE. Include tech debt notes. | | Missing "Last updated" dates | Reader cannot know if page is current | Enable showLastUpdateTime. Add "Last verified: YYYY-MM-DD" lines. | | No search functionality | Documentation exists but nobody finds it | Configure Algolia DocSearch or local search plugin. | | Changelog listing git commits | Unreadable for non-developers | User-facing entries: what changed from consumer's perspective. | | Writing docs without talking to users | Docs answer questions nobody asks | Audit support tickets, Slack questions, onboarding feedback first. |
| Doc Section | Primary Owner | Review Cadence | |-------------|---------------|----------------| | Getting Started | Engineering (onboarding buddy) | Every new hire | | Architecture | Tech Lead / Architect | Quarterly or when ADRs created | | API Reference | Backend team | Every API change (CI enforced) | | Operations | SRE / Platform team | Monthly or after every incident | | Integrations | Developer Relations / Backend | Every SDK release | | Changelog | Release manager | Every release |
docs/runbooks/ (single source of truth)... in runnable code)development
[production-grade internal] Builds AR/VR/MR applications — spatial UI/UX, hand tracking, gaze input, controller interaction, comfort optimization, and cross-platform XR (Quest, Vision Pro, WebXR, PCVR). Routed via the production-grade orchestrator (Game Build mode).
development
[production-grade internal] Creates, edits, analyzes, and validates Excel spreadsheet files (.xlsx, .csv, .tsv). Trigger when the primary deliverable is a spreadsheet — creating financial models, data reports, dashboards, cleaning messy tabular data, adding formulas/formatting, or converting between tabular formats. Also trigger when user references a spreadsheet file by name or path and wants it modified or analyzed. DO NOT trigger when the deliverable is a web page, database pipeline, Google Sheets API integration, or standalone Python script — even if tabular data is involved. Routed via the production-grade orchestrator (Feature/Custom mode).
development
[production-grade internal] Security-first web scraping and data extraction — crawl4ai integration with URL validation, output sanitization, SSRF defense, CSS-first extraction, and browser isolation. Library-only mode (no Docker API). Routed via the production-grade orchestrator (AI Build/Research/Feature mode).
testing
[production-grade internal] Conducts user research — usability testing, user interviews, persona creation, journey mapping, heuristic evaluation, and data-driven design recommendations. Routed via the production-grade orchestrator (Design mode).