[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-jetbrains-skillshare-implement-feature":3,"mdc--8jv4kx-key":30,"related-repo-jetbrains-skillshare-implement-feature":2004,"related-org-jetbrains-skillshare-implement-feature":2130},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":19,"repoUrl":20,"updatedAt":21,"license":22,"forks":23,"topics":24,"repo":25,"sourceUrl":28,"mdContent":29},"skillshare-implement-feature","implement features using TDD","Implement a feature from a spec file or description using TDD workflow. Use this skill whenever the user asks to: add a new CLI command, implement a feature from a spec, build new functionality, add a flag, create a new internal package, or write Go code for skillshare. This skill enforces test-first development, proper handler split conventions, oplog instrumentation, and dual-mode (global\u002Fproject) patterns. If the request involves writing Go code and tests, use this skill — even if the user doesn't explicitly say \"implement\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"jetbrains","JetBrains","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fjetbrains.png",[12,16],{"name":13,"slug":14,"type":15},"CLI","cli","tag",{"name":17,"slug":18,"type":15},"Testing","testing",252,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002Fskills","2026-07-13T06:42:25.612316",null,17,[],{"repoUrl":20,"stars":19,"forks":23,"topics":26,"description":27},[],"Curated agent skills collection verified by JetBrains","https:\u002F\u002Fgithub.com\u002FJetBrains\u002Fskills\u002Ftree\u002FHEAD\u002Fimplement-feature","---\nname: skillshare-implement-feature\ndescription: >-\n  Implement a feature from a spec file or description using TDD workflow. Use\n  this skill whenever the user asks to: add a new CLI command, implement a\n  feature from a spec, build new functionality, add a flag, create a new\n  internal package, or write Go code for skillshare. This skill enforces\n  test-first development, proper handler split conventions, oplog\n  instrumentation, and dual-mode (global\u002Fproject) patterns. If the request\n  involves writing Go code and tests, use this skill — even if the user\n  doesn't explicitly say \"implement\".\nargument-hint: \"[spec-file-path | feature description]\"\ntargets: [claude, codex]\nmetadata:\n  short-description: \"Implement features with TDD\"\n  author: Runkids\n  source: https:\u002F\u002Fgithub.com\u002Frunkids\u002Fskillshare\u002Ftree\u002Fmain\u002F.skillshare\u002Fskills\u002Fimplement-feature\n---\n\nImplement a feature following TDD workflow. $ARGUMENTS is a spec file path (e.g., `specs\u002Fmy-feature.md`) or a plain-text feature description.\n\n**Scope**: This skill writes Go code and tests. It does NOT update website docs (use `update-docs` after) or CHANGELOG (use `changelog` after).\n\n## Workflow\n\n### Step 1: Understand Requirements\n\nIf $ARGUMENTS is a file path:\n1. Read the spec file\n2. Extract acceptance criteria and edge cases\n3. Identify affected packages\n\nIf $ARGUMENTS is a description:\n1. Search existing code for related functionality\n2. Identify the right package to extend\n3. Confirm scope with user before proceeding\n\n### Step 2: Identify Affected Files\n\nList all files that will be created or modified:\n\n```bash\n# Typical pattern for a new command\ncmd\u002Fskillshare\u002F\u003Ccommand>.go          # Command handler\ncmd\u002Fskillshare\u002F\u003Ccommand>_project.go  # Project-mode handler (if dual-mode)\ninternal\u002F\u003Cpackage>\u002F\u003Cfeature>.go      # Core logic\ntests\u002Fintegration\u002F\u003Ccommand>_test.go  # Integration test\n```\n\nDisplay the file list and continue. If scope is unclear, ask the user.\n\n### Step 3: Write Failing Tests First (RED)\n\nWrite integration tests using `testutil.Sandbox`:\n\n```go\nfunc TestFeature_BasicCase(t *testing.T) {\n    sb := testutil.NewSandbox(t)\n    defer sb.Cleanup()\n\n    \u002F\u002F Setup\n    sb.CreateSkill(\"test-skill\", map[string]string{\n        \"SKILL.md\": \"---\\nname: test-skill\\n---\\n# Content\",\n    })\n\n    \u002F\u002F Act\n    result := sb.RunCLI(\"command\", \"args...\")\n\n    \u002F\u002F Assert\n    result.AssertSuccess()\n    result.AssertOutputContains(\"expected output\")\n}\n```\n\nVerify tests fail:\n```bash\nmake test-int\n# or run specific test:\ngo test .\u002Ftests\u002Fintegration -run TestFeature_BasicCase\n```\n\n### Step 4: Implement (GREEN)\n\nWrite minimal code to make tests pass:\n\n1. Follow existing patterns in `cmd\u002Fskillshare\u002F` and `internal\u002F`\n2. Use `internal\u002Fui` for terminal output (colors, spinners, boxes)\n3. Add oplog instrumentation for mutating commands:\n   ```go\n   start := time.Now()\n   \u002F\u002F ... do work ...\n   e := oplog.NewEntry(\"command-name\", statusFromErr(err), time.Since(start))\n   oplog.Write(configPath, oplog.OpsFile, e)\n   ```\n4. Register command in `main.go` commands map if new command\n\nVerify tests pass:\n```bash\nmake test-int\n```\n\n### Step 5: Refactor and Verify\n\n1. Clean up code while keeping tests green\n2. Run full quality check:\n   ```bash\n   make check  # fmt-check + lint + test\n   ```\n3. Fix any formatting or lint issues\n\n## Project Patterns Reference\n\nThese patterns appear throughout the codebase. Follow them when implementing new features.\n\n### Handler Split Convention\n\nLarge commands are split by concern rather than kept in a single file. When a command handler grows beyond ~300 lines, split it:\n\n| Suffix | Purpose | Example |\n|--------|---------|---------|\n| `\u003Ccmd>.go` | Flag parsing + mode routing (dispatch) | `install.go` |\n| `_handlers.go` | Core handler logic | `install_handlers.go` |\n| `_render.go` \u002F `_audit_render.go` | Output rendering | `audit_render.go` |\n| `_prompt.go` \u002F `_prompt_tui.go` | Decision\u002Fprompt logic | `install_prompt.go` |\n| `_tui.go` | Full-screen TUI (bubbletea) | `list_tui.go` |\n| `_batch.go` | Batch operation orchestration | `update_batch.go` |\n| `_resolve.go` | Target\u002Fskill resolution | `update_resolve.go` |\n| `_context.go` | Mode-specific context struct | `install_context.go` |\n| `_format.go` | Output formatting helpers | `log_format.go` |\n\n**Principle**: dispatch file does ONLY flag parsing + mode routing. Logic goes in sub-files.\n\n### Dual-Mode Command Pattern\n\nMost commands support both global (`-g`) and project (`-p`) mode:\n\n```go\nfunc handleMyCommand(args []string) error {\n    mode, rest, err := parseModeArgs(args)\n    if err != nil { return err }\n\n    switch mode {\n    case modeProject:\n        return handleMyCommandProject(rest)\n    default:\n        return handleMyCommandGlobal(rest)\n    }\n}\n```\n\nCreate `\u003Ccmd>_project.go` for project-mode handler. Use `parseModeArgs()` from `mode.go`.\n\n### TUI Components (bubbletea)\n\nAll interactive prompts use **bubbletea** (not survey). Key components:\n\n- `checklist_tui.go` — shared checklist\u002Fradio picker\n- `list_tui.go` — filterable list with detail panel\n- `search_tui.go` — multi-select checkbox list\n\nColor palette: cyan `Color(\"6\")`, gray `Color(\"8\")`, yellow `#D4D93C`.\n\nDispatch order: JSON output → TUI (if TTY + items + !`--no-tui`) → empty check → plain text.\n\n### Web API Endpoint\n\nIf the feature needs a Web UI endpoint, add `internal\u002Fserver\u002Fhandler_\u003Cname>.go`:\n\n```go\nfunc (s *Server) handle\u003CName>(w http.ResponseWriter, r *http.Request) {\n    \u002F\u002F ...\n    writeJSON(w, result)       \u002F\u002F 200 OK with JSON\n    \u002F\u002F writeError(w, 400, msg) \u002F\u002F for errors\n}\n```\n\nRegister in `server.go` route setup. Branch on `s.IsProjectMode()` for mode-specific behavior.\n\n### Oplog Instrumentation\n\nAll mutating commands log to `operations.log` (JSONL):\n\n```go\nstart := time.Now()\n\u002F\u002F ... do work ...\ne := oplog.NewEntry(\"command-name\", statusFromErr(err), time.Since(start))\ne.Args = map[string]any{\"key\": value}\noplog.Write(configPath, oplog.OpsFile, e)\n```\n\nSecurity scans write to `oplog.AuditFile` instead.\n\n### Step 6: E2E Runbook (Major Features Only)\n\nIf the feature meets **any** of these criteria, generate an E2E runbook:\n- New command or subcommand\n- Changes to install\u002Funinstall\u002Fsync flow\n- Security-related (audit, hash verification, rollback)\n- Multi-step user workflow (init → install → sync → verify)\n- Edge cases that integration tests alone can't cover (Docker, network, file permissions)\n\nGenerate `ai_docs\u002Ftests\u002F\u003Cslug>_runbook.md` following the existing convention:\n\n```markdown\n# CLI E2E Runbook: \u003CTitle>\n\n\u003COne-line summary of what this validates.>\n\n**Origin**: \u003Cversion> — \u003Cwhy this runbook exists>\n\n## Scope\n\n- \u003Cbullet list of behaviors being validated>\n\n## Environment\n\nRun inside devcontainer with `ssenv` isolation.\n\n## Steps\n\n### 1. Setup: \u003Cdescription>\n\n\\```bash\n\u003Ccommands>\n\\```\n\n**Expected**: \u003Cwhat should happen>\n\n### 2. \u003CAction>: \u003Cdescription>\n...\n\n## Pass Criteria\n\n- All steps marked PASS\n- \u003Cadditional criteria>\n```\n\nKey conventions:\n- YAML-free, pure Markdown\n- Each step has `bash` block + `Expected` block\n- `ss` = `skillshare`, `~` = ssenv-isolated HOME\n- Runbook can be executed by the `cli-e2e-test` skill\n\nIf the feature does not meet the criteria above, skip this step.\n\n### Step 7: Stage and Report\n\n1. List all created\u002Fmodified files\n2. Confirm each acceptance criterion is met with test evidence\n3. Remind user to run `update-docs` if the feature affects CLI flags or user-visible behavior\n\n## Rules\n\n- **Test-first** — always write failing test before implementation\n- **Minimal code** — only write what's needed to pass tests\n- **Follow patterns** — match existing code style in each package\n- **3-strike rule** — if a test fails 3 times after fixes, stop and report what's blocking\n- **No docs** — this skill writes code only; use `update-docs` for documentation\n- **No changelog** — use `changelog` skill for release notes\n- **Spec ambiguity** — ask the user rather than guessing\n",{"data":31,"body":40},{"name":4,"description":6,"argument-hint":32,"targets":33,"metadata":36},"[spec-file-path | feature description]",[34,35],"claude","codex",{"short-description":37,"author":38,"source":39},"Implement features with TDD","Runkids","https:\u002F\u002Fgithub.com\u002Frunkids\u002Fskillshare\u002Ftree\u002Fmain\u002F.skillshare\u002Fskills\u002Fimplement-feature",{"type":41,"children":42},"root",[43,60,87,94,101,106,126,131,149,155,160,260,265,271,284,431,436,492,498,503,593,598,616,622,664,670,675,681,686,968,978,984,1005,1098,1127,1133,1145,1181,1209,1222,1228,1240,1291,1312,1318,1331,1374,1387,1393,1405,1433,1446,1797,1802,1869,1874,1880,1905,1911,1998],{"type":44,"tag":45,"props":46,"children":47},"element","p",{},[48,51,58],{"type":49,"value":50},"text","Implement a feature following TDD workflow. $ARGUMENTS is a spec file path (e.g., ",{"type":44,"tag":52,"props":53,"children":55},"code",{"className":54},[],[56],{"type":49,"value":57},"specs\u002Fmy-feature.md",{"type":49,"value":59},") or a plain-text feature description.",{"type":44,"tag":45,"props":61,"children":62},{},[63,69,71,77,79,85],{"type":44,"tag":64,"props":65,"children":66},"strong",{},[67],{"type":49,"value":68},"Scope",{"type":49,"value":70},": This skill writes Go code and tests. It does NOT update website docs (use ",{"type":44,"tag":52,"props":72,"children":74},{"className":73},[],[75],{"type":49,"value":76},"update-docs",{"type":49,"value":78}," after) or CHANGELOG (use ",{"type":44,"tag":52,"props":80,"children":82},{"className":81},[],[83],{"type":49,"value":84},"changelog",{"type":49,"value":86}," after).",{"type":44,"tag":88,"props":89,"children":91},"h2",{"id":90},"workflow",[92],{"type":49,"value":93},"Workflow",{"type":44,"tag":95,"props":96,"children":98},"h3",{"id":97},"step-1-understand-requirements",[99],{"type":49,"value":100},"Step 1: Understand Requirements",{"type":44,"tag":45,"props":102,"children":103},{},[104],{"type":49,"value":105},"If $ARGUMENTS is a file path:",{"type":44,"tag":107,"props":108,"children":109},"ol",{},[110,116,121],{"type":44,"tag":111,"props":112,"children":113},"li",{},[114],{"type":49,"value":115},"Read the spec file",{"type":44,"tag":111,"props":117,"children":118},{},[119],{"type":49,"value":120},"Extract acceptance criteria and edge cases",{"type":44,"tag":111,"props":122,"children":123},{},[124],{"type":49,"value":125},"Identify affected packages",{"type":44,"tag":45,"props":127,"children":128},{},[129],{"type":49,"value":130},"If $ARGUMENTS is a description:",{"type":44,"tag":107,"props":132,"children":133},{},[134,139,144],{"type":44,"tag":111,"props":135,"children":136},{},[137],{"type":49,"value":138},"Search existing code for related functionality",{"type":44,"tag":111,"props":140,"children":141},{},[142],{"type":49,"value":143},"Identify the right package to extend",{"type":44,"tag":111,"props":145,"children":146},{},[147],{"type":49,"value":148},"Confirm scope with user before proceeding",{"type":44,"tag":95,"props":150,"children":152},{"id":151},"step-2-identify-affected-files",[153],{"type":49,"value":154},"Step 2: Identify Affected Files",{"type":44,"tag":45,"props":156,"children":157},{},[158],{"type":49,"value":159},"List all files that will be created or modified:",{"type":44,"tag":161,"props":162,"children":167},"pre",{"className":163,"code":164,"language":165,"meta":166,"style":166},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Typical pattern for a new command\ncmd\u002Fskillshare\u002F\u003Ccommand>.go          # Command handler\ncmd\u002Fskillshare\u002F\u003Ccommand>_project.go  # Project-mode handler (if dual-mode)\ninternal\u002F\u003Cpackage>\u002F\u003Cfeature>.go      # Core logic\ntests\u002Fintegration\u002F\u003Ccommand>_test.go  # Integration test\n","bash","",[168],{"type":44,"tag":52,"props":169,"children":170},{"__ignoreMap":166},[171,183,204,222,241],{"type":44,"tag":172,"props":173,"children":176},"span",{"class":174,"line":175},"line",1,[177],{"type":44,"tag":172,"props":178,"children":180},{"style":179},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[181],{"type":49,"value":182},"# Typical pattern for a new command\n",{"type":44,"tag":172,"props":184,"children":186},{"class":174,"line":185},2,[187,193,199],{"type":44,"tag":172,"props":188,"children":190},{"style":189},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[191],{"type":49,"value":192},"cmd\u002Fskillshare\u002F",{"type":44,"tag":172,"props":194,"children":196},{"style":195},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[197],{"type":49,"value":198},"\u003Ccommand>.go          ",{"type":44,"tag":172,"props":200,"children":201},{"style":179},[202],{"type":49,"value":203},"# Command handler\n",{"type":44,"tag":172,"props":205,"children":207},{"class":174,"line":206},3,[208,212,217],{"type":44,"tag":172,"props":209,"children":210},{"style":189},[211],{"type":49,"value":192},{"type":44,"tag":172,"props":213,"children":214},{"style":195},[215],{"type":49,"value":216},"\u003Ccommand>_project.go  ",{"type":44,"tag":172,"props":218,"children":219},{"style":179},[220],{"type":49,"value":221},"# Project-mode handler (if dual-mode)\n",{"type":44,"tag":172,"props":223,"children":225},{"class":174,"line":224},4,[226,231,236],{"type":44,"tag":172,"props":227,"children":228},{"style":189},[229],{"type":49,"value":230},"internal\u002F",{"type":44,"tag":172,"props":232,"children":233},{"style":195},[234],{"type":49,"value":235},"\u003Cpackage>\u002F\u003Cfeature>.go      ",{"type":44,"tag":172,"props":237,"children":238},{"style":179},[239],{"type":49,"value":240},"# Core logic\n",{"type":44,"tag":172,"props":242,"children":244},{"class":174,"line":243},5,[245,250,255],{"type":44,"tag":172,"props":246,"children":247},{"style":189},[248],{"type":49,"value":249},"tests\u002Fintegration\u002F",{"type":44,"tag":172,"props":251,"children":252},{"style":195},[253],{"type":49,"value":254},"\u003Ccommand>_test.go  ",{"type":44,"tag":172,"props":256,"children":257},{"style":179},[258],{"type":49,"value":259},"# Integration test\n",{"type":44,"tag":45,"props":261,"children":262},{},[263],{"type":49,"value":264},"Display the file list and continue. If scope is unclear, ask the user.",{"type":44,"tag":95,"props":266,"children":268},{"id":267},"step-3-write-failing-tests-first-red",[269],{"type":49,"value":270},"Step 3: Write Failing Tests First (RED)",{"type":44,"tag":45,"props":272,"children":273},{},[274,276,282],{"type":49,"value":275},"Write integration tests using ",{"type":44,"tag":52,"props":277,"children":279},{"className":278},[],[280],{"type":49,"value":281},"testutil.Sandbox",{"type":49,"value":283},":",{"type":44,"tag":161,"props":285,"children":289},{"className":286,"code":287,"language":288,"meta":166,"style":166},"language-go shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","func TestFeature_BasicCase(t *testing.T) {\n    sb := testutil.NewSandbox(t)\n    defer sb.Cleanup()\n\n    \u002F\u002F Setup\n    sb.CreateSkill(\"test-skill\", map[string]string{\n        \"SKILL.md\": \"---\\nname: test-skill\\n---\\n# Content\",\n    })\n\n    \u002F\u002F Act\n    result := sb.RunCLI(\"command\", \"args...\")\n\n    \u002F\u002F Assert\n    result.AssertSuccess()\n    result.AssertOutputContains(\"expected output\")\n}\n","go",[290],{"type":44,"tag":52,"props":291,"children":292},{"__ignoreMap":166},[293,301,309,317,326,334,343,352,361,369,378,387,395,404,413,422],{"type":44,"tag":172,"props":294,"children":295},{"class":174,"line":175},[296],{"type":44,"tag":172,"props":297,"children":298},{},[299],{"type":49,"value":300},"func TestFeature_BasicCase(t *testing.T) {\n",{"type":44,"tag":172,"props":302,"children":303},{"class":174,"line":185},[304],{"type":44,"tag":172,"props":305,"children":306},{},[307],{"type":49,"value":308},"    sb := testutil.NewSandbox(t)\n",{"type":44,"tag":172,"props":310,"children":311},{"class":174,"line":206},[312],{"type":44,"tag":172,"props":313,"children":314},{},[315],{"type":49,"value":316},"    defer sb.Cleanup()\n",{"type":44,"tag":172,"props":318,"children":319},{"class":174,"line":224},[320],{"type":44,"tag":172,"props":321,"children":323},{"emptyLinePlaceholder":322},true,[324],{"type":49,"value":325},"\n",{"type":44,"tag":172,"props":327,"children":328},{"class":174,"line":243},[329],{"type":44,"tag":172,"props":330,"children":331},{},[332],{"type":49,"value":333},"    \u002F\u002F Setup\n",{"type":44,"tag":172,"props":335,"children":337},{"class":174,"line":336},6,[338],{"type":44,"tag":172,"props":339,"children":340},{},[341],{"type":49,"value":342},"    sb.CreateSkill(\"test-skill\", map[string]string{\n",{"type":44,"tag":172,"props":344,"children":346},{"class":174,"line":345},7,[347],{"type":44,"tag":172,"props":348,"children":349},{},[350],{"type":49,"value":351},"        \"SKILL.md\": \"---\\nname: test-skill\\n---\\n# Content\",\n",{"type":44,"tag":172,"props":353,"children":355},{"class":174,"line":354},8,[356],{"type":44,"tag":172,"props":357,"children":358},{},[359],{"type":49,"value":360},"    })\n",{"type":44,"tag":172,"props":362,"children":364},{"class":174,"line":363},9,[365],{"type":44,"tag":172,"props":366,"children":367},{"emptyLinePlaceholder":322},[368],{"type":49,"value":325},{"type":44,"tag":172,"props":370,"children":372},{"class":174,"line":371},10,[373],{"type":44,"tag":172,"props":374,"children":375},{},[376],{"type":49,"value":377},"    \u002F\u002F Act\n",{"type":44,"tag":172,"props":379,"children":381},{"class":174,"line":380},11,[382],{"type":44,"tag":172,"props":383,"children":384},{},[385],{"type":49,"value":386},"    result := sb.RunCLI(\"command\", \"args...\")\n",{"type":44,"tag":172,"props":388,"children":390},{"class":174,"line":389},12,[391],{"type":44,"tag":172,"props":392,"children":393},{"emptyLinePlaceholder":322},[394],{"type":49,"value":325},{"type":44,"tag":172,"props":396,"children":398},{"class":174,"line":397},13,[399],{"type":44,"tag":172,"props":400,"children":401},{},[402],{"type":49,"value":403},"    \u002F\u002F Assert\n",{"type":44,"tag":172,"props":405,"children":407},{"class":174,"line":406},14,[408],{"type":44,"tag":172,"props":409,"children":410},{},[411],{"type":49,"value":412},"    result.AssertSuccess()\n",{"type":44,"tag":172,"props":414,"children":416},{"class":174,"line":415},15,[417],{"type":44,"tag":172,"props":418,"children":419},{},[420],{"type":49,"value":421},"    result.AssertOutputContains(\"expected output\")\n",{"type":44,"tag":172,"props":423,"children":425},{"class":174,"line":424},16,[426],{"type":44,"tag":172,"props":427,"children":428},{},[429],{"type":49,"value":430},"}\n",{"type":44,"tag":45,"props":432,"children":433},{},[434],{"type":49,"value":435},"Verify tests fail:",{"type":44,"tag":161,"props":437,"children":439},{"className":163,"code":438,"language":165,"meta":166,"style":166},"make test-int\n# or run specific test:\ngo test .\u002Ftests\u002Fintegration -run TestFeature_BasicCase\n",[440],{"type":44,"tag":52,"props":441,"children":442},{"__ignoreMap":166},[443,457,465],{"type":44,"tag":172,"props":444,"children":445},{"class":174,"line":175},[446,451],{"type":44,"tag":172,"props":447,"children":448},{"style":189},[449],{"type":49,"value":450},"make",{"type":44,"tag":172,"props":452,"children":454},{"style":453},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[455],{"type":49,"value":456}," test-int\n",{"type":44,"tag":172,"props":458,"children":459},{"class":174,"line":185},[460],{"type":44,"tag":172,"props":461,"children":462},{"style":179},[463],{"type":49,"value":464},"# or run specific test:\n",{"type":44,"tag":172,"props":466,"children":467},{"class":174,"line":206},[468,472,477,482,487],{"type":44,"tag":172,"props":469,"children":470},{"style":189},[471],{"type":49,"value":288},{"type":44,"tag":172,"props":473,"children":474},{"style":453},[475],{"type":49,"value":476}," test",{"type":44,"tag":172,"props":478,"children":479},{"style":453},[480],{"type":49,"value":481}," .\u002Ftests\u002Fintegration",{"type":44,"tag":172,"props":483,"children":484},{"style":453},[485],{"type":49,"value":486}," -run",{"type":44,"tag":172,"props":488,"children":489},{"style":453},[490],{"type":49,"value":491}," TestFeature_BasicCase\n",{"type":44,"tag":95,"props":493,"children":495},{"id":494},"step-4-implement-green",[496],{"type":49,"value":497},"Step 4: Implement (GREEN)",{"type":44,"tag":45,"props":499,"children":500},{},[501],{"type":49,"value":502},"Write minimal code to make tests pass:",{"type":44,"tag":107,"props":504,"children":505},{},[506,523,536,580],{"type":44,"tag":111,"props":507,"children":508},{},[509,511,516,518],{"type":49,"value":510},"Follow existing patterns in ",{"type":44,"tag":52,"props":512,"children":514},{"className":513},[],[515],{"type":49,"value":192},{"type":49,"value":517}," and ",{"type":44,"tag":52,"props":519,"children":521},{"className":520},[],[522],{"type":49,"value":230},{"type":44,"tag":111,"props":524,"children":525},{},[526,528,534],{"type":49,"value":527},"Use ",{"type":44,"tag":52,"props":529,"children":531},{"className":530},[],[532],{"type":49,"value":533},"internal\u002Fui",{"type":49,"value":535}," for terminal output (colors, spinners, boxes)",{"type":44,"tag":111,"props":537,"children":538},{},[539,541],{"type":49,"value":540},"Add oplog instrumentation for mutating commands:\n",{"type":44,"tag":161,"props":542,"children":544},{"className":286,"code":543,"language":288,"meta":166,"style":166},"start := time.Now()\n\u002F\u002F ... do work ...\ne := oplog.NewEntry(\"command-name\", statusFromErr(err), time.Since(start))\noplog.Write(configPath, oplog.OpsFile, e)\n",[545],{"type":44,"tag":52,"props":546,"children":547},{"__ignoreMap":166},[548,556,564,572],{"type":44,"tag":172,"props":549,"children":550},{"class":174,"line":175},[551],{"type":44,"tag":172,"props":552,"children":553},{},[554],{"type":49,"value":555},"start := time.Now()\n",{"type":44,"tag":172,"props":557,"children":558},{"class":174,"line":185},[559],{"type":44,"tag":172,"props":560,"children":561},{},[562],{"type":49,"value":563},"\u002F\u002F ... do work ...\n",{"type":44,"tag":172,"props":565,"children":566},{"class":174,"line":206},[567],{"type":44,"tag":172,"props":568,"children":569},{},[570],{"type":49,"value":571},"e := oplog.NewEntry(\"command-name\", statusFromErr(err), time.Since(start))\n",{"type":44,"tag":172,"props":573,"children":574},{"class":174,"line":224},[575],{"type":44,"tag":172,"props":576,"children":577},{},[578],{"type":49,"value":579},"oplog.Write(configPath, oplog.OpsFile, e)\n",{"type":44,"tag":111,"props":581,"children":582},{},[583,585,591],{"type":49,"value":584},"Register command in ",{"type":44,"tag":52,"props":586,"children":588},{"className":587},[],[589],{"type":49,"value":590},"main.go",{"type":49,"value":592}," commands map if new command",{"type":44,"tag":45,"props":594,"children":595},{},[596],{"type":49,"value":597},"Verify tests pass:",{"type":44,"tag":161,"props":599,"children":601},{"className":163,"code":600,"language":165,"meta":166,"style":166},"make test-int\n",[602],{"type":44,"tag":52,"props":603,"children":604},{"__ignoreMap":166},[605],{"type":44,"tag":172,"props":606,"children":607},{"class":174,"line":175},[608,612],{"type":44,"tag":172,"props":609,"children":610},{"style":189},[611],{"type":49,"value":450},{"type":44,"tag":172,"props":613,"children":614},{"style":453},[615],{"type":49,"value":456},{"type":44,"tag":95,"props":617,"children":619},{"id":618},"step-5-refactor-and-verify",[620],{"type":49,"value":621},"Step 5: Refactor and Verify",{"type":44,"tag":107,"props":623,"children":624},{},[625,630,659],{"type":44,"tag":111,"props":626,"children":627},{},[628],{"type":49,"value":629},"Clean up code while keeping tests green",{"type":44,"tag":111,"props":631,"children":632},{},[633,635],{"type":49,"value":634},"Run full quality check:\n",{"type":44,"tag":161,"props":636,"children":638},{"className":163,"code":637,"language":165,"meta":166,"style":166},"make check  # fmt-check + lint + test\n",[639],{"type":44,"tag":52,"props":640,"children":641},{"__ignoreMap":166},[642],{"type":44,"tag":172,"props":643,"children":644},{"class":174,"line":175},[645,649,654],{"type":44,"tag":172,"props":646,"children":647},{"style":189},[648],{"type":49,"value":450},{"type":44,"tag":172,"props":650,"children":651},{"style":453},[652],{"type":49,"value":653}," check",{"type":44,"tag":172,"props":655,"children":656},{"style":179},[657],{"type":49,"value":658},"  # fmt-check + lint + test\n",{"type":44,"tag":111,"props":660,"children":661},{},[662],{"type":49,"value":663},"Fix any formatting or lint issues",{"type":44,"tag":88,"props":665,"children":667},{"id":666},"project-patterns-reference",[668],{"type":49,"value":669},"Project Patterns Reference",{"type":44,"tag":45,"props":671,"children":672},{},[673],{"type":49,"value":674},"These patterns appear throughout the codebase. Follow them when implementing new features.",{"type":44,"tag":95,"props":676,"children":678},{"id":677},"handler-split-convention",[679],{"type":49,"value":680},"Handler Split Convention",{"type":44,"tag":45,"props":682,"children":683},{},[684],{"type":49,"value":685},"Large commands are split by concern rather than kept in a single file. When a command handler grows beyond ~300 lines, split it:",{"type":44,"tag":687,"props":688,"children":689},"table",{},[690,714],{"type":44,"tag":691,"props":692,"children":693},"thead",{},[694],{"type":44,"tag":695,"props":696,"children":697},"tr",{},[698,704,709],{"type":44,"tag":699,"props":700,"children":701},"th",{},[702],{"type":49,"value":703},"Suffix",{"type":44,"tag":699,"props":705,"children":706},{},[707],{"type":49,"value":708},"Purpose",{"type":44,"tag":699,"props":710,"children":711},{},[712],{"type":49,"value":713},"Example",{"type":44,"tag":715,"props":716,"children":717},"tbody",{},[718,745,771,805,838,864,890,916,942],{"type":44,"tag":695,"props":719,"children":720},{},[721,731,736],{"type":44,"tag":722,"props":723,"children":724},"td",{},[725],{"type":44,"tag":52,"props":726,"children":728},{"className":727},[],[729],{"type":49,"value":730},"\u003Ccmd>.go",{"type":44,"tag":722,"props":732,"children":733},{},[734],{"type":49,"value":735},"Flag parsing + mode routing (dispatch)",{"type":44,"tag":722,"props":737,"children":738},{},[739],{"type":44,"tag":52,"props":740,"children":742},{"className":741},[],[743],{"type":49,"value":744},"install.go",{"type":44,"tag":695,"props":746,"children":747},{},[748,757,762],{"type":44,"tag":722,"props":749,"children":750},{},[751],{"type":44,"tag":52,"props":752,"children":754},{"className":753},[],[755],{"type":49,"value":756},"_handlers.go",{"type":44,"tag":722,"props":758,"children":759},{},[760],{"type":49,"value":761},"Core handler logic",{"type":44,"tag":722,"props":763,"children":764},{},[765],{"type":44,"tag":52,"props":766,"children":768},{"className":767},[],[769],{"type":49,"value":770},"install_handlers.go",{"type":44,"tag":695,"props":772,"children":773},{},[774,791,796],{"type":44,"tag":722,"props":775,"children":776},{},[777,783,785],{"type":44,"tag":52,"props":778,"children":780},{"className":779},[],[781],{"type":49,"value":782},"_render.go",{"type":49,"value":784}," \u002F ",{"type":44,"tag":52,"props":786,"children":788},{"className":787},[],[789],{"type":49,"value":790},"_audit_render.go",{"type":44,"tag":722,"props":792,"children":793},{},[794],{"type":49,"value":795},"Output rendering",{"type":44,"tag":722,"props":797,"children":798},{},[799],{"type":44,"tag":52,"props":800,"children":802},{"className":801},[],[803],{"type":49,"value":804},"audit_render.go",{"type":44,"tag":695,"props":806,"children":807},{},[808,824,829],{"type":44,"tag":722,"props":809,"children":810},{},[811,817,818],{"type":44,"tag":52,"props":812,"children":814},{"className":813},[],[815],{"type":49,"value":816},"_prompt.go",{"type":49,"value":784},{"type":44,"tag":52,"props":819,"children":821},{"className":820},[],[822],{"type":49,"value":823},"_prompt_tui.go",{"type":44,"tag":722,"props":825,"children":826},{},[827],{"type":49,"value":828},"Decision\u002Fprompt logic",{"type":44,"tag":722,"props":830,"children":831},{},[832],{"type":44,"tag":52,"props":833,"children":835},{"className":834},[],[836],{"type":49,"value":837},"install_prompt.go",{"type":44,"tag":695,"props":839,"children":840},{},[841,850,855],{"type":44,"tag":722,"props":842,"children":843},{},[844],{"type":44,"tag":52,"props":845,"children":847},{"className":846},[],[848],{"type":49,"value":849},"_tui.go",{"type":44,"tag":722,"props":851,"children":852},{},[853],{"type":49,"value":854},"Full-screen TUI (bubbletea)",{"type":44,"tag":722,"props":856,"children":857},{},[858],{"type":44,"tag":52,"props":859,"children":861},{"className":860},[],[862],{"type":49,"value":863},"list_tui.go",{"type":44,"tag":695,"props":865,"children":866},{},[867,876,881],{"type":44,"tag":722,"props":868,"children":869},{},[870],{"type":44,"tag":52,"props":871,"children":873},{"className":872},[],[874],{"type":49,"value":875},"_batch.go",{"type":44,"tag":722,"props":877,"children":878},{},[879],{"type":49,"value":880},"Batch operation orchestration",{"type":44,"tag":722,"props":882,"children":883},{},[884],{"type":44,"tag":52,"props":885,"children":887},{"className":886},[],[888],{"type":49,"value":889},"update_batch.go",{"type":44,"tag":695,"props":891,"children":892},{},[893,902,907],{"type":44,"tag":722,"props":894,"children":895},{},[896],{"type":44,"tag":52,"props":897,"children":899},{"className":898},[],[900],{"type":49,"value":901},"_resolve.go",{"type":44,"tag":722,"props":903,"children":904},{},[905],{"type":49,"value":906},"Target\u002Fskill resolution",{"type":44,"tag":722,"props":908,"children":909},{},[910],{"type":44,"tag":52,"props":911,"children":913},{"className":912},[],[914],{"type":49,"value":915},"update_resolve.go",{"type":44,"tag":695,"props":917,"children":918},{},[919,928,933],{"type":44,"tag":722,"props":920,"children":921},{},[922],{"type":44,"tag":52,"props":923,"children":925},{"className":924},[],[926],{"type":49,"value":927},"_context.go",{"type":44,"tag":722,"props":929,"children":930},{},[931],{"type":49,"value":932},"Mode-specific context struct",{"type":44,"tag":722,"props":934,"children":935},{},[936],{"type":44,"tag":52,"props":937,"children":939},{"className":938},[],[940],{"type":49,"value":941},"install_context.go",{"type":44,"tag":695,"props":943,"children":944},{},[945,954,959],{"type":44,"tag":722,"props":946,"children":947},{},[948],{"type":44,"tag":52,"props":949,"children":951},{"className":950},[],[952],{"type":49,"value":953},"_format.go",{"type":44,"tag":722,"props":955,"children":956},{},[957],{"type":49,"value":958},"Output formatting helpers",{"type":44,"tag":722,"props":960,"children":961},{},[962],{"type":44,"tag":52,"props":963,"children":965},{"className":964},[],[966],{"type":49,"value":967},"log_format.go",{"type":44,"tag":45,"props":969,"children":970},{},[971,976],{"type":44,"tag":64,"props":972,"children":973},{},[974],{"type":49,"value":975},"Principle",{"type":49,"value":977},": dispatch file does ONLY flag parsing + mode routing. Logic goes in sub-files.",{"type":44,"tag":95,"props":979,"children":981},{"id":980},"dual-mode-command-pattern",[982],{"type":49,"value":983},"Dual-Mode Command Pattern",{"type":44,"tag":45,"props":985,"children":986},{},[987,989,995,997,1003],{"type":49,"value":988},"Most commands support both global (",{"type":44,"tag":52,"props":990,"children":992},{"className":991},[],[993],{"type":49,"value":994},"-g",{"type":49,"value":996},") and project (",{"type":44,"tag":52,"props":998,"children":1000},{"className":999},[],[1001],{"type":49,"value":1002},"-p",{"type":49,"value":1004},") mode:",{"type":44,"tag":161,"props":1006,"children":1008},{"className":286,"code":1007,"language":288,"meta":166,"style":166},"func handleMyCommand(args []string) error {\n    mode, rest, err := parseModeArgs(args)\n    if err != nil { return err }\n\n    switch mode {\n    case modeProject:\n        return handleMyCommandProject(rest)\n    default:\n        return handleMyCommandGlobal(rest)\n    }\n}\n",[1009],{"type":44,"tag":52,"props":1010,"children":1011},{"__ignoreMap":166},[1012,1020,1028,1036,1043,1051,1059,1067,1075,1083,1091],{"type":44,"tag":172,"props":1013,"children":1014},{"class":174,"line":175},[1015],{"type":44,"tag":172,"props":1016,"children":1017},{},[1018],{"type":49,"value":1019},"func handleMyCommand(args []string) error {\n",{"type":44,"tag":172,"props":1021,"children":1022},{"class":174,"line":185},[1023],{"type":44,"tag":172,"props":1024,"children":1025},{},[1026],{"type":49,"value":1027},"    mode, rest, err := parseModeArgs(args)\n",{"type":44,"tag":172,"props":1029,"children":1030},{"class":174,"line":206},[1031],{"type":44,"tag":172,"props":1032,"children":1033},{},[1034],{"type":49,"value":1035},"    if err != nil { return err }\n",{"type":44,"tag":172,"props":1037,"children":1038},{"class":174,"line":224},[1039],{"type":44,"tag":172,"props":1040,"children":1041},{"emptyLinePlaceholder":322},[1042],{"type":49,"value":325},{"type":44,"tag":172,"props":1044,"children":1045},{"class":174,"line":243},[1046],{"type":44,"tag":172,"props":1047,"children":1048},{},[1049],{"type":49,"value":1050},"    switch mode {\n",{"type":44,"tag":172,"props":1052,"children":1053},{"class":174,"line":336},[1054],{"type":44,"tag":172,"props":1055,"children":1056},{},[1057],{"type":49,"value":1058},"    case modeProject:\n",{"type":44,"tag":172,"props":1060,"children":1061},{"class":174,"line":345},[1062],{"type":44,"tag":172,"props":1063,"children":1064},{},[1065],{"type":49,"value":1066},"        return handleMyCommandProject(rest)\n",{"type":44,"tag":172,"props":1068,"children":1069},{"class":174,"line":354},[1070],{"type":44,"tag":172,"props":1071,"children":1072},{},[1073],{"type":49,"value":1074},"    default:\n",{"type":44,"tag":172,"props":1076,"children":1077},{"class":174,"line":363},[1078],{"type":44,"tag":172,"props":1079,"children":1080},{},[1081],{"type":49,"value":1082},"        return handleMyCommandGlobal(rest)\n",{"type":44,"tag":172,"props":1084,"children":1085},{"class":174,"line":371},[1086],{"type":44,"tag":172,"props":1087,"children":1088},{},[1089],{"type":49,"value":1090},"    }\n",{"type":44,"tag":172,"props":1092,"children":1093},{"class":174,"line":380},[1094],{"type":44,"tag":172,"props":1095,"children":1096},{},[1097],{"type":49,"value":430},{"type":44,"tag":45,"props":1099,"children":1100},{},[1101,1103,1109,1111,1117,1119,1125],{"type":49,"value":1102},"Create ",{"type":44,"tag":52,"props":1104,"children":1106},{"className":1105},[],[1107],{"type":49,"value":1108},"\u003Ccmd>_project.go",{"type":49,"value":1110}," for project-mode handler. Use ",{"type":44,"tag":52,"props":1112,"children":1114},{"className":1113},[],[1115],{"type":49,"value":1116},"parseModeArgs()",{"type":49,"value":1118}," from ",{"type":44,"tag":52,"props":1120,"children":1122},{"className":1121},[],[1123],{"type":49,"value":1124},"mode.go",{"type":49,"value":1126},".",{"type":44,"tag":95,"props":1128,"children":1130},{"id":1129},"tui-components-bubbletea",[1131],{"type":49,"value":1132},"TUI Components (bubbletea)",{"type":44,"tag":45,"props":1134,"children":1135},{},[1136,1138,1143],{"type":49,"value":1137},"All interactive prompts use ",{"type":44,"tag":64,"props":1139,"children":1140},{},[1141],{"type":49,"value":1142},"bubbletea",{"type":49,"value":1144}," (not survey). Key components:",{"type":44,"tag":1146,"props":1147,"children":1148},"ul",{},[1149,1160,1170],{"type":44,"tag":111,"props":1150,"children":1151},{},[1152,1158],{"type":44,"tag":52,"props":1153,"children":1155},{"className":1154},[],[1156],{"type":49,"value":1157},"checklist_tui.go",{"type":49,"value":1159}," — shared checklist\u002Fradio picker",{"type":44,"tag":111,"props":1161,"children":1162},{},[1163,1168],{"type":44,"tag":52,"props":1164,"children":1166},{"className":1165},[],[1167],{"type":49,"value":863},{"type":49,"value":1169}," — filterable list with detail panel",{"type":44,"tag":111,"props":1171,"children":1172},{},[1173,1179],{"type":44,"tag":52,"props":1174,"children":1176},{"className":1175},[],[1177],{"type":49,"value":1178},"search_tui.go",{"type":49,"value":1180}," — multi-select checkbox list",{"type":44,"tag":45,"props":1182,"children":1183},{},[1184,1186,1192,1194,1200,1202,1208],{"type":49,"value":1185},"Color palette: cyan ",{"type":44,"tag":52,"props":1187,"children":1189},{"className":1188},[],[1190],{"type":49,"value":1191},"Color(\"6\")",{"type":49,"value":1193},", gray ",{"type":44,"tag":52,"props":1195,"children":1197},{"className":1196},[],[1198],{"type":49,"value":1199},"Color(\"8\")",{"type":49,"value":1201},", yellow ",{"type":44,"tag":52,"props":1203,"children":1205},{"className":1204},[],[1206],{"type":49,"value":1207},"#D4D93C",{"type":49,"value":1126},{"type":44,"tag":45,"props":1210,"children":1211},{},[1212,1214,1220],{"type":49,"value":1213},"Dispatch order: JSON output → TUI (if TTY + items + !",{"type":44,"tag":52,"props":1215,"children":1217},{"className":1216},[],[1218],{"type":49,"value":1219},"--no-tui",{"type":49,"value":1221},") → empty check → plain text.",{"type":44,"tag":95,"props":1223,"children":1225},{"id":1224},"web-api-endpoint",[1226],{"type":49,"value":1227},"Web API Endpoint",{"type":44,"tag":45,"props":1229,"children":1230},{},[1231,1233,1239],{"type":49,"value":1232},"If the feature needs a Web UI endpoint, add ",{"type":44,"tag":52,"props":1234,"children":1236},{"className":1235},[],[1237],{"type":49,"value":1238},"internal\u002Fserver\u002Fhandler_\u003Cname>.go",{"type":49,"value":283},{"type":44,"tag":161,"props":1241,"children":1243},{"className":286,"code":1242,"language":288,"meta":166,"style":166},"func (s *Server) handle\u003CName>(w http.ResponseWriter, r *http.Request) {\n    \u002F\u002F ...\n    writeJSON(w, result)       \u002F\u002F 200 OK with JSON\n    \u002F\u002F writeError(w, 400, msg) \u002F\u002F for errors\n}\n",[1244],{"type":44,"tag":52,"props":1245,"children":1246},{"__ignoreMap":166},[1247,1255,1263,1271,1284],{"type":44,"tag":172,"props":1248,"children":1249},{"class":174,"line":175},[1250],{"type":44,"tag":172,"props":1251,"children":1252},{},[1253],{"type":49,"value":1254},"func (s *Server) handle\u003CName>(w http.ResponseWriter, r *http.Request) {\n",{"type":44,"tag":172,"props":1256,"children":1257},{"class":174,"line":185},[1258],{"type":44,"tag":172,"props":1259,"children":1260},{},[1261],{"type":49,"value":1262},"    \u002F\u002F ...\n",{"type":44,"tag":172,"props":1264,"children":1265},{"class":174,"line":206},[1266],{"type":44,"tag":172,"props":1267,"children":1268},{},[1269],{"type":49,"value":1270},"    writeJSON(w, result)       \u002F\u002F 200 OK with JSON\n",{"type":44,"tag":172,"props":1272,"children":1273},{"class":174,"line":224},[1274,1279],{"type":44,"tag":172,"props":1275,"children":1276},{},[1277],{"type":49,"value":1278},"    \u002F\u002F writeError(w, 400, msg)",{"type":44,"tag":172,"props":1280,"children":1281},{},[1282],{"type":49,"value":1283}," \u002F\u002F for errors\n",{"type":44,"tag":172,"props":1285,"children":1286},{"class":174,"line":243},[1287],{"type":44,"tag":172,"props":1288,"children":1289},{},[1290],{"type":49,"value":430},{"type":44,"tag":45,"props":1292,"children":1293},{},[1294,1296,1302,1304,1310],{"type":49,"value":1295},"Register in ",{"type":44,"tag":52,"props":1297,"children":1299},{"className":1298},[],[1300],{"type":49,"value":1301},"server.go",{"type":49,"value":1303}," route setup. Branch on ",{"type":44,"tag":52,"props":1305,"children":1307},{"className":1306},[],[1308],{"type":49,"value":1309},"s.IsProjectMode()",{"type":49,"value":1311}," for mode-specific behavior.",{"type":44,"tag":95,"props":1313,"children":1315},{"id":1314},"oplog-instrumentation",[1316],{"type":49,"value":1317},"Oplog Instrumentation",{"type":44,"tag":45,"props":1319,"children":1320},{},[1321,1323,1329],{"type":49,"value":1322},"All mutating commands log to ",{"type":44,"tag":52,"props":1324,"children":1326},{"className":1325},[],[1327],{"type":49,"value":1328},"operations.log",{"type":49,"value":1330}," (JSONL):",{"type":44,"tag":161,"props":1332,"children":1334},{"className":286,"code":1333,"language":288,"meta":166,"style":166},"start := time.Now()\n\u002F\u002F ... do work ...\ne := oplog.NewEntry(\"command-name\", statusFromErr(err), time.Since(start))\ne.Args = map[string]any{\"key\": value}\noplog.Write(configPath, oplog.OpsFile, e)\n",[1335],{"type":44,"tag":52,"props":1336,"children":1337},{"__ignoreMap":166},[1338,1345,1352,1359,1367],{"type":44,"tag":172,"props":1339,"children":1340},{"class":174,"line":175},[1341],{"type":44,"tag":172,"props":1342,"children":1343},{},[1344],{"type":49,"value":555},{"type":44,"tag":172,"props":1346,"children":1347},{"class":174,"line":185},[1348],{"type":44,"tag":172,"props":1349,"children":1350},{},[1351],{"type":49,"value":563},{"type":44,"tag":172,"props":1353,"children":1354},{"class":174,"line":206},[1355],{"type":44,"tag":172,"props":1356,"children":1357},{},[1358],{"type":49,"value":571},{"type":44,"tag":172,"props":1360,"children":1361},{"class":174,"line":224},[1362],{"type":44,"tag":172,"props":1363,"children":1364},{},[1365],{"type":49,"value":1366},"e.Args = map[string]any{\"key\": value}\n",{"type":44,"tag":172,"props":1368,"children":1369},{"class":174,"line":243},[1370],{"type":44,"tag":172,"props":1371,"children":1372},{},[1373],{"type":49,"value":579},{"type":44,"tag":45,"props":1375,"children":1376},{},[1377,1379,1385],{"type":49,"value":1378},"Security scans write to ",{"type":44,"tag":52,"props":1380,"children":1382},{"className":1381},[],[1383],{"type":49,"value":1384},"oplog.AuditFile",{"type":49,"value":1386}," instead.",{"type":44,"tag":95,"props":1388,"children":1390},{"id":1389},"step-6-e2e-runbook-major-features-only",[1391],{"type":49,"value":1392},"Step 6: E2E Runbook (Major Features Only)",{"type":44,"tag":45,"props":1394,"children":1395},{},[1396,1398,1403],{"type":49,"value":1397},"If the feature meets ",{"type":44,"tag":64,"props":1399,"children":1400},{},[1401],{"type":49,"value":1402},"any",{"type":49,"value":1404}," of these criteria, generate an E2E runbook:",{"type":44,"tag":1146,"props":1406,"children":1407},{},[1408,1413,1418,1423,1428],{"type":44,"tag":111,"props":1409,"children":1410},{},[1411],{"type":49,"value":1412},"New command or subcommand",{"type":44,"tag":111,"props":1414,"children":1415},{},[1416],{"type":49,"value":1417},"Changes to install\u002Funinstall\u002Fsync flow",{"type":44,"tag":111,"props":1419,"children":1420},{},[1421],{"type":49,"value":1422},"Security-related (audit, hash verification, rollback)",{"type":44,"tag":111,"props":1424,"children":1425},{},[1426],{"type":49,"value":1427},"Multi-step user workflow (init → install → sync → verify)",{"type":44,"tag":111,"props":1429,"children":1430},{},[1431],{"type":49,"value":1432},"Edge cases that integration tests alone can't cover (Docker, network, file permissions)",{"type":44,"tag":45,"props":1434,"children":1435},{},[1436,1438,1444],{"type":49,"value":1437},"Generate ",{"type":44,"tag":52,"props":1439,"children":1441},{"className":1440},[],[1442],{"type":49,"value":1443},"ai_docs\u002Ftests\u002F\u003Cslug>_runbook.md",{"type":49,"value":1445}," following the existing convention:",{"type":44,"tag":161,"props":1447,"children":1451},{"className":1448,"code":1449,"language":1450,"meta":166,"style":166},"language-markdown shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# CLI E2E Runbook: \u003CTitle>\n\n\u003COne-line summary of what this validates.>\n\n**Origin**: \u003Cversion> — \u003Cwhy this runbook exists>\n\n## Scope\n\n- \u003Cbullet list of behaviors being validated>\n\n## Environment\n\nRun inside devcontainer with `ssenv` isolation.\n\n## Steps\n\n### 1. Setup: \u003Cdescription>\n\n\\```bash\n\u003Ccommands>\n\\```\n\n**Expected**: \u003Cwhat should happen>\n\n### 2. \u003CAction>: \u003Cdescription>\n...\n\n## Pass Criteria\n\n- All steps marked PASS\n- \u003Cadditional criteria>\n","markdown",[1452],{"type":44,"tag":52,"props":1453,"children":1454},{"__ignoreMap":166},[1455,1469,1476,1484,1491,1515,1522,1535,1542,1555,1562,1574,1581,1608,1615,1627,1634,1647,1655,1664,1673,1682,1690,1712,1720,1733,1742,1750,1763,1771,1784],{"type":44,"tag":172,"props":1456,"children":1457},{"class":174,"line":175},[1458,1464],{"type":44,"tag":172,"props":1459,"children":1461},{"style":1460},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[1462],{"type":49,"value":1463},"# ",{"type":44,"tag":172,"props":1465,"children":1466},{"style":189},[1467],{"type":49,"value":1468},"CLI E2E Runbook: \u003CTitle>\n",{"type":44,"tag":172,"props":1470,"children":1471},{"class":174,"line":185},[1472],{"type":44,"tag":172,"props":1473,"children":1474},{"emptyLinePlaceholder":322},[1475],{"type":49,"value":325},{"type":44,"tag":172,"props":1477,"children":1478},{"class":174,"line":206},[1479],{"type":44,"tag":172,"props":1480,"children":1481},{"style":195},[1482],{"type":49,"value":1483},"\u003COne-line summary of what this validates.>\n",{"type":44,"tag":172,"props":1485,"children":1486},{"class":174,"line":224},[1487],{"type":44,"tag":172,"props":1488,"children":1489},{"emptyLinePlaceholder":322},[1490],{"type":49,"value":325},{"type":44,"tag":172,"props":1492,"children":1493},{"class":174,"line":243},[1494,1500,1506,1510],{"type":44,"tag":172,"props":1495,"children":1497},{"style":1496},"--shiki-light:#39ADB5;--shiki-light-font-weight:bold;--shiki-default:#89DDFF;--shiki-default-font-weight:bold;--shiki-dark:#89DDFF;--shiki-dark-font-weight:bold",[1498],{"type":49,"value":1499},"**",{"type":44,"tag":172,"props":1501,"children":1503},{"style":1502},"--shiki-light:#E53935;--shiki-light-font-weight:bold;--shiki-default:#F07178;--shiki-default-font-weight:bold;--shiki-dark:#F07178;--shiki-dark-font-weight:bold",[1504],{"type":49,"value":1505},"Origin",{"type":44,"tag":172,"props":1507,"children":1508},{"style":1496},[1509],{"type":49,"value":1499},{"type":44,"tag":172,"props":1511,"children":1512},{"style":195},[1513],{"type":49,"value":1514},": \u003Cversion> — \u003Cwhy this runbook exists>\n",{"type":44,"tag":172,"props":1516,"children":1517},{"class":174,"line":336},[1518],{"type":44,"tag":172,"props":1519,"children":1520},{"emptyLinePlaceholder":322},[1521],{"type":49,"value":325},{"type":44,"tag":172,"props":1523,"children":1524},{"class":174,"line":345},[1525,1530],{"type":44,"tag":172,"props":1526,"children":1527},{"style":1460},[1528],{"type":49,"value":1529},"## ",{"type":44,"tag":172,"props":1531,"children":1532},{"style":189},[1533],{"type":49,"value":1534},"Scope\n",{"type":44,"tag":172,"props":1536,"children":1537},{"class":174,"line":354},[1538],{"type":44,"tag":172,"props":1539,"children":1540},{"emptyLinePlaceholder":322},[1541],{"type":49,"value":325},{"type":44,"tag":172,"props":1543,"children":1544},{"class":174,"line":363},[1545,1550],{"type":44,"tag":172,"props":1546,"children":1547},{"style":1460},[1548],{"type":49,"value":1549},"-",{"type":44,"tag":172,"props":1551,"children":1552},{"style":195},[1553],{"type":49,"value":1554}," \u003Cbullet list of behaviors being validated>\n",{"type":44,"tag":172,"props":1556,"children":1557},{"class":174,"line":371},[1558],{"type":44,"tag":172,"props":1559,"children":1560},{"emptyLinePlaceholder":322},[1561],{"type":49,"value":325},{"type":44,"tag":172,"props":1563,"children":1564},{"class":174,"line":380},[1565,1569],{"type":44,"tag":172,"props":1566,"children":1567},{"style":1460},[1568],{"type":49,"value":1529},{"type":44,"tag":172,"props":1570,"children":1571},{"style":189},[1572],{"type":49,"value":1573},"Environment\n",{"type":44,"tag":172,"props":1575,"children":1576},{"class":174,"line":389},[1577],{"type":44,"tag":172,"props":1578,"children":1579},{"emptyLinePlaceholder":322},[1580],{"type":49,"value":325},{"type":44,"tag":172,"props":1582,"children":1583},{"class":174,"line":397},[1584,1589,1594,1599,1603],{"type":44,"tag":172,"props":1585,"children":1586},{"style":195},[1587],{"type":49,"value":1588},"Run inside devcontainer with ",{"type":44,"tag":172,"props":1590,"children":1591},{"style":1460},[1592],{"type":49,"value":1593},"`",{"type":44,"tag":172,"props":1595,"children":1596},{"style":453},[1597],{"type":49,"value":1598},"ssenv",{"type":44,"tag":172,"props":1600,"children":1601},{"style":1460},[1602],{"type":49,"value":1593},{"type":44,"tag":172,"props":1604,"children":1605},{"style":195},[1606],{"type":49,"value":1607}," isolation.\n",{"type":44,"tag":172,"props":1609,"children":1610},{"class":174,"line":406},[1611],{"type":44,"tag":172,"props":1612,"children":1613},{"emptyLinePlaceholder":322},[1614],{"type":49,"value":325},{"type":44,"tag":172,"props":1616,"children":1617},{"class":174,"line":415},[1618,1622],{"type":44,"tag":172,"props":1619,"children":1620},{"style":1460},[1621],{"type":49,"value":1529},{"type":44,"tag":172,"props":1623,"children":1624},{"style":189},[1625],{"type":49,"value":1626},"Steps\n",{"type":44,"tag":172,"props":1628,"children":1629},{"class":174,"line":424},[1630],{"type":44,"tag":172,"props":1631,"children":1632},{"emptyLinePlaceholder":322},[1633],{"type":49,"value":325},{"type":44,"tag":172,"props":1635,"children":1636},{"class":174,"line":23},[1637,1642],{"type":44,"tag":172,"props":1638,"children":1639},{"style":1460},[1640],{"type":49,"value":1641},"### ",{"type":44,"tag":172,"props":1643,"children":1644},{"style":189},[1645],{"type":49,"value":1646},"1. Setup: \u003Cdescription>\n",{"type":44,"tag":172,"props":1648,"children":1650},{"class":174,"line":1649},18,[1651],{"type":44,"tag":172,"props":1652,"children":1653},{"emptyLinePlaceholder":322},[1654],{"type":49,"value":325},{"type":44,"tag":172,"props":1656,"children":1658},{"class":174,"line":1657},19,[1659],{"type":44,"tag":172,"props":1660,"children":1661},{"style":195},[1662],{"type":49,"value":1663},"\\```bash\n",{"type":44,"tag":172,"props":1665,"children":1667},{"class":174,"line":1666},20,[1668],{"type":44,"tag":172,"props":1669,"children":1670},{"style":195},[1671],{"type":49,"value":1672},"\u003Ccommands>\n",{"type":44,"tag":172,"props":1674,"children":1676},{"class":174,"line":1675},21,[1677],{"type":44,"tag":172,"props":1678,"children":1679},{"style":195},[1680],{"type":49,"value":1681},"\\```\n",{"type":44,"tag":172,"props":1683,"children":1685},{"class":174,"line":1684},22,[1686],{"type":44,"tag":172,"props":1687,"children":1688},{"emptyLinePlaceholder":322},[1689],{"type":49,"value":325},{"type":44,"tag":172,"props":1691,"children":1693},{"class":174,"line":1692},23,[1694,1698,1703,1707],{"type":44,"tag":172,"props":1695,"children":1696},{"style":1496},[1697],{"type":49,"value":1499},{"type":44,"tag":172,"props":1699,"children":1700},{"style":1502},[1701],{"type":49,"value":1702},"Expected",{"type":44,"tag":172,"props":1704,"children":1705},{"style":1496},[1706],{"type":49,"value":1499},{"type":44,"tag":172,"props":1708,"children":1709},{"style":195},[1710],{"type":49,"value":1711},": \u003Cwhat should happen>\n",{"type":44,"tag":172,"props":1713,"children":1715},{"class":174,"line":1714},24,[1716],{"type":44,"tag":172,"props":1717,"children":1718},{"emptyLinePlaceholder":322},[1719],{"type":49,"value":325},{"type":44,"tag":172,"props":1721,"children":1723},{"class":174,"line":1722},25,[1724,1728],{"type":44,"tag":172,"props":1725,"children":1726},{"style":1460},[1727],{"type":49,"value":1641},{"type":44,"tag":172,"props":1729,"children":1730},{"style":189},[1731],{"type":49,"value":1732},"2. \u003CAction>: \u003Cdescription>\n",{"type":44,"tag":172,"props":1734,"children":1736},{"class":174,"line":1735},26,[1737],{"type":44,"tag":172,"props":1738,"children":1739},{"style":195},[1740],{"type":49,"value":1741},"...\n",{"type":44,"tag":172,"props":1743,"children":1745},{"class":174,"line":1744},27,[1746],{"type":44,"tag":172,"props":1747,"children":1748},{"emptyLinePlaceholder":322},[1749],{"type":49,"value":325},{"type":44,"tag":172,"props":1751,"children":1753},{"class":174,"line":1752},28,[1754,1758],{"type":44,"tag":172,"props":1755,"children":1756},{"style":1460},[1757],{"type":49,"value":1529},{"type":44,"tag":172,"props":1759,"children":1760},{"style":189},[1761],{"type":49,"value":1762},"Pass Criteria\n",{"type":44,"tag":172,"props":1764,"children":1766},{"class":174,"line":1765},29,[1767],{"type":44,"tag":172,"props":1768,"children":1769},{"emptyLinePlaceholder":322},[1770],{"type":49,"value":325},{"type":44,"tag":172,"props":1772,"children":1774},{"class":174,"line":1773},30,[1775,1779],{"type":44,"tag":172,"props":1776,"children":1777},{"style":1460},[1778],{"type":49,"value":1549},{"type":44,"tag":172,"props":1780,"children":1781},{"style":195},[1782],{"type":49,"value":1783}," All steps marked PASS\n",{"type":44,"tag":172,"props":1785,"children":1787},{"class":174,"line":1786},31,[1788,1792],{"type":44,"tag":172,"props":1789,"children":1790},{"style":1460},[1791],{"type":49,"value":1549},{"type":44,"tag":172,"props":1793,"children":1794},{"style":195},[1795],{"type":49,"value":1796}," \u003Cadditional criteria>\n",{"type":44,"tag":45,"props":1798,"children":1799},{},[1800],{"type":49,"value":1801},"Key conventions:",{"type":44,"tag":1146,"props":1803,"children":1804},{},[1805,1810,1829,1856],{"type":44,"tag":111,"props":1806,"children":1807},{},[1808],{"type":49,"value":1809},"YAML-free, pure Markdown",{"type":44,"tag":111,"props":1811,"children":1812},{},[1813,1815,1820,1822,1827],{"type":49,"value":1814},"Each step has ",{"type":44,"tag":52,"props":1816,"children":1818},{"className":1817},[],[1819],{"type":49,"value":165},{"type":49,"value":1821}," block + ",{"type":44,"tag":52,"props":1823,"children":1825},{"className":1824},[],[1826],{"type":49,"value":1702},{"type":49,"value":1828}," block",{"type":44,"tag":111,"props":1830,"children":1831},{},[1832,1838,1840,1846,1848,1854],{"type":44,"tag":52,"props":1833,"children":1835},{"className":1834},[],[1836],{"type":49,"value":1837},"ss",{"type":49,"value":1839}," = ",{"type":44,"tag":52,"props":1841,"children":1843},{"className":1842},[],[1844],{"type":49,"value":1845},"skillshare",{"type":49,"value":1847},", ",{"type":44,"tag":52,"props":1849,"children":1851},{"className":1850},[],[1852],{"type":49,"value":1853},"~",{"type":49,"value":1855}," = ssenv-isolated HOME",{"type":44,"tag":111,"props":1857,"children":1858},{},[1859,1861,1867],{"type":49,"value":1860},"Runbook can be executed by the ",{"type":44,"tag":52,"props":1862,"children":1864},{"className":1863},[],[1865],{"type":49,"value":1866},"cli-e2e-test",{"type":49,"value":1868}," skill",{"type":44,"tag":45,"props":1870,"children":1871},{},[1872],{"type":49,"value":1873},"If the feature does not meet the criteria above, skip this step.",{"type":44,"tag":95,"props":1875,"children":1877},{"id":1876},"step-7-stage-and-report",[1878],{"type":49,"value":1879},"Step 7: Stage and Report",{"type":44,"tag":107,"props":1881,"children":1882},{},[1883,1888,1893],{"type":44,"tag":111,"props":1884,"children":1885},{},[1886],{"type":49,"value":1887},"List all created\u002Fmodified files",{"type":44,"tag":111,"props":1889,"children":1890},{},[1891],{"type":49,"value":1892},"Confirm each acceptance criterion is met with test evidence",{"type":44,"tag":111,"props":1894,"children":1895},{},[1896,1898,1903],{"type":49,"value":1897},"Remind user to run ",{"type":44,"tag":52,"props":1899,"children":1901},{"className":1900},[],[1902],{"type":49,"value":76},{"type":49,"value":1904}," if the feature affects CLI flags or user-visible behavior",{"type":44,"tag":88,"props":1906,"children":1908},{"id":1907},"rules",[1909],{"type":49,"value":1910},"Rules",{"type":44,"tag":1146,"props":1912,"children":1913},{},[1914,1924,1934,1944,1954,1971,1988],{"type":44,"tag":111,"props":1915,"children":1916},{},[1917,1922],{"type":44,"tag":64,"props":1918,"children":1919},{},[1920],{"type":49,"value":1921},"Test-first",{"type":49,"value":1923}," — always write failing test before implementation",{"type":44,"tag":111,"props":1925,"children":1926},{},[1927,1932],{"type":44,"tag":64,"props":1928,"children":1929},{},[1930],{"type":49,"value":1931},"Minimal code",{"type":49,"value":1933}," — only write what's needed to pass tests",{"type":44,"tag":111,"props":1935,"children":1936},{},[1937,1942],{"type":44,"tag":64,"props":1938,"children":1939},{},[1940],{"type":49,"value":1941},"Follow patterns",{"type":49,"value":1943}," — match existing code style in each package",{"type":44,"tag":111,"props":1945,"children":1946},{},[1947,1952],{"type":44,"tag":64,"props":1948,"children":1949},{},[1950],{"type":49,"value":1951},"3-strike rule",{"type":49,"value":1953}," — if a test fails 3 times after fixes, stop and report what's blocking",{"type":44,"tag":111,"props":1955,"children":1956},{},[1957,1962,1964,1969],{"type":44,"tag":64,"props":1958,"children":1959},{},[1960],{"type":49,"value":1961},"No docs",{"type":49,"value":1963}," — this skill writes code only; use ",{"type":44,"tag":52,"props":1965,"children":1967},{"className":1966},[],[1968],{"type":49,"value":76},{"type":49,"value":1970}," for documentation",{"type":44,"tag":111,"props":1972,"children":1973},{},[1974,1979,1981,1986],{"type":44,"tag":64,"props":1975,"children":1976},{},[1977],{"type":49,"value":1978},"No changelog",{"type":49,"value":1980}," — use ",{"type":44,"tag":52,"props":1982,"children":1984},{"className":1983},[],[1985],{"type":49,"value":84},{"type":49,"value":1987}," skill for release notes",{"type":44,"tag":111,"props":1989,"children":1990},{},[1991,1996],{"type":44,"tag":64,"props":1992,"children":1993},{},[1994],{"type":49,"value":1995},"Spec ambiguity",{"type":49,"value":1997}," — ask the user rather than guessing",{"type":44,"tag":1999,"props":2000,"children":2001},"style",{},[2002],{"type":49,"value":2003},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2005,"total":2129},[2006,2025,2042,2058,2073,2096,2113],{"slug":2007,"name":2007,"fn":2008,"description":2009,"org":2010,"tags":2011,"stars":19,"repoUrl":20,"updatedAt":2024},"algorithmic-art","create generative art with p5.js","Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2012,2015,2018,2021],{"name":2013,"slug":2014,"type":15},"Creative","creative",{"name":2016,"slug":2017,"type":15},"Generative Art","generative-art",{"name":2019,"slug":2020,"type":15},"Graphics","graphics",{"name":2022,"slug":2023,"type":15},"JavaScript","javascript","2026-07-13T06:41:35.540127",{"slug":2026,"name":2026,"fn":2027,"description":2028,"org":2029,"tags":2030,"stars":19,"repoUrl":20,"updatedAt":2041},"antfu","configure JavaScript projects with Anthony Fu's tools","Anthony Fu's opinionated tooling and conventions for JavaScript\u002FTypeScript projects. Use when setting up new projects, configuring ESLint\u002FPrettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2031,2034,2037,2038],{"name":2032,"slug":2033,"type":15},"Best Practices","best-practices",{"name":2035,"slug":2036,"type":15},"Engineering","engineering",{"name":2022,"slug":2023,"type":15},{"name":2039,"slug":2040,"type":15},"TypeScript","typescript","2026-07-13T06:43:13.153309",{"slug":2043,"name":2043,"fn":2044,"description":2045,"org":2046,"tags":2047,"stars":19,"repoUrl":20,"updatedAt":2057},"brand-guidelines","apply Anthropic brand guidelines","Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2048,2051,2054],{"name":2049,"slug":2050,"type":15},"Branding","branding",{"name":2052,"slug":2053,"type":15},"Design","design",{"name":2055,"slug":2056,"type":15},"Typography","typography","2026-07-13T06:43:06.077629",{"slug":2059,"name":2059,"fn":2060,"description":2061,"org":2062,"tags":2063,"stars":19,"repoUrl":20,"updatedAt":2072},"canvas-design","create visual art and design assets","Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2064,2065,2066,2069],{"name":2013,"slug":2014,"type":15},{"name":2052,"slug":2053,"type":15},{"name":2067,"slug":2068,"type":15},"Images","images",{"name":2070,"slug":2071,"type":15},"PDF","pdf","2026-07-13T06:39:58.803113",{"slug":2074,"name":2074,"fn":2075,"description":2076,"org":2077,"tags":2078,"stars":19,"repoUrl":20,"updatedAt":2095},"ci-cd-containerization-advisor","design CI\u002FCD pipelines for Kotlin applications","Design reproducible build, image, and deployment pipelines for Kotlin plus Spring applications, including CI verification, layered containers, rollout safety, and deployment-time migration coordination. Use when creating or improving Dockerfiles, CI workflows, image hardening, Kubernetes manifests, release gates, or deployment strategies for Spring Boot services, especially where build reproducibility and operational safety matter.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2079,2082,2085,2088,2089,2092],{"name":2080,"slug":2081,"type":15},"CI\u002FCD","ci-cd",{"name":2083,"slug":2084,"type":15},"Containers","containers",{"name":2086,"slug":2087,"type":15},"Deployment","deployment",{"name":2035,"slug":2036,"type":15},{"name":2090,"slug":2091,"type":15},"Kotlin","kotlin",{"name":2093,"slug":2094,"type":15},"Spring","spring","2026-07-13T06:41:47.83899",{"slug":2097,"name":2097,"fn":2098,"description":2099,"org":2100,"tags":2101,"stars":19,"repoUrl":20,"updatedAt":2112},"cloudflare-deploy","deploy applications to Cloudflare","Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2102,2105,2108,2111],{"name":2103,"slug":2104,"type":15},"Cloudflare","cloudflare",{"name":2106,"slug":2107,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":2109,"slug":2110,"type":15},"Cloudflare Workers","cloudflare-workers",{"name":2086,"slug":2087,"type":15},"2026-07-17T06:04:42.853896",{"slug":2114,"name":2114,"fn":2115,"description":2116,"org":2117,"tags":2118,"stars":19,"repoUrl":20,"updatedAt":2128},"compose-ui-control","interact with Compose Desktop applications","Control a running Compose Desktop application via HTTP. Use when you need to interact with UI elements, click buttons, enter text, wait for elements to appear, or capture screenshots in a Compose Desktop app that has compose-ui-test-server enabled.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2119,2122,2125],{"name":2120,"slug":2121,"type":15},"Automation","automation",{"name":2123,"slug":2124,"type":15},"Desktop","desktop",{"name":2126,"slug":2127,"type":15},"UI Components","ui-components","2026-07-13T06:40:38.798626",128,{"items":2131,"total":2256},[2132,2148,2157,2166,2177,2187,2196,2205,2214,2224,2233,2246],{"slug":2133,"name":2133,"fn":2134,"description":2135,"org":2136,"tags":2137,"stars":2145,"repoUrl":2146,"updatedAt":2147},"mps-aspect-accessories","configure JetBrains MPS module dependencies","Wire MPS module and model dependencies, used languages, used devkits, extended languages, runtime solutions, accessory models, and language\u002Fdependency versions. Use when adding\u002Fremoving module dependencies, importing languages or devkits into a model, declaring runtime solutions, or shipping accessory content visible to consumers without explicit import.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2138,2141,2144],{"name":2139,"slug":2140,"type":15},"Architecture","architecture",{"name":2142,"slug":2143,"type":15},"Configuration","configuration",{"name":2035,"slug":2036,"type":15},1650,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002FMPS","2026-07-17T06:06:57.311661",{"slug":2149,"name":2149,"fn":2150,"description":2151,"org":2152,"tags":2153,"stars":2145,"repoUrl":2146,"updatedAt":2156},"mps-aspect-actions","define and edit MPS node factories","Use when defining or editing MPS node factories (the \"actions\" aspect) — `NodeFactories` roots, per-concept `NodeFactory` setup functions that initialize a freshly created node and optionally copy data from a replaced `sampleNode`, plus the actions aspect's `CopyPasteHandlers` and `PasteWrappers` roots. Reach for this skill when a substitution, side transform, completion replacement, or `add new initialized(...)` should preserve fields from the node it is replacing, or when defaults set in a constructor are not enough.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2154,2155],{"name":2139,"slug":2140,"type":15},{"name":2035,"slug":2036,"type":15},"2026-07-17T06:04:48.066901",{"slug":2158,"name":2158,"fn":2159,"description":2160,"org":2161,"tags":2162,"stars":2145,"repoUrl":2146,"updatedAt":2165},"mps-aspect-behavior","define and edit MPS concept behavior","Use when defining or editing MPS `ConceptBehavior` — per-concept methods (non-virtual \u002F virtual \u002F abstract \u002F static \u002F virtual static), constructors, virtual dispatch (MRO), super and interface-default calls (`super\u003CInterface>.method`), overriding methods from `lang.core.behavior` interfaces such as `ScopeProvider.getScope` \u002F `INamedConcept.getName` \u002F `BaseConcept.getPresentation`, calling sibling methods (`LocalBehaviorMethodCall`) and behavior methods from other aspects via `node.method(...)`. Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fbehavior.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2163,2164],{"name":2139,"slug":2140,"type":15},{"name":2035,"slug":2036,"type":15},"2026-07-13T06:45:21.757084",{"slug":2167,"name":2167,"fn":2168,"description":2169,"org":2170,"tags":2171,"stars":2145,"repoUrl":2146,"updatedAt":2176},"mps-aspect-constraints","define JetBrains MPS language constraints","Use when defining or editing MPS language constraints — property validators \u002F setters \u002F getters, referent search scopes (imperative or inherited via `ScopeProvider.getScope`), `referentSetHandler` side effects, default-scope blocks, `canBeChild` \u002F `canBeParent` \u002F `canBeAncestor` \u002F `canBeRoot` placement rules, `defaultConcreteConcept` for abstract concepts, `set \u003Cread-only>` and `{name}` aliasing, and scope helpers (`SimpleRoleScope`, `ListScope`, `CompositeScope`, `HidingByNameScope`). Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fconstraints.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2172,2173],{"name":2139,"slug":2140,"type":15},{"name":2174,"slug":2175,"type":15},"Code Analysis","code-analysis","2026-07-23T05:41:33.639365",{"slug":2178,"name":2178,"fn":2179,"description":2180,"org":2181,"tags":2182,"stars":2145,"repoUrl":2146,"updatedAt":2186},"mps-aspect-dataflow","define and debug MPS dataflow builders","Use when defining or debugging MPS dataflow builders for a concept — control\u002Fdata flow declarations that drive reachability analysis and variable-use checking. Covers DataFlowBuilderDeclaration, BuilderBlock, emit instructions (code for, jump, ifjump, label, read, write, ret, mayBeUnreachable), positions (AfterPosition, BeforePosition, LabelPosition), the jetbrains.mps.lang.dataFlow language, the NodeParameter implicit, BL+smodel usage inside builder bodies, and IBuilderMode for advanced analyses such as nullable\u002Fnon-null tracking.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2183],{"name":2184,"slug":2185,"type":15},"Data Analysis","data-analysis","2026-07-13T06:45:19.114674",{"slug":2188,"name":2188,"fn":2189,"description":2190,"org":2191,"tags":2192,"stars":2145,"repoUrl":2146,"updatedAt":2195},"mps-aspect-editor","define MPS editor layouts","Use when creating or changing MPS editor definitions — the overall workflow from scaffolding a `ConceptEditorDeclaration` through componentizing reusable `EditorComponentDeclaration`s, refining cell models and cell layouts, applying style sheets and indent-layout style items, wiring smart references, leveraging inheritance via super-concepts and interfaces, inspecting (`print_node_json`, `show_node_representation`) and validating (`check_root_node_problems`). Covers `jetbrains.mps.lang.editor` cell models (`CellModel_RefNode`\u002F`CellModel_RefNodeList`\u002F`CellModel_RefCell`\u002F`CellModel_Property`\u002F`CellModel_Constant`), layout choices, and JSON blueprints for common editor shapes. For the non-layout side (action maps, keymaps, transformation\u002Fsubstitute menus) use `mps-aspect-editor-menus-and-keymaps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2193,2194],{"name":2052,"slug":2053,"type":15},{"name":2126,"slug":2127,"type":15},"2026-07-23T05:41:56.638151",{"slug":2197,"name":2197,"fn":2198,"description":2199,"org":2200,"tags":2201,"stars":2145,"repoUrl":2146,"updatedAt":2204},"mps-aspect-editor-menus-and-keymaps","author MPS editor menus and keymaps","Use when authoring the **non-layout** parts of the MPS editor aspect — what happens when the user types, presses a key, triggers completion, pastes, or invokes a context action. Covers action maps (`CellActionMapDeclaration`), cell keymaps (`CellKeyMapDeclaration`), transformation menus (`TransformationMenu_Default` \u002F `_Named` \u002F `_Contribution`), substitute menus (`SubstituteMenu_Default` \u002F `SubstituteMenu` \u002F contributions), side transforms (LEFT\u002FRIGHT), legacy cell menus, paste wrappers and copy-paste handlers (in the actions language), completion styling, reference presentation, two-step deletion, and the editor selection API. Trigger terms: `actionMap`, `keyMap`, `delete_action_id`, `transformationMenu`, `substituteMenu`, `Ctrl+Space`, `Ctrl+Alt+B`, side transform, paste wrapper, completion styling, `PasteWrappers`, `CopyPasteHandlers`. For the **layout** side (cells, layouts, style sheets) use `mps-aspect-editor` instead.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2202,2203],{"name":2035,"slug":2036,"type":15},{"name":2126,"slug":2127,"type":15},"2026-07-23T05:41:49.666535",{"slug":2206,"name":2206,"fn":2207,"description":2208,"org":2209,"tags":2210,"stars":2145,"repoUrl":2146,"updatedAt":2213},"mps-aspect-generation-plan","modify MPS generation plans","Use when defining or modifying an MPS generation plan — explicit ordering of generators, checkpoints for cross-model reference resolution, forks for parallel branches, IncludePlan composition, conditional PlanContribution activation, ParameterEquals\u002FConceptListSelector fork selectors, and InitModelAttributes for targetFacet routing. Apply when working with @genplan models, the jetbrains.mps.lang.generator.plan language, attaching plans via DevKits or the Custom generation facet, or debugging cross-model mapping label resolution.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2211,2212],{"name":2139,"slug":2140,"type":15},{"name":2035,"slug":2036,"type":15},"2026-07-13T06:44:59.507855",{"slug":2215,"name":2215,"fn":2216,"description":2217,"org":2218,"tags":2219,"stars":2145,"repoUrl":2146,"updatedAt":2223},"mps-aspect-generator","define JetBrains MPS generator rules","Use when defining or modifying MPS generators — author a generator module, add or edit root\u002Freduction\u002Fweaving\u002Fpattern mapping rules, attach template macros ($COPY_SRC, $LOOP, $IF, $PROPERTY, $REF, $SWITCH, $MAP_SRC, $WEAVE, $INSERT, $LABEL, $TRACE, $VAR), wire mapping labels, build template switches, write pre\u002Fpost mapping scripts, navigate `genContext`, or debug \"rule didn't fire\", missing references, empty output, infinite reduction loops, and generated-Java compile failures.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2220,2221,2222],{"name":2139,"slug":2140,"type":15},{"name":2174,"slug":2175,"type":15},{"name":2035,"slug":2036,"type":15},"2026-07-17T06:06:58.042999",{"slug":2225,"name":2225,"fn":2226,"description":2227,"org":2228,"tags":2229,"stars":2145,"repoUrl":2146,"updatedAt":2232},"mps-aspect-intentions","define and edit MPS intentions","Use when defining or editing MPS intentions (the Alt+Enter context-action aspect) — adding `IntentionDeclaration` roots, parameterized or surround-with variants, description\u002FisApplicable\u002Fexecute blocks, child-filter functions, factory-initialized AST splicing, or debugging why an intention is not offered. Lives in the language's `intentions` model and uses `jetbrains.mps.lang.intentions`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2230,2231],{"name":2139,"slug":2140,"type":15},{"name":2035,"slug":2036,"type":15},"2026-07-23T05:41:48.692899",{"slug":2234,"name":2234,"fn":2235,"description":2236,"org":2237,"tags":2238,"stars":2145,"repoUrl":2146,"updatedAt":2245},"mps-aspect-migrations","author and debug MPS migration scripts","Use when authoring or debugging MPS migration scripts that upgrade user models after a language definition changes — covers jetbrains.mps.lang.migration (MigrationScript class-based, PureMigrationScript declarative, MoveConcept\u002FMoveContainmentLink\u002FMoveReferenceLink\u002FMoveProperty, ordering via OrderDependency, data exchange via putData\u002FgetData, RefactoringLog, ConceptMigrationReference) and jetbrains.mps.lang.script Enhancement Scripts (MigrationScript with MigrationScriptPart_Instance, ExtractInterfaceMigration, FactoryMigrationScriptPart, CommentMigrationScriptPart) — when a model needs version-gated upgrade, concept rename or removal, link or property rename, instance-level transformation, or composition of migration steps.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2239,2242],{"name":2240,"slug":2241,"type":15},"Debugging","debugging",{"name":2243,"slug":2244,"type":15},"Migration","migration","2026-07-13T06:45:20.372122",{"slug":2247,"name":2247,"fn":2248,"description":2249,"org":2250,"tags":2251,"stars":2145,"repoUrl":2146,"updatedAt":2255},"mps-aspect-structure-concepts","define concepts in MPS structure aspect","Define concepts, interface concepts, enumerations, and constrained data types in an MPS language's `structure` aspect. Covers smart-reference detection, alias rules, cardinality, INamedConcept usage, bulk creation, and the full `mps_mcp_alter_structure` \u002F `mps_mcp_query_structure` reference. Use when authoring or modifying a language's structure model.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2252],{"name":2253,"slug":2254,"type":15},"Data Modeling","data-modeling","2026-07-23T05:41:30.705975",188]