agentsclimarketplace

Techdocs

Skill blendsdk/claude-codeops/skills/techdocs

Creates and maintains VitePress-compatible technical architecture documentation and architecture decision records (ADRs). Use when the user says "make_techdocs", "review_techdocs", "techdocs", "document the architecture", "create architecture docs", "write ADRs", or "architecture decision records". Covers two modes: make_techdocs to create or comprehensively regenerate the docs/ set (system overview, data model, API design, infrastructure, security, ADRs, developer guides, reference), and review_techdocs to run a 7-dimension health check (staleness, completeness, accuracy, ADR coverage, link health, diagram accuracy, getting-started) and produce a diagnostic report. Also fires automatically as an incremental or comprehensive update when an exec_plan phase or plan completes, or when make_requirements completes — but only if the project has opted in. Scope is technical/architectural docs for developers, NOT product/end-user documentation.From its SKILL.md

Install
npx -y skills add blendsdk/claude-codeops --skill techdocs

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

11.9 KB, as published. Nobody here has run it

techdocs — Technical Architecture Documentation

CodeOps Skills Version: 3.20.0

Create and maintain a living, VitePress-compatible technical architecture documentation set in the project's docs/ directory, capturing accumulated design knowledge across requirements and planning phases. The body branches by phrasing and arguments:

Phrasing / argumentModeAction
make_techdocs, "document the architecture", "create architecture docs"Create / regeneratePhases 1–6: comprehensive create or full regeneration
make_techdocs --continueResumePick up an interrupted authoring session (see Session resume)
review_techdocs, "review the techdocs", "health check the docs"Health check7-dimension diagnostic report (no file changes)
(auto) exec_plan phase completeIncrementalAdd ADRs / update changed sections only
(auto) exec_plan plan completeComprehensiveFull pass over every section vs. codebase
(auto) make_requirements completeIncrementalNew design decisions → ADRs

What this is (and is NOT)

In scope — TECHNICAL docs (this skill)Out of scope — PRODUCT docs
Architecture, design decisions, data models, API contracts, infrastructure, securityEnd-user guides, tutorials, FAQ, release notes, marketing
Developer onboarding, dev workflow, deployment proceduresFeature announcements, user-facing changelogs

Product documentation is a separate concern. If the project needs user-facing docs, the user should request them explicitly. They live elsewhere (e.g. docs/product/) and are NOT governed by this skill.

Opt-in, then auto-update

Technical documentation is not mandatory by default, but once opted in it is automatically maintained.

The opt-in marker

The presence of docs/index.md with this frontmatter marker means techdocs are active:

---
techdocs: true
---

If docs/index.md exists but lacks this marker, it is NOT a techdocs-managed file — do not auto-update it.

Detection & ask-once protocol

When this skill fires as an auto-update hook (from the exec_plan or make_requirements skills):

  1. Does docs/index.md exist with the techdocs: true marker?
    • Yes → run the appropriate auto-update (incremental or comprehensive — see the mode table).
    • No → ask the user once: "Would you like to create technical architecture docs for this project?"
      • Yes → run the create flow (Phases 1–6).
      • No → skip, and do not ask again until the next plan completes.

Auto-update triggers

Once opted in, update techdocs at these checkpoints:

Trigger (from another skill)Update typeWhat to update
exec_plan phase completionIncrementalNew ADRs for decisions made; sections that changed
exec_plan plan completionComprehensiveFull review of all sections; consistency; diagrams
make_requirements completionIncrementalNew design decisions, updated scope, integration points
Manual make_techdocsComprehensiveFull review and regeneration

Incremental = quick pass; add new ADRs, update changed sections only. Comprehensive = full pass; review every section against actual codebase state.

🚨 Design Intent Preservation is non-negotiable. Auto-updates MUST NOT silently overwrite documented design intent (ADR decisions) with observed code behavior. The full rule, including the divergence-flagging protocol, lives in authoring-and-update.md — read it before any comprehensive update.

Relationship to other skills

SkillRelationship
the make_requirements skillUpstream. Requirements define WHAT. Techdocs capture architectural decisions made during requirements discovery. On completion → incremental techdocs update.
the make_plan skillParallel. Plans define HOW for one feature; techdocs capture SYSTEM-LEVEL architecture spanning features. make_plan reads techdocs as context.
the exec_plan skillDownstream. Architecture evolves during execution. Phase complete → incremental; plan complete → comprehensive. Auto-update hooks fire from it.
the retro_requirements skillUpstream. When reverse-engineering an existing system, techdocs capture the discovered architecture.

Phase overview

