All skills
vincentkoc avatar

/technical-documentation

@e0b7247
by Vincent Kocvincentkoc/dotskills108 stars
9

Build, review, and audit technical docs and agent instruction files. Applies Simplified Technical English (ASD-STE100) to prose, scales to huge docs trees with sharded audits and ledgers, and runs as Claude Workflows or sub-agents when available.

Use this Skill: https://skilld.dev/gh/vincentkoc/dotskills/technical-documentation

This session only. Nothing lands on disk.

referencesreview.md

≈2k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Review Docs Playbook

Read principles.md first, then apply this checklist.

1. Scope and classification

  • Identify doc type and target audience.
  • Confirm brownfield vs evergreen intent.
  • Confirm expected outcome for the reader.
  • Define the requested file, directory, or diff scope. Repository size alone does not turn a scoped review into a full-tree audit.
  • For full-repo reviews, explicitly include both governance surfaces and product-doc surfaces (docs/, README trees, .md/.mdx/.mdc, .rst/.rsc, framework docs configs).

2. Investigation behavior

  • Proactively find issues and risks without waiting for repeated prompts.
  • If there are signals of deeper problems, continue investigation beyond the first pass.
  • Long-running and extensive investigations are acceptable when needed for confidence and correctness. An audit ends when requested coverage is complete and two discovery passes add nothing new. Output length does not end an audit.
  • Keep routine scoped findings inline under Evidence and artifacts. An audit request alone does not require a ledger.
  • When the requested scope needs sharding, use references/large-docs-audit.md: shard, ledger, verify, then remediate. Preserve its journal, deduplication, and recovery requirements.
  • When available, use sub-agents for bounded parallel discovery (for example file-inventory, command validation, or cross-doc consistency checks), then merge to one final issue set. With user opt-in, run shards as a Claude Workflow per references/workflows.md.
  • When no issues are found, state that explicitly and call out residual risks or validation gaps.
  • Default to apply-fixes for high-confidence documentation defects unless the user explicitly requests report-only.
  • Do not stop at AGENTS/CONTRIBUTING checks when the task is documentation-wide; continue into docs-content and docs-framework surfaces.

3. Governance surface review

  • Use references/agent-and-contributing.md as the source of truth for inventory, canonical/alias mapping, and precedence/conflict handling. For AGENTS.md:

  • confirm persona intent, scope, and command/tool boundaries are explicit.

  • check frontmatter style matches repo conventions when present.

  • ensure Always, Ask first, and Never boundaries are present when expected.

  • require concrete command examples and repo-specific paths to avoid ambiguity.

For CONTRIBUTING.md:

  • verify issue/PR workflow is complete and actionable.
  • ensure local setup, lint/test commands, and review criteria are accurate.
  • ensure governance does not conflict with nested AGENTS instructions.
  • flag oversized files that should be split into linked section docs (for example tool-specific setup and release docs).

For agent-platform awareness:

  • confirm references are minimal and scoped for Cursor/Claude glob behavior.
  • confirm Codex-facing guidance uses explicit file references.
  • confirm both surfaces represent the same shared policy core (commands, boundaries, and precedence), not divergent guidance.
  • audit .agents/.cursor compatibility behavior:
    • verify canonical rule directory and symlink state match repo policy
    • verify symlink target integrity and platform/tooling expectations
    • verify AGENTS policy references remain canonical for Codex even when .cursor compatibility exists
  • check for context bloat from duplicated policy statements across agent and contributor files.
  • check for conflicting rules, skills and agent instructions
  • check for conflicting information in agent instructions vs codebase
  • check for broken or missing referenced files (for example README/index files named as canonical entry points).
  • check for setup/command drift (for example non-existent install commands, root-level commands that should be module-scoped).

