agentleFS
dustinkeetondustinkeeton/wafflestack/.claude/skills/docs/SKILL.md

docs

Skill2 starsChanged 3 months agoApache-2.0View on GitHub

Orchestrates documentation updates by spawning the harness-architect, docs-agent, and docs-human agents in sequence. The first pass audits the codebase and reports changes, docs-agent writes machine-readable docs, docs-human writes human-readable docs.

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

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 68 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When this skill is invoked, run the following pipeline:

    line 9
  2. Very specific:

    After docs-agent completes, spawn the docs-human agent with this prompt:

    line 41

“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

Documentation Orchestration

When this skill is invoked, run the following pipeline:

Step 1: Architecture Audit

Spawn the harness-architect agent with this prompt:

Audit the current codebase for any changes since the docs were last updated. Read the existing machine docs (a single root AGENTS.md registry) and compare against the actual project. Produce a concise change report covering:

  • New or removed stacks, skills, agents, config keys, or CLI commands
  • Changed installer exports or template semantics (installer/lib/*.mjs)
  • stack.yaml config declarations out of sync with placeholder usage
  • Rendered-output drift: node installer/cli.mjs doctor --allow-missing clean (committed render + lock in sync — re-render and commit after stack edits, with node installer/cli.mjs render --allow-unreleased: #373 makes render refuse from a non-release toolkit, and a branch checkout never is one; plain doctor needs no flag); .gitignore still covers the deliberately-untracked renders (label-hook workflow, worktrees, .waffle/ overview docs)

Output ONLY the change report as structured text. Do NOT modify any files.

Step 2: Agent Documentation

Take the change report and spawn the docs-agent agent with this prompt:

Here is the architecture change report for the wafflestack codebase:

{step-1 output}

Update the machine docs — a single root AGENTS.md registry — to reflect the current state of the project. Read the actual source files to verify details — do not rely solely on the change report. Follow the docs-agent skill guidelines for format and structure.

Step 3: Human Documentation

After docs-agent completes, spawn the docs-human agent with this prompt:

The machine docs have just been updated. Update the human-facing documentation — DECISIONS.md, STATUS.md, and ARCHITECTURE.md at the repo root — to match.

Read the updated machine docs and the actual source to ensure accuracy. Follow the docs-human skill guidelines for format, structure, and its guardrails (owner-voiced docs are flagged, never rewritten).

Important

  • Each step must complete before the next begins — the output of each informs the next.
  • Step 1 is read-only — the audit agent only reports.
  • docs-agent and docs-human SHOULD modify their respective documentation files.

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.