documentation-strategy
Docs strategy — audience map, Diátaxis (tutorial / how-to / reference / explanation), IA, docs-as-code, review + maintenance with owners + staleness alerts, findability, localization + a11y, metrics.
What this skill does
# Documentation Strategy
You design how docs serve users + teammates — not "write all the docs" but "write the right docs for named audiences + keep them alive".
## Core rules
- **Audience-first** — each doc serves a specific audience + intent
- **Diátaxis framework** — four distinct doc types (tutorials / how-to / reference / explanation); don't mix
- **Living docs over stale docs** — fewer good docs > many stale ones
- **Ownership named** — every doc has an owner + review cadence
- **Findability > volume** — docs nobody finds don't exist
- **Docs-as-code default** — versioned, reviewed, CI-tested
- **Accessibility + localization deliberate** — not afterthoughts
- **No fabricated audiences** — work from supplied context
## Input handling
| Dimension | Required | Default |
|---|---|---|
| **Product** | Yes | — |
| **Audiences** | Yes | — |
| **Current docs state** | Yes | — |
| **Pain points** (nobody finds docs / stale / wrong content for wrong audience) | No | Asked |
| **Compliance needs** | No | Asked |
## Phase 1 — Setup
```
**Product**: [name + scope]
**Audiences**: [end-users / API consumers / operators / future maintainers / newcomers / leadership / regulators]
**Current state**: [scattered wiki / README-only / excellent but aging / none]
**Pain**: [findability / staleness / wrong-type-for-audience]
**Compliance**: [SOX / SOC 2 / GDPR / sector]
**Existing tooling**: [Confluence / Notion / Docusaurus / ReadTheDocs / MkDocs / Backstage TechDocs]
```
Ask render mode per `diagram-rendering` mixin and output path (default: `/documentation/[case]/documentation-strategy/`).
## Phase 2 — Audience map
For each audience, list:
| Audience | What they need | Intent | Success looks like |
|---|---|---|---|
| End-users | UI how-to, onboarding tutorials | accomplish a task | task completed |
| API consumers | reference, quickstart tutorials, SDK guides | integrate | first successful API call in < 15 min |
| Operators / SRE | runbooks, dashboards, playbooks | keep it running | incident handled |
| Future maintainers | architecture, ADRs, decision history | safely change | confident PR |
| Newcomers | onboarding guide, code tours | ramp up | first PR merged |
| Leadership | roadmap, status, metrics | make decisions | informed decision |
| Regulators / auditors | policies, evidence, DPA | compliance | audit pass |
Each audience has a doc home + entry point.
## Phase 3 — Diátaxis framework
Four distinct types — don't mix them in a single doc:
| Type | Serves | Focus | Example |
|---|---|---|---|
| **Tutorial** | learning | sequential, hand-held, concrete | "Build your first order in 15 min" |
| **How-to guide** | task completion | goal-oriented, practical | "How to refund an order" |
| **Reference** | information lookup | factual, complete, dry | API endpoint reference |
| **Explanation** | understanding | discussion of concepts + design | "Why eventual consistency" |
Signs of mixing:
- Tutorials with reference tables buried mid-step
- How-to guides that try to teach concepts
- References that go on narrative tangents
- Explanations with step-by-step instructions
Fix by splitting the doc.
## Phase 4 — Information architecture
### Navigation
- One entry point per audience
- Progressive disclosure — landing page → section → page
- Breadcrumbs always
- Search-first mindset (most users search, don't browse)
- 404s link to search + similar topics
### Findability
- Titles in user language, not internal jargon
- H1–H3 headers for structure; search engines + skimmers rely on them
- Consistent terminology (glossary)
- Cross-linking between related docs
- Tag / category taxonomy
### Versioning
- Product version aware (v1 / v2 docs)
- Deprecation markers (`@deprecated`, sunset headers in API docs)
- Archive old versions; don't delete
## Phase 5 — Living documentation + docs-as-code
- **Docs near code** — API docs generated from specs (OpenAPI); code comments for in-line reference
- **CI-tested** — links not broken, code samples still work, screenshots not stale
- **Reviewed like code** — PR process, codeowners, required reviewers
- **Versioned with product** — tag releases; doc version aligned
- **Auto-generated where valuable** — API ref, CLI ref, schema ref
- **Handwritten where irreplaceable** — explanations, tutorials, opinionated how-tos
## Phase 6 — Review + maintenance
- **Owner per doc / section** (codeowners equivalent)
- **Review cadence** (e.g., quarterly for explanations, on-change for references, annually for tutorials with usage metrics)
- **Staleness alerts** — date last reviewed + automated alerts when aged
- **Deprecation policy** — mark, announce, remove
- **Decay is normal** — audit twice yearly to prune
## Phase 7 — Contribution model
- Style guide (voice, tone, terminology, formatting)
- Plain-language principles
- Template per doc type (tutorial template, how-to template, reference template, explanation template)
- Contributor guide (how to propose a doc, review process)
- Recognition (docs contributions valued as code)
## Phase 8 — Accessibility + localization
### Accessibility
- Plain language + short sentences
- Descriptive link text (not "click here")
- Alt text on images
- Video captions + transcripts
- Semantic headings
- Color-blind-safe palette
- Keyboard-navigable reader
### Localization
- Decide what to localize (tutorials often; deep reference rarely)
- Source of truth in one language; translation pipeline
- In-product language switcher
- Locale-aware examples (dates, currency)
## Phase 9 — Metrics
- Traffic (views per doc / funnel)
- Helpfulness rating (was this useful? yes/no)
- Search logs (zero-result searches = gap)
- Staleness (% docs reviewed in last 90 days)
- Support deflection (tickets about topics docs should cover)
- Contributor counts
Dashboard per audience (owner-level).
## Phase 10 — Legal + compliance docs
Keep these separate from product docs:
- Privacy policy (GDPR-compliant)
- Terms of service
- DPA / data processing addendum
- Cookie policy
- Accessibility statement (legally required in some jurisdictions)
- Regulatory filings
Owner: Legal / DPO. Don't let product docs carry legal weight; cross-reference only.
## Phase 11 — Anti-patterns
| Anti-pattern | Fix |
|---|---|
| One giant "docs" section without audience split | Audience-first IA |
| Docs + code drift | docs-as-code with CI checks |
| "We'll write docs after launch" | Write during; treat as ship-blocker for audiences |
| Stale screenshots | Auto-generate or CI-validate |
| Markdown dumps in Confluence | Move to docs-as-code |
| No owners | Assign per section |
| Internal jargon externally | Plain language |
| Videos without captions | Caption + transcript |
## Phase 12 — Diagrams
### Diátaxis quadrants
```mermaid
quadrantChart
title Doc type by audience intent
x-axis "Practical <-> Theoretical"
y-axis "Study <-> Work"
"Tutorials": [0.25, 0.75]
"How-to guides": [0.25, 0.25]
"Reference": [0.75, 0.25]
"Explanation": [0.75, 0.75]
```
### Doc lifecycle
```mermaid
stateDiagram-v2
[*] --> Draft
Draft --> Review
Review --> Published
Published --> Updated
Updated --> Published
Published --> Deprecated: aging / superseded
Deprecated --> Archived
Archived --> [*]
```
## Phase 13 — Diagram rendering
Per `diagram-rendering` mixin.
## Phase 14 — Report assembly and approval
```markdown
# Documentation Strategy: [Product]
**Date**: [date]
**Product**: [...]
**Version**: v1.0
## Scope
## Audience Map
## Diátaxis Framework Adoption
## Information Architecture
## Living Documentation + Docs-as-Code
## Review + Maintenance
## Contribution Model
## Accessibility + Localization
## Metrics
## Legal + Compliance Docs
## Anti-Patterns to Avoid
## Diagrams
## Hand-offs
## Assumptions & Limitations
```
Present for user approval. Save only after confirmation.
## Assessment + planning rules
- Audience-first
- Diátaxis distinct types
- Ownership + cadence
- Living docs oRelated in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.