agentleFS
aethroxaethrox/doctrine/skills/wizard/SKILL.md

wizard

Skill18 starsChanged 3 months agoMITView on GitHub

Generate an interactive script that walks a human, step by step, through a manual procedure only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, navigating an unfamiliar third-party dashboard, or running a one-off migration or cutover that needs a human's hands or authority at each step.

  • Reads credentials

73 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-ts-deep-modules, writing-beats 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.
  • loulanyueSkill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 16 projects that use this

  • RoentekSkill

    writing-beats

    Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.

    Also in 22 projects that use this

  • RoentekSkill

    writing-shape

    Writing, exploit — shape raw material into an article, paragraph by paragraph.

    Also in 20 projects that use this

  • qwlabsSkill

    claude-handoff

    Hand the current conversation off to a fresh background agent that picks up the work immediately.

    Also in 16 projects that use this

  • qhuang20Skill

    migrate-to-shoehorn

    Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.

    Also in 19 projects that use this

  • kayamanSkill

    git-guardrails-claude-code

    Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

    Also in 26 projects that use this

  • +2 more from Roentek

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 65 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never bundle two decisions into one step: a step that says "configure X and also decide Y" is two steps wearing one number.

    line 20
  2. Distinctive:

    Write each instruction without em dashes: use a comma, colon, period, or a reworded sentence instead.

    line 21

“Common” is measured: kept by at least 6 in 10 of the 65 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

Wizard

A step a human must perform manually is exactly the kind of task an SOP (standard operating procedure) exists to make consistent: detailed, sequential instructions so the task comes out the same way regardless of who runs it or how many times it's been explained before. This skill's defining constraint: a wizard only contains steps genuinely gated on human authority or judgment; anything the agent can do itself belongs in the agent's own work, not in a script that stops to ask a human to do it.

Phase 1: Scope to human-only steps

Before writing anything, separate the procedure into what the agent can do directly and what actually requires a human: clicking through a third-party dashboard with no API, entering credentials only the human holds, or confirming an action with real-world consequence (a production cutover, an irreversible migration step). Only the second category belongs in the wizard. A wizard padded with steps the agent could have just done is friction added for no reason; it exists specifically for the steps that can't be delegated.

Phase 2: One verifiable action per step

Following SOP discipline, each step is a single, unambiguous action, not a paragraph the human has to parse into sub-steps themselves:

  • State exactly what to do: which URL to open, which button to click, which value to copy.
  • State the expected outcome, so the human can tell they did it right before moving on, not just that they did something.
  • Never bundle two decisions into one step: a step that says "configure X and also decide Y" is two steps wearing one number.
  • Write each instruction without em dashes: use a comma, colon, period, or a reworded sentence instead.

Phase 3: Capture and persist immediately

When a step produces a value the rest of the procedure needs (an API key, a generated ID, a URL), capture it right there and write it to where it actually belongs (.env, a secrets store, a config file) rather than holding it in the script's memory for a later step to use. A value captured but not yet persisted is lost the moment the script or the human's session ends; persisting immediately makes the procedure resumable, not just recorded.

Phase 4: Confirm before advancing

Every step ends with an explicit confirmation from the human before the script moves on, never assume success because the human didn't say otherwise. A wizard that races ahead on silence turns a later failure into a mystery about which earlier step actually didn't work.

Phase 5: Make it resumable

A procedure that fails or gets interrupted partway through shouldn't force the human to restart from step one. Track which steps have already completed (a state file, or checks against what should already exist) and skip them on a re-run, picking up exactly where the human left off. This is what turns a one-shot script into something safe to hand back when a session gets interrupted; a real risk for a procedure that involves waiting on external systems or a human stepping away mid-task.

Done when

  • Every step in the wizard is genuinely gated on human authority or judgment; nothing the agent could do directly was left in.
  • Each step is one action with a stated expected outcome the human can self-verify.
  • Any value a step produces is persisted to its real destination immediately, not held for later.
  • The script confirms explicitly with the human before advancing past each step.
  • Re-running the wizard after an interruption resumes from where it left off, rather than restarting the whole procedure.

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.