[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CVXJXSEBSP1H719SYX2JJ3":3,"skill-same:01M7CVXJXSEBSP1H719SYX2JJ3":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":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":45},"01M7CVXJXSEBSP1H719SYX2JJ3","subagent-build-plan",null,"Executes planning output under `.cursor\u002Fplans\u002F*.plan.md` by dispatching Cursor Task subagents per todo, updates the plan file as the single source of truth for status and execution history, validates completion against each todo's criteria, and retries with escalation until validation passes or the user changes scope. Use when the user says \"run the plan\", \"execute plan\", or \"subagent-build-plan\", or loads this skill to run a planning-produced plan.","Marcelo-Barella\u002Fbergamota-mode","Marcelo-Barella","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F104875671?v=4","01M7CVWJEC7WKXXAK1FAVQHN5G","Marcelo Barella","01M7CVWJF2DM2JCZ4WXK06A9XP",0,"MIT","https:\u002F\u002Fgithub.com\u002FMarcelo-Barella\u002Fbergamota-mode\u002Fblob\u002Fmain\u002Fskills\u002Fsubagent-build-plan\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: subagent-build-plan\ndescription: >-\n  Executes planning output under `.cursor\u002Fplans\u002F*.plan.md` by dispatching Cursor Task subagents per todo, updates the plan file as the single source of truth for status and execution history, validates completion against each todo's criteria, and retries with escalation until validation passes or the user changes scope. Use when the user says \"run the plan\", \"execute plan\", or \"subagent-build-plan\", or loads this skill to run a planning-produced plan.\ndisable-model-invocation: true\n---\n\n# Subagent build plan\n\n## Upstream contract\n\nPlans MUST come from the bundled **planning** skill. Do not define a competing schema. Executor assumes:\n\n- **Path:** `{workspaceRoot}\u002F.cursor\u002Fplans\u002F{objective}.plan.md`\n- **Frontmatter:** `name`, `overview`, top-level `todos`, `isProject: true`, `phases` where each phase has `name` and nested `todos`.\n- **Each todo:** `id` (e.g. `1-1`), `content`, `status` (`pending` | `in_progress` | `completed` | `cancelled`), `agent_type` (`explore` | `generalPurpose` | `shell`), `parallel_group`, `depends_on`, `inputs`, `outputs`.\n- **Body:** H2 `Delegation Map` and H2 `Todos` per planning rules.\n\n**Frontmatter is authoritative for scheduling.** Update the body for readability, audit, and execution history.\n\n## Roles\n\n- **Orchestrator (parent agent):** Read and parse the plan, schedule runnable todos, validate completion, update the plan file on state transitions, invoke `Task` for workers.\n- **Worker (subagent):** One attempt for one todo; return evidence tied to success criteria in `content` (files touched, commands run, structured summary for read-only work).\n\n## Scheduling\n\n1. **Phases:** Process `phases` in array order.\n2. **Parallel groups:** Within a phase, order groups alphabetically (`A` before `B`). A todo runs only when every id in `depends_on` has `status: completed` in the plan file.\n3. **Concurrency:** Todos that share the same `parallel_group`, have satisfied dependencies, and are not `completed`, may run concurrently, **up to four** concurrent `Task` calls.\n4. **Cross-phase dependencies:** If `depends_on` references an id from an earlier phase, honor it via status in the plan file.\n\n## Dispatch mapping\n\n| Plan `agent_type` | `Task` `subagent_type` |\n|-------------------|------------------------|\n| `explore`         | `explore`              |\n| `generalPurpose`  | `generalPurpose`       |\n| `shell`           | `shell`                |\n\n## Worker prompt (minimum)\n\nEvery `Task` prompt MUST include:\n\n- `todo.id` and the verbatim `content` field.\n- `inputs` and `outputs` from the plan.\n- Absolute path to the plan file under execution.\n- Instruction to return evidence aligned with the success criteria embedded in `content` (paths changed, commands with results, deliverable summaries for explore work).\n\n**Retries:** Prepend a short summary of prior failure: validation errors, missing outputs, or ambiguous results.\n\n## Completion validation\n\nSet `completed` only if:\n\n1. Success criteria in `content` are satisfied (for `explore`, the promised summary or artifact exists as stated).\n2. Declared `outputs` exist on disk, or artifact paths explicitly required in `content` are present.\n\nIf validation is ambiguous or fails, treat the attempt as failed; do not set `completed`. Apply retry and escalation.\n\n## Retry and escalation\n\n- Do **not** stop the overall run because an attempt failed.\n- Do **not** set `cancelled` only because attempts failed.\n- Use a **new** subagent for each attempt until validation passes.\n\n**Attempt counter:** Per `todo.id`, increment attempts during this run; record each attempt in the body **Execution log**.\n\n**Escalation:**\n\n- **Attempt 1:** `subagent_type` from the table for the todo's `agent_type`.\n- **Attempt 2 and later:** Use `generalPurpose`, **except** when the todo is **strictly** command-and-environment automation (no repository file creation or editing) **and** failure is clearly environmental (network, tool missing, transient command error). In that narrow case, allow **one** additional `shell` attempt with enriched context before switching subsequent attempts to `generalPurpose`.\n\n## Plan file as single source of truth\n\n### Status synchronization\n\nWhen a todo moves `pending` → `in_progress` → `completed` (or `cancelled` per user):\n\n1. Update the matching object in top-level frontmatter `todos`.\n2. Update the matching object inside the correct `phases[].todos` list (same `id`).\n3. Update the H2 **Todos** section in the body so listed statuses match frontmatter.\n\nAfter every write, confirm no duplicate `id` entries and no mismatched `status` for the same `id` between top-level `todos` and `phases`.\n\n### Execution log\n\nIf the body has no H2 **Execution log**, add it **after** required planning sections (do not remove `Delegation Map` or `Todos`).\n\nFor each attempt append one line (bullet or small heading) containing: ISO 8601 timestamp (or session date if timestamps unavailable), `todo.id`, attempt number, `subagent_type` used, one-line outcome `success` or `failed: \u003Cshort reason>`.\n\n### Cancellation\n\nSet `cancelled` **only** when the user explicitly changes scope. Require explicit user instruction before writing `cancelled`.\n\n## Git and permissions\n\nDo **not** commit or push as part of this workflow unless the user **explicitly** asks. Plan edits remain working-tree changes until the user commits.\n\n## Operational notes\n\n- Read-modify-write YAML carefully to avoid frontmatter corruption; prefer minimal edits.\n- Keep worker prompts concise; enrich retries with concrete validation gaps.\n- Retries may consume time and tokens; the Execution log is the audit trail.\n\n## Cross-reference\n\nPlan format and producer: bundled **planning** skill; deliverable pattern `.cursor\u002Fplans\u002F{objective}.plan.md`. Do not duplicate the full planning schema here.\n","# Subagent build plan\n\n## Upstream contract\n\nPlans MUST come from the bundled **planning** skill. Do not define a competing schema. Executor assumes:\n\n- **Path:** `{workspaceRoot}\u002F.cursor\u002Fplans\u002F{objective}.plan.md`\n- **Frontmatter:** `name`, `overview`, top-level `todos`, `isProject: true`, `phases` where each phase has `name` and nested `todos`.\n- **Each todo:** `id` (e.g. `1-1`), `content`, `status` (`pending` | `in_progress` | `completed` | `cancelled`), `agent_type` (`explore` | `generalPurpose` | `shell`), `parallel_group`, `depends_on`, `inputs`, `outputs`.\n- **Body:** H2 `Delegation Map` and H2 `Todos` per planning rules.\n\n**Frontmatter is authoritative for scheduling.** Update the body for readability, audit, and execution history.\n\n## Roles\n\n- **Orchestrator (parent agent):** Read and parse the plan, schedule runnable todos, validate completion, update the plan file on state transitions, invoke `Task` for workers.\n- **Worker (subagent):** One attempt for one todo; return evidence tied to success criteria in `content` (files touched, commands run, structured summary for read-only work).\n\n## Scheduling\n\n1. **Phases:** Process `phases` in array order.\n2. **Parallel groups:** Within a phase, order groups alphabetically (`A` before `B`). A todo runs only when every id in `depends_on` has `status: completed` in the plan file.\n3. **Concurrency:** Todos that share the same `parallel_group`, have satisfied dependencies, and are not `completed`, may run concurrently, **up to four** concurrent `Task` calls.\n4. **Cross-phase dependencies:** If `depends_on` references an id from an earlier phase, honor it via status in the plan file.\n\n## Dispatch mapping\n\n| Plan `agent_type` | `Task` `subagent_type` |\n|-------------------|------------------------|\n| `explore`         | `explore`              |\n| `generalPurpose`  | `generalPurpose`       |\n| `shell`           | `shell`                |\n\n## Worker prompt (minimum)\n\nEvery `Task` prompt MUST include:\n\n- `todo.id` and the verbatim `content` field.\n- `inputs` and `outputs` from the plan.\n- Absolute path to the plan file under execution.\n- Instruction to return evidence aligned with the success criteria embedded in `content` (paths changed, commands with results, deliverable summaries for explore work).\n\n**Retries:** Prepend a short summary of prior failure: validation errors, missing outputs, or ambiguous results.\n\n## Completion validation\n\nSet `completed` only if:\n\n1. Success criteria in `content` are satisfied (for `explore`, the promised summary or artifact exists as stated).\n2. Declared `outputs` exist on disk, or artifact paths explicitly required in `content` are present.\n\nIf validation is ambiguous or fails, treat the attempt as failed; do not set `completed`. Apply retry and escalation.\n\n## Retry and escalation\n\n- Do **not** stop the overall run because an attempt failed.\n- Do **not** set `cancelled` only because attempts failed.\n- Use a **new** subagent for each attempt until validation passes.\n\n**Attempt counter:** Per `todo.id`, increment attempts during this run; record each attempt in the body **Execution log**.\n\n**Escalation:**\n\n- **Attempt 1:** `subagent_type` from the table for the todo's `agent_type`.\n- **Attempt 2 and later:** Use `generalPurpose`, **except** when the todo is **strictly** command-and-environment automation (no repository file creation or editing) **and** failure is clearly environmental (network, tool missing, transient command error). In that narrow case, allow **one** additional `shell` attempt with enriched context before switching subsequent attempts to `generalPurpose`.\n\n## Plan file as single source of truth\n\n### Status synchronization\n\nWhen a todo moves `pending` → `in_progress` → `completed` (or `cancelled` per user):\n\n1. Update the matching object in top-level frontmatter `todos`.\n2. Update the matching object inside the correct `phases[].todos` list (same `id`).\n3. Update the H2 **Todos** section in the body so listed statuses match frontmatter.\n\nAfter every write, confirm no duplicate `id` entries and no mismatched `status` for the same `id` between top-level `todos` and `phases`.\n\n### Execution log\n\nIf the body has no H2 **Execution log**, add it **after** required planning sections (do not remove `Delegation Map` or `Todos`).\n\nFor each attempt append one line (bullet or small heading) containing: ISO 8601 timestamp (or session date if timestamps unavailable), `todo.id`, attempt number, `subagent_type` used, one-line outcome `success` or `failed: \u003Cshort reason>`.\n\n### Cancellation\n\nSet `cancelled` **only** when the user explicitly changes scope. Require explicit user instruction before writing `cancelled`.\n\n## Git and permissions\n\nDo **not** commit or push as part of this workflow unless the user **explicitly** asks. Plan edits remain working-tree changes until the user commits.\n\n## Operational notes\n\n- Read-modify-write YAML carefully to avoid frontmatter corruption; prefer minimal edits.\n- Keep worker prompts concise; enrich retries with concrete validation gaps.\n- Retries may consume time and tokens; the Execution log is the audit trail.\n\n## Cross-reference\n\nPlan format and producer: bundled **planning** skill; deliverable pattern `.cursor\u002Fplans\u002F{objective}.plan.md`. Do not duplicate the full planning schema here.\n",{"name":5,"description":7,"disable-model-invocation":24},true,"main","dfdfff7b67adb48b7e05c03e926b9a000ebc2b1f","skills\u002Fsubagent-build-plan","https:\u002F\u002Fgithub.com\u002FMarcelo-Barella\u002Fbergamota-mode","https:\u002F\u002Fgithub.com\u002FMarcelo-Barella","bergamota.dev","Full-Stack developer at SigaSoft and Cursor Ambassador","2026-09-16 05:03:54",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":24},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Marcelo-Barella\u002Fbergamota-mode --skill subagent-build-plan",{"tool":39,"command":40},"bunx","bunx skills add Marcelo-Barella\u002Fbergamota-mode --skill subagent-build-plan",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Marcelo-Barella\u002Fbergamota-mode --skill subagent-build-plan","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMarcelo-Barella\u002Fbergamota-mode\u002Fblob\u002Fmain\u002Fskills\u002Fsubagent-build-plan\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},"01M7CVXS0X5VZSFFBE2MT5D2E9","unslop","Cut AI tells from any writing. Must always apply.","https:\u002F\u002Fgithub.com\u002FMarcelo-Barella\u002Fbergamota-mode\u002Fblob\u002Fmain\u002Fskills\u002Funslop\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},"01M7CVXGA8QS71VNGQTR8V5ES9","planning","Researches requirements when needed, then plans, organizes, and structures content without coding or implementation. Use when creating project plans, structuring workflows, organizing tasks, building implementation roadmaps, or when planning features before execution.","https:\u002F\u002Fgithub.com\u002FMarcelo-Barella\u002Fbergamota-mode\u002Fblob\u002Fmain\u002Fskills\u002Fplanning\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},"01M7CVXCJJEBF9YFHPVHAV1BP9","debugger","Systematic debugging workflow for code analysis, root cause investigation, and solution validation. Use when debugging errors, investigating bugs, analyzing stack traces, fixing runtime issues, or troubleshooting code problems.","https:\u002F\u002Fgithub.com\u002FMarcelo-Barella\u002Fbergamota-mode\u002Fblob\u002Fmain\u002Fskills\u002Fdebugger\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},"01M7CVX8PTFXWVQP2TC19HETJ9","ctx-agent-history-search","Use ctx to search local coding-agent history before acting. Use when prior agent sessions may contain relevant insights, decisions, attempts, or transcript context.","https:\u002F\u002Fgithub.com\u002FMarcelo-Barella\u002Fbergamota-mode\u002Fblob\u002Fmain\u002Fskills\u002Fctx-agent-history-search\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},"01M7CVX2QNMT51KSX3TNEHWQ0T","Bergamota","Bergamota default agent conventions — ctx prior-session search before acting, surgical code, explicit git consent, planning before large builds, worktree isolation, parallel subagents, and evidence-based verification. Use when the user says Bergamota, \u002Fbergamota-mode, or asks to work in their style. Not a substitute for \u002Fpoteto-mode unless they attach both.","https:\u002F\u002Fgithub.com\u002FMarcelo-Barella\u002Fbergamota-mode\u002Fblob\u002Fmain\u002Fskills\u002Fbergamota-mode\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},"01M7CVWQACYQVAQGKMA23DJMC3","anti-slop","Finds and deletes AI slop from a change OR a whole codebase — premature abstractions (Factory\u002FRepository\u002FMediator\u002FCQRS\u002FEvent-Sourcing\u002FDDD), unnecessary dependencies, redundant comments, happy-path-only code, superficial tests \u002F test theater, type escapes (as any \u002F @ts-ignore \u002F type: ignore), swallowed errors (empty catch, except: pass), prompt residue (\"in a real app\", banner comments, emoji in code), cargo-cult patterns, accidental complexity, hallucinated requirements (unrequested features \u002F scope creep), framework slop (React useEffect hell, Astro hydration bloat, Tailwind class soup, SELECT *, ORM include pyramids, boolean traps, guard-chain defensive inflation, async wrapper mania), and CLONE PROLIFERATION \u002F duplicate helpers (20 copies of isRecord, DRY violations, knowledge duplication) — organized as twelve failure classes, while preserving the behaviour the user actually asked for. Use when the user says remove AI slop, de-slop, clean up the slop, \u002Fanti-slop, \"this is slop\", review the whole codebase for slop, find duplicate or clone functions, or asks to strip over-engineering, premature abstraction, cargo cult, redundant comments, or duplicate utilities.","https:\u002F\u002Fgithub.com\u002FMarcelo-Barella\u002Fbergamota-mode\u002Fblob\u002Fmain\u002Fskills\u002Fanti-slop\u002FSKILL.md",[],[]]