4. Product documentation surface review

  • Verify docs IA coverage across root/module README* files and docs/** trees.
  • Review framework-native docs sources in scope (for example Fern, Mintlify, Sphinx, MkDocs) and ensure guidance matches actual source-of-truth files.
  • Check .md/.mdx/.mdc/.rst/.rsc for stale commands, missing prerequisites, and broken cross-links.
  • Confirm referenced doc paths and anchors exist.
  • Flag docs that should be split/merged to improve discoverability and maintenance.

5. Framework config and path mapping checks

  • Detect and read framework config first (for example Fern config, Sphinx conf.py, Mintlify config, or equivalent).
  • Resolve path references relative to the declaring file/config.
  • Treat filesystem paths and published URL routes as separate maps; verify both.
  • Flag path-map drift explicitly (missing file, stale route, wrong base path).

6. Structural review

  • Funnel check: what/why, quickstart, next steps.
  • Validate heading flow and navigation discoverability.
  • Flag critical content trapped in images or buried sections.
  • Check Diataxis alignment and split mixed-purpose sections.

7. Writing quality review (Simplified Technical English)

  • Run scripts/ste-lint.py --summary over the scope first. Record the hard-violation rate per 100 words per file. Use --mode flavored for explanation pages and --max-words 20 for procedures.
  • Apply the scan checklist in references/simplified-technical-english.md: synonym rotation, hedge stacking, nominalization, marketing adjectives, run-on sentences, phrasal verbs.
  • Check for concise, scannable paragraphs (6 sentences or fewer, one topic each).
  • Remove ambiguous pronouns and undefined terms. One term per concept per file.
  • Verify examples are executable and scoped correctly.
  • Verify tone is directive, technical, and non-hand-wavy.
  • When rewriting, preserve every hedge and scope qualifier. Flag any sentence kept long on purpose with Kept as-is:.
  • Note where prose is compliant but empty. STE fixes form, not substance.

7a. Reader-experience review (large or messy pages)

  • Score each page against the rubric in references/large-docs-audit.md section 5: purpose in first screen, funnel, Diataxis purity, task path, heading hierarchy, density, table monsters, code accuracy, trapped facts, cross-links, terminology, staleness, duplicates, nav position.
  • Treat pages over 20k characters as split candidates and follow the oversized page protocol.
  • Report nav orphans and nav ghosts from the framework config.

8. Brownfield review mode

  • Verify compatibility with existing docs IA and conventions.
  • Verify anchors, redirects, and cross-doc links remain valid.
  • Flag regressions in onboarding and task completion paths.
  • Ensure changed terminology is intentionally propagated.

9. Evergreen review mode

  • Flag date-stamped or brittle wording without version scope.
  • Check ownership and refresh signals are present.
  • Ensure recommendations remain valid after routine product evolution.
  • Flag missing deprecation/migration guidance.

10. Tooling and platform review

Read tooling.md if platform fit is uncertain.

  • Check whether content uses platform primitives effectively.
  • Flag structure that fights the chosen docs platform.
  • Recommend targeted platform-aware improvements.

11. Multilingual parity review (when applicable)

  • Confirm declared source-of-truth language and expected parity policy.
  • Compare changed sections across locales for step/order/warning drift.
  • Flag missing updates to prerequisites, version notes, limits, and safety guidance.
  • Allow intentional divergence only when rationale is explicit and user-impact is low.
  • Require a reader-visible status note when locale parity is partial.

12. Output format

  1. Blocking issues (file + required fix)
  2. Non-blocking improvements
  3. Validation notes (done vs pending)
  4. Coverage (pages read / pages in scope) and STE lint summary when the scope is a tree
  5. Ledger path and status counts when a ledger was used

Source: SKILL.md on GitHub

1 warning13d5 checks · Risk SAFE
  • Gen Agent Trust Hub13d

    The skill is designed to build, review, and audit technical documentation through a multi-agent system. It utilizes local scripts for prose linting and executes existing project-native validation tools to ensure documentation quality. While no malicious intent was identified, the skill's core functionality involves processing untrusted repository files while possessing file-editing and command-execution capabilities, which introduces a standard risk of indirect prompt injection.

  • Socket13d

    No alerts

  • Snyk13d

    Risk: LOW · No issues

  • Runlayer7mo

    11/11 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at e0b7247. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 3 weeks ago
metadata
{
  "source": "https://github.com/vincentkoc/dotskills"
}

README badge

README badge for vincentkoc/dotskills/technical-documentation