Skip to content
Back to skills

Docs

ASecurity

Write or update repo documentation. READMEs, ADRs, API references, and guides, verified against the code they describe.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 7, 2026
ai-agentsgoapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add samuel-stidham/smithy --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/samuel-stidham-docs-smithy/badge)](https://www.skillsdirectory.com/skills/samuel-stidham-docs-smithy)

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: docs
description: Write or update repo documentation. READMEs, ADRs, API references, and guides, verified against the code they describe.
argument-hint: "[README section, ADR, API reference, or guide]"
disable-model-invocation: true
---

# /draft:docs

Write repo documentation that stays true to the code: READMEs,
ADRs, API references, setup and contributing guides. The work
context of `forge:writing-style` governs throughout. This plugin
requires forge.

The task is: $ARGUMENTS

If `$ARGUMENTS` is empty, ask what documentation is needed.

## The verification rule

Documentation states what the code does today. Read the code before
writing about it. Run every command you document when running it is
safe, and mark the ones you could not run. A doc the code
contradicts is worse than no doc, because it gets believed.

## Orientation

- Match the repo's existing documentation: structure, heading
  style, spelling, and tone. Never introduce a clashing format.
- Code samples are real code, quoted verbatim, per the quoting
  exemption in `forge:writing-style`. Never a sketch of code that
  might work.
- ADRs follow the repo's own template when one exists. Otherwise:
  context, decision, consequences, status.
- API references follow the ecosystem's native documentation
  convention, detected from the repo, never imposed.

## Workflow

1. **Restate the task** and where the doc lives.
2. **Branch** as `docs/{short-kebab-description}`, with types per
   `forge:conventional-commits`.
3. **Write**, verifying as you go per the rule above.
4. **Commit** per `forge:conventional-commits`, one document or
   section at a time.
5. **Report** per `forge:writing-style`: what was written, what was
   verified by running it, and what remains unverified.

## Boundaries

No push or PR (that is `/forge:ship`). The changelog belongs to
`/forge:version`. Style rules never rewrite quoted tool output.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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