agentleFS
PiloTracerPiloTracer/pilo.ai.logicbison/skills/docs/skill.md

docs

Skill0 starsChanged 5 months agoMITView on GitHub

Create and manage project documentation: guides, tutorials, reference docs, and feature documentation. Routes documentation requests to the correct template and path under .work/docs/. Use when the user says docs, guide, tutorial, write docs, or documentation.

83 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use perf, incident and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    perf

    Speed and memory performance rules for Rust crates, the Node addon, webui-framework, and webui-router.

    Also in 6 projects that use this

  • pvnarpSkill

    incident

    Guides incident response and post-mortem analysis. Covers triage, mitigation, root cause analysis, and prevention. Use when responding to active incidents, writing post-mortems, or improving incident processes.

    Also in 4 projects that use this

  • vbrevikSkill

    work

    Use when the user says 'plan', 'todo', 'copy plan', 'append plan', 'resume plan', 'priorities', or 'what's next'.

    Also in 5 projects that use this

  • iankikuSkill

    gate

    (forwward) Runs lint, typecheck, build, and test in a self-healing loop that reads errors, fixes them, and retries up to 4 times. Triggers on verify, check, make sure it works, pre-commit validation, pre-deploy checks, or any quality gate.

    Also in 3 projects that use this

  • nicolasestremSkill

    git

    Git operations with intelligent commit messages and branch management

    Also in 5 projects that use this

  • Google CloudSkill

    fix

    Plan a remediation strategy after a test failure.

    Also in 5 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 3 are distinctive, and 10 are very specific to this project.

  • 0

    Common

    Most of the 68 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 10

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create and manage human-readable project documentation under {DOCS_ROOT} (.work/docs/).

    line 12
  2. Very specific:

    Never write formal SPECs — route to @feature-spec.

    line 20
  3. Very specific:

    Never edit archived or Approved SPECs — route to @feature-spec amend.

    line 21
  4. Distinctive:

    Keep docs git-friendly — one sentence per line when possible.

    line 24
  5. Very specific:

    Operator handoff: every response that ends a turn follows the Operator handoff contract — terse output.

    line 25
  6. Very specific:

    Document clarity: every generated document follows the Document clarity contract — Status + Needs header, separate Decisions/Open questions …

    line 26
  7. Very specific:

    If text after - is not a valid kebab-case slug, derive one from the free-text purpose (e.g.

    line 49
  8. Very specific:

    If any .work/docs/guides/YYYYMMDD-<slug>.md already exists for that slug → stop with blocked report:

    line 53
  9. Distinctive:

    Required: no dated guide for this slug

    line 54
  10. Very specific:

    Read template from .ai/templates/work/docs/guides/YYYYMMDD-slug.md.template (self-hosted: …

    line 62
  11. Very specific:

    Write to .work/docs/guides/YYYYMMDD-<slug>.md with filled sections (YYYYMMDD = today.

    line 63
  12. Distinctive:

    If user gave a free-text purpose, populate the goal section from it.

    line 64
  13. Very specific:

    Read-only. List all files under .work/docs/ grouped by subdirectory.

    line 99

“Common” is measured: kept by at least 6 in 10 of the 68 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
skill.md

docs

Create and manage human-readable project documentation under {DOCS_ROOT} (.work/docs/). Does not replace @feature-spec — formal SPECs live in .work/features/ per FEATURE_STANDARD. This skill owns prose documentation for human readers.

Canonical path: .ai/skills/docs/skill.md Artifact root: .work/docs/

Pairs with: feature-spec (feature docs may reference/derive from SPECs), session-control (handoff notes may link to docs).

Hard rules:

  • Never write formal SPECs — route to @feature-spec.
  • Never edit archived or Approved SPECs — route to @feature-spec amend.
  • One file per doc; output naming YYYYMMDD-<slug>.md (substitute the real kebab-case slug).
  • Template files on disk use literal slug (never <> in repo paths): YYYYMMDD-slug.md.template.
  • Keep docs git-friendly — one sentence per line when possible.
  • Operator handoff: every response that ends a turn follows the Operator handoff contract — terse output; approvals under **Needs your approval:** citing path:L<n>; questions numbered under **Needs your answer:**; exactly one **Next step:** command; one line when nothing is needed (Form A). Decisions and questions never mixed; empty sections omitted.
  • Document clarity: every generated document follows the Document clarity contract — Status + Needs header, separate Decisions/Open questions lists, one ## Next action, no placeholder scaffolding left behind.

Parse invocation

User saysMode
@docs create guide - <slug>Create a how-to guide
@docs create tutorial - <slug>Create a tutorial
@docs create reference - <slug>Create reference docs
@docs statusList all docs with paths

Aliases: guide → create guide, tutorial → create tutorial, reference → create reference.

Default: status if no verb matches.


Create guide protocol

G1 - Derive slug

If text after - is not a valid kebab-case slug, derive one from the free-text purpose (e.g. "how to deploy the app" → deploy-app). State and proceed unless user objects.

G2 - Brownfield check

If any .work/docs/guides/YYYYMMDD-<slug>.md already exists for that slug → stop with blocked report:

  • Required: no dated guide for this slug
  • Detected: existing file at path
  • Run first: @docs create guide - <different-slug> or delete the existing file if stale

End the report with the Operator handoff close (Form A Next: … or Form B **Needs your approval:** / **Needs your answer:** / **Next step:**) per SKILL_DEPENDENCIES.md.

G3 - Create

  1. Read template from .ai/templates/work/docs/guides/YYYYMMDD-slug.md.template (self-hosted: templates/work/docs/guides/YYYYMMDD-slug.md.template).
  2. Write to .work/docs/guides/YYYYMMDD-<slug>.md with filled sections (YYYYMMDD = today; <slug> = kebab-case slug).
  3. If user gave a free-text purpose, populate the goal section from it.
  4. Document clarity contract: Status line filled (default Draft + date; Needs: set or nothing), ## Next action present (or none — <reason>), all <placeholder> scaffolding filled or its section omitted — a document with leftover <> scaffolding is fail.

G4 - Report

## @docs create guide - <slug>

**Path:** `.work/docs/guides/YYYYMMDD-<slug>.md`
**Template:** `templates/work/docs/guides/YYYYMMDD-slug.md.template`
**Status:** created

End the report with the Operator handoff close (Form A Next: … or Form B **Needs your approval:** / **Needs your answer:** / **Next step:**) per SKILL_DEPENDENCIES.md.


Create tutorial protocol

Same as guide protocol but:

  • Template: .ai/templates/work/docs/tutorials/YYYYMMDD-slug.md.template
  • Output: .work/docs/tutorials/YYYYMMDD-<slug>.md

Create reference protocol

Same as guide protocol but:

  • Template: .ai/templates/work/docs/reference/YYYYMMDD-slug.md.template
  • Output: .work/docs/reference/YYYYMMDD-<slug>.md

Status protocol

Read-only. List all files under .work/docs/ grouped by subdirectory. Report counts per type. End the report with the Operator handoff close (Form A Next: … or Form B **Needs your approval:** / **Needs your answer:** / **Next step:**) per SKILL_DEPENDENCIES.md.


Integration

Skill / docWhen
@ai-director docs bucketFree-text docs requests route here
@feature-spec documentBrownfield feature docs (writes to .work/docs/features/)
.work/docs/README.mdNavigation for all docs

Completion checklist

#CheckResult
1Valid slugpass
2No brownfield collisionpass/fail
3File created at correct pathpass
4Template sections filledpass
5Document clarity (Status line, ## Next action, no <> scaffolding left)pass/fail

Any operator-required approval/question must ALSO appear in the closing handoff block (enumerated, with path:line) per SKILL_DEPENDENCIES.md — not only in this checklist.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.