[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CYB3PNRJ8HBCVRY3D4YG0K":3,"skill-same:01M7CYB3PNRJ8HBCVRY3D4YG0K":54},{"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":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":47},"01M7CYB3PNRJ8HBCVRY3D4YG0K","feature-build",null,"Builds a feature's PLAN.md task by task: a builder subagent implements, a reviewer subagent gates, and each task commits only on pass. Use once feature-plan has an ordered task list and it's time to write code.","mattbrailsford\u002Fumbraco-devkit","mattbrailsford","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F527305?v=4","01M7CY974D4XX1P90YSXQC1T39","Matt Brailsford","01M7CY9751PSRA3EHBH03G936J",3,"MIT","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-build\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: feature-build\ndescription: >-\n  Builds a feature's PLAN.md task by task: a builder subagent implements, a reviewer\n  subagent gates, and each task commits only on pass. Use once feature-plan has an ordered\n  task list and it's time to write code.\nuser-invocable: true\nargument-hint: \"[feature slug or plan folder path, optional]\"\n---\n\n# feature-build\n\n> 🎯 **Design for change.** Each task's diff should be small, local, and behind a stable\n> seam. The reviewer fails work that couples modules or bloats blast radius; the builder\n> should pre-empt that.\n\nExecute the task checklist in a feature's plan folder, one task at a time. You are the\norchestrator. You do **not** write or review feature code yourself. You dispatch to the\n`builder` and `reviewer` subagents and gate on their verdicts.\n\n**On the gate granularity:** review runs before every commit, not once at the end, so a bad\ntask is caught before it compounds into the next. This is the default, not optional. It\ndoesn't replace the whole-feature review (see \"Finish\"); the two catch different things.\n\n## Scope\n\n- IN: build each unchecked task, get it through review, commit it.\n- OUT: planning, writing the task list, authoring specs — this **consumes** a plan, it\n  doesn't author one.\n\n## Preflight\n\n1. Resolve the plan folder: the path or feature slug given in the argument; else, if the\n   current branch\u002Fworktree name matches a plan folder under the project's convention (see\n   `CLAUDE.md`'s \"Finding the current feature's plan folder\" rule; the normal case when\n   resuming), use that match; else **stop and ask**. Don't guess. Its name is the feature slug\n   used below for the branch\u002Fworktree.\n2. Read `PLAN.md`. It must be a checklist (`- [ ]` \u002F `- [x]`). If it has no checkboxes, stop\n   and send the user to `feature-plan`.\n3. **Resuming or first run?** If any task in `PLAN.md` is already `- [x]`, or `BUILD-LOG.md`\n   has entries, an earlier run already cut the branch\u002Fworktree: skip to step 5. Otherwise\n   continue to step 4.\n4. **Cut the feature's branch\u002Fworktree.** The one point in the pipeline that touches git\n   before feature code exists (see `git-workflow`'s \"Branch\u002Fworktree per feature\" section).\n   In order:\n   1. Confirm the working tree is clean *except* for the plan folder and any new or refreshed\n      mockup starters in `docs\u002Fmockups\u002Fstarters\u002F` (`feature-explore`\u002F`feature-design`\u002F`feature-plan` never\n      commit them). Any *other* uncommitted change is unrelated work; stop and report.\n   2. Confirm you're on the project's trunk branch (see `CLAUDE.md`'s Feature workflow\n      section). If not, stop and ask. Don't guess which branch to fork from.\n   3. **Ask the user to confirm before running any of this.** It commits to trunk, which the\n      \"always ask before touching main\" rule covers however small the change. First check the\n      plan folder for unresolved review comments (`markdown-preview`'s \"Comments before moving\n      on\"), and put any that are waiting on the user into this same question, so a plan with\n      an open question isn't committed and built without them knowing.\n   4. Commit the plan folder as-is, on trunk, with any changed project starters: `git add\n      \u003Cplan-folder> docs\u002Fmockups\u002Fstarters && git commit -m \"docs: add plan folder for\n      \u003Cfeature-slug>\"`.\n   5. Create the branch\u002Fworktree named after `\u003Cfeature-slug>`, off that commit. Prefer Claude\n      Code's native worktree mechanism (`isolation: \"worktree\"` on the `Agent` tool, or the\n      project's `WorktreeCreate` hook) so the project decides the real branch name and\n      location; else fall back to `git checkout -b \u003Cfeature-slug>` off trunk. Never invent a\n      separate worktree\u002Fbranch mechanism.\n5. Before touching code, confirm `pwd` and the current branch match `\u003Cfeature-slug>` (or\n   whatever the project's hook named it), and that the plan-folder commit is in the new\n   branch's history (`git log --oneline -5`). A `WorktreeCreate` hook that branches from\n   `origin\u002F\u003Ctrunk>` instead of local trunk silently leaves out a commit that was never pushed.\n   If it's missing, remove the worktree, ask the user before pushing trunk, then create it\n   again.\n6. **Check the demo\u002Ftest site is worktree-safe, if one exists.** Check its `.csproj`\n   references `Umbraco.Community.WorktreeDevPort`. Without it, the site runs on a fixed port\n   (two worktrees smoke-testing at once collide, and it looks like a broken build) or on a\n   random `:0` port nothing can find. If missing, **stop and flag it** and suggest re-running\n   `project-init`; its \"Demo site ports\" step adds the package and fixes anything that finds the\n   site by a hardcoded port. No demo\u002Ftest site: this step is a no-op.\n\n## The loop\n\nFor each task still unchecked (`- [ ]`) in `PLAN.md`, in order, top to bottom:\n\n1. **Build.** If the task changes an existing screen, first dispatch a `smoke-tester` to\n   capture it as `screenshots\u002F\u003Cscreen>-before.png`, with the screen's click path. Once the\n   builder starts, the old screen is gone, and the PR needs before and after.\n\n   Then dispatch a `builder` subagent (Agent tool, `subagent_type: builder`, model\n   sonnet). Give it: the exact task text, the relevant sections of `ARCHITECTURE.md` and\n   `SPEC.md`, the path to any mockup for a screen the task touches, the files\u002Fextension points\n   it owns, and an instruction to invoke the project's\n   stack skills (`umbraco-extensibility`, `umbraco-package-conventions`, `ef-core-data`,\n   `umbraco-backoffice-conventions`, etc. as relevant) and run the existing specs before\n   reporting back. Ask it to start its report with the skills it loaded, so a skipped one\n   shows. If the project has e2e tests and none covers the task's path, tell the builder to\n   add one (the smoke step runs it). Give it the pre-review check command below, to run and\n   fix before it reports. The builder does not commit.\n\n2. **Pre-review checks.** Run `node \"${CLAUDE_PLUGIN_ROOT}\u002Fchecks\u002Frun.mjs\"` in the task's\n   worktree. It checks the uncommitted changes for slips a script can catch: a file that\n   isn't UTF-8, a link into a plan folder, `unsafeHTML` with no `sanitizeHTML`, a new file\n   git doesn't track. Exit 1 prints one finding per line: send them to a fresh `builder` as\n   the round's findings and run the checks again, before any review. Exit 2 means the\n   checks couldn't run: note it in `BUILD-LOG.md` and go on to review. A project adds its own\n   checks as `.mjs` files in `.claude\u002Fchecks\u002F`, and turns one off by name in\n   `.claude\u002Fchecks\u002Fconfig.json` (`{ \"disabled\": [\"untracked\"] }`); see the header of\n   `run.mjs` for the shape.\n\n3. **Review.** Dispatch a `reviewer` subagent (Agent tool, `subagent_type: reviewer`, model\n   opus, must be ≥ builder). It invokes `umbraco-security` (when the diff\n   touches security) and the relevant stack skills, reads the builder's diff, and returns `PASS` or\n   `FAIL` with specific findings. Ask it, too, to start its report with the skills it loaded.\n\n4. **Recurse.** If `FAIL`: send the findings to a fresh `builder` for the same task, then\n   run the pre-review checks (step 2) and review again. Nothing reaches git history before\n   `PASS`. If a finding is a repeatable mistake a future `builder` would likely make on\n   another task, write it to `.claude\u002Fmemory\u002F` (type: `gotcha`) once fixed.\n   - **Re-review the round, not the task.** Before each fix round, snapshot the tree\n     (`git add -A && git write-tree`, which stages but doesn't commit). After it, give the\n     `reviewer` the previous round's findings and the round's diff\n     (`git add -A && git diff --cached \u003Ctree>`), so it runs its \"Re-review rounds\" mode.\n     Reviewing the whole task again each round mostly finds older code, not the fix, and\n     the loop stops converging.\n   - **Three rounds, then rethink.** After the third `FAIL` on one task, don't send a fourth\n     patch. Dispatch one fresh `builder` with every round's findings, told to reconsider the\n     approach rather than patch the last finding, and review its result in full. If that\n     fails too, stop and report the task and its findings. If the findings show the design\n     is wrong, not the code, hand off to `feature-design`.\n\n5. **Smoke the real entry point.** Before commit, exercise the deployed artifact. Use the\n   first of these the project has:\n   - **An end-to-end (e2e) test suite.** Run the e2e test covering the task's path. If none\n     covers it, the builder adds one as part of the task. A suite passing without touching\n     the new code proves nothing.\n   - **A demo site.** Drive the backoffice UI (Playwright or equivalent) through the change,\n     or send one real request through the Management API controller for a change with no\n     screen.\n   - **Neither**, because you're building the host itself (like Umbraco CMS), not a package\n     installed into one: a thorough integration test that boots the real hosting\u002FDI pipeline\n     (not a unit test through an internal seam) is the equivalent gate.\n\n   Fakes for external services are fine in all three; the request must travel through the\n   real entry point, not an internal function that bypasses it. A green unit test suite is\n   not enough to ship.\n\n   Dispatch a `smoke-tester` subagent (Agent tool, `subagent_type: smoke-tester`) to run it.\n   Give it: the task text, which of the three smokes to run, the click path to each screen\n   the task renders, the path to each screen's mockup and `-before.png`, the departures from\n   the mockup the builder's report flagged as deliberate, whether the task adds or changes a\n   migration, whether the project has a committed seed, and the full paths to this skill's\n   `references\u002Frecording-gifs.md` and to `pr-demo`'s `SKILL.md` (for realistic demo content). It takes, compares, crops and\n   saves the screenshots and GIFs, so you never open an image. It returns `PASS` or `FAIL`,\n   what it ran and on which database providers, the files it saved with their click paths,\n   and any demo setup. Put those in the task's `BUILD-LOG.md` entry. On `FAIL`, recurse to\n   step 4 with its findings. If it reports content a committed seed should hold, have the\n   builder add it there as part of this task.\n\n6. **Commit.** On `PASS` + smoke green, have the builder commit *only this task's changes*\n   with a message naming the task, following the project's commit conventions (see\n   `git-workflow`). One commit per task. If the task's code makes a pending spec pass for\n   the first time, that spec file goes in the same commit, never in a later cleanup commit.\n\n7. **Check the box.** Edit `PLAN.md`: `- [ ]` → `- [x]` for the completed task, and add a\n   one-line entry to `BUILD-LOG.md` (commit SHA, what was verified). Commit that change, plus\n   any `screenshots\u002F` (images and GIFs) this task saved, with the task commit or immediately\n   after. `pr-describe` links screenshots by commit, so an uncommitted one is a broken image in the\n   PR. If the builder's report named \"any decision the plan left implicit that you had to\n   make\" (step 6 of its workflow), such as an assumption, spec deviation, or workaround,\n   append a dated one-line entry to `DECISION-LOG.md` too. Otherwise it is lost when the task\n   ends; `decision-review` depends on it being on disk. Say who decided:\n   `(feature-build, task 3, agent)` for a call the builder made, `(…, user)` for one the\n   user made, such as an answer to a question the task raised. The whole-feature review and\n   `decision-review` treat the two differently.\n\n8. Next task.\n\n## Finish\n\nWhen every box is checked: run the full test suite once more. If `BRIEF.md` has a `Repro`\nsection, run it through the real entry point, as step 5 does, and see it pass; a failure goes\nto a fresh `builder` like a review finding. Then run the whole-feature review below, then\nreport a summary (tasks completed, commits, anything still red, and the review's \"Needs\nsign-off\" list).\n\n**Whole-feature review.** The per-task `reviewer` sees one task's diff, so it misses what\nbuilds up across tasks: duplicated logic, a class that took on a second job, a component that\nstarted calling a repository directly, drift from `ARCHITECTURE.md`. Dispatch one `reviewer`\nsubagent in whole-feature mode with the full branch diff (`git diff \u003Cbase>...HEAD`),\n`ARCHITECTURE.md`, `SPEC.md` and `DECISION-LOG.md`.\n\n- On `FAIL`, send the findings to a fresh `builder`, then review again. Repeat until `PASS`,\n  with the same round diffs and three-round limit as the loop's \"Recurse\" step; here the\n  round diff is the round's own `refactor:` commit. Commit each round as its own `refactor:`\n  commit and add a `BUILD-LOG.md` line for it.\n- If a finding means the design itself is wrong, not just the code, stop and hand off to\n  `feature-design`.\n\nA human still reviews the PR; this pass means they aren't the first to see cross-task\nproblems. If this feature is (or completes) a standalone package ready to publish, invoke\n`umbraco-marketplace` before tagging a release; it's not part of this loop.\n\n**Open the PR: invoke `pr-describe` directly (via the Skill tool). Don't write the body\nyourself.** Claude Code's built-in `gh pr create --body \"$(cat \u003C\u003C'EOF' ... EOF)\"` recipe does\n**not** apply here. Per `git-workflow`, the PR body is always `pr-describe`'s job, no\nexceptions: never `--body` at all. `pr-describe` handles branch\u002Fpush via `git-workflow` and\nruns `decision-review`, so the assumptions, deviations, and workarounds in `DECISION-LOG.md`\nreach a human in the PR. (`decision-review` is also user-invocable on its own, read-only, for\nan earlier look.)\n\nIf this feature built inside a worktree, don't remove it here. That's post-merge cleanup (the\nproject's `WorktreeRemove` hook, or `git worktree remove`). Archiving the plan folder is\npost-merge too: `feature-close`, once the PR is merged.\n\nTo click through the finished feature on the demo site before merging, use `pr-demo`.\n\n## Rules\n\n- Sequential, dependency-ordered. This is a pipeline, not a parallel team.\n- Builder owns code; reviewer owns the gate; this loop owns sequencing, `PLAN.md` checkbox\n  state, `BUILD-LOG.md`, and `screenshots\u002F`. Never collapse these roles. It never edits\n  `README.md`: the index links `BUILD-LOG.md` from its footer, and `PLAN.md`'s checkboxes show\n  progress.\n- **Keep this session small.** It runs every task, so whatever it reads stays in context\n  for every later turn, and a long build fills it. Read the plan folder's files, the agents'\n  reports and short command output. Never open an image, a diff or a full build or test log\n  here: the agents read those and report back. Ask each agent for a short report that points\n  at files and lines instead of pasting code or output.\n- The orchestrator may investigate directly: read docs, call an endpoint, read a few lines of\n  a log. Anything bigger (many files, a whole log, a browser session) goes to a\n  `general-purpose` subagent that reports what it found. The moment a fix touches code,\n  dispatch a builder, even for one line you already know. This is easiest to break\n  mid-debugging against a live system, where each small tweak feels too small to hand off.\n- **Resuming mid-task.** A run can stop between a task's build and its commit. On resume, if\n  the next unchecked task has uncommitted changes on the branch, don't rebuild it: send them\n  to a `reviewer` as a fresh review of the whole task, then carry on from step 4.\n- If a gate still fails after the rethink round, stop and report the task + findings rather\n  than committing degraded code.\n","# feature-build\n\n> 🎯 **Design for change.** Each task's diff should be small, local, and behind a stable\n> seam. The reviewer fails work that couples modules or bloats blast radius; the builder\n> should pre-empt that.\n\nExecute the task checklist in a feature's plan folder, one task at a time. You are the\norchestrator. You do **not** write or review feature code yourself. You dispatch to the\n`builder` and `reviewer` subagents and gate on their verdicts.\n\n**On the gate granularity:** review runs before every commit, not once at the end, so a bad\ntask is caught before it compounds into the next. This is the default, not optional. It\ndoesn't replace the whole-feature review (see \"Finish\"); the two catch different things.\n\n## Scope\n\n- IN: build each unchecked task, get it through review, commit it.\n- OUT: planning, writing the task list, authoring specs — this **consumes** a plan, it\n  doesn't author one.\n\n## Preflight\n\n1. Resolve the plan folder: the path or feature slug given in the argument; else, if the\n   current branch\u002Fworktree name matches a plan folder under the project's convention (see\n   `CLAUDE.md`'s \"Finding the current feature's plan folder\" rule; the normal case when\n   resuming), use that match; else **stop and ask**. Don't guess. Its name is the feature slug\n   used below for the branch\u002Fworktree.\n2. Read `PLAN.md`. It must be a checklist (`- [ ]` \u002F `- [x]`). If it has no checkboxes, stop\n   and send the user to `feature-plan`.\n3. **Resuming or first run?** If any task in `PLAN.md` is already `- [x]`, or `BUILD-LOG.md`\n   has entries, an earlier run already cut the branch\u002Fworktree: skip to step 5. Otherwise\n   continue to step 4.\n4. **Cut the feature's branch\u002Fworktree.** The one point in the pipeline that touches git\n   before feature code exists (see `git-workflow`'s \"Branch\u002Fworktree per feature\" section).\n   In order:\n   1. Confirm the working tree is clean *except* for the plan folder and any new or refreshed\n      mockup starters in `docs\u002Fmockups\u002Fstarters\u002F` (`feature-explore`\u002F`feature-design`\u002F`feature-plan` never\n      commit them). Any *other* uncommitted change is unrelated work; stop and report.\n   2. Confirm you're on the project's trunk branch (see `CLAUDE.md`'s Feature workflow\n      section). If not, stop and ask. Don't guess which branch to fork from.\n   3. **Ask the user to confirm before running any of this.** It commits to trunk, which the\n      \"always ask before touching main\" rule covers however small the change. First check the\n      plan folder for unresolved review comments (`markdown-preview`'s \"Comments before moving\n      on\"), and put any that are waiting on the user into this same question, so a plan with\n      an open question isn't committed and built without them knowing.\n   4. Commit the plan folder as-is, on trunk, with any changed project starters: `git add\n      \u003Cplan-folder> docs\u002Fmockups\u002Fstarters && git commit -m \"docs: add plan folder for\n      \u003Cfeature-slug>\"`.\n   5. Create the branch\u002Fworktree named after `\u003Cfeature-slug>`, off that commit. Prefer Claude\n      Code's native worktree mechanism (`isolation: \"worktree\"` on the `Agent` tool, or the\n      project's `WorktreeCreate` hook) so the project decides the real branch name and\n      location; else fall back to `git checkout -b \u003Cfeature-slug>` off trunk. Never invent a\n      separate worktree\u002Fbranch mechanism.\n5. Before touching code, confirm `pwd` and the current branch match `\u003Cfeature-slug>` (or\n   whatever the project's hook named it), and that the plan-folder commit is in the new\n   branch's history (`git log --oneline -5`). A `WorktreeCreate` hook that branches from\n   `origin\u002F\u003Ctrunk>` instead of local trunk silently leaves out a commit that was never pushed.\n   If it's missing, remove the worktree, ask the user before pushing trunk, then create it\n   again.\n6. **Check the demo\u002Ftest site is worktree-safe, if one exists.** Check its `.csproj`\n   references `Umbraco.Community.WorktreeDevPort`. Without it, the site runs on a fixed port\n   (two worktrees smoke-testing at once collide, and it looks like a broken build) or on a\n   random `:0` port nothing can find. If missing, **stop and flag it** and suggest re-running\n   `project-init`; its \"Demo site ports\" step adds the package and fixes anything that finds the\n   site by a hardcoded port. No demo\u002Ftest site: this step is a no-op.\n\n## The loop\n\nFor each task still unchecked (`- [ ]`) in `PLAN.md`, in order, top to bottom:\n\n1. **Build.** If the task changes an existing screen, first dispatch a `smoke-tester` to\n   capture it as `screenshots\u002F\u003Cscreen>-before.png`, with the screen's click path. Once the\n   builder starts, the old screen is gone, and the PR needs before and after.\n\n   Then dispatch a `builder` subagent (Agent tool, `subagent_type: builder`, model\n   sonnet). Give it: the exact task text, the relevant sections of `ARCHITECTURE.md` and\n   `SPEC.md`, the path to any mockup for a screen the task touches, the files\u002Fextension points\n   it owns, and an instruction to invoke the project's\n   stack skills (`umbraco-extensibility`, `umbraco-package-conventions`, `ef-core-data`,\n   `umbraco-backoffice-conventions`, etc. as relevant) and run the existing specs before\n   reporting back. Ask it to start its report with the skills it loaded, so a skipped one\n   shows. If the project has e2e tests and none covers the task's path, tell the builder to\n   add one (the smoke step runs it). Give it the pre-review check command below, to run and\n   fix before it reports. The builder does not commit.\n\n2. **Pre-review checks.** Run `node \"${CLAUDE_PLUGIN_ROOT}\u002Fchecks\u002Frun.mjs\"` in the task's\n   worktree. It checks the uncommitted changes for slips a script can catch: a file that\n   isn't UTF-8, a link into a plan folder, `unsafeHTML` with no `sanitizeHTML`, a new file\n   git doesn't track. Exit 1 prints one finding per line: send them to a fresh `builder` as\n   the round's findings and run the checks again, before any review. Exit 2 means the\n   checks couldn't run: note it in `BUILD-LOG.md` and go on to review. A project adds its own\n   checks as `.mjs` files in `.claude\u002Fchecks\u002F`, and turns one off by name in\n   `.claude\u002Fchecks\u002Fconfig.json` (`{ \"disabled\": [\"untracked\"] }`); see the header of\n   `run.mjs` for the shape.\n\n3. **Review.** Dispatch a `reviewer` subagent (Agent tool, `subagent_type: reviewer`, model\n   opus, must be ≥ builder). It invokes `umbraco-security` (when the diff\n   touches security) and the relevant stack skills, reads the builder's diff, and returns `PASS` or\n   `FAIL` with specific findings. Ask it, too, to start its report with the skills it loaded.\n\n4. **Recurse.** If `FAIL`: send the findings to a fresh `builder` for the same task, then\n   run the pre-review checks (step 2) and review again. Nothing reaches git history before\n   `PASS`. If a finding is a repeatable mistake a future `builder` would likely make on\n   another task, write it to `.claude\u002Fmemory\u002F` (type: `gotcha`) once fixed.\n   - **Re-review the round, not the task.** Before each fix round, snapshot the tree\n     (`git add -A && git write-tree`, which stages but doesn't commit). After it, give the\n     `reviewer` the previous round's findings and the round's diff\n     (`git add -A && git diff --cached \u003Ctree>`), so it runs its \"Re-review rounds\" mode.\n     Reviewing the whole task again each round mostly finds older code, not the fix, and\n     the loop stops converging.\n   - **Three rounds, then rethink.** After the third `FAIL` on one task, don't send a fourth\n     patch. Dispatch one fresh `builder` with every round's findings, told to reconsider the\n     approach rather than patch the last finding, and review its result in full. If that\n     fails too, stop and report the task and its findings. If the findings show the design\n     is wrong, not the code, hand off to `feature-design`.\n\n5. **Smoke the real entry point.** Before commit, exercise the deployed artifact. Use the\n   first of these the project has:\n   - **An end-to-end (e2e) test suite.** Run the e2e test covering the task's path. If none\n     covers it, the builder adds one as part of the task. A suite passing without touching\n     the new code proves nothing.\n   - **A demo site.** Drive the backoffice UI (Playwright or equivalent) through the change,\n     or send one real request through the Management API controller for a change with no\n     screen.\n   - **Neither**, because you're building the host itself (like Umbraco CMS), not a package\n     installed into one: a thorough integration test that boots the real hosting\u002FDI pipeline\n     (not a unit test through an internal seam) is the equivalent gate.\n\n   Fakes for external services are fine in all three; the request must travel through the\n   real entry point, not an internal function that bypasses it. A green unit test suite is\n   not enough to ship.\n\n   Dispatch a `smoke-tester` subagent (Agent tool, `subagent_type: smoke-tester`) to run it.\n   Give it: the task text, which of the three smokes to run, the click path to each screen\n   the task renders, the path to each screen's mockup and `-before.png`, the departures from\n   the mockup the builder's report flagged as deliberate, whether the task adds or changes a\n   migration, whether the project has a committed seed, and the full paths to this skill's\n   `references\u002Frecording-gifs.md` and to `pr-demo`'s `SKILL.md` (for realistic demo content). It takes, compares, crops and\n   saves the screenshots and GIFs, so you never open an image. It returns `PASS` or `FAIL`,\n   what it ran and on which database providers, the files it saved with their click paths,\n   and any demo setup. Put those in the task's `BUILD-LOG.md` entry. On `FAIL`, recurse to\n   step 4 with its findings. If it reports content a committed seed should hold, have the\n   builder add it there as part of this task.\n\n6. **Commit.** On `PASS` + smoke green, have the builder commit *only this task's changes*\n   with a message naming the task, following the project's commit conventions (see\n   `git-workflow`). One commit per task. If the task's code makes a pending spec pass for\n   the first time, that spec file goes in the same commit, never in a later cleanup commit.\n\n7. **Check the box.** Edit `PLAN.md`: `- [ ]` → `- [x]` for the completed task, and add a\n   one-line entry to `BUILD-LOG.md` (commit SHA, what was verified). Commit that change, plus\n   any `screenshots\u002F` (images and GIFs) this task saved, with the task commit or immediately\n   after. `pr-describe` links screenshots by commit, so an uncommitted one is a broken image in the\n   PR. If the builder's report named \"any decision the plan left implicit that you had to\n   make\" (step 6 of its workflow), such as an assumption, spec deviation, or workaround,\n   append a dated one-line entry to `DECISION-LOG.md` too. Otherwise it is lost when the task\n   ends; `decision-review` depends on it being on disk. Say who decided:\n   `(feature-build, task 3, agent)` for a call the builder made, `(…, user)` for one the\n   user made, such as an answer to a question the task raised. The whole-feature review and\n   `decision-review` treat the two differently.\n\n8. Next task.\n\n## Finish\n\nWhen every box is checked: run the full test suite once more. If `BRIEF.md` has a `Repro`\nsection, run it through the real entry point, as step 5 does, and see it pass; a failure goes\nto a fresh `builder` like a review finding. Then run the whole-feature review below, then\nreport a summary (tasks completed, commits, anything still red, and the review's \"Needs\nsign-off\" list).\n\n**Whole-feature review.** The per-task `reviewer` sees one task's diff, so it misses what\nbuilds up across tasks: duplicated logic, a class that took on a second job, a component that\nstarted calling a repository directly, drift from `ARCHITECTURE.md`. Dispatch one `reviewer`\nsubagent in whole-feature mode with the full branch diff (`git diff \u003Cbase>...HEAD`),\n`ARCHITECTURE.md`, `SPEC.md` and `DECISION-LOG.md`.\n\n- On `FAIL`, send the findings to a fresh `builder`, then review again. Repeat until `PASS`,\n  with the same round diffs and three-round limit as the loop's \"Recurse\" step; here the\n  round diff is the round's own `refactor:` commit. Commit each round as its own `refactor:`\n  commit and add a `BUILD-LOG.md` line for it.\n- If a finding means the design itself is wrong, not just the code, stop and hand off to\n  `feature-design`.\n\nA human still reviews the PR; this pass means they aren't the first to see cross-task\nproblems. If this feature is (or completes) a standalone package ready to publish, invoke\n`umbraco-marketplace` before tagging a release; it's not part of this loop.\n\n**Open the PR: invoke `pr-describe` directly (via the Skill tool). Don't write the body\nyourself.** Claude Code's built-in `gh pr create --body \"$(cat \u003C\u003C'EOF' ... EOF)\"` recipe does\n**not** apply here. Per `git-workflow`, the PR body is always `pr-describe`'s job, no\nexceptions: never `--body` at all. `pr-describe` handles branch\u002Fpush via `git-workflow` and\nruns `decision-review`, so the assumptions, deviations, and workarounds in `DECISION-LOG.md`\nreach a human in the PR. (`decision-review` is also user-invocable on its own, read-only, for\nan earlier look.)\n\nIf this feature built inside a worktree, don't remove it here. That's post-merge cleanup (the\nproject's `WorktreeRemove` hook, or `git worktree remove`). Archiving the plan folder is\npost-merge too: `feature-close`, once the PR is merged.\n\nTo click through the finished feature on the demo site before merging, use `pr-demo`.\n\n## Rules\n\n- Sequential, dependency-ordered. This is a pipeline, not a parallel team.\n- Builder owns code; reviewer owns the gate; this loop owns sequencing, `PLAN.md` checkbox\n  state, `BUILD-LOG.md`, and `screenshots\u002F`. Never collapse these roles. It never edits\n  `README.md`: the index links `BUILD-LOG.md` from its footer, and `PLAN.md`'s checkboxes show\n  progress.\n- **Keep this session small.** It runs every task, so whatever it reads stays in context\n  for every later turn, and a long build fills it. Read the plan folder's files, the agents'\n  reports and short command output. Never open an image, a diff or a full build or test log\n  here: the agents read those and report back. Ask each agent for a short report that points\n  at files and lines instead of pasting code or output.\n- The orchestrator may investigate directly: read docs, call an endpoint, read a few lines of\n  a log. Anything bigger (many files, a whole log, a browser session) goes to a\n  `general-purpose` subagent that reports what it found. The moment a fix touches code,\n  dispatch a builder, even for one line you already know. This is easiest to break\n  mid-debugging against a live system, where each small tweak feels too small to hand off.\n- **Resuming mid-task.** A run can stop between a task's build and its commit. On resume, if\n  the next unchecked task has uncommitted changes on the branch, don't rebuild it: send them\n  to a `reviewer` as a fresh review of the whole task, then carry on from step 4.\n- If a gate still fails after the rethink round, stop and report the task + findings rather\n  than committing degraded code.\n",{"name":5,"description":7,"argument-hint":24,"user-invocable":25},"[feature slug or plan folder path, optional]",true,"main","a2f9c28bc56802b4e6db01e03972e497b30ad001","plugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-build",1,"https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit","https:\u002F\u002Fgithub.com\u002Fmattbrailsford","https:\u002F\u002Fmattbrailsford.dev","AI Staff Engineer @umbraco ","2026-11-12 18:33:53",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":25},[37,40,43],{"tool":38,"command":39},"npx","npx skills add mattbrailsford\u002Fumbraco-devkit --skill feature-build",{"tool":41,"command":42},"bunx","bunx skills add mattbrailsford\u002Fumbraco-devkit --skill feature-build",{"tool":44,"command":45},"pnpm","pnpm dlx skills add mattbrailsford\u002Fumbraco-devkit --skill feature-build","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-build\u002FSKILL.md",[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Frecording-gifs.md","REFERENCE","参考文档",7018,"https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-build\u002Freferences\u002Frecording-gifs.md",[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7CYGRPVNP8H9YNHGMZ6CP3C","user-stories","Writes, splits and refines user stories with Given\u002FWhen\u002FThen acceptance criteria in STORIES.md, feeding bdd-specs. Use when turning a feature request or a vague ask into a testable backlog entry.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fuser-stories\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7CYGJB26N83DXKMDEKY2X48","umbraco-security","What Umbraco provides for keeping a package secure, on the server and in the backoffice: Management API authorization and policies, settings that hold secrets, endpoints outside the Management API, sanitizeHTML and escapeHTML, DOMPurify rules for custom elements, and umbHttpClient instead of handling tokens in the browser. Use when writing or reviewing a Management API controller, a secret setting, a custom endpoint, a backoffice template that uses unsafeHTML, or frontend code that calls an API.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-security\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7CYGBEZ2Q4AXDDNADWW4Q9H","umbraco-performance","Keeping a package fast on the sites that install it: the published cache over the services layer, tree traversal, caching lookups and clearing them, data type config and converter cache levels, output cache eviction, light hot paths, and backoffice screens that don't over-fetch. Use when writing, changing or reviewing code that runs per request, per save, per indexed item or at startup (property value converters, notification handlers, indexing), code that loops over every content item (a full rebuild, an import, a sync), or a list or search screen. Not for a site's own templates.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-performance\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7CYG59CZN1K2KERB0SSDGSY","umbraco-package-conventions","Backend conventions for an Umbraco package: async naming, internal by default, Attempt-based results for routine failures, public-API backwards compatibility, and where extension methods live. Use when naming a method, choosing visibility, shaping a service's result, changing a public signature (including adding a dependency to a public class's constructor), or organizing extension methods. For extension mechanisms, see `umbraco-extensibility`.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-package-conventions\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7CYG0J10QH8J2GS825WTTET","umbraco-marketplace","Gets a finished package listed on the Umbraco Marketplace: the NuGet tag, the dependency Marketplace reads version support from, the v14+ compatibility gotcha, and umbraco-marketplace.json. Use when a package is ready to publish, or when reviewing its packaging.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-marketplace\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7CYFT7MSYW4GRDSQRDPG020","umbraco-extensibility","Umbraco's extension mechanisms (Composers, collection builders, notification handlers, attribute discovery) and a catalogue of backend CMS extension points: property value converters, Management API endpoints, content finders, health checks, search indexing, package migrations, background jobs, and more. Use when making a feature extensible or choosing which extension point fits. Not for property editor UI, dashboards, sections or trees, which the official Backoffice Skills plugin covers.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-extensibility\u002FSKILL.md",[],[]]