[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NWJQHJMW24WDQVT34NNWX1":3,"skill-same:01M6NWJQHJMW24WDQVT34NNWX1":66},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":33,"commitSha":45,"skillDirectory":46,"forksCount":14,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6NWJQHJMW24WDQVT34NNWX1","tdd-migrate",null,"TDD workflow for migrations - orchestrate agents, zero main context growth","rubicanjr\u002FFinCognis","rubicanjr","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F234912519?v=4","01M6NT156NND8J474G34SB3923","Rubi","01M6NT15B70RWXE1N3YV0BZY8A",0,"MIT","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Ftdd-migrate\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"tdd","migrate","tdd migrate","workflow","orchestrate","ZeRO","tdd workflow","Bash","read","write","context","growth","migrations","task","main","for","2026-11-10 10:12:30",false,"---\nname: tdd-migrate\ndescription: TDD workflow for migrations - orchestrate agents, zero main context growth\nallowed-tools: [Task, TodoWrite, Write, Read, Bash]\n---\n\n# TDD Migrate\n\nOrchestrate TDD migrations with agents doing all work. Main context stays clean.\n\n## When to Use\n\n- \"Port X from Python to TypeScript\"\n- \"Create N adapters following existing pattern\"\n- \"Migrate module to new architecture\"\n- \"TDD implementation of multiple similar items\"\n\n## Parameters\n\n```\n\u002Ftdd-migrate \u003Csource_path> \u003Ctarget_path> --pattern \u003Creference> --items \"item1,item2,item3\"\n```\n\n- `source_path`: Path to analyze (existing code)\n- `target_path`: Where to create new code\n- `pattern`: Reference file\u002Fpattern to follow\n- `items`: Comma-separated list of things to create\n\n## Workflow\n\n```\nPhase 0: YAML TODO List\n    │\n    ▼\nPhase 1: TLDR Analysis ─────────────────┐\n    │                                    │\n    ▼                                    │ Parallel scouts\nPhase 2: Write Failing Tests ───────────┤ per item\n    │                                    │\n    ▼                                    │\nPhase 3: Implement (minimal) ───────────┤\n    │                                    │\n    ▼                                    │\nPhase 4: Build + Pass Tests ────────────┘\n    │\n    ▼\nPhase 5: QLTY Check ────────────────────┐\n    │                                    │ Parallel\nPhase 6: Review Agent Validates ────────┘\n    │\n    ▼\nPhase 7: TLDR Diff (new vs reference)\n    │\n    ▼\nPhase 8: Fix Issues (if any)\n    │\n    ▼\nComplete\n```\n\n## Key Principles\n\n1. **Main context = orchestration only**\n   - Never read files directly (use scout)\n   - Never implement directly (use kraken\u002Fspark)\n   - Never run tests directly (use validator)\n   - Only pipe context and coordinate\n\n2. **Agents do ALL work**\n   | Task | Agent |\n   |------|-------|\n   | Explore\u002Fanalyze | scout |\n   | Write tests + implement | kraken |\n   | Quick fixes | spark |\n   | Run tests\u002Fvalidate | validator |\n   | Code review | critic |\n\n3. **Parallel where independent**\n   - All items can be implemented in parallel if independent\n   - Review + QLTY run in parallel\n   - TLDR analysis runs in parallel with planning\n\n4. **Review after each major step**\n   - After implementation: critic reviews\n   - After fixes: validator re-validates\n\n## Instructions\n\n### Step 0: Create YAML TODO\n\nWrite a YAML plan file to `thoughts\u002Fshared\u002Fplans\u002F\u003Cname>-tdd.yaml`:\n\n```yaml\n---\ntitle: \u003CMigration Name>\ndate: \u003Ctoday>\ntype: implementation-plan\napproach: TDD (test → build → pass → review)\n\nitems:\n  - name: item1\n    file: \u003Ctarget_path>\u002Fitem1.ts\n    test: \u003Ctarget_path>\u002F__tests__\u002Fitem1.test.ts\n    deps: []\n  - name: item2\n    # ...\n\nreference: \u003Cpattern_file>\n\nworkflow:\n  per_item:\n    1: Write failing test\n    2: Implement minimal\n    3: Build\n    4: Pass test\n    5: QLTY check\n    6: Review\n  final:\n    7: Integration test\n    8: TLDR diff\n```\n\n### Step 1: Launch Scout Agents (parallel)\n\n```\nTask (scout): Analyze \u003Csource_path> with TLDR\nTask (scout): Analyze \u003Cpattern> to understand structure\nTask (scout): Read migration handoff if exists\n```\n\n### Step 2: Launch Kraken Agents (parallel per item)\n\nFor each item, launch ONE kraken that does full TDD:\n\n```\nTask (kraken): Implement \u003Citem> using TDD workflow\n  1. Read pattern file\n  2. Write failing test\n  3. Implement\n  4. Run: bun test \u003Ctest_file>\n  5. Run: qlty check \u003Cimpl_file>\n```\n\n### Step 3: Review + Validate (parallel)\n\n```\nTask (critic): Review all new files against pattern\nTask (validator): Run full test suite\nTask (validator): QLTY check all files\n```\n\n### Step 4: Fix Issues\n\nIf critic\u002Fvalidator found issues:\n\n```\nTask (spark): Fix \u003Cspecific issue>\nTask (validator): Re-validate\n```\n\n### Step 5: TLDR Diff\n\n```\nTask (validator): TLDR diff new files vs reference\n  - tldr structure \u003Cnew_file> --lang \u003Clang>\n  - tldr structure \u003Creference> --lang \u003Clang>\n  - Compare patterns\n```\n\n### Step 6: Update Continuity\n\nUpdate ledger with completed work.\n\n## Example: Rigg Adapters\n\n```bash\n\u002Ftdd-migrate ~\u002Fyour-project\u002Fsrc\u002Fsdk\u002Fproviders \\\n  ~\u002Fyour-project\u002Fsrc\u002Fsdk\u002Fproviders \\\n  --pattern lmstudio.ts \\\n  --items \"xai,cerebras,togetherai,deepinfra,perplexity\"\n```\n\nResulted in:\n- 5 parallel kraken agents\n- 39 tests passing\n- All adapters working\n- ~15 minutes total\n\n## Anti-Patterns (AVOID)\n\n| Bad | Good |\n|-----|------|\n| Read files in main context | Launch scout agent |\n| Write code in main context | Launch kraken\u002Fspark agent |\n| Run tests in main context | Launch validator agent |\n| Skip review | Always launch critic |\n| Sequential items | Parallel krakens |\n| Fix in main context | Launch spark |\n\n## Agent Prompts\n\n### Scout (analysis)\n```\nExplore \u003Cpath> to understand:\n1. Structure\u002Fpatterns\n2. Interfaces\u002Ftypes\n3. Dependencies\nReturn actionable summary for implementation.\n```\n\n### Kraken (TDD)\n```\nImplement \u003Citem> using TDD:\n1. Read \u003Cpattern> for structure\n2. Write failing test to \u003Ctest_path>\n3. Implement minimal to \u003Cimpl_path>\n4. Run: \u003Ctest_command>\n5. Run: qlty check \u003Cimpl_path>\nReport: status, issues, files created.\n```\n\n### Critic (review)\n```\nReview \u003Cfiles> against \u003Cpattern>:\n1. Pattern compliance\n2. Type safety\n3. Missing registrations\n4. Security issues\nDO NOT edit. Report issues only.\n```\n\n### Spark (fix)\n```\nFix \u003Cspecific issue>:\n1. Read \u003Cfile>\n2. Make minimal edit\n3. Verify fix\n```\n\n### Validator (test)\n```\nValidate \u003Cfiles>:\n1. Run \u003Ctest_command>\n2. Run qlty check\n3. Report pass\u002Ffail\u002Fissues\n```\n\n## Success Criteria\n\n- [ ] All tests pass\n- [ ] QLTY reports no issues\n- [ ] Critic found no critical issues\n- [ ] TLDR diff shows pattern compliance\n- [ ] All items registered\u002Fexported properly\n","# TDD Migrate\n\nOrchestrate TDD migrations with agents doing all work. Main context stays clean.\n\n## When to Use\n\n- \"Port X from Python to TypeScript\"\n- \"Create N adapters following existing pattern\"\n- \"Migrate module to new architecture\"\n- \"TDD implementation of multiple similar items\"\n\n## Parameters\n\n```\n\u002Ftdd-migrate \u003Csource_path> \u003Ctarget_path> --pattern \u003Creference> --items \"item1,item2,item3\"\n```\n\n- `source_path`: Path to analyze (existing code)\n- `target_path`: Where to create new code\n- `pattern`: Reference file\u002Fpattern to follow\n- `items`: Comma-separated list of things to create\n\n## Workflow\n\n```\nPhase 0: YAML TODO List\n    │\n    ▼\nPhase 1: TLDR Analysis ─────────────────┐\n    │                                    │\n    ▼                                    │ Parallel scouts\nPhase 2: Write Failing Tests ───────────┤ per item\n    │                                    │\n    ▼                                    │\nPhase 3: Implement (minimal) ───────────┤\n    │                                    │\n    ▼                                    │\nPhase 4: Build + Pass Tests ────────────┘\n    │\n    ▼\nPhase 5: QLTY Check ────────────────────┐\n    │                                    │ Parallel\nPhase 6: Review Agent Validates ────────┘\n    │\n    ▼\nPhase 7: TLDR Diff (new vs reference)\n    │\n    ▼\nPhase 8: Fix Issues (if any)\n    │\n    ▼\nComplete\n```\n\n## Key Principles\n\n1. **Main context = orchestration only**\n   - Never read files directly (use scout)\n   - Never implement directly (use kraken\u002Fspark)\n   - Never run tests directly (use validator)\n   - Only pipe context and coordinate\n\n2. **Agents do ALL work**\n   | Task | Agent |\n   |------|-------|\n   | Explore\u002Fanalyze | scout |\n   | Write tests + implement | kraken |\n   | Quick fixes | spark |\n   | Run tests\u002Fvalidate | validator |\n   | Code review | critic |\n\n3. **Parallel where independent**\n   - All items can be implemented in parallel if independent\n   - Review + QLTY run in parallel\n   - TLDR analysis runs in parallel with planning\n\n4. **Review after each major step**\n   - After implementation: critic reviews\n   - After fixes: validator re-validates\n\n## Instructions\n\n### Step 0: Create YAML TODO\n\nWrite a YAML plan file to `thoughts\u002Fshared\u002Fplans\u002F\u003Cname>-tdd.yaml`:\n\n```yaml\n---\ntitle: \u003CMigration Name>\ndate: \u003Ctoday>\ntype: implementation-plan\napproach: TDD (test → build → pass → review)\n\nitems:\n  - name: item1\n    file: \u003Ctarget_path>\u002Fitem1.ts\n    test: \u003Ctarget_path>\u002F__tests__\u002Fitem1.test.ts\n    deps: []\n  - name: item2\n    # ...\n\nreference: \u003Cpattern_file>\n\nworkflow:\n  per_item:\n    1: Write failing test\n    2: Implement minimal\n    3: Build\n    4: Pass test\n    5: QLTY check\n    6: Review\n  final:\n    7: Integration test\n    8: TLDR diff\n```\n\n### Step 1: Launch Scout Agents (parallel)\n\n```\nTask (scout): Analyze \u003Csource_path> with TLDR\nTask (scout): Analyze \u003Cpattern> to understand structure\nTask (scout): Read migration handoff if exists\n```\n\n### Step 2: Launch Kraken Agents (parallel per item)\n\nFor each item, launch ONE kraken that does full TDD:\n\n```\nTask (kraken): Implement \u003Citem> using TDD workflow\n  1. Read pattern file\n  2. Write failing test\n  3. Implement\n  4. Run: bun test \u003Ctest_file>\n  5. Run: qlty check \u003Cimpl_file>\n```\n\n### Step 3: Review + Validate (parallel)\n\n```\nTask (critic): Review all new files against pattern\nTask (validator): Run full test suite\nTask (validator): QLTY check all files\n```\n\n### Step 4: Fix Issues\n\nIf critic\u002Fvalidator found issues:\n\n```\nTask (spark): Fix \u003Cspecific issue>\nTask (validator): Re-validate\n```\n\n### Step 5: TLDR Diff\n\n```\nTask (validator): TLDR diff new files vs reference\n  - tldr structure \u003Cnew_file> --lang \u003Clang>\n  - tldr structure \u003Creference> --lang \u003Clang>\n  - Compare patterns\n```\n\n### Step 6: Update Continuity\n\nUpdate ledger with completed work.\n\n## Example: Rigg Adapters\n\n```bash\n\u002Ftdd-migrate ~\u002Fyour-project\u002Fsrc\u002Fsdk\u002Fproviders \\\n  ~\u002Fyour-project\u002Fsrc\u002Fsdk\u002Fproviders \\\n  --pattern lmstudio.ts \\\n  --items \"xai,cerebras,togetherai,deepinfra,perplexity\"\n```\n\nResulted in:\n- 5 parallel kraken agents\n- 39 tests passing\n- All adapters working\n- ~15 minutes total\n\n## Anti-Patterns (AVOID)\n\n| Bad | Good |\n|-----|------|\n| Read files in main context | Launch scout agent |\n| Write code in main context | Launch kraken\u002Fspark agent |\n| Run tests in main context | Launch validator agent |\n| Skip review | Always launch critic |\n| Sequential items | Parallel krakens |\n| Fix in main context | Launch spark |\n\n## Agent Prompts\n\n### Scout (analysis)\n```\nExplore \u003Cpath> to understand:\n1. Structure\u002Fpatterns\n2. Interfaces\u002Ftypes\n3. Dependencies\nReturn actionable summary for implementation.\n```\n\n### Kraken (TDD)\n```\nImplement \u003Citem> using TDD:\n1. Read \u003Cpattern> for structure\n2. Write failing test to \u003Ctest_path>\n3. Implement minimal to \u003Cimpl_path>\n4. Run: \u003Ctest_command>\n5. Run: qlty check \u003Cimpl_path>\nReport: status, issues, files created.\n```\n\n### Critic (review)\n```\nReview \u003Cfiles> against \u003Cpattern>:\n1. Pattern compliance\n2. Type safety\n3. Missing registrations\n4. Security issues\nDO NOT edit. Report issues only.\n```\n\n### Spark (fix)\n```\nFix \u003Cspecific issue>:\n1. Read \u003Cfile>\n2. Make minimal edit\n3. Verify fix\n```\n\n### Validator (test)\n```\nValidate \u003Cfiles>:\n1. Run \u003Ctest_command>\n2. Run qlty check\n3. Report pass\u002Ffail\u002Fissues\n```\n\n## Success Criteria\n\n- [ ] All tests pass\n- [ ] QLTY reports no issues\n- [ ] Critic found no critical issues\n- [ ] TLDR diff shows pattern compliance\n- [ ] All items registered\u002Fexported properly\n",{"name":5,"description":7,"allowed-tools":40},[41,42,43,44,26],"Task","TodoWrite","Write","Read","70e1c350500ee750987420bbae48837afa906b7e","skills\u002Ftdd-migrate","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis","https:\u002F\u002Fgithub.com\u002Frubicanjr","linktr.ee\u002Ffinanskodu","Industrial Engineer & CIO @FinansKodu. Architecting AI-driven financial agents and autonomous workflows. 🏗️ Building systems, not just prompts.","2026-06-09 13:50:15",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add rubicanjr\u002FFinCognis --skill tdd-migrate",{"tool":58,"command":59},"bunx","bunx skills add rubicanjr\u002FFinCognis --skill tdd-migrate",{"tool":61,"command":62},"pnpm","pnpm dlx skills add rubicanjr\u002FFinCognis --skill tdd-migrate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Ftdd-migrate\u002FSKILL.md",true,[],[67,82,91,108,133,152],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":35},"01M6NWS9DAXJTADT4T5MB49X8W","workflow-router","Goal-based workflow orchestration - routes tasks to specialist agents based on user goals","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-router\u002FSKILL.md",[],[74,22,75,76,77,78,79,80,81],"workflow router","router","orchestration","goals","goal","user","workflow orchestration","tasks",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":35},"01M6NWS3RETSC0SHP16HP66E14","wiring","Wiring Verification","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fwiring\u002FSKILL.md",[],[84,89,90],"verification","false",{"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":35},"01M6NWS0XW9CVQZBDA1EGW0TWC","websocket-patterns","Connection management, room patterns, reconnection strategies, message buffering, and binary protocol design.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fwebsocket-patterns\u002Fskill.md",[],[98,99,100,101,102,103,104,105,106,107],"websocket","patterns","websocket patterns","design","protocol","management","message","strategies","binary","connection",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":35},"01M6NWRDQDX9ZNETAWRRMQWV52","visual-verdict","Screenshot comparison QA for frontend development. Takes a screenshot of the current implementation, scores it across multiple visual dimensions, and returns a structured PASS\u002FREVISE\u002FFAIL verdict with concrete fixes. Use when implementing UI from a design reference or verifying visual correctness.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fvisual-verdict\u002FSKILL.md",[],[115,116,117,118,119,120,121,122,123,34,124,125,126,101,127,128,129,130,131,132],"visual","verdict","visual verdict","ui","across","revise","comparison","correctness","implementing","fixes","dimensions","frontend","development","qa","screenshot","returns","use","frontend development",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":35},"01M6NWR8HSNRS7MNDK2J02QYMN","verification-loop","Comprehensive verification system covering build, types, lint, tests, security, and diff review before a PR.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[140,141,89,142,143,144,145,146,147,148,149,150,151],"verification loop","loop","lint","review","security","pr","system","diff","build","tests","diff review","types",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":35},"01M6NWR4HHSFR0VR5EXFRWA747","vector-db-patterns","Embedding strategies, ANN algorithms, hybrid search, RAG chunking strategies, and reranking for semantic search and retrieval.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fvector-db-patterns\u002Fskill.md",[],[159,160,161,162,99,163,164,165,166,105,167,168,169,170,171,34,172,173],"vector db patterns","vector db","db","vector","semantic search","search","embedding strategies","algorithms","chunking","semantic","retrieval","embedding","Hybrid Search","hybrid","rag"]