[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79PJ0PX31HD9C5HN4F8DPCW":3,"skill-same:01M79PJ0PX31HD9C5HN4F8DPCW":45},{"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":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":44},"01M79PJ0PX31HD9C5HN4F8DPCW","base",null,"Core conventions, tech stack, and project structure for worktrail","behindthedash\u002Fworktrail","behindthedash","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F30299179?v=4","01M79PHT5395GJXDSNP7MYP63D","OC","01M79PHT68KHMYHPS9D9RCYFJZ",0,"MIT","https:\u002F\u002Fgithub.com\u002Fbehindthedash\u002Fworktrail\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fbase\u002Fskill.md",[],[],"2026-11-15 14:19:17",false,"---\nname: base\ndescription: Core conventions, tech stack, and project structure for worktrail\ntriggers:\n  alwaysActivate: true\n---\n\nYou are working in **worktrail**, a spec-format-agnostic task orchestration package.\n\n## Tech Stack\nPython 3.14+ | one runtime dependency: `pyyaml` | pytest for tests (`dev` extra) | setuptools `src\u002F` layout packaging | ruff is pinned exactly (`ruff==\u003Cversion>` in `pyproject.toml`'s `dev` extra) — CI's \"Lint, Test & Build\" job runs ruff lint + ruff format check + a shebang\u002Fexec-bit check + pytest + a golden regression check + build\n\n## Commands\n- `.\u002Fscripts\u002Fdev-install.sh` — `pip install -e \".[dev]\"`; refuses to run from a linked worktree (must be the canonical checkout, e.g. `~\u002Fprojects\u002Fworktrail`)\n- `pytest` \u002F `pytest -q` — full test suite (`testpaths = [\"tests\", \"hooks\", \"scripts\u002Fci\"]`)\n- `python3 -m worktrail.orchestrator.orchestrate check` — golden record\u002Freplay regression for the orchestrator; run alongside pytest, not a substitute for it\n- `python3 scripts\u002Fci\u002Fruff_pinned.py check .` \u002F `... format --check .` — lint\u002Fformat through the pinned-ruff wrapper; this is what CI and `.worktrail\u002Fpolicy.yaml`'s `pre_commit_cmd`\u002F`integrate_smoke_cmd` invoke\n- `python3 scripts\u002Fci\u002Fcheck_shebang_exec_bits.py` — EXE001\u002FEXE002 read from git's index modes\n- `python3 -m build` — sdist\u002Fwheel build (mirrors CI's own build step)\n\n## Critical Conventions\n- **Never `pip install -e` from a task worktree.** The editable install records the checkout's absolute path; deleting a merged worktree (the standard teardown-after-merge step) then breaks every `worktrail-*` console script with `ModuleNotFoundError: No module named 'worktrail'` until someone manually reinstalls from the canonical checkout. `dev-install.sh` enforces this by refusing to run from a worktree.\n- **Lint through the two `scripts\u002Fci\u002F` wrappers, never a bare `ruff`** — both exist because a local PASS was not evidence about CI. `ruff_pinned.py` runs the exact pin from `pyproject.toml` (PATH when it already matches, else `uvx ruff@\u003Cpin>`) and refuses anything else, because a global `ruff` installed once for every repo drifts from the pin (0.16.5 against a 0.16.7 pin on 2026-09-19) and ruff's behavior changes between patch releases. `check_shebang_exec_bits.py` enforces EXE001\u002FEXE002 from git's index modes, because ruff disables those two rules on Windows and WSL (its own docs) while GitHub's Linux runners enforce them — PR #1279 passed lint locally and failed CI on both matrix legs over exactly that, and pinning the version does not help since the rules are off by platform.\n- **~70 console scripts, one per `[project.scripts]` entry in `pyproject.toml`.** A skill, doc, or code path that names a `worktrail-*` command must match a real entry point exactly — `tests\u002Ftest_plugin_surface.py` enforces this in CI.\n- **Version bumps are batched, standalone commits, not per-PR** (real semver, unlike sibling plugin repos' version-less\u002FSHA-tracked model). Ordinary feature\u002Ffix PRs need no label or bump. `CI: Release Metadata Check` validates only PRs that actually change `pyproject.toml`'s version: valid semver, increased over base, and `.codex-plugin\u002Fplugin.json` in sync.\n- **Never commit or develop directly on `main`.** Branch off `main` into a sibling worktree (`git worktree add ..\u002Fworktrail-worktrees\u002F\u003Cbranch> -b \u003Cbranch> main`); merge only after CI is green; delete the branch once its PR lands.\n- **Long-running launches (`worktrail-live full-real`, headless `worktrail-skill-dispatch`) go through `worktrail-detach launch`, never the Bash tool's `run_in_background`** — the harness reaps its own tracked background tasks on this host (see the `detach` skill).\n\n## Structure\n- `src\u002Fworktrail\u002Fconductor\u002F` — compiles a spec\u002Fchange into a schedulable RunPlan (see the `worktrail` skill)\n- `src\u002Fworktrail\u002Forchestrator\u002F` — parallel git-worktree fan-out execution, live agent spawning, branch integration + PR creation (see the `worktrail` skill)\n- `src\u002Fworktrail\u002Ftaskformats\u002F` — the `TaskSource` adapter interface plus `devkit`, `openspec`, and `speckit` implementations (see the `worktrail` skill)\n- `src\u002Fworktrail\u002Faddons\u002F` — opt-in post-task tooling, e.g. the `aspens` skill-doc sync add-on (see the `worktrail` skill)\n- `src\u002Fworktrail\u002Fworkqueue\u002F` — the `$WORK_QUEUE_DIR` handoff-brief claim\u002Fdone\u002Frelease lifecycle (see the `workqueue` skill)\n- `src\u002Fworktrail\u002Frouter\u002F` — the deterministic route classifier, resume dashboard, policy loader, and run records (see the `router` skill)\n- `src\u002Fworktrail\u002Fdrain\u002F` — unattended queue-draining loop (see the `drain` skill)\n- `src\u002Fworktrail\u002Fonboarding\u002F` — `worktrail-repo-init`: scaffolds\u002Fmigrates a repo onto the repo-standards doctrine (see the `onboarding` skill)\n- `src\u002Fworktrail\u002Fruntime\u002F` — provider-neutral runtime primitives: routing-catalog\u002Ftarget selection (`routing_source.py`, `selection.py`) and the `worktrail-detach` supervised-launch primitive (`detach.py`, see the `detach` skill)\n- `src\u002Fworktrail\u002Fshared\u002F` — cross-cutting helpers (`homedir.py`, `brief_frontmatter.py`)\n- `scripts\u002Fci\u002F` — CI gate scripts callable locally, each with its `test_*.py` beside it\n- `tests\u002F` — mirrors the `src\u002Fworktrail\u002F` layout (see the `tests` skill)\n- `skills\u002F`, `commands\u002F` — this repo's own Claude Code plugin marketplace surface (see AGENTS.md \"Claude Code plugin surface\")\n\n---\n**Last Updated:** 2026-09-20\n","You are working in **worktrail**, a spec-format-agnostic task orchestration package.\n\n## Tech Stack\nPython 3.14+ | one runtime dependency: `pyyaml` | pytest for tests (`dev` extra) | setuptools `src\u002F` layout packaging | ruff is pinned exactly (`ruff==\u003Cversion>` in `pyproject.toml`'s `dev` extra) — CI's \"Lint, Test & Build\" job runs ruff lint + ruff format check + a shebang\u002Fexec-bit check + pytest + a golden regression check + build\n\n## Commands\n- `.\u002Fscripts\u002Fdev-install.sh` — `pip install -e \".[dev]\"`; refuses to run from a linked worktree (must be the canonical checkout, e.g. `~\u002Fprojects\u002Fworktrail`)\n- `pytest` \u002F `pytest -q` — full test suite (`testpaths = [\"tests\", \"hooks\", \"scripts\u002Fci\"]`)\n- `python3 -m worktrail.orchestrator.orchestrate check` — golden record\u002Freplay regression for the orchestrator; run alongside pytest, not a substitute for it\n- `python3 scripts\u002Fci\u002Fruff_pinned.py check .` \u002F `... format --check .` — lint\u002Fformat through the pinned-ruff wrapper; this is what CI and `.worktrail\u002Fpolicy.yaml`'s `pre_commit_cmd`\u002F`integrate_smoke_cmd` invoke\n- `python3 scripts\u002Fci\u002Fcheck_shebang_exec_bits.py` — EXE001\u002FEXE002 read from git's index modes\n- `python3 -m build` — sdist\u002Fwheel build (mirrors CI's own build step)\n\n## Critical Conventions\n- **Never `pip install -e` from a task worktree.** The editable install records the checkout's absolute path; deleting a merged worktree (the standard teardown-after-merge step) then breaks every `worktrail-*` console script with `ModuleNotFoundError: No module named 'worktrail'` until someone manually reinstalls from the canonical checkout. `dev-install.sh` enforces this by refusing to run from a worktree.\n- **Lint through the two `scripts\u002Fci\u002F` wrappers, never a bare `ruff`** — both exist because a local PASS was not evidence about CI. `ruff_pinned.py` runs the exact pin from `pyproject.toml` (PATH when it already matches, else `uvx ruff@\u003Cpin>`) and refuses anything else, because a global `ruff` installed once for every repo drifts from the pin (0.16.5 against a 0.16.7 pin on 2026-09-19) and ruff's behavior changes between patch releases. `check_shebang_exec_bits.py` enforces EXE001\u002FEXE002 from git's index modes, because ruff disables those two rules on Windows and WSL (its own docs) while GitHub's Linux runners enforce them — PR #1279 passed lint locally and failed CI on both matrix legs over exactly that, and pinning the version does not help since the rules are off by platform.\n- **~70 console scripts, one per `[project.scripts]` entry in `pyproject.toml`.** A skill, doc, or code path that names a `worktrail-*` command must match a real entry point exactly — `tests\u002Ftest_plugin_surface.py` enforces this in CI.\n- **Version bumps are batched, standalone commits, not per-PR** (real semver, unlike sibling plugin repos' version-less\u002FSHA-tracked model). Ordinary feature\u002Ffix PRs need no label or bump. `CI: Release Metadata Check` validates only PRs that actually change `pyproject.toml`'s version: valid semver, increased over base, and `.codex-plugin\u002Fplugin.json` in sync.\n- **Never commit or develop directly on `main`.** Branch off `main` into a sibling worktree (`git worktree add ..\u002Fworktrail-worktrees\u002F\u003Cbranch> -b \u003Cbranch> main`); merge only after CI is green; delete the branch once its PR lands.\n- **Long-running launches (`worktrail-live full-real`, headless `worktrail-skill-dispatch`) go through `worktrail-detach launch`, never the Bash tool's `run_in_background`** — the harness reaps its own tracked background tasks on this host (see the `detach` skill).\n\n## Structure\n- `src\u002Fworktrail\u002Fconductor\u002F` — compiles a spec\u002Fchange into a schedulable RunPlan (see the `worktrail` skill)\n- `src\u002Fworktrail\u002Forchestrator\u002F` — parallel git-worktree fan-out execution, live agent spawning, branch integration + PR creation (see the `worktrail` skill)\n- `src\u002Fworktrail\u002Ftaskformats\u002F` — the `TaskSource` adapter interface plus `devkit`, `openspec`, and `speckit` implementations (see the `worktrail` skill)\n- `src\u002Fworktrail\u002Faddons\u002F` — opt-in post-task tooling, e.g. the `aspens` skill-doc sync add-on (see the `worktrail` skill)\n- `src\u002Fworktrail\u002Fworkqueue\u002F` — the `$WORK_QUEUE_DIR` handoff-brief claim\u002Fdone\u002Frelease lifecycle (see the `workqueue` skill)\n- `src\u002Fworktrail\u002Frouter\u002F` — the deterministic route classifier, resume dashboard, policy loader, and run records (see the `router` skill)\n- `src\u002Fworktrail\u002Fdrain\u002F` — unattended queue-draining loop (see the `drain` skill)\n- `src\u002Fworktrail\u002Fonboarding\u002F` — `worktrail-repo-init`: scaffolds\u002Fmigrates a repo onto the repo-standards doctrine (see the `onboarding` skill)\n- `src\u002Fworktrail\u002Fruntime\u002F` — provider-neutral runtime primitives: routing-catalog\u002Ftarget selection (`routing_source.py`, `selection.py`) and the `worktrail-detach` supervised-launch primitive (`detach.py`, see the `detach` skill)\n- `src\u002Fworktrail\u002Fshared\u002F` — cross-cutting helpers (`homedir.py`, `brief_frontmatter.py`)\n- `scripts\u002Fci\u002F` — CI gate scripts callable locally, each with its `test_*.py` beside it\n- `tests\u002F` — mirrors the `src\u002Fworktrail\u002F` layout (see the `tests` skill)\n- `skills\u002F`, `commands\u002F` — this repo's own Claude Code plugin marketplace surface (see AGENTS.md \"Claude Code plugin surface\")\n\n---\n**Last Updated:** 2026-09-20\n",{"name":5,"triggers":24,"description":7},{"alwaysActivate":25},true,"main","db448e94704b506e1a5a0665d349fc422611fe9e",".claude\u002Fskills\u002Fbase","https:\u002F\u002Fgithub.com\u002Fbehindthedash\u002Fworktrail","https:\u002F\u002Fgithub.com\u002Fbehindthedash","2026-11-14 18:34:42",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":25},[34,37,40],{"tool":35,"command":36},"npx","npx skills add behindthedash\u002Fworktrail --skill base",{"tool":38,"command":39},"bunx","bunx skills add behindthedash\u002Fworktrail --skill base",{"tool":41,"command":42},"pnpm","pnpm dlx skills add behindthedash\u002Fworktrail --skill base","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbehindthedash\u002Fworktrail\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fbase\u002Fskill.md",[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M79PMY53NKDHVZ2AFSGNNJH7","worktrail-sdd-workflow","Internal SDD workflow executor invoked by \u002Fgo only. Do not call directly. Executes classified routes A–J: feature planning, implementation (parallel orchestration, PR generation), defect repair, refactoring, spec changes, investigation, and workflow evolution.","https:\u002F\u002Fgithub.com\u002Fbehindthedash\u002Fworktrail\u002Fblob\u002Fmain\u002Fskills\u002Fworktrail-sdd-workflow\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M79PMKBE8SYW0ZP14AEJDM5D","worktrail-routing-config","Configure Worktrail's agent routing table (`~\u002F.worktrail\u002Frouting.yaml`, or a repo-local `routing:` policy block) — which harness\u002Fmodel executes each role and tier, and how fallback between them works. Use when the operator wants to add or remove a harness\u002Fadapter (claude\u002Fcodex\u002Fopencode), add a model to an existing harness (e.g. adding a DeepSeek model to opencode), pin or change who does code review, add a new tier or purpose mapping, change the default tier, or is confused about which harness actually served a spawn (e.g. \"why did this use Codex when I only configured Claude\"). Trigger phrases: \"routing.yaml\", \"add a harness\", \"disable a harness\", \"add an adapter\", \"remove an adapter\", \"add a model\", \"add deepseek to opencode\", \"change the reviewer\", \"pin the reviewer\", \"routing tiers\", \"routing targets\", \"default_tier\", \"independent reviewer\", \"why did codex get called\". This skill is about *editing the config file*; it does not cover `\u002Fgo`'s own dispatch mechanics (see `worktrail-go`'s SKILL.md Phase 7 for how `tier_for()`\u002F`select_cell()` resolve it at runtime).","https:\u002F\u002Fgithub.com\u002Fbehindthedash\u002Fworktrail\u002Fblob\u002Fmain\u002Fskills\u002Fworktrail-routing-config\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M79PMB24YTZTZVVAKA4A4R38","worktrail-repo-init","Bootstrap a new repo, or migrate an existing single-branch repo, onto the workspace's repo-standards doctrine (~\u002Frules\u002FCLAUDE.repo.md): the AGENTS.md-is-truth\u002FCLAUDE.md-imports-it split, a dev\u002Fprd, dev\u002Fstg\u002Fprd, or main-only (trunk) branch model with matching GitHub rulesets, an OpenSpec scaffold, an auto-merge workflow, and a seeded .worktrail\u002Fpolicy.yaml. Trigger phrases: \"onboard this repo\", \"apply repo standards\", \"initialize repo standards\", \"set up this repo like the rest of the fleet\", \"bring this repo into line with the repo standards doctrine\".","https:\u002F\u002Fgithub.com\u002Fbehindthedash\u002Fworktrail\u002Fblob\u002Fmain\u002Fskills\u002Fworktrail-repo-init\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M79PM54RFP51Q2JPQGE13ZP8","worktrail-help","Show the Worktrail front-door commands and accepted positional arguments. Use when the user asks how to invoke worktrail-go, wants the available handoff, spec, pr, repo, or route forms, invokes worktrail-go with help or with a bare noun, or asks how to answer a filed product decision (worktrail-decision).","https:\u002F\u002Fgithub.com\u002Fbehindthedash\u002Fworktrail\u002Fblob\u002Fmain\u002Fskills\u002Fworktrail-help\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M79PKVZVBF4VFT5XEPCPNM9S","worktrail-handoff","Capture a discovered problem, gap, tech debt, or deferred work into a local work queue so a future agent session can pick it up cold. Use mid-session whenever you set work aside instead of doing it now — a fix you judge out of scope for this PR, work that belongs in a follow-up or a separate\u002Flater PR, an item you're deferring, or something worth fixing you won't tackle now — so the outstanding item isn't lost without derailing current work; can be called multiple times per session. Trigger phrases: \"defer this\", \"item deferred\", \"out of scope for this PR\", \"follow-up work\", \"leave for another PR\", \"capture for later\", \"outstanding item\". This skill captures only. Picking a brief back up is the front door's job: worktrail-go \u003Cbrief-id>.","https:\u002F\u002Fgithub.com\u002Fbehindthedash\u002Fworktrail\u002Fblob\u002Fmain\u002Fskills\u002Fworktrail-handoff\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M79PKJZD9MPN7Q8GWR01KX0J","worktrail-go","Use when the user invokes worktrail-go, asks to pick up queued work, resume active specs, implement or fix a spec, route engineering work, or orient across repositories. Renders the orientation dashboard, classifies free-text requests, claims\u002Fresumes handoff briefs, and dispatches SDD work without requiring the user to know sdd-workflow. Grammar: worktrail-go [REPO] \u003Cnoun> \u003Cverb>, nouns handoff \u002F spec \u002F pr \u002F decision. Triggers: worktrail-go, worktrail-go help, worktrail-go spec fix, worktrail-go spec implement, worktrail-go spec route F, worktrail-go handoff new, worktrail-go handoff auto, worktrail-go decision answer, worktrail-go BRIEF-ID, bare worktrail-go, multi-repo orientation.","https:\u002F\u002Fgithub.com\u002Fbehindthedash\u002Fworktrail\u002Fblob\u002Fmain\u002Fskills\u002Fworktrail-go\u002FSKILL.md",[],[]]