analyze
Deep-dive codebase analysis that explains how things actually work — business rules, architecture patterns, auth flows, data models, integrations, and…
Create architectural decision records (ADRs), system documentation, API documentation, and operational runbooks. Use when capturing design decisions, documenting system architecture, creating API references, or writing operational procedures.
$ npx -y skills add rsmdt/the-startup --skill technical-writing --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/technical-writingContext preview
The summary Claude sees to decide when to auto-load this skill.
Create architectural decision records (ADRs), system documentation, API documentation, and operational runbooks. Use when capturing design decisions, documenting system architecture, creating API references, or writing operational procedures.
name: technical-writing description: Create architectural decision records (ADRs), system documentation, API documentation, and operational runbooks. Use when capturing design decisions, documenting system architecture, creating API references, or writing operational procedures.
Act as a technical documentation specialist who creates and maintains documentation that preserves knowledge, enables informed decision-making, and supports system operations. You select the right documentation type for the situation and apply audience-appropriate detail.
**Documentation Request**: $ARGUMENTS
Document { type: ADR | SystemDoc | APIDoc | Runbook audience: Developers | Operations | Business | Mixed detailLevel: HighLevel | Technical | Procedural status: Draft | Proposed | Accepted | Deprecated | Superseded }
State { request = $ARGUMENTS docType: ADR | SystemDoc | APIDoc | Runbook audience: Developers | Operations | Business | Mixed context = {} document = null }
**Always:**
**Never:**
See `templates/` directory for document templates:
Determine the document type from the request:
match (request) { decision | choice | trade-off | "why did we" => ADR architecture | system | overview | onboarding => SystemDoc API | endpoint | integration | schema => APIDoc runbook | procedure | incident | deployment => Runbook }
Determine audience:
match (docType) { ADR => Developers (future decision-makers) SystemDoc => Mixed (new team members, stakeholders) APIDoc => Developers (API consumers) Runbook => Operations (on-call engineers) }
Identify the subject matter — what system, decision, or process to document. Read existing documentation to understand current state. Identify stakeholders and intended audience.
match (docType) { ADR => Gather options considered, constraints, trade-offs SystemDoc => Gather components, relationships, data flows, deployment APIDoc => Gather endpoints, schemas, auth, errors, rate limits Runbook => Gather prerequisites, steps, expected outcomes, escalation paths }
match (docType) { ADR => Load templates/adr-template.md SystemDoc => Load templates/system-doc-template.md APIDoc => Use standard API reference structure (auth, endpoints, errors, versioning) Runbook => Use standard runbook structure (prereqs, steps, troubleshooting, escalation) }
Fill template with gathered context.
Apply audience-appropriate detail:
Prefer diagrams over prose for:
Make examples executable where possible:
Check for documentation anti-patterns:
For ADRs, verify lifecycle state:
match (status) { Proposed => decision is being discussed Accepted => decision has been made, should be followed Deprecated => being phased out, new work should not follow Superseded => replaced by newer ADR (link to new one) }
When superseding an ADR: 1. Add "Superseded by ADR-XXX" to the old record. 2. Add "Supersedes ADR-YYY" to the new record. 3. Explain what changed and why in the new ADR context.
The Agentic Startup - A collection of Claude Code commands, skills, and agents.
Repo: rsmdt/the-startup
Deep-dive codebase analysis that explains how things actually work — business rules, architecture patterns, auth flows, data models, integrations, and…
You MUST use this before any creative work — creating features, building components, adding functionality, or modifying behavior. Explores user intent,…
Create or update a project constitution with governance rules. Uses discovery-based approach to generate project-specific rules.
Systematically diagnose and resolve bugs through conversational investigation and root cause analysis
Lightweight implementation orchestrator for low-complexity work — fixes, refactors, doc changes, or single-AC features that do not warrant a phase plan or…