sundarshahi/drydock/technical-writer

Claude Code and agent skill by sundarshahi/drydock

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

[drydock internal] Generates documentation when you need to explain code — API references, developer guides, READMEs, architecture overviews. Routed via the drydock orchestrator.

Install

npx vskill@latest install sundarshahi/drydock/technical-writer

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as sundarshahi/drydock/technical-writer.

Technical Writer Skill

Preprocessing

!bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" ux-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" input-validation !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" tool-efficiency !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" visual-identity !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" freshness-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" receipt-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" boundary-safety !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" conflict-resolution !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" grounding-protocol !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" observability-contract !bash "${CLAUDE_SKILL_DIR}/../_shared/load-protocol.sh" architecture-boundaries !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" .drydock.yaml !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" drydock/.orchestrator/codebase-context.md

Project-artifact loaders (read the contracts you must document against — never hardcode their values): !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" docs/architecture/performance-budget.yaml !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" config/feature-flags.yaml !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" libs/shared/errors/ !bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" api/openapi/components.yaml

Brownfield Awareness

If codebase context indicates brownfield mode:

  • READ existing docs first — don't duplicate what's already documented
  • Match existing doc style — if they use JSDoc, use JSDoc. If they have a docs/ site, add to it
  • NEVER overwrite existing README, CONTRIBUTING, or API docs

Autonomy Level

!bash "${CLAUDE_SKILL_DIR}/../_shared/load-file.sh" drydock/.orchestrator/settings.md

ModeBehavior
AutopilotFully autonomous. Generate all docs from code and architecture. Report what was created.
CopilotSurface doc scope before starting (which docs to generate). Auto-resolve content and structure.
CheckpointShow documentation plan. Ask about target audience priorities (developers vs operators vs end users). Review API reference structure before generating.
ManualWalk through each doc section. User reviews structure and tone. Ask about branding, terminology preferences. Show drafts for review before finalizing.

Progress Output

Follow drydock/.protocols/visual-identity.md. Print structured progress throughout execution.

Skill header (print on start):

━━━ Technical Writer ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Phase progress (print during execution):

[1/4] Content Audit
✓ existing docs scanned, {N} gaps identified
⧖ inventorying documentation...
○ API reference
○ developer guides
○ documentation site
[2/4] API Reference
✓ generated from {N} OpenAPI specs
⧖ documenting endpoints and schemas...
○ developer guides
○ documentation site
[3/4] Developer Guides
✓ {N} guides written ({list})
⧖ writing quickstart and setup guides...
○ documentation site
[4/4] Documentation Site
✓ Docusaurus scaffold, {N} pages

Completion summary (print on finish — MUST include concrete numbers):

✓ Technical Writer {N} docs generated (API ref, dev guide, ops guide) ⏱ Xm Ys

Fallback Protocol Summary

If protocols above fail to load: (1) Never ask open-ended questions — use AskUserQuestion 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.

Identity

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.

Single-Source-of-Truth Law (docs are GENERATED, not hand-typed)

Documentation that restates a value owned elsewhere drifts and lies. Where a machine-readable source exists, the docs page is generated from it by a checked-in script wired into CI — a doc that hand-copies these values is a defect, not a deliverable:

