[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DZZNP2P15106XMWHD3CECC":3,"skill-same:01M7DZZNP2P15106XMWHD3CECC":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":45},"01M7DZZNP2P15106XMWHD3CECC","autopilot",null,"Run the new-work flow, idea or board item to reviewed code, with nobody watching.","davner\u002Fdotfiles","davner","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F46757810?v=4","01M79SCEJR5ZY0VZD2HJ9HCCXC","Dan Avner","01M79SCEKB7MRS52247SX36BWM",0,"MIT","https:\u002F\u002Fgithub.com\u002Fdavner\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002F.claude\u002Fskills\u002Fautopilot\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: autopilot\ndescription: \"Run the new-work flow, idea or board item to reviewed code, with nobody watching.\"\nargument-hint: \"\u003Cidea | board>\"\ndisable-model-invocation: true\n---\n\nTake `$ARGUMENTS` from idea to reviewed code with nobody watching: free text is the idea; the word `board` takes the next board item. Typing `\u002Fautopilot` approves this run's subagents: at most about 10 build and research agents, plus up to 50 small voters. One item per run.\n\n## Skills it opens\n\nBefore opening the first, say in the conversation: \"This run is headless.\" Then open each step's skill file by its installed path, `~\u002F.claude\u002Fskills\u002F\u003Cname>\u002FSKILL.md`, and follow it. A skill marked (headless) has a \"When headless:\" section that replaces its stop points, and `grilling`'s section holds the confidence rule, the research rule and the decision log the others point to.\n\n- `grill-with-docs`\n- `grill-me`\n- `grilling` (headless)\n- `domain-modeling` (headless)\n- `to-spec` (headless)\n- `to-tickets` (headless)\n- `implement-spec` (headless)\n- `retro`\n\n## Start\n\n1. **Probe.** Make and remove a temporary directory in one Bash call (`d=\"$(mktemp -d)\" && rmdir \"$d\"`). If it raises a permission prompt or is refused, stop: tell the user to restart in bypass or auto mode.\n2. **Tracker.** Find the tracker file. With none, use the paste-ready `.scratch\u002F` layout `setup-dan-skills` writes by default (its `issue-tracker.md` with every recommended answer), and the report says so. For `board`, stop and report that the repo has no tracker file.\n3. **Prune.** Clear what merged runs left behind, in the main checkout. Skip this step when the repo has no `origin`. Run `git fetch --prune`, then take each local branch `autopilot-*` that has landed, in either of two ways:\n   - **Pushed to main**: its tip is on `origin\u002Fmain` (`git merge-base --is-ancestor \u003Cbranch> origin\u002Fmain` exits 0) and it has moved since it was created (`git reflog show --format=%H \u003Cbranch>` lists more than one line). A run that has not committed yet also sits on `origin\u002Fmain`, and keeps its branch by this second test.\n   - **PR merged**, when `gh` is installed and `origin` is on GitHub: its upstream is gone (`git for-each-ref --format='%(refname:short) %(upstream:track)' 'refs\u002Fheads\u002Fautopilot-*'` prints `[gone]`) and its PR is merged (`gh pr view \u003Cbranch> --json state --jq .state` prints `MERGED`).\n\n   Any other branch stays, whatever the reason. For each landed branch:\n   - Its worktree, when it has one under `\u003Cmain checkout>\u002F.claude\u002Fworktrees\u002Fautopilot-*` (`git worktree list --porcelain`): remove it with `git worktree remove \u003Cpath>`, never `--force`, and only when `git -C \u003Cpath> status --porcelain` prints nothing and it is not this session's working directory. A worktree with uncommitted changes stays, and so does its branch.\n   - The branch: `git branch -d \u003Cbranch>`. A branch pushed to main first gets `git branch --set-upstream-to=origin\u002Fmain \u003Cbranch>`, since `-d` accepts a branch merged into its upstream and the main checkout's `HEAD` may lag `origin\u002Fmain`. When it refuses, as it does for a squash-merged branch git sees as unmerged, the branch stays and the report lists it for the user to delete.\n\n   The report names what was removed and what stayed, with why.\n4. **Board.** For `board`, take the item the tracker file's \"next-up\" section names. With no item, stop and report that. Move the item to In progress as the tracker file's \"move an item\" section says. The item's text is the idea.\n5. **Skill selection.** List the installed skills in `~\u002F.claude\u002Fskills\u002F` and `~\u002F.agents\u002Fskills\u002F` and read each description. Match it against the repo's manifests (`pyproject.toml`, `package.json` dependencies, `tsconfig.json`, `go.mod`, UI files) and the item's area. Keep the matches with a one-line reason each, and the languages and libraries no skill covers. Name the matches in every subagent brief, since subagents do not inherit loaded skills.\n\n## The order\n\n1. Grill: `grill-with-docs` when the repo has domain docs (a glossary, an ADR folder, or a tracker or domain file that names them), else `grill-me`.\n2. `to-spec`, then `to-tickets`, told in a board run which item the run took, for the tracker file's publish section to reuse. `.scratch\u002F` paths resolve to the main checkout: `dirname \"$(git rev-parse --path-format=absolute --git-common-dir)\"`.\n3. **Integration worktree.** Now the feature slug is known. `git fetch origin`, then `git worktree add -b autopilot-\u003Cfeature-slug> \u003Cmain checkout>\u002F.claude\u002Fworktrees\u002Fautopilot-\u003Cfeature-slug> origin\u002Fmain`, with the main checkout's absolute path. When `git check-ignore -q .claude\u002Fworktrees\u002Fx` fails, add `.claude\u002Fworktrees\u002F` to the main checkout's `.git\u002Finfo\u002Fexclude` (`git rev-parse --git-path info\u002Fexclude`).\n4. `implement-spec` in that worktree, told that `autopilot-\u003Cfeature-slug>` is its integration branch. Its step 7 is the run's one code review, given the run's spec path.\n\nA park at any step ends the run at **Park** below.\n\n## The retry rule\n\nCount attempts per failing check, keyed by the check and its first error line, across the run. The evidence is in `~\u002F.dotfiles\u002Fdocs\u002Fresearch\u002Fagent-retry-limits.md`.\n\n- **Lint, type errors, tests.** The tool's auto-fix first. Attempt 1 in this context with the full output. Attempt 2 here only if attempt 1 changed the failure. Attempt 3 in a fresh subagent given the task, the check command, the current output and one line per failed attempt, never the transcript. Then park.\n- **Red CI.** Reproduce it locally, then the rule above. If it does not reproduce, rerun once; then park.\n- **Review finding.** Turn it into a failing test where you can, then the first rule. Otherwise one attempt; a fresh reviewer rechecks that finding, and it parks if it stands.\n\n## Finish\n\nGo as far as the repo allows. The switches are `git config --get claude.allowPush` and `claude.allowPrs`, which `guard-bash.sh` enforces.\n\n1. **Push to main** when the tracker file's \"Agent PRs\" section says the agent pushes to main and `claude.allowPush` is `true`. From the integration worktree, run the full check suite, `git fetch origin`, then `git push origin \u003Cintegration branch>:main`, which git refuses unless it fast-forwards `main`. When it refuses because `origin\u002Fmain` moved, `git fetch origin`, `git rebase origin\u002Fmain`, rerun the full check suite, and push again.\n2. Else **merge** when the tracker file's \"Agent PRs\" section says the agent merges its own PRs and both switches are `true`. Fix every review finding before arming auto-merge.\n3. Else an **open PR** when both switches are on.\n4. Else a **pushed branch** when `claude.allowPush` is on.\n5. Else the **local branch**, with the recap page `implement-spec` made.\n\nA rung a hook or permission refuses drops to the next rung, and the report says which was refused.\n\nThe decision log stays in `.scratch\u002F`; the PR body carries only what the repo's PR rules ask.\n\n**Park.** Park the run's item, in a board run the one Board took, as the tracker file's \"park an item\" section says, with the parked question and its numbered options. Before `to-spec` publishes anything, an idea run has no item: the report carries the question. Leave the branch as it is.\n\nThen open `retro`. Put its suggestions in the report and apply none.\n\n## Report\n\nBefore writing it, load `PushNotification` (a deferred tool: `ToolSearch` with `select:PushNotification`) and send the headline. If it is not available, say so in the report.\n\nHeadline first, in plain words: done, parked or failed, with the PR or branch. Then what was built; what parked and why; the decisions, with the path to `decisions.md`; the skills chosen with their reasons, and the gaps; retro's suggestions.\n","Take `$ARGUMENTS` from idea to reviewed code with nobody watching: free text is the idea; the word `board` takes the next board item. Typing `\u002Fautopilot` approves this run's subagents: at most about 10 build and research agents, plus up to 50 small voters. One item per run.\n\n## Skills it opens\n\nBefore opening the first, say in the conversation: \"This run is headless.\" Then open each step's skill file by its installed path, `~\u002F.claude\u002Fskills\u002F\u003Cname>\u002FSKILL.md`, and follow it. A skill marked (headless) has a \"When headless:\" section that replaces its stop points, and `grilling`'s section holds the confidence rule, the research rule and the decision log the others point to.\n\n- `grill-with-docs`\n- `grill-me`\n- `grilling` (headless)\n- `domain-modeling` (headless)\n- `to-spec` (headless)\n- `to-tickets` (headless)\n- `implement-spec` (headless)\n- `retro`\n\n## Start\n\n1. **Probe.** Make and remove a temporary directory in one Bash call (`d=\"$(mktemp -d)\" && rmdir \"$d\"`). If it raises a permission prompt or is refused, stop: tell the user to restart in bypass or auto mode.\n2. **Tracker.** Find the tracker file. With none, use the paste-ready `.scratch\u002F` layout `setup-dan-skills` writes by default (its `issue-tracker.md` with every recommended answer), and the report says so. For `board`, stop and report that the repo has no tracker file.\n3. **Prune.** Clear what merged runs left behind, in the main checkout. Skip this step when the repo has no `origin`. Run `git fetch --prune`, then take each local branch `autopilot-*` that has landed, in either of two ways:\n   - **Pushed to main**: its tip is on `origin\u002Fmain` (`git merge-base --is-ancestor \u003Cbranch> origin\u002Fmain` exits 0) and it has moved since it was created (`git reflog show --format=%H \u003Cbranch>` lists more than one line). A run that has not committed yet also sits on `origin\u002Fmain`, and keeps its branch by this second test.\n   - **PR merged**, when `gh` is installed and `origin` is on GitHub: its upstream is gone (`git for-each-ref --format='%(refname:short) %(upstream:track)' 'refs\u002Fheads\u002Fautopilot-*'` prints `[gone]`) and its PR is merged (`gh pr view \u003Cbranch> --json state --jq .state` prints `MERGED`).\n\n   Any other branch stays, whatever the reason. For each landed branch:\n   - Its worktree, when it has one under `\u003Cmain checkout>\u002F.claude\u002Fworktrees\u002Fautopilot-*` (`git worktree list --porcelain`): remove it with `git worktree remove \u003Cpath>`, never `--force`, and only when `git -C \u003Cpath> status --porcelain` prints nothing and it is not this session's working directory. A worktree with uncommitted changes stays, and so does its branch.\n   - The branch: `git branch -d \u003Cbranch>`. A branch pushed to main first gets `git branch --set-upstream-to=origin\u002Fmain \u003Cbranch>`, since `-d` accepts a branch merged into its upstream and the main checkout's `HEAD` may lag `origin\u002Fmain`. When it refuses, as it does for a squash-merged branch git sees as unmerged, the branch stays and the report lists it for the user to delete.\n\n   The report names what was removed and what stayed, with why.\n4. **Board.** For `board`, take the item the tracker file's \"next-up\" section names. With no item, stop and report that. Move the item to In progress as the tracker file's \"move an item\" section says. The item's text is the idea.\n5. **Skill selection.** List the installed skills in `~\u002F.claude\u002Fskills\u002F` and `~\u002F.agents\u002Fskills\u002F` and read each description. Match it against the repo's manifests (`pyproject.toml`, `package.json` dependencies, `tsconfig.json`, `go.mod`, UI files) and the item's area. Keep the matches with a one-line reason each, and the languages and libraries no skill covers. Name the matches in every subagent brief, since subagents do not inherit loaded skills.\n\n## The order\n\n1. Grill: `grill-with-docs` when the repo has domain docs (a glossary, an ADR folder, or a tracker or domain file that names them), else `grill-me`.\n2. `to-spec`, then `to-tickets`, told in a board run which item the run took, for the tracker file's publish section to reuse. `.scratch\u002F` paths resolve to the main checkout: `dirname \"$(git rev-parse --path-format=absolute --git-common-dir)\"`.\n3. **Integration worktree.** Now the feature slug is known. `git fetch origin`, then `git worktree add -b autopilot-\u003Cfeature-slug> \u003Cmain checkout>\u002F.claude\u002Fworktrees\u002Fautopilot-\u003Cfeature-slug> origin\u002Fmain`, with the main checkout's absolute path. When `git check-ignore -q .claude\u002Fworktrees\u002Fx` fails, add `.claude\u002Fworktrees\u002F` to the main checkout's `.git\u002Finfo\u002Fexclude` (`git rev-parse --git-path info\u002Fexclude`).\n4. `implement-spec` in that worktree, told that `autopilot-\u003Cfeature-slug>` is its integration branch. Its step 7 is the run's one code review, given the run's spec path.\n\nA park at any step ends the run at **Park** below.\n\n## The retry rule\n\nCount attempts per failing check, keyed by the check and its first error line, across the run. The evidence is in `~\u002F.dotfiles\u002Fdocs\u002Fresearch\u002Fagent-retry-limits.md`.\n\n- **Lint, type errors, tests.** The tool's auto-fix first. Attempt 1 in this context with the full output. Attempt 2 here only if attempt 1 changed the failure. Attempt 3 in a fresh subagent given the task, the check command, the current output and one line per failed attempt, never the transcript. Then park.\n- **Red CI.** Reproduce it locally, then the rule above. If it does not reproduce, rerun once; then park.\n- **Review finding.** Turn it into a failing test where you can, then the first rule. Otherwise one attempt; a fresh reviewer rechecks that finding, and it parks if it stands.\n\n## Finish\n\nGo as far as the repo allows. The switches are `git config --get claude.allowPush` and `claude.allowPrs`, which `guard-bash.sh` enforces.\n\n1. **Push to main** when the tracker file's \"Agent PRs\" section says the agent pushes to main and `claude.allowPush` is `true`. From the integration worktree, run the full check suite, `git fetch origin`, then `git push origin \u003Cintegration branch>:main`, which git refuses unless it fast-forwards `main`. When it refuses because `origin\u002Fmain` moved, `git fetch origin`, `git rebase origin\u002Fmain`, rerun the full check suite, and push again.\n2. Else **merge** when the tracker file's \"Agent PRs\" section says the agent merges its own PRs and both switches are `true`. Fix every review finding before arming auto-merge.\n3. Else an **open PR** when both switches are on.\n4. Else a **pushed branch** when `claude.allowPush` is on.\n5. Else the **local branch**, with the recap page `implement-spec` made.\n\nA rung a hook or permission refuses drops to the next rung, and the report says which was refused.\n\nThe decision log stays in `.scratch\u002F`; the PR body carries only what the repo's PR rules ask.\n\n**Park.** Park the run's item, in a board run the one Board took, as the tracker file's \"park an item\" section says, with the parked question and its numbered options. Before `to-spec` publishes anything, an idea run has no item: the report carries the question. Leave the branch as it is.\n\nThen open `retro`. Put its suggestions in the report and apply none.\n\n## Report\n\nBefore writing it, load `PushNotification` (a deferred tool: `ToolSearch` with `select:PushNotification`) and send the headline. If it is not available, say so in the report.\n\nHeadline first, in plain words: done, parked or failed, with the PR or branch. Then what was built; what parked and why; the decisions, with the path to `decisions.md`; the skills chosen with their reasons, and the gaps; retro's suggestions.\n",{"name":5,"description":7,"argument-hint":24,"disable-model-invocation":25},"\u003Cidea | board>",true,"main","cc6fb63be1c29cd25ac0547448353eee62f19464","home\u002F.claude\u002Fskills\u002Fautopilot","https:\u002F\u002Fgithub.com\u002Fdavner\u002Fdotfiles","https:\u002F\u002Fgithub.com\u002Fdavner","www.danavner.com","2026-11-14 18:56:59",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":25},[35,38,41],{"tool":36,"command":37},"npx","npx skills add davner\u002Fdotfiles --skill autopilot",{"tool":39,"command":40},"bunx","bunx skills add davner\u002Fdotfiles --skill autopilot",{"tool":42,"command":43},"pnpm","pnpm dlx skills add davner\u002Fdotfiles --skill autopilot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdavner\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002F.claude\u002Fskills\u002Fautopilot\u002FSKILL.md",[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M79SEZ2QHSN3YHPP1833ZPPT","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Fdavner\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002F.claude\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M79SEW9SFQ2AF5255M2S0PV0","to-tickets","Break a plan, spec, or the current conversation into tracer-bullet tickets grouped into the fewest PRs, each ticket with its blocking edges and first red test, saved as one local file per ticket.","https:\u002F\u002Fgithub.com\u002Fdavner\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002F.claude\u002Fskills\u002Fto-tickets\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M79SET6W048SZACE3Z3JE0QK","to-spec","Turn the current conversation into a spec saved locally as the reference the agents build from: no interview, just synthesis of what you've already discussed.","https:\u002F\u002Fgithub.com\u002Fdavner\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002F.claude\u002Fskills\u002Fto-spec\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M79SEQTSNJFS3HSCV44FKT9X","teach","Teach the user a new skill or concept, within this workspace.","https:\u002F\u002Fgithub.com\u002Fdavner\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002F.claude\u002Fskills\u002Fteach\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M79SENJJCBBA37FAHQKZZTS4","tdd","Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions \"red-green-refactor\", or wants integration tests.","https:\u002F\u002Fgithub.com\u002Fdavner\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002F.claude\u002Fskills\u002Ftdd\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M79SEEVVSVFC7SHYT3MT7J4W","tailwind-v4","Tailwind CSS v4 utility lookup, CSS-first theming, and version guardrails. Use whenever a project depends on tailwindcss v4, imports `tailwindcss` from CSS, or has an `@theme`, `@utility`, `@apply`, or `@custom-variant` rule - and for any CSS or class-name work in such a project, including writing markup with utility classes, editing a stylesheet, theming, dark mode, responsive or container queries, and build setup with Vite, PostCSS, or the CLI. Load this even for requests that look trivial, such as adding one class or changing one color, because v4 replaced the JavaScript config with CSS, renamed or removed a large part of the v3 class surface, and silently generates nothing for v3 syntax rather than failing, which makes recalled knowledge of \"Tailwind\" wrong in ways no build error reports.","https:\u002F\u002Fgithub.com\u002Fdavner\u002Fdotfiles\u002Fblob\u002Fmain\u002Fhome\u002F.claude\u002Fskills\u002Ftailwind-v4\u002FSKILL.md",[],[]]