[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EGPZ86BX6ETNM2HRB986WT":3,"skill-same:01M6EGPZ86BX6ETNM2HRB986WT":54},{"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":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M6EGPZ86BX6ETNM2HRB986WT","ln-831-oss-replacer",null,"Replaces custom modules with OSS packages using ln-645 migration plans, atomic keep\u002Fdiscard","levalencia\u002Fagent-god-mode","levalencia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6962857?v=4","01M6EB0FZZ4BPQPC4HET4QY6NM","Luis Valencia ","01M6EB0G4HWHPWW0H9X7QKSAHP",3,"MIT","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fln-831-oss-replacer\u002FSKILL.md",[],[19,20,21,22,23,24,25],"oss","ln 831 oss replacer","packages","modules","migration","plans","keep","2026-11-10 10:12:30",false,"---\nname: ln-831-oss-replacer\ndescription: \"Replaces custom modules with OSS packages using ln-645 migration plans, atomic keep\u002Fdiscard\"\nlicense: MIT\n---\n\n> **Paths:** File paths (`shared\u002F`, `references\u002F`, `..\u002Fln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.\n\n# ln-831-oss-replacer\n\n**Type:** L3 Worker\n**Category:** 8XX Optimization\n**Parent:** ln-830-code-modernization-coordinator\n\nExecutes OSS replacement plans from ln-645-open-source-replacer auditor. For each custom module with an OSS alternative: install package, rewrite imports, run tests, keep or discard atomically.\n\n---\n\n## Overview\n\n| Aspect | Details |\n|--------|---------|\n| **Input** | Migration plan from `docs\u002Fproject\u002Fcodebase_audit.md` (ln-645 section) OR target module |\n| **Output** | Replaced modules, migration report |\n| **Companion** | ln-645-open-source-replacer (finds candidates) → ln-831 (executes replacement) |\n\n---\n\n## Workflow\n\n**Phases:** Pre-flight → Load Plan → Prioritize → Replace Loop → Report\n\n---\n\n## Phase 0: Pre-flight Checks\n\n| Check | Required | Action if Missing |\n|-------|----------|-------------------|\n| Migration plan OR target module | Yes | Block replacement |\n| Test infrastructure | Yes | Block (need tests for verification) |\n| Package manager available | Yes | Block (need to install OSS packages) |\n| Git clean state | Yes | Block (need clean baseline for revert) |\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fci_tool_detection.md` — use Test Frameworks section for test detection.\n\n### Worktree & Branch Isolation\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fgit_worktree_fallback.md` — use ln-831 row.\n\n---\n\n## Phase 1: Load Migration Plan\n\n### From Audit Report\n\nRead `docs\u002Fproject\u002Fcodebase_audit.md`, extract ln-645 findings:\n\n| Field | Description |\n|-------|-------------|\n| custom_module | Path to custom implementation |\n| loc | Lines of code in custom module |\n| oss_package | Recommended OSS replacement |\n| confidence | How well OSS covers functionality (HIGH\u002FMEDIUM\u002FLOW) |\n| api_mapping | Custom function → OSS equivalent |\n\n### From Target Module\n\nIf no audit report: analyze target module, search Context7\u002FRef for OSS alternatives.\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fresearch_tool_fallback.md` for MCP tool chain.\n\n---\n\n## Phase 2: Prioritize Replacements\n\n| Priority | Criteria |\n|----------|----------|\n| 1 (highest) | HIGH confidence + >200 LOC (max code reduction) |\n| 2 | HIGH confidence + 100-200 LOC |\n| 3 | MEDIUM confidence + >200 LOC |\n| 4 | MEDIUM confidence + 100-200 LOC |\n| Skip | LOW confidence (too risky for automated replacement) |\n\n---\n\n## Phase 3: Replace Loop (Keep\u002FDiscard)\n\n### Per-Module Cycle\n\n```\nFOR each replacement candidate (R1..RN):\n  1. INSTALL: Add OSS package\n     npm install {package} \u002F dotnet add package \u002F pip install\n  2. REWRITE: Update imports + call sites using api_mapping\n  3. VERIFY: Run tests\n     IF tests FAIL → DISCARD (revert ALL: uninstall package, restore files) → next\n  4. TESTS PASS → KEEP\n  5. DELETE: Remove old custom module (only after keep)\n  6. LOG: Record replacement for report\n```\n\n### Atomic Revert on Discard\n\n| Step | Revert Action |\n|------|---------------|\n| Package installed | Uninstall: `npm uninstall` \u002F `dotnet remove package` \u002F `pip uninstall` |\n| Files modified | `git checkout -- {modified_files}` |\n| Lock file changed | `git checkout -- {lock_file}` |\n\n### Safety Rules\n\n| Rule | Description |\n|------|-------------|\n| One module at a time | Never replace multiple modules simultaneously |\n| No API signature changes | Public API of replaced module must stay compatible |\n| Tests required | Skip module if no tests cover it (too risky) |\n| Confidence gate | Skip LOW confidence replacements |\n\n---\n\n## Phase 4: Report Results\n\n### Report Schema\n\n| Field | Description |\n|-------|-------------|\n| source | Audit report path or target module |\n| candidates_total | Total replacement candidates |\n| replacements_applied | Successfully replaced modules |\n| replacements_discarded | Failed replacements with reasons |\n| replacements_skipped | LOW confidence \u002F no test coverage |\n| loc_removed | Total lines of custom code removed |\n| packages_added | New OSS packages installed |\n| details[] | Per-replacement: module, package, LOC removed |\n\n---\n\n## Configuration\n\n```yaml\nOptions:\n  # Source\n  audit_report: \"docs\u002Fproject\u002Fcodebase_audit.md\"\n  target_module: \"\"\n\n  # Confidence\n  min_confidence: \"MEDIUM\"      # MEDIUM | HIGH\n\n  # Verification\n  run_tests: true\n\n  # Safety\n  require_test_coverage: true   # Skip modules with no tests\n  delete_old_module: true       # Delete custom module after successful replacement\n```\n\n---\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| Package not found | OSS package name changed | Search Context7\u002FRef for current name |\n| API mismatch | OSS API differs from mapping | Query docs for correct API, attempt fix |\n| Circular dependency | New package conflicts | Skip replacement, log as manual |\n| No test coverage | Custom module untested | Skip (too risky for automated replacement) |\n\n---\n\n## References\n\n- `..\u002Fln-645-open-source-replacer\u002FSKILL.md` (companion: finds candidates)\n- `shared\u002Freferences\u002Fci_tool_detection.md` (test detection)\n- `shared\u002Freferences\u002Fresearch_tool_fallback.md` (MCP tool chain)\n\n---\n\n## Definition of Done\n\n- Migration plan loaded from audit report or target module analyzed\n- Candidates prioritized by confidence + LOC\n- Each replacement applied atomically: install → rewrite → test → keep\u002Fdiscard\n- Discarded replacements fully reverted (package + files + lock)\n- Kept replacements: old custom module deleted\n- Report returned with candidates total, applied, discarded, LOC removed\n\n---\n\n**Version:** 1.0.0\n**Last Updated:** 2026-03-08\n","> **Paths:** File paths (`shared\u002F`, `references\u002F`, `..\u002Fln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.\n\n# ln-831-oss-replacer\n\n**Type:** L3 Worker\n**Category:** 8XX Optimization\n**Parent:** ln-830-code-modernization-coordinator\n\nExecutes OSS replacement plans from ln-645-open-source-replacer auditor. For each custom module with an OSS alternative: install package, rewrite imports, run tests, keep or discard atomically.\n\n---\n\n## Overview\n\n| Aspect | Details |\n|--------|---------|\n| **Input** | Migration plan from `docs\u002Fproject\u002Fcodebase_audit.md` (ln-645 section) OR target module |\n| **Output** | Replaced modules, migration report |\n| **Companion** | ln-645-open-source-replacer (finds candidates) → ln-831 (executes replacement) |\n\n---\n\n## Workflow\n\n**Phases:** Pre-flight → Load Plan → Prioritize → Replace Loop → Report\n\n---\n\n## Phase 0: Pre-flight Checks\n\n| Check | Required | Action if Missing |\n|-------|----------|-------------------|\n| Migration plan OR target module | Yes | Block replacement |\n| Test infrastructure | Yes | Block (need tests for verification) |\n| Package manager available | Yes | Block (need to install OSS packages) |\n| Git clean state | Yes | Block (need clean baseline for revert) |\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fci_tool_detection.md` — use Test Frameworks section for test detection.\n\n### Worktree & Branch Isolation\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fgit_worktree_fallback.md` — use ln-831 row.\n\n---\n\n## Phase 1: Load Migration Plan\n\n### From Audit Report\n\nRead `docs\u002Fproject\u002Fcodebase_audit.md`, extract ln-645 findings:\n\n| Field | Description |\n|-------|-------------|\n| custom_module | Path to custom implementation |\n| loc | Lines of code in custom module |\n| oss_package | Recommended OSS replacement |\n| confidence | How well OSS covers functionality (HIGH\u002FMEDIUM\u002FLOW) |\n| api_mapping | Custom function → OSS equivalent |\n\n### From Target Module\n\nIf no audit report: analyze target module, search Context7\u002FRef for OSS alternatives.\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fresearch_tool_fallback.md` for MCP tool chain.\n\n---\n\n## Phase 2: Prioritize Replacements\n\n| Priority | Criteria |\n|----------|----------|\n| 1 (highest) | HIGH confidence + >200 LOC (max code reduction) |\n| 2 | HIGH confidence + 100-200 LOC |\n| 3 | MEDIUM confidence + >200 LOC |\n| 4 | MEDIUM confidence + 100-200 LOC |\n| Skip | LOW confidence (too risky for automated replacement) |\n\n---\n\n## Phase 3: Replace Loop (Keep\u002FDiscard)\n\n### Per-Module Cycle\n\n```\nFOR each replacement candidate (R1..RN):\n  1. INSTALL: Add OSS package\n     npm install {package} \u002F dotnet add package \u002F pip install\n  2. REWRITE: Update imports + call sites using api_mapping\n  3. VERIFY: Run tests\n     IF tests FAIL → DISCARD (revert ALL: uninstall package, restore files) → next\n  4. TESTS PASS → KEEP\n  5. DELETE: Remove old custom module (only after keep)\n  6. LOG: Record replacement for report\n```\n\n### Atomic Revert on Discard\n\n| Step | Revert Action |\n|------|---------------|\n| Package installed | Uninstall: `npm uninstall` \u002F `dotnet remove package` \u002F `pip uninstall` |\n| Files modified | `git checkout -- {modified_files}` |\n| Lock file changed | `git checkout -- {lock_file}` |\n\n### Safety Rules\n\n| Rule | Description |\n|------|-------------|\n| One module at a time | Never replace multiple modules simultaneously |\n| No API signature changes | Public API of replaced module must stay compatible |\n| Tests required | Skip module if no tests cover it (too risky) |\n| Confidence gate | Skip LOW confidence replacements |\n\n---\n\n## Phase 4: Report Results\n\n### Report Schema\n\n| Field | Description |\n|-------|-------------|\n| source | Audit report path or target module |\n| candidates_total | Total replacement candidates |\n| replacements_applied | Successfully replaced modules |\n| replacements_discarded | Failed replacements with reasons |\n| replacements_skipped | LOW confidence \u002F no test coverage |\n| loc_removed | Total lines of custom code removed |\n| packages_added | New OSS packages installed |\n| details[] | Per-replacement: module, package, LOC removed |\n\n---\n\n## Configuration\n\n```yaml\nOptions:\n  # Source\n  audit_report: \"docs\u002Fproject\u002Fcodebase_audit.md\"\n  target_module: \"\"\n\n  # Confidence\n  min_confidence: \"MEDIUM\"      # MEDIUM | HIGH\n\n  # Verification\n  run_tests: true\n\n  # Safety\n  require_test_coverage: true   # Skip modules with no tests\n  delete_old_module: true       # Delete custom module after successful replacement\n```\n\n---\n\n## Error Handling\n\n| Error | Cause | Solution |\n|-------|-------|----------|\n| Package not found | OSS package name changed | Search Context7\u002FRef for current name |\n| API mismatch | OSS API differs from mapping | Query docs for correct API, attempt fix |\n| Circular dependency | New package conflicts | Skip replacement, log as manual |\n| No test coverage | Custom module untested | Skip (too risky for automated replacement) |\n\n---\n\n## References\n\n- `..\u002Fln-645-open-source-replacer\u002FSKILL.md` (companion: finds candidates)\n- `shared\u002Freferences\u002Fci_tool_detection.md` (test detection)\n- `shared\u002Freferences\u002Fresearch_tool_fallback.md` (MCP tool chain)\n\n---\n\n## Definition of Done\n\n- Migration plan loaded from audit report or target module analyzed\n- Candidates prioritized by confidence + LOC\n- Each replacement applied atomically: install → rewrite → test → keep\u002Fdiscard\n- Discarded replacements fully reverted (package + files + lock)\n- Kept replacements: old custom module deleted\n- Report returned with candidates total, applied, discarded, LOC removed\n\n---\n\n**Version:** 1.0.0\n**Last Updated:** 2026-03-08\n",{"name":5,"license":15,"description":7},"main","fa638b97a18ff6d9f26cf0eaf3dfa123531bcc87","organized-skills\u002Fln-831-oss-replacer",1,"https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode","https:\u002F\u002Fgithub.com\u002Flevalencia","https:\u002F\u002Fmedium.com\u002F@luisevalencia","Microsoft MVP - Artificial Intelligence\r\nMachine Learning Enthusiast\r\n","2026-05-02 06:55:36",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add levalencia\u002Fagent-god-mode --skill ln-831-oss-replacer",{"tool":46,"command":47},"bunx","bunx skills add levalencia\u002Fagent-god-mode --skill ln-831-oss-replacer",{"tool":49,"command":50},"pnpm","pnpm dlx skills add levalencia\u002Fagent-god-mode --skill ln-831-oss-replacer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fln-831-oss-replacer\u002FSKILL.md",true,[],[55,77,102,129,155,180],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":26},"01M6EM8ES5M9J4S8N78NJST0YC","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fzarr-python\u002FSKILL.md",[],[62,63,64,65,66,67,68,69,70,71,72,73,74,75,76],"python","zarr python","storage","integration","s3","gcs","cloud","dask","parallel","pipelines","arrays","numpy","scientific computing","scale","scientific",{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":26},"01M6EM8AR6ZFKZ9YVW8TTG850Z","zabbix","Zabbix monitoring system automation via API and Python. Use when: (1) Managing hosts, templates, items, triggers, or host groups, (2) Automating monitoring configuration, (3) Sending data via Zabbix trapper\u002Fsender, (4) Querying historical data or events, (5) Bulk operations on Zabbix objects, (6) Maintenance window management, (7) User\u002Fpermission management","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fzabbix-api-skill\u002FSKILL.md",[],[79,62,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101],"automation","window management","monitoring","data","templates","api","system","operations","use","maintenance","objects","permission","bulk operations","triggers","host","events","via","bulk",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":26},"01M6EM6Q9JG846ECQY9A210A26","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fx-twitter-growth\u002FSKILL.md",[],[109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128],"twitter","x twitter growth","growth","competitive intelligence","search","analyzing","plan","marketing","web search","competitors","analyze","write","optimize","social","intelligence","viral","growth engine","mechanics","grow","competitive",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":26},"01M6EM3FQNPYNKPC4CV9TCVNGD","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fwhat-if-oracle\u002FSKILL.md",[],[136,137,138,139,140,141,142,143,144,145,146,147,92,148,149,150,151,152,153,154],"oracle","what if oracle","test","planning","ux","futures","risk","analysis","explore","decision","branch","question","exploration","options","stress-test","strategies","trigger","case","multi",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":26},"01M6EM08C06RGDYCJ86HAPK0FF","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fvercel-react-best-practices\u002FSKILL.md",[],[162,163,164,165,166,167,168,169,170,171,172,173,174,87,175,176,177,178,179,97],"react","vercel react best practices","best practices","react best practices","vercel","writing","performance","components","react components","guidelines","tasks","code","Optimization","Next.js","refactoring","performance optimization","next","pages",{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":26},"01M6EM00S13326QM08DTM94J6Z","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fvenue-templates\u002FSKILL.md",[],[88,187,188,171,189,190,191,192,193,194,195,120,196,197,198,199,200,201,76,202],"venue templates","research","NeurIPS","ICML","LaTeX","science","Bash","access","read","edit","proposals","Academic","requirements","formatting","journal","chi"]