[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ADS2D46BRXHZDYYF3QTG4X":3,"skill-same:01M7ADS2D46BRXHZDYYF3QTG4X":49},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M7ADS2D46BRXHZDYYF3QTG4X","planning-pipeline",null,"Use when turning conversation into a written spec, breaking a plan or spec into independent traceable tickets, or when a decision cannot be fully answered and needs input from another person via a questionnaire.","Leostruka\u002Fdevin-bundle","Leostruka","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F81370685?v=4","01M7AD8MAK63VDNAWRDRRRW04N","leandro ostruka","01M7AD8MBS65YDS1KMMV7YPM07",0,"MIT","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-pipeline\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: planning-pipeline\ndescription: Use when turning conversation into a written spec, breaking a plan or spec into independent traceable tickets, or when a decision cannot be fully answered and needs input from another person via a questionnaire.\ntriggers: [user, model]\n---\n# Planning Pipeline\n\nThree tools for the planning phase, used at different points in the flow from\nidea to implementation. Pick the mode that matches the need.\n\n| Mode | Trigger | What it produces |\n|---|---|---|\n| **Spec** | \"Write a spec\", \"turn this into a spec\" | A written spec from conversation context |\n| **Tickets** | \"Break this into tickets\", \"split into tasks\" | Vertical-slice tickets with blocking edges |\n| **Questionnaire** | \"I need to ask someone\", \"can't answer this alone\" | A questionnaire document for external input |\n\nThe issue tracker and triage label vocabulary should have been provided to\nyou - run `tool-and-skill-discovery` if not.\n\n**Modular atomic action mode.** Every step this skill produces is a small,\nindependent, verifiable atom - never a bundled phase. Tickets are sized to\nfit one fresh context window, declare their own gate (`gate:` \u002F `expect:` \u002F\n`evidence:`), and are worked one at a time: `in_progress` → run gate →\n`qa-ci` independent verification → `completed`, then the next. No batching,\nno \"we'll verify at the end.\" A ticket without a defined gate is not\nready-for-agent - define the gate first.\n\n**Cross-skills:** invoke `deep-mode` before Spec mode if the codebase is unfamiliar or large, and `context7` when the spec depends on a specific library's current API. Invoke `review-cadence` first if you don't know whether the request needs full planning or can move straight to implementation.\n\n**Cross-skills:** Spec and ticket output feeds `adaptive-agenda-calendar-routine-engine` Stage 3 (workbench manifest) and Stage 4 (>=32-cycle loop).\n\n---\n\n## Mode: Spec\n\nTakes the current conversation context and codebase understanding and\nproduces a PRD (Product Requirements Document) - a destination document, not a\nthrowaway. Do NOT interview the user - just synthesize what you already know.\n\n**Spec is a starting point, not a source of truth.** A spec begins to rot on\nthe first hotfix: a bug is fixed directly in code and the spec becomes a lie.\nThis is the same law that killed UML\u002FMDA - the model was never the reality,\nthe code was. Treat the PRD as a destination document that captures intent at\ndecision time, then let `project-memory` and the emerging code record what\nactually got built. Thoughtworks Technology Radar (Nov 2025) places\nspec-driven development in the \"Assess\" ring and warns \"we may be relearning a\nbitter lesson - that handcrafting detailed rules for AI ultimately doesn't\nscale\" (\u003Chttps:\u002F\u002Fwww.thoughtworks.com\u002Fradar\u002Ftechniques\u002Fspec-driven-development>).\nWrite the spec, use it to align and to cut tickets, then trust tests and\nmemory over the document as the work proceeds.\n\n### Process\n\n1. Explore the repo to understand the current state of the codebase, if you\n   haven't already. Use the project's domain glossary vocabulary throughout\n   the spec, and respect any ADRs in the area you're touching.\n\n2. Sketch out the seams at which you're going to test the feature. Existing\n   seams should be preferred to new ones. Use the highest seam possible. If\n   new seams are needed, propose them at the highest point you can. The fewer\n   seams across the codebase, the better - the ideal number is one.\n\n   Check with the user that these seams match their expectations.\n\n3. Write the spec using the template below, then publish it to the project\n   issue tracker. Apply the `ready-for-agent` triage label - no need for\n   additional triage.\n\n\u003Cspec-template>\n\n## Intent\n\nThe final goal, where the feature lands, and how the user is affected. Capture this before any implementation detail. If intent is unclear, stop and use `grilling`.\n\n## Problem Statement\n\nThe problem that the user is facing, from the user's perspective.\n\n## Solution\n\nThe solution to the problem, from the user's perspective.\n\n## User Stories\n\nA LONG, numbered list of user stories. Each user story should be in the format of:\n\n1. As an \u003Cactor>, I want a \u003Cfeature>, so that \u003Cbenefit>\n\n\u003Cuser-story-example>\n1. As a mobile bank customer, I want to see balance on my accounts, so that I can make better informed decisions about my spending\n\u003C\u002Fuser-story-example>\n\nThis list of user stories should be extremely extensive and cover all aspects of the feature.\n\n## Estimated size (lines)\n\nRough estimate of the PR size. If it exceeds ~500 lines, note that it must be split into smaller tickets in Tickets mode.\n\n## Input \u002F Output boundaries\n\nThe inputs the feature consumes and the outputs it produces. For APIs, specify request\u002Fresponse shape; for services, specify contracts and data ownership.\n\n## Implementation Decisions\n\nDeclare the proposed modules and interfaces affected before any\nimplementation work. This is the contract surface a reviewer checks against the\nspec and the source for tickets or `writing-plans` tasks.\n\nA list of implementation decisions that was made. This can include:\n\n- The modules that will be built\u002Fmodified\n- The interfaces of those modules that will be modified - function names,\n  signatures, data contracts, and API endpoints\n- Technical clarifications from the developer\n- Architectural decisions\n- Schema changes\n- API contracts\n- Specific interactions\n- Which assets are **living** (ship with the feature) and which are\n  **prototype\u002Fdisposable** (temporary scripts or sample data that must be\ndeleted before the feature is considered done)\n\nDo NOT include specific file paths or code snippets. They may end up being outdated very quickly.\n\nException: if a prototype produced a snippet that encodes a decision more precisely than prose can (state machine, reducer, schema, type shape), inline it within the relevant decision and note briefly that it came from a prototype. Trim to the decision-rich parts - not a working demo, just the important bits.\n\n## Testing Decisions\n\nA list of testing decisions that were made. Include:\n\n- A description of what makes a good test (only test external behavior, not implementation details)\n- Which modules will be tested\n- Prior art for the tests (i.e. similar types of tests in the codebase)\n\n## Out of Scope\n\nA description of the things that are out of scope for this spec.\n\n## Further Notes\n\nAny further notes about the feature.\n\n\u003C\u002Fspec-template>\n\n---\n\n## Mode: Tickets\n\nBreak a plan, spec, or conversation into a set of **tickets** - tracer-bullet\nvertical slices, each declaring the tickets that **block** it.\n\n### Process\n\n#### 1. Gather context\n\nWork from whatever is already in the conversation context. If the user passes\na reference (a spec path, an issue number or URL) as an argument, fetch it\nand read its full body and comments.\n\n#### 2. Explore the codebase (optional)\n\nIf you have not already explored the codebase, do so to understand the\ncurrent state of the code. Ticket titles and descriptions should use the\nproject's domain glossary vocabulary, and respect ADRs in the area you're\ntouching.\n\nLook for opportunities to prefactor the code to make the implementation\neasier. \"Make the change easy, then make the easy change.\"\n\n#### 3. Declare proposed modules and interfaces\n\nBefore cutting tickets, list the modules and interfaces the work touches.\nThis surfaces contract changes and prevents horizontal decomposition. Keep it\nshort: module\u002Farea names, the functions or endpoints affected, and the data\ncontracts that change. For tiny features, a single line is enough.\n\n#### 4. Draft vertical slices\n\nBreak the work into **tracer bullet** tickets - vertical, end-to-end slices,\nnot horizontal phases.\n\n\u003Cvertical-slice-rules>\n\n- Each slice cuts a narrow but COMPLETE path through every layer (schema, API, UI, tests) - vertical, NOT a horizontal slice of one layer or phase\n- Title and order slices by user-facing end-to-end behavior, not by layer. Example: \"User can save a draft\" not \"Design the schema\"\n- A completed slice is demoable or verifiable on its own\n- Each slice is sized to fit in a single fresh context window\n- Each slice declares its own gate (`gate:` command, `expect:` output\u002Fexit code, `evidence:` ledger\u002Ffile) - a slice without a gate is not ready-for-agent\n- Any prefactoring should be done first\n\n\u003C\u002Fvertical-slice-rules>\n\nGive each ticket its **blocking edges** - the other tickets that must\ncomplete before it can start. A ticket with no blockers can start immediately.\n\n**Wide refactors are the exception to vertical slicing.** A **wide refactor**\nis one mechanical change - rename a column, retype a shared symbol - whose\n**blast radius** fans across the whole codebase, so a single edit breaks\nthousands of call sites at once and no vertical slice can land green. Don't\nforce it into a tracer bullet; sequence it as **expand–contract**. First\nexpand: add the new form beside the old so nothing breaks. Then migrate the\ncall sites over in batches sized by blast radius (per package, per\ndirectory), each batch its own ticket blocked by the expand, keeping CI green\nbatch to batch because the old form still exists. Finally contract: delete\nthe old form once no caller remains, in a ticket blocked by every migrate\nbatch. When even the batches can't stay green alone, keep the sequence but\nlet them share an integration branch that all block a final\nintegrate-and-verify ticket - green is promised only there.\n\n#### 5. Quiz the user\n\nPresent the proposed breakdown as a numbered list. For each ticket, show:\n\n- **Title**: short descriptive name\n- **Blocked by**: which other tickets (if any) must complete first\n- **What it delivers**: the end-to-end behaviour this ticket makes work\n\nAsk the user:\n\n- Does each ticket feel like a tracer bullet - a complete, end-to-end vertical slice - rather than a horizontal phase like \"schema\" or \"API\"?\n- Does the granularity feel right? (too coarse \u002F too fine)\n- Are the blocking edges correct - does each ticket only depend on tickets that genuinely gate it?\n- Should any tickets be merged or split further?\n- Are any proposed assets prototype\u002Fdisposable (e.g., `tmp_*` scripts)? If so, which ticket deletes them?\n\nIterate until the user approves the breakdown.\n\n#### 6. Publish the tickets to the configured tracker\n\nPublish the approved tickets. **How** depends on the tracker\n`tool-and-skill-discovery` configured - the tickets are the same either way,\nonly the shape of the blocking edges changes:\n\n- **Local files** → write one file per ticket under\n  `.devin\u002Fscratch\u002F\u003Cfeature-slug>\u002Fissues\u002F\u003CNN>-\u003Cslug>.md`, numbered from `01` in\n  dependency order (blockers first). Each file's \"Blocked by\" lists the\n  numbers\u002Ftitles it depends on. Use the per-ticket file template below - one\n  ticket per file, never a single combined file.\n- **A real issue tracker (GitHub, Linear, …)** → publish one issue per ticket\n  in dependency order (blockers first) so each ticket's blocking edges can\n  reference real identifiers. Use the platform's native blocking \u002F sub-issue\n  relationship where it has one; otherwise set each ticket's \"Blocked by\" to\n  the blocking issues. Apply the `ready-for-agent` triage label unless\n  instructed otherwise - the tickets are agent-grabbable by construction.\n\nWork the **frontier**: any ticket whose blockers are all done. For a purely\nlinear chain that means top to bottom.\n\nDo NOT close or modify any parent issue.\n\n\u003Clocal-ticket-template>\n\n# \u003CNN> - \u003CTicket title>\n\n**Intent:** why this ticket exists and the user-visible impact it delivers.\n\n**What to build:** the end-to-end behaviour this ticket makes work, from the user's perspective - not a layer-by-layer implementation list.\n\n**Proposed modules \u002F interfaces affected:** module\u002Farea names and the contracts this slice touches. Omit for tiny slices.\n\n**Estimated size (lines):** rough estimate. If >500, split further before starting.\n\n**Input \u002F Output:** the data and contracts this ticket consumes and produces.\n\n**Blocked by:** the numbers\u002Ftitles of the tickets that gate this one, or \"None - can start immediately\".\n\n**Gate:** the exact command that proves this ticket done (e.g. `npm run test -- --grep \"\u003Cslice>\"`).\n\n**Expect:** the output or exit code that constitutes pass (e.g. `exit 0`, `N passing, 0 failing`).\n\n**Evidence:** where the raw output is recorded (ledger line or file path).\n\n**Status:** ready-for-agent\n\n- [ ] Acceptance criterion 1\n- [ ] Acceptance criterion 2\n\n\u003C\u002Flocal-ticket-template>\n\n\u003Cissue-template>\n\n## Intent\n\nWhy this ticket exists and the user-visible impact it delivers.\n\n## Parent\n\nA reference to the parent issue on the tracker (if the source was an existing issue, otherwise omit this section).\n\n## What to build\n\nThe end-to-end behaviour this ticket makes work, from the user's perspective - not layer-by-layer implementation.\n\n## Proposed modules \u002F interfaces affected\n\nModule\u002Farea names and the contracts this slice touches. Omit for tiny slices.\n\n## Estimated size (lines)\n\nRough estimate. If >500, split further before starting.\n\n## Input \u002F Output\n\nThe data and contracts this ticket consumes and produces.\n\n## Gate\n\nThe exact command that proves this ticket done (e.g. `npm run test -- --grep \"\u003Cslice>\"`).\n\n## Expect\n\nThe output or exit code that constitutes pass (e.g. `exit 0`, `N passing, 0 failing`).\n\n## Evidence\n\nWhere the raw output is recorded (ledger line or file path).\n\n## Acceptance criteria\n\n- [ ] Criterion 1\n- [ ] Criterion 2\n\n## Blocked by\n\n- A reference to each blocking ticket, or \"None - can start immediately\".\n\n\u003C\u002Fissue-template>\n\nIn either form, avoid specific file paths or code snippets - they go stale\nfast. Exception: if a prototype produced a snippet that encodes a decision\nmore precisely than prose can (state machine, reducer, schema, type shape),\ninline it and note briefly that it came from a prototype. Trim to the\ndecision-rich parts - not a working demo, just the important bits.\n\n---\n\n## Mode: Questionnaire\n\nTurn something the user can't answer alone into a **questionnaire** - a\nMarkdown document they hand to one person to fill in async, or fill out\ntogether over a meeting. The recipient holds knowledge the user lacks; the\nquestionnaire pulls it out of them.\n\n**Grill the send, not the subject.** Interview the user only about the\n_send_, which they can always answer: who it goes to, and what they need\nback. The questions in the document then target the **gap** between what the\nrecipient knows and what the user needs.\n\n1. **Who is it going to?** Ask, in one exchange, the recipient's role,\n   expertise, and relationship to the user. This fixes the questionnaire's\n   tone and how much context it must carry. Done when you know who the\n   recipient is and what they know that the user doesn't.\n\n2. **What do you need back?** Ask, in one exchange, the specific decisions or\n   facts the user can't resolve alone and needs from this person. Done when\n   you have a concrete list of what the user must walk away able to do or\n   decide.\n\n3. **Write the questionnaire.** Draft questions aimed at the gap from steps\n   1–2, following the Document structure below. Write it to\n   `questionnaire-\u003Cslug>.md` in the current directory (slug from the\n   topic) and report the path. Done when the file exists and every item the\n   user named in step 2 is covered by a question.\n\n### Document structure\n\nFrame the document as a **discovery questionnaire**: the user lacks context,\nthe recipient holds it. Order questions most-important-first - async means\nyou may only get one pass - and group them under `##` headings by theme once\nthere are more than a handful. Write it using the template below.\n\n\u003Cquestionnaire-template>\n\n# \u003CQuestionnaire title>\n\n**Purpose:** why this questionnaire exists and the decision riding on it.\n\n**From:** \u003Cthe user> - **To:** \u003Cthe recipient> - **How your answers will be used:** \u003Cwhere they go>\n\n## Context\n\nOne paragraph orienting a recipient who wasn't in the user's head. Enough to answer well, not a page.\n\n## How to answer\n\nDeadline and rough effort. Partial answers and \"I don't know\" are useful - flag anything you're unsure of rather than skipping it.\n\n## \u003CTheme heading>\n\nOne `##` section per theme. Under each, its questions, most-important-first. Every question is one idea - never compound - with an answer stub directly beneath, and a one-line _why this matters_ only where the question could be misread or invite a throwaway answer.\n\n\u003Cquestion-example>\n### What load is the system expected to handle at launch?\n\n_Why this matters: it decides whether we provision for burst traffic now or defer it._\n\n>\n\u003C\u002Fquestion-example>\n\n## Anything else?\n\nA closing catch-all: anything we didn't ask that we should know?\n\n\u003C\u002Fquestionnaire-template>\n","# Planning Pipeline\n\nThree tools for the planning phase, used at different points in the flow from\nidea to implementation. Pick the mode that matches the need.\n\n| Mode | Trigger | What it produces |\n|---|---|---|\n| **Spec** | \"Write a spec\", \"turn this into a spec\" | A written spec from conversation context |\n| **Tickets** | \"Break this into tickets\", \"split into tasks\" | Vertical-slice tickets with blocking edges |\n| **Questionnaire** | \"I need to ask someone\", \"can't answer this alone\" | A questionnaire document for external input |\n\nThe issue tracker and triage label vocabulary should have been provided to\nyou - run `tool-and-skill-discovery` if not.\n\n**Modular atomic action mode.** Every step this skill produces is a small,\nindependent, verifiable atom - never a bundled phase. Tickets are sized to\nfit one fresh context window, declare their own gate (`gate:` \u002F `expect:` \u002F\n`evidence:`), and are worked one at a time: `in_progress` → run gate →\n`qa-ci` independent verification → `completed`, then the next. No batching,\nno \"we'll verify at the end.\" A ticket without a defined gate is not\nready-for-agent - define the gate first.\n\n**Cross-skills:** invoke `deep-mode` before Spec mode if the codebase is unfamiliar or large, and `context7` when the spec depends on a specific library's current API. Invoke `review-cadence` first if you don't know whether the request needs full planning or can move straight to implementation.\n\n**Cross-skills:** Spec and ticket output feeds `adaptive-agenda-calendar-routine-engine` Stage 3 (workbench manifest) and Stage 4 (>=32-cycle loop).\n\n---\n\n## Mode: Spec\n\nTakes the current conversation context and codebase understanding and\nproduces a PRD (Product Requirements Document) - a destination document, not a\nthrowaway. Do NOT interview the user - just synthesize what you already know.\n\n**Spec is a starting point, not a source of truth.** A spec begins to rot on\nthe first hotfix: a bug is fixed directly in code and the spec becomes a lie.\nThis is the same law that killed UML\u002FMDA - the model was never the reality,\nthe code was. Treat the PRD as a destination document that captures intent at\ndecision time, then let `project-memory` and the emerging code record what\nactually got built. Thoughtworks Technology Radar (Nov 2025) places\nspec-driven development in the \"Assess\" ring and warns \"we may be relearning a\nbitter lesson - that handcrafting detailed rules for AI ultimately doesn't\nscale\" (\u003Chttps:\u002F\u002Fwww.thoughtworks.com\u002Fradar\u002Ftechniques\u002Fspec-driven-development>).\nWrite the spec, use it to align and to cut tickets, then trust tests and\nmemory over the document as the work proceeds.\n\n### Process\n\n1. Explore the repo to understand the current state of the codebase, if you\n   haven't already. Use the project's domain glossary vocabulary throughout\n   the spec, and respect any ADRs in the area you're touching.\n\n2. Sketch out the seams at which you're going to test the feature. Existing\n   seams should be preferred to new ones. Use the highest seam possible. If\n   new seams are needed, propose them at the highest point you can. The fewer\n   seams across the codebase, the better - the ideal number is one.\n\n   Check with the user that these seams match their expectations.\n\n3. Write the spec using the template below, then publish it to the project\n   issue tracker. Apply the `ready-for-agent` triage label - no need for\n   additional triage.\n\n\u003Cspec-template>\n\n## Intent\n\nThe final goal, where the feature lands, and how the user is affected. Capture this before any implementation detail. If intent is unclear, stop and use `grilling`.\n\n## Problem Statement\n\nThe problem that the user is facing, from the user's perspective.\n\n## Solution\n\nThe solution to the problem, from the user's perspective.\n\n## User Stories\n\nA LONG, numbered list of user stories. Each user story should be in the format of:\n\n1. As an \u003Cactor>, I want a \u003Cfeature>, so that \u003Cbenefit>\n\n\u003Cuser-story-example>\n1. As a mobile bank customer, I want to see balance on my accounts, so that I can make better informed decisions about my spending\n\u003C\u002Fuser-story-example>\n\nThis list of user stories should be extremely extensive and cover all aspects of the feature.\n\n## Estimated size (lines)\n\nRough estimate of the PR size. If it exceeds ~500 lines, note that it must be split into smaller tickets in Tickets mode.\n\n## Input \u002F Output boundaries\n\nThe inputs the feature consumes and the outputs it produces. For APIs, specify request\u002Fresponse shape; for services, specify contracts and data ownership.\n\n## Implementation Decisions\n\nDeclare the proposed modules and interfaces affected before any\nimplementation work. This is the contract surface a reviewer checks against the\nspec and the source for tickets or `writing-plans` tasks.\n\nA list of implementation decisions that was made. This can include:\n\n- The modules that will be built\u002Fmodified\n- The interfaces of those modules that will be modified - function names,\n  signatures, data contracts, and API endpoints\n- Technical clarifications from the developer\n- Architectural decisions\n- Schema changes\n- API contracts\n- Specific interactions\n- Which assets are **living** (ship with the feature) and which are\n  **prototype\u002Fdisposable** (temporary scripts or sample data that must be\ndeleted before the feature is considered done)\n\nDo NOT include specific file paths or code snippets. They may end up being outdated very quickly.\n\nException: if a prototype produced a snippet that encodes a decision more precisely than prose can (state machine, reducer, schema, type shape), inline it within the relevant decision and note briefly that it came from a prototype. Trim to the decision-rich parts - not a working demo, just the important bits.\n\n## Testing Decisions\n\nA list of testing decisions that were made. Include:\n\n- A description of what makes a good test (only test external behavior, not implementation details)\n- Which modules will be tested\n- Prior art for the tests (i.e. similar types of tests in the codebase)\n\n## Out of Scope\n\nA description of the things that are out of scope for this spec.\n\n## Further Notes\n\nAny further notes about the feature.\n\n\u003C\u002Fspec-template>\n\n---\n\n## Mode: Tickets\n\nBreak a plan, spec, or conversation into a set of **tickets** - tracer-bullet\nvertical slices, each declaring the tickets that **block** it.\n\n### Process\n\n#### 1. Gather context\n\nWork from whatever is already in the conversation context. If the user passes\na reference (a spec path, an issue number or URL) as an argument, fetch it\nand read its full body and comments.\n\n#### 2. Explore the codebase (optional)\n\nIf you have not already explored the codebase, do so to understand the\ncurrent state of the code. Ticket titles and descriptions should use the\nproject's domain glossary vocabulary, and respect ADRs in the area you're\ntouching.\n\nLook for opportunities to prefactor the code to make the implementation\neasier. \"Make the change easy, then make the easy change.\"\n\n#### 3. Declare proposed modules and interfaces\n\nBefore cutting tickets, list the modules and interfaces the work touches.\nThis surfaces contract changes and prevents horizontal decomposition. Keep it\nshort: module\u002Farea names, the functions or endpoints affected, and the data\ncontracts that change. For tiny features, a single line is enough.\n\n#### 4. Draft vertical slices\n\nBreak the work into **tracer bullet** tickets - vertical, end-to-end slices,\nnot horizontal phases.\n\n\u003Cvertical-slice-rules>\n\n- Each slice cuts a narrow but COMPLETE path through every layer (schema, API, UI, tests) - vertical, NOT a horizontal slice of one layer or phase\n- Title and order slices by user-facing end-to-end behavior, not by layer. Example: \"User can save a draft\" not \"Design the schema\"\n- A completed slice is demoable or verifiable on its own\n- Each slice is sized to fit in a single fresh context window\n- Each slice declares its own gate (`gate:` command, `expect:` output\u002Fexit code, `evidence:` ledger\u002Ffile) - a slice without a gate is not ready-for-agent\n- Any prefactoring should be done first\n\n\u003C\u002Fvertical-slice-rules>\n\nGive each ticket its **blocking edges** - the other tickets that must\ncomplete before it can start. A ticket with no blockers can start immediately.\n\n**Wide refactors are the exception to vertical slicing.** A **wide refactor**\nis one mechanical change - rename a column, retype a shared symbol - whose\n**blast radius** fans across the whole codebase, so a single edit breaks\nthousands of call sites at once and no vertical slice can land green. Don't\nforce it into a tracer bullet; sequence it as **expand–contract**. First\nexpand: add the new form beside the old so nothing breaks. Then migrate the\ncall sites over in batches sized by blast radius (per package, per\ndirectory), each batch its own ticket blocked by the expand, keeping CI green\nbatch to batch because the old form still exists. Finally contract: delete\nthe old form once no caller remains, in a ticket blocked by every migrate\nbatch. When even the batches can't stay green alone, keep the sequence but\nlet them share an integration branch that all block a final\nintegrate-and-verify ticket - green is promised only there.\n\n#### 5. Quiz the user\n\nPresent the proposed breakdown as a numbered list. For each ticket, show:\n\n- **Title**: short descriptive name\n- **Blocked by**: which other tickets (if any) must complete first\n- **What it delivers**: the end-to-end behaviour this ticket makes work\n\nAsk the user:\n\n- Does each ticket feel like a tracer bullet - a complete, end-to-end vertical slice - rather than a horizontal phase like \"schema\" or \"API\"?\n- Does the granularity feel right? (too coarse \u002F too fine)\n- Are the blocking edges correct - does each ticket only depend on tickets that genuinely gate it?\n- Should any tickets be merged or split further?\n- Are any proposed assets prototype\u002Fdisposable (e.g., `tmp_*` scripts)? If so, which ticket deletes them?\n\nIterate until the user approves the breakdown.\n\n#### 6. Publish the tickets to the configured tracker\n\nPublish the approved tickets. **How** depends on the tracker\n`tool-and-skill-discovery` configured - the tickets are the same either way,\nonly the shape of the blocking edges changes:\n\n- **Local files** → write one file per ticket under\n  `.devin\u002Fscratch\u002F\u003Cfeature-slug>\u002Fissues\u002F\u003CNN>-\u003Cslug>.md`, numbered from `01` in\n  dependency order (blockers first). Each file's \"Blocked by\" lists the\n  numbers\u002Ftitles it depends on. Use the per-ticket file template below - one\n  ticket per file, never a single combined file.\n- **A real issue tracker (GitHub, Linear, …)** → publish one issue per ticket\n  in dependency order (blockers first) so each ticket's blocking edges can\n  reference real identifiers. Use the platform's native blocking \u002F sub-issue\n  relationship where it has one; otherwise set each ticket's \"Blocked by\" to\n  the blocking issues. Apply the `ready-for-agent` triage label unless\n  instructed otherwise - the tickets are agent-grabbable by construction.\n\nWork the **frontier**: any ticket whose blockers are all done. For a purely\nlinear chain that means top to bottom.\n\nDo NOT close or modify any parent issue.\n\n\u003Clocal-ticket-template>\n\n# \u003CNN> - \u003CTicket title>\n\n**Intent:** why this ticket exists and the user-visible impact it delivers.\n\n**What to build:** the end-to-end behaviour this ticket makes work, from the user's perspective - not a layer-by-layer implementation list.\n\n**Proposed modules \u002F interfaces affected:** module\u002Farea names and the contracts this slice touches. Omit for tiny slices.\n\n**Estimated size (lines):** rough estimate. If >500, split further before starting.\n\n**Input \u002F Output:** the data and contracts this ticket consumes and produces.\n\n**Blocked by:** the numbers\u002Ftitles of the tickets that gate this one, or \"None - can start immediately\".\n\n**Gate:** the exact command that proves this ticket done (e.g. `npm run test -- --grep \"\u003Cslice>\"`).\n\n**Expect:** the output or exit code that constitutes pass (e.g. `exit 0`, `N passing, 0 failing`).\n\n**Evidence:** where the raw output is recorded (ledger line or file path).\n\n**Status:** ready-for-agent\n\n- [ ] Acceptance criterion 1\n- [ ] Acceptance criterion 2\n\n\u003C\u002Flocal-ticket-template>\n\n\u003Cissue-template>\n\n## Intent\n\nWhy this ticket exists and the user-visible impact it delivers.\n\n## Parent\n\nA reference to the parent issue on the tracker (if the source was an existing issue, otherwise omit this section).\n\n## What to build\n\nThe end-to-end behaviour this ticket makes work, from the user's perspective - not layer-by-layer implementation.\n\n## Proposed modules \u002F interfaces affected\n\nModule\u002Farea names and the contracts this slice touches. Omit for tiny slices.\n\n## Estimated size (lines)\n\nRough estimate. If >500, split further before starting.\n\n## Input \u002F Output\n\nThe data and contracts this ticket consumes and produces.\n\n## Gate\n\nThe exact command that proves this ticket done (e.g. `npm run test -- --grep \"\u003Cslice>\"`).\n\n## Expect\n\nThe output or exit code that constitutes pass (e.g. `exit 0`, `N passing, 0 failing`).\n\n## Evidence\n\nWhere the raw output is recorded (ledger line or file path).\n\n## Acceptance criteria\n\n- [ ] Criterion 1\n- [ ] Criterion 2\n\n## Blocked by\n\n- A reference to each blocking ticket, or \"None - can start immediately\".\n\n\u003C\u002Fissue-template>\n\nIn either form, avoid specific file paths or code snippets - they go stale\nfast. Exception: if a prototype produced a snippet that encodes a decision\nmore precisely than prose can (state machine, reducer, schema, type shape),\ninline it and note briefly that it came from a prototype. Trim to the\ndecision-rich parts - not a working demo, just the important bits.\n\n---\n\n## Mode: Questionnaire\n\nTurn something the user can't answer alone into a **questionnaire** - a\nMarkdown document they hand to one person to fill in async, or fill out\ntogether over a meeting. The recipient holds knowledge the user lacks; the\nquestionnaire pulls it out of them.\n\n**Grill the send, not the subject.** Interview the user only about the\n_send_, which they can always answer: who it goes to, and what they need\nback. The questions in the document then target the **gap** between what the\nrecipient knows and what the user needs.\n\n1. **Who is it going to?** Ask, in one exchange, the recipient's role,\n   expertise, and relationship to the user. This fixes the questionnaire's\n   tone and how much context it must carry. Done when you know who the\n   recipient is and what they know that the user doesn't.\n\n2. **What do you need back?** Ask, in one exchange, the specific decisions or\n   facts the user can't resolve alone and needs from this person. Done when\n   you have a concrete list of what the user must walk away able to do or\n   decide.\n\n3. **Write the questionnaire.** Draft questions aimed at the gap from steps\n   1–2, following the Document structure below. Write it to\n   `questionnaire-\u003Cslug>.md` in the current directory (slug from the\n   topic) and report the path. Done when the file exists and every item the\n   user named in step 2 is covered by a question.\n\n### Document structure\n\nFrame the document as a **discovery questionnaire**: the user lacks context,\nthe recipient holds it. Order questions most-important-first - async means\nyou may only get one pass - and group them under `##` headings by theme once\nthere are more than a handful. Write it using the template below.\n\n\u003Cquestionnaire-template>\n\n# \u003CQuestionnaire title>\n\n**Purpose:** why this questionnaire exists and the decision riding on it.\n\n**From:** \u003Cthe user> - **To:** \u003Cthe recipient> - **How your answers will be used:** \u003Cwhere they go>\n\n## Context\n\nOne paragraph orienting a recipient who wasn't in the user's head. Enough to answer well, not a page.\n\n## How to answer\n\nDeadline and rough effort. Partial answers and \"I don't know\" are useful - flag anything you're unsure of rather than skipping it.\n\n## \u003CTheme heading>\n\nOne `##` section per theme. Under each, its questions, most-important-first. Every question is one idea - never compound - with an answer stub directly beneath, and a one-line _why this matters_ only where the question could be misread or invite a throwaway answer.\n\n\u003Cquestion-example>\n### What load is the system expected to handle at launch?\n\n_Why this matters: it decides whether we provision for burst traffic now or defer it._\n\n>\n\u003C\u002Fquestion-example>\n\n## Anything else?\n\nA closing catch-all: anything we didn't ask that we should know?\n\n\u003C\u002Fquestionnaire-template>\n",{"name":5,"triggers":24,"description":7},[25,26],"user","model","main","0032dd465157e15d3ddd16afb75f4fe2dc1a356c","skills\u002Fplanning-pipeline",1,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle","https:\u002F\u002Fleostruka.github.io\u002Fdevin-bundle\u002F","https:\u002F\u002Fgithub.com\u002FLeostruka","2026-11-15 05:19:58",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Leostruka\u002Fdevin-bundle --skill planning-pipeline",{"tool":41,"command":42},"bunx","bunx skills add Leostruka\u002Fdevin-bundle --skill planning-pipeline",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Leostruka\u002Fdevin-bundle --skill planning-pipeline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-pipeline\u002FSKILL.md",true,[],[50,57,64,71,78,85],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7E0K3MG2XC4FSRV0MK6SFR1","montador-de-ideias","Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening\u002Foptimization, and high-impact contact surfaces.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fmontador-de-ideias\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7E0J7JJWZ8QMK01RZ3B3C9Z","git-github-adaptive-engineering","Use when any task touches git history, GitHub issues\u002FPRs\u002Freleases\u002FCI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit\u002FPR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug\u002Ffinish skills.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fgit-github-adaptive-engineering\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7E0GJFRPFEVQQMXEM58EWDM","adaptive-agenda-calendar-routine-engine","Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions\u002Fgcal\u002Fwrapper.py.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fadaptive-agenda-calendar-routine-engine\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7AE2K9FTY0BVS48N0A9JFKF","demo","Use when demonstrating a skill in a fixture project.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7AE2G3DP38PTV3B1N7MW5TS","duplicate-skill","Use when testing duplicate skill name detection.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":86,"name":80,"nameZh":6,"description":81,"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},"01M7AE2DBR8ZHT6T875MJ392GK","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Falpha\u002FSKILL.md",[],[]]