PhaseWhat happensReference
1. Information gatheringRead requirements/, plans/*/, the codebase, the project's CLAUDE.md (or detected conventions). Ask clarifying questions only on a first run with no requirements/plans.below
2. Document structureLay out the VitePress docs/ tree; adapt sections to the project type (only create relevant sections).below
3. VitePress setupInstall VitePress, generate .vitepress/config.ts, add npm scripts, update .gitignore.vitepress-setup.md
4. Document templatesWrite each section from the canonical templates.templates.md
5. Authoring guidelinesApply writing style, Mermaid diagram conventions, cross-referencing, and what NOT to document.authoring-and-update.md
6. Incremental update protocolAuto-update after phase/plan/requirements completion, including Design Intent Preservation.authoring-and-update.md

Phase 1 — Information gathering

Gather from: existing requirements/, existing plans/*/, the current codebase (structure, patterns, dependencies), and the project's CLAUDE.md (or detected project conventions). In a nested-layout repo these sources live under codeops/features/<f>/{requirements,plans}/ (resolve via ../../_shared/layout-convention.md); in flat layout they are the top-level requirements/ and plans/*/ as before. If this skill runs right after make_requirements or exec_plan, most of this is already in context.

Ask clarifying questions only on a true first run with no requirements/plans: system purpose, key stakeholders and their experience level, architecture style (monolith / microservices / serverless / hybrid), key integrations, deployment model. If requirements/plans exist, extract these from the documents — do not re-ask.

Phase 2 — Document structure

Create only the sections relevant to the project type — empty placeholders add noise, not value. Full VitePress directory layout:

docs/
├── .vitepress/
│   └── config.ts                # VitePress configuration
├── index.md                     # System overview + techdocs opt-in marker (ENTRY POINT)
├── architecture/
│   ├── system-overview.md       # High-level architecture, component diagram
│   ├── data-model.md            # Domain model, entity relationships, schemas
│   ├── api-design.md            # API contracts, endpoints, protocols
│   ├── infrastructure.md        # Deployment, Docker, CI/CD, networking
│   └── security.md              # Security architecture, threat model
├── decisions/
│   ├── index.md                 # ADR log (chronological)
│   ├── ADR-001-[short-name].md  # Individual decision records
│   └── ...
├── guides/
│   ├── getting-started.md       # Developer setup, prerequisites, first run
│   ├── development.md           # Dev workflow, coding patterns, conventions
│   └── deployment.md            # How to deploy, environments, configuration
└── reference/
    ├── configuration.md         # Config options, env vars, feature flags
    └── integrations.md          # External system connections, protocols, auth

Adapting to project type (create required sections; add optional ones as warranted):

Project typeRequiredOptional
Web App / SaaSAll—
API / Backendsystem-overview, data-model, api-design, security, infrastructure—
Library / SDKsystem-overview, api-design, getting-started, developmentdata-model, infrastructure
CLI Toolsystem-overview, getting-started, developmentdata-model, infrastructure
MicroservicesAll (esp. infrastructure, integrations)—
Mobile Appsystem-overview, data-model, api-design, securityinfrastructure
Infrastructuresystem-overview, infrastructure, security, deploymentdata-model, api-design

Then proceed to Phase 3 (vitepress-setup.md) and Phase 4 (templates.md).

review_techdocs (health check)

When the user asks for review_techdocs, run the read-only 7-dimension health check (staleness, completeness, accuracy, ADR coverage, link health, diagram accuracy, getting-started) and produce a diagnostic report. It changes no files. The full check table and report template are in authoring-and-update.md.

Session resume

Techdocs authoring can be lengthy. If you need to stop mid-run, save all completed documents to docs/, record which sections remain in docs/_draft/techdocs-progress.md, and tell the user to resume with make_techdocs --continue. On --continue, read docs/_draft/techdocs-progress.md, read the existing completed documents, and continue from the next section. (Claude Code auto-compacts context — no manual threshold handling is needed.)

Conventions

  • Follow your project's coding standards and your project's testing standards (the project's CLAUDE.md, or detected project conventions) when documenting development and testing guides.
  • Document security architecture against your project's security coding standards (CLAUDE.md).
  • When new pages are added (ADRs, sections), update .vitepress/config.ts sidebar — see vitepress-setup.md.
  • Related skills: make_requirements, make_plan, exec_plan, retro_requirements.

Reference files

  • templates.md — all VitePress file templates (index, architecture/, ADR log + ADR template, guides/, reference/*). Read when writing any document in Phase 4.
  • vitepress-setup.md — Phase 3 install, config.ts, npm scripts, .gitignore, and sidebar auto-update. Read when scaffolding VitePress or adding pages.
  • authoring-and-update.md — Phase 5 authoring guidelines + Mermaid types, Phase 6 incremental/comprehensive update protocol with the Design Intent Preservation rule, and the review_techdocs health check. Read before authoring, before any auto-update, and for review_techdocs.

Keep looking

Skills are one crate of 628,971. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.