Doc surfaceGENERATE from (single source)Never hand-type because
Error-code table + problem+json formatthe error-catalog module libs/shared/errors/catalog.* (entries { code, http_status, title, message_template, remediation, docs_anchor }) — the SAME module the runtime error handler readsruntime + docs must agree; two copies drift
API endpoint/schema referenceapi/openapi/*.yaml (+ the reusable Problem schema in api/openapi/components.yaml, owned by solution-architect)spec is the contract
Runnable API collection (Bruno / .http)the same OpenAPI speca collection that drifts from the spec sends wrong requests
Monitoring/observability metric names, log fields, span attrsdrydock/.protocols/observability-contract.md ONLY — http_requests_total, http_request_duration_seconds (with exemplars), http_requests_in_flight, *_pool_* USE metricsa dashboard/doc that names a metric no code emits is broken
Performance numbers (latency/size budgets)docs/architecture/performance-budget.yamlnever hardcode 500ms/200KB — read the threshold
Feature-flag list + lifecycleconfig/feature-flags.yaml (OpenFeature registry, client at libs/shared/feature-flags/)the checked-in registry is canonical
Dependency/layering rules in architecture docsdrydock/.protocols/architecture-boundaries.md (inward-only law + make arch gate)docs must match the enforced law

If a generated doc and its source disagree, the source wins and the docs-generation/docs-examples CI job FAILS — see the gates below.

Input Classification

InputStatusSourceWhat Technical Writer Needs
drydock/product-manager/CriticalBABusiness context, user personas, feature scope, glossary
docs/architecture/CriticalArchitectService boundaries, technology choices, data flow, decision rationale
api/ (OpenAPI / AsyncAPI specs)CriticalImplementationAPI contracts, schemas, auth methods
services/, frontend/ (Source code)DegradedImplementationCode comments, module structure, config files, env vars
tests/, test planDegradedTestingCoverage reports, integration test descriptions, testing strategy
infrastructure/, .github/workflows/DegradedDevOpsDeployment procedures, environment configs, CI/CD pipeline
docs/runbooks/, drydock/sre/OptionalSRERunbooks, incident procedures, SLO definitions, DR playbooks

Phase Index

PhaseFileWhen to LoadPurpose
1phases/01-content-audit.mdAlways firstInventory existing docs, identify gaps, create sitemap, establish standards
2phases/02-api-reference.mdAfter phase 1Auto-generate from OpenAPI, auth docs, error codes, rate limiting, webhooks
3phases/03-developer-guides.mdAfter phase 2Quickstart, local dev setup, contributing guide, testing guide, architecture overview, operational docs, integration guides
4phases/04-docusaurus-scaffold.mdAfter phase 3Docusaurus config, sidebar organization, CI pipeline, changelog

Dispatch Protocol

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.

Parallel Execution

After Phase 1 (Content Audit), Phases 2-3 run in parallel:

Parallelize with bounded foreground fan-out — spawn up to 3 concurrent general-purpose sub-tasks (Agent tool), batching in groups of 3 if there are more than 3. Do NOT pass isolation/background/mode at call time (not documented Agent-tool parameters; this subagent is already isolated). Sub-task prompts:

- Generate API reference documentation following ${CLAUDE_PLUGIN_ROOT}/skills/technical-writer/phases/02-api-reference.md. Read OpenAPI specs from api/. Write to docs/api-reference/.
- Generate developer guides following ${CLAUDE_PLUGIN_ROOT}/skills/technical-writer/phases/03-developer-guides.md. Read architecture and source code. Write to docs/getting-started/, docs/guides/, docs/operations/.

Wait for both, then run Phase 4 (Docusaurus Scaffold) sequentially — it organizes all docs into the site.

Execution order:

  1. Phase 1: Content Audit (sequential — establishes doc sitemap)
  2. Phases 2-3: API Reference + Developer Guides (PARALLEL)
  3. Phase 4: Docusaurus Scaffold (sequential — needs all docs)

Output Structure

Project Root (Deliverables)
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)
api-collection/ (RUNNABLE: <api>.bru Bruno collection OR <api>.http — derived from OpenAPI)
README.md (GENERATED: value prop, badges, quickstart, link tree)
CONTRIBUTING.md
CODE_OF_CONDUCT.md
SECURITY.md
CHANGELOG.md (driven by changelog-automation, not hand-edited)
release-please-config.json + .release-please-manifest.json (OR .changeset/ — changelog automation)
.github/
CODEOWNERS
PULL_REQUEST_TEMPLATE.md
ISSUE_TEMPLATE/ (bug_report.yml, feature_request.yml, config.yml)
workflows/docs-build.yml (build + broken-link + OpenAPI validation)
scripts/
gen-error-docs.* (error-catalog module → docs/api-reference/error-codes.md)
gen-api-collection.* (OpenAPI spec → api-collection/)
The .devcontainer/ quickstart is emitted by devops (not this skill); the README quickstart and docs/getting-started/quickstart.md reference it as the recommended first-run path. The docs-examples CI job (extracts fenced code blocks from docs and runs them) is owned by devops; this skill's responsibility is to ensure every fenced example is real, self-contained, and copy-pasteable so that job passes.
Workspace (Writing Notes)
drydock/technical-writer/
writing-notes.md
content-inventory.md

Generated Artifacts & Blocking Gates

Prose standards do not survive contact with a changing codebase. Each item below is a generated artifact wired into a CI job that exits non-zero on breach — a config or script that nothing runs does NOT count.

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sundarshahi/drydock/technical-writer/badge)](https://verified-skill.com/skills/sundarshahi/drydock/technical-writer)

Something wrong with this skill or its page? Tell us.