{
  "version": "0.1.0",
  "schema": "prompts.v1",
  "prompts": [
    {
      "id": "init-repo",
      "title": "Initialize the workbench",
      "hint": "The shared job, for any model.",
      "body": "Initialize the current repository with Spw Workbench at .spw/_workbench.\nRead this entire recipe before editing. Follow the target repository's existing instructions.\nThe section \"Git, in this order\" is the only git procedure. Use the one command that matches the folder you have.\n\nSpw supplies language, parser, CLI, and editor tooling. The consumer owns .spw/;\nthe mounted workbench owns .spw/_workbench. Keep this repository's own instructions,\nframework, and identity.\n\n1. Inspect the working directory, git status, existing instructions, .gitmodules,\n   .spw/, and git config core.hooksPath. Preserve unrelated changes and existing files.\n   Require Git and Node ^20.19.0 || >=22.12.0. Confirm this directory is the intended\n   consumer root.\n2. Follow \"Git, in this order\" for the repository, the submodule link, the reviewed\n   revision, and the download. Verify the workbench origin and read its own quick start.\n3. Review the mounted package.json and lockfile, then install its locked tooling\n   dependencies when the consumer's dependency policy allows:\n   npm --prefix .spw/_workbench ci --ignore-scripts\n   Leave the consumer's own dependency graph alone.\n4. From the consumer root, run:\n   npm --prefix .spw/_workbench run spw:init -- ../..\n   The ../.. target is relative to npm's mounted package working directory.\n   Init seeds consumer files and leaves existing scaffold files in place. It may\n   install a commit-review workflow and .git/hooks/pre-commit. Read the existing\n   hook first. Report when core.hooksPath means that hook will not run.\n5. Read .spw/README.md, .spw/index.spw, .spw/workspace.spw, and .spw/mount.spw.\n   Run:\n   npm --prefix .spw/_workbench run spw:doctor -- ../..\n   npm --prefix .spw/_workbench run spw -- roots\n   npm --prefix .spw/_workbench run spw -- tree @spw --depth 3\n   git diff --check\n   Default consumer scans exclude _workbench. Leave the workbench grammar in place.\n6. Report the mount revision, created and skipped files, hook changes, doctor result,\n   and any blocked step. Run the checks before you call the setup done.\n   Stop before any commit, push, or deploy.\n\nExpected core files: .spw/README.md, .spw/index.spw, .spw/mount.spw,\n.spw/workspace.spw, plus .agents/workflows/commit-review.md. The pinned initializer\nmay seed additional authored surfaces; inspect its output and report those names.\n"
    },
    {
      "id": "shell",
      "title": "Shell",
      "hint": "The same setup without a model.",
      "body": "test -d .git || git init\ngit submodule add https://github.com/spwashi/spw-workbench .spw/_workbench\ngit -C .spw/_workbench checkout 3eaab637767222ffe248449da7262a251c4c608b\nnpm --prefix .spw/_workbench ci --ignore-scripts\nnpm --prefix .spw/_workbench run spw:init -- ../..\nnpm --prefix .spw/_workbench run spw:doctor -- ../..\ngit diff --check\n"
    },
    {
      "id": "git",
      "title": "Git, in this order",
      "hint": "What each git command is for.",
      "body": "test -d .git || git init\ngit submodule add https://github.com/spwashi/spw-workbench .spw/_workbench\ngit -C .spw/_workbench checkout 3eaab637767222ffe248449da7262a251c4c608b\ngit submodule update --init -- .spw/_workbench\ngit diff --check\n"
    },
    {
      "id": "first-patch",
      "title": "Use the mounted workbench",
      "hint": "After doctor verifies the mount.",
      "body": "Read .spw/README.md, .spw/index.spw, .spw/workspace.spw, and .spw/mount.spw.\nTreat .spw/_workbench as mounted infrastructure. The consumer owns the surrounding .spw tree.\nChoose one bounded question about this repository. Navigate before reviewing:\nnpm --prefix .spw/_workbench run spw -- roots\nnpm --prefix .spw/_workbench run spw -- tree @spw --depth 3\nUse the mounted-consumer review skill only as an instrument, following this repo's rules.\nRecord evidence under consumer-owned .spw/audits/ with consumer and workbench revisions.\nKeep this repository's own CSS nouns, copy, and framework."
    }
  ]
}