[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EW7CYG8AN7FV5XJ306DP2T":3,"skill-same:01M7EW7CYG8AN7FV5XJ306DP2T":62},{"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":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":48,"install":49,"resources":61},"01M7EW7CYG8AN7FV5XJ306DP2T","plan",null,"Turns the approved brief into a graph-scoped design, a spec and tracer-bullet tickets with blocking edges, owner roles and pre-agreed test seams in tasks.json, and suggests the lane. Proposes matching Linear issues (written only after an explicit yes). Use when the user says \"plan this\", \"break it down\", \"write a spec\", \"make tickets\", \"design this\", or when a run has an approved 01-brief.md but no 02-design.md.","varun-singhh\u002Flfg","varun-singhh","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F47475007?v=4","01M7EW56BZPRBG0ERQ2335ENA4","Varun Singh","01M7EW56CH2J3RJNQ36E8RX61F",10,"MIT","https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fplan\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: plan\ndescription: >\n  Turns the approved brief into a graph-scoped design, a spec and tracer-bullet tickets\n  with blocking edges, owner roles and pre-agreed test seams in tasks.json, and suggests\n  the lane. Proposes matching Linear issues (written only after an explicit yes). Use when\n  the user says \"plan this\", \"break it down\", \"write a spec\", \"make tickets\", \"design this\",\n  or when a run has an approved 01-brief.md but no 02-design.md.\nauthor: Varun Singh\nphase: plan\nlanes: [standard, full]\nreads: [01-brief.md, GLOSSARY.md, adr\u002F, code-review-graph, graphify, dev-graph]\nwrites: [02-design.md, tasks.json, progress.md]\nauto-trigger: true\npreflight: graphs\nadapted-from: mattpocock\u002Fskills\u002Fto-spec + to-tickets + codebase-design (MIT, © 2026 Matt Pocock)\n---\n\n## Step 0: preflight\n\n1. Run `lfg graphs ensure`. If it exits non-zero, stop and show its output (only `--allow-stale` from the user overrides).\n2. Run `lfg run path` → `RUN`. If there is no run or no `RUN\u002F01-brief.md`, stop and suggest `\u002Fgrill`.\n3. Run `lfg repo docs` → `DOCS`; read `DOCS\u002FGLOSSARY.md` and ADRs touching this area. Use glossary terms everywhere.\n4. Load `lfg rule slice-rules` and `lfg rule module-design`.\n\n## Steps\n\n1. **Scope from the graph, not the repo.** For the brief's nouns: `get_minimal_context_tool` → `get_impact_radius_tool` → `get_architecture_overview_tool` \u002F `get_bridge_nodes_tool` if more than one community is involved → `graphify explain\u002Fpath` for rationale → dev-graph `Principle`\u002F`Invariant`\u002F`Gap`\u002F`Decision` for touched `Component`s. Read only files the graph points to.\n2. **Design** (`module-design`): which modules change, their interfaces, data flow, and where the seams sit. Prefer existing seams and deepening an existing module over new shallow ones. Look for a prefactor that makes the change easy. In Full lane, if an interface shape is genuinely open, sketch 2–3 distinct options and recommend one.\n3. **Test seams.** Pick the highest seam(s) that observe each acceptance criterion; fewest seams wins. Each seam gets one line: what it catches, what it misses. Use existing test prior art (`query_graph_tool` `tests_for`).\n4. **Tickets** (`slice-rules`): tracer-bullet vertical slices, prefactor first, each sized for one fresh context, each with `depends_on`. Wide mechanical refactors use expand → migrate batches → contract. Assign `owner_role` (`software-engineer`, or `ai-engineer` for prompts\u002FRAG\u002Fmodel calls\u002Fevals) and a `parallel_group` (same letter = no edge between them, can run together).\n5. **Lane.** Run `lfg lane --json` and combine it with the radius, communities, new dependencies and touched auth\u002Fcrypto\u002FPII\u002Fpayments\u002Fmigrations\u002Finfra. Suggest the higher lane when in doubt; record reasons. Never lower a lane a human set.\n6. **Write** `RUN\u002F02-design.md` and `RUN\u002Ftasks.json`; update `RUN\u002Fprogress.md` (lane, ticket count, next: `\u002Fbuild`). Mirror tickets to dev-graph with `lfg issue sync-tasks` (one `Issue` per ticket, carrying its description, steps and verification; never hand-write a stub), then add `IssueBlocksIssue` edges for `depends_on`.\n7. **Checkpoint 2:** show a short summary: lane + reasons, components, risks, numbered tickets (title · blocked by · what it delivers · seams). Ask: granularity right? edges right? merge\u002Fsplit any? Iterate until approved.\n8. **Linear (checkpoint 7, only if asked).** Never create Linear issues on your own. Ask once whether the user wants a Linear issue per ticket; only on yes, show one issue per ticket, blockers first, as exact text (title, what to build, acceptance criteria, `file:symbol` refs; no code blocks, secrets or internal hosts), as sub-issues when the run came from a Linear issue, with native blocking relations. Write only after an explicit yes; then store each Linear id on its ticket. Never modify the parent issue.\n\n## Output\n\n`RUN\u002F02-design.md`: Problem · Solution · Components touched (`file:symbol`, community) · Data flow (+ Mermaid) · Interfaces & decisions · Test seams · Risks (Principles\u002FInvariants hit) · Lane + reasons · Out of scope. No code snippets except a decision-rich type\u002Fschema shape.\n\n`RUN\u002Ftasks.json` (global CLAUDE.md schema + LFG fields):\n\n```json\n[{ \"id\": \"csv-001\", \"description\": \"Prefactor: extract exporter interface from PDF export\",\n   \"priority\": 1, \"lane\": \"standard\", \"owner_role\": \"software-engineer\",\n   \"graph_scope\": [\"billing\u002Fexport.PdfExporter\"], \"depends_on\": [], \"parallel_group\": \"A\",\n   \"test_seams\": [{ \"seam\": \"Exporter.export(invoice)\", \"catches\": \"format output\", \"misses\": \"HTTP layer\" }],\n   \"steps\": [\"...\"], \"verification\": \"Given\u002FWhen\u002FThen from 01-brief.md #1 passes at the seam\",\n   \"acceptance\": [1], \"linear_id\": null, \"passes\": false, \"notes\": \"\" }]\n```\n\nEvery acceptance criterion maps to at least one ticket (`acceptance`) and one seam. `passes` always starts `false`.\n\n## Rules\n\n- Synthesize; don't re-interview. Ask only for decisions the brief leaves open.\n- Never weaken or delete existing `tasks.json` entries; append or supersede with a note.\n- No code changes in this stage. Linear writes only after an explicit yes on the exact text.\n","## Step 0: preflight\n\n1. Run `lfg graphs ensure`. If it exits non-zero, stop and show its output (only `--allow-stale` from the user overrides).\n2. Run `lfg run path` → `RUN`. If there is no run or no `RUN\u002F01-brief.md`, stop and suggest `\u002Fgrill`.\n3. Run `lfg repo docs` → `DOCS`; read `DOCS\u002FGLOSSARY.md` and ADRs touching this area. Use glossary terms everywhere.\n4. Load `lfg rule slice-rules` and `lfg rule module-design`.\n\n## Steps\n\n1. **Scope from the graph, not the repo.** For the brief's nouns: `get_minimal_context_tool` → `get_impact_radius_tool` → `get_architecture_overview_tool` \u002F `get_bridge_nodes_tool` if more than one community is involved → `graphify explain\u002Fpath` for rationale → dev-graph `Principle`\u002F`Invariant`\u002F`Gap`\u002F`Decision` for touched `Component`s. Read only files the graph points to.\n2. **Design** (`module-design`): which modules change, their interfaces, data flow, and where the seams sit. Prefer existing seams and deepening an existing module over new shallow ones. Look for a prefactor that makes the change easy. In Full lane, if an interface shape is genuinely open, sketch 2–3 distinct options and recommend one.\n3. **Test seams.** Pick the highest seam(s) that observe each acceptance criterion; fewest seams wins. Each seam gets one line: what it catches, what it misses. Use existing test prior art (`query_graph_tool` `tests_for`).\n4. **Tickets** (`slice-rules`): tracer-bullet vertical slices, prefactor first, each sized for one fresh context, each with `depends_on`. Wide mechanical refactors use expand → migrate batches → contract. Assign `owner_role` (`software-engineer`, or `ai-engineer` for prompts\u002FRAG\u002Fmodel calls\u002Fevals) and a `parallel_group` (same letter = no edge between them, can run together).\n5. **Lane.** Run `lfg lane --json` and combine it with the radius, communities, new dependencies and touched auth\u002Fcrypto\u002FPII\u002Fpayments\u002Fmigrations\u002Finfra. Suggest the higher lane when in doubt; record reasons. Never lower a lane a human set.\n6. **Write** `RUN\u002F02-design.md` and `RUN\u002Ftasks.json`; update `RUN\u002Fprogress.md` (lane, ticket count, next: `\u002Fbuild`). Mirror tickets to dev-graph with `lfg issue sync-tasks` (one `Issue` per ticket, carrying its description, steps and verification; never hand-write a stub), then add `IssueBlocksIssue` edges for `depends_on`.\n7. **Checkpoint 2:** show a short summary: lane + reasons, components, risks, numbered tickets (title · blocked by · what it delivers · seams). Ask: granularity right? edges right? merge\u002Fsplit any? Iterate until approved.\n8. **Linear (checkpoint 7, only if asked).** Never create Linear issues on your own. Ask once whether the user wants a Linear issue per ticket; only on yes, show one issue per ticket, blockers first, as exact text (title, what to build, acceptance criteria, `file:symbol` refs; no code blocks, secrets or internal hosts), as sub-issues when the run came from a Linear issue, with native blocking relations. Write only after an explicit yes; then store each Linear id on its ticket. Never modify the parent issue.\n\n## Output\n\n`RUN\u002F02-design.md`: Problem · Solution · Components touched (`file:symbol`, community) · Data flow (+ Mermaid) · Interfaces & decisions · Test seams · Risks (Principles\u002FInvariants hit) · Lane + reasons · Out of scope. No code snippets except a decision-rich type\u002Fschema shape.\n\n`RUN\u002Ftasks.json` (global CLAUDE.md schema + LFG fields):\n\n```json\n[{ \"id\": \"csv-001\", \"description\": \"Prefactor: extract exporter interface from PDF export\",\n   \"priority\": 1, \"lane\": \"standard\", \"owner_role\": \"software-engineer\",\n   \"graph_scope\": [\"billing\u002Fexport.PdfExporter\"], \"depends_on\": [], \"parallel_group\": \"A\",\n   \"test_seams\": [{ \"seam\": \"Exporter.export(invoice)\", \"catches\": \"format output\", \"misses\": \"HTTP layer\" }],\n   \"steps\": [\"...\"], \"verification\": \"Given\u002FWhen\u002FThen from 01-brief.md #1 passes at the seam\",\n   \"acceptance\": [1], \"linear_id\": null, \"passes\": false, \"notes\": \"\" }]\n```\n\nEvery acceptance criterion maps to at least one ticket (`acceptance`) and one seam. `passes` always starts `false`.\n\n## Rules\n\n- Synthesize; don't re-interview. Ask only for decisions the brief leaves open.\n- Never weaken or delete existing `tasks.json` entries; append or supersede with a note.\n- No code changes in this stage. Linear writes only after an explicit yes on the exact text.\n",{"name":5,"lanes":24,"phase":5,"reads":27,"author":12,"writes":34,"preflight":38,"description":39,"adapted-from":40,"auto-trigger":41},[25,26],"standard","full",[28,29,30,31,32,33],"01-brief.md","GLOSSARY.md","adr\u002F","code-review-graph","graphify","dev-graph",[35,36,37],"02-design.md","tasks.json","progress.md","graphs","Turns the approved brief into a graph-scoped design, a spec and tracer-bullet tickets with blocking edges, owner roles and pre-agreed test seams in tasks.json, and suggests the lane. Proposes matching Linear issues (written only after an explicit yes). Use when the user says \"plan this\", \"break it down\", \"write a spec\", \"make tickets\", \"design this\", or when a run has an approved 01-brief.md but no 02-design.md.\n","mattpocock\u002Fskills\u002Fto-spec + to-tickets + codebase-design (MIT, © 2026 Matt Pocock)",true,"main","a96f05bb9ac611c9f782ae172978527ae88a0e2a","plugin\u002Fskills\u002Fplan",3,"https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg","https:\u002F\u002Fgithub.com\u002Fvarun-singhh","2026-10-26 09:46:56",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":41},[51,54,57],{"tool":52,"command":53},"npx","npx skills add varun-singhh\u002Flfg --skill plan",{"tool":55,"command":56},"bunx","bunx skills add varun-singhh\u002Flfg --skill plan",{"tool":58,"command":59},"pnpm","pnpm dlx skills add varun-singhh\u002Flfg --skill plan","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fplan\u002FSKILL.md",[],[63,70,77,84,91,98],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7EW8S36ZEV45CNQHPXEYMBQ","wizard","Guided start-to-finish run of the whole pipeline on an idea or a Linear issue. Runs every stage (grill, plan, build, check, secure, pentest, review, ship check, ship packet, learn), explains each one in plain words before and after, and loops failures through \u002Ffix until all 8 gates are green (max 3 loops per gate). Use when the user types \"\u002Fwizard \u003Cidea>\", \"\u002Fwizard LIN-123\", \"\u002Fwizard resume\", \"walk me through everything\", \"do every step and explain it\". Explicit only; never auto-triggered.","https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7EW8N8AK16QK833BM7RPRG1","why","Explains why code looks the way it does: the commits that shaped a file, a function or a few lines, what each one changed and why, and the issues, tickets and pull requests they mention. Use when the user asks \"why is this here?\", \"why was this changed?\", \"who added this and what for?\", \"what's the story behind X?\", or is about to change code they don't understand.","https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7EW8J137JBC7PG1RFGEWE5R","which","Looks at graph status, the current run folder, git status and Linear, then tells you the single next skill to run and why. Use when the user says \"which skill do I use?\", \"what now?\", \"what next?\", \"where was I?\", \"I'm lost\", or starts a session without saying what they want.","https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fwhich\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7EW8F69YN5RZEKXK910Y99W","suggest-tests","Suggest tests you should write based on your code. Uses AST parsing to find functions and suggests tests based on code patterns. Use when writing new code or modifying existing code.","https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fsuggest-tests\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7EW89W1RXBHYWP5KYDWFKT5","spike","Builds a throwaway prototype to answer one design question, in a scratch folder inside the run folder, then deletes it and keeps only the conclusion. Use when the user says \"try a quick prototype\", \"would this approach work?\", \"spike this\", \"let me feel this state model\", \"show me a few UI options\", or when a plan has an open question that a cheap working artifact would settle.","https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fspike\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7EW84HQB6X33R0PGSZCNDDV","ship","Proves the change is shippable and hands it to you: re-runs the green gate, runs the ship check (Docker build, scan, run, smoke test, delete, verify cleanup) and the shipping checklist, then writes COMMIT_MSG.md and PR_BODY.md. Never commits, pushes or deploys. Use when the user says \"ship it\", \"ready for a PR\", \"prep the commit\", \"is it shippable?\".","https:\u002F\u002Fgithub.com\u002Fvarun-singhh\u002Flfg\u002Fblob\u002Fmain\u002Fplugin\u002Fskills\u002Fship\u002FSKILL.md",[],[]]