Skip to content
Back to skills

Docs

ASecurity

Use when generating documentation from code, auditing documentation coverage for gaps, or detecting code-doc drift after a refactor. Covers generate (API docs, READMEs), audit (coverage metrics, undocumented exports), and sync (stale docs detection) in one skill. NOT for architecture documentation (use the architecture skill) or product requirements (use product/requirements-analysis).

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 18, 2026
ai-agentsgoapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned October 18, 2026

npx -y skills add mikeparcewski/wicked-garden --skill docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Docs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mikeparcewski-docs/badge)](https://www.skillsdirectory.com/skills/mikeparcewski-docs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: wicked-garden-engineering-docs
description: |
  Use when generating documentation from code, auditing documentation coverage for gaps, or detecting
  code-doc drift after a refactor. Covers generate (API docs, READMEs), audit (coverage metrics,
  undocumented exports), and sync (stale docs detection) in one skill.
  NOT for architecture documentation (use the architecture skill) or product requirements (use product/requirements-analysis).
metadata:
  role: module
  phases: "design,build"
  archetypes: "*"
---

# Documentation Engineering Skill

Generate, audit, and sync documentation across the codebase.

## Quick Start

### Generate docs from code

```
wicked-garden-engineering docs <file-or-component> --type api|readme|guide|inline
```

Extracts types, signatures, and comments to produce API docs, READMEs, or inline
comments (the `docs` action of the engineering domain skill routes here).

### Audit documentation coverage

```
wicked-garden-engineering docs <path> --audit
```

Reports coverage (documented vs total exports), quality score, and prioritized gaps.

### Detect stale docs after code changes

```
wicked-garden-engineering docs <path> --sync
```

Identifies documentation that has drifted from implementation after a refactor or rename.

## Generate

Transform code into documentation:
- Extract types, method signatures, and inline comments
- Generate API reference (JSDoc / docstring style)
- Create or update README files
- Add inline comments where missing

**Output**: Markdown docs ready to commit, or inline comment patches.

## Audit

Evaluate documentation health across the codebase:
- Find undocumented exported functions, classes, and API endpoints
- Calculate coverage percentage and quality score (description + params + examples)
- Prioritize gaps: High = public APIs, Medium = internal utilities, Low = private/test

**Quality Score (0-100)**:
- Has description: +25
- Has parameters: +25
- Has examples: +30
- Has edge cases: +20

**Coverage Report format**:
```markdown
# Documentation Coverage Report

## Summary
| Category  | Total | Documented | Coverage |
|-----------|-------|------------|----------|
| Functions | 145   | 98         | 67.6%    |

## Top Issues
### Undocumented Public Functions (12)
- `src/api/auth.ts::authenticate` — Core auth
```

## Sync

Detect and fix documentation drift:
- Compare code signatures against existing doc strings
- Flag mismatched parameter names, changed return types, removed methods
- Suggest specific doc updates with before/after diffs

## Integration

- Use the `wicked-garden-search` skill to scope the file set before auditing
- Native TaskCreate (with `metadata.event_type="task"`) tracks doc tasks
- CI: run audit in `--report` mode to gate PRs that drop below coverage threshold

## Best Practices

1. Prioritize public APIs first — that is what users see
2. Set realistic targets — 80% with good quality beats 100% with stubs
3. Run sync after every significant refactor — don't let drift accumulate
4. Automate in CI — block PRs that reduce coverage

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.