[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FJSHV2616JD2A5DJCGGPTE":3,"skill-same:01M6FJSHV2616JD2A5DJCGGPTE":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":65},"01M6FJSHV2616JD2A5DJCGGPTE","ln-830-code-modernization-coordinator",null,"Modernizes codebase via OSS replacement and bundle optimization. Use when acting on audit findings to reduce custom code.","boisenoise\u002Fskills-collections","boisenoise","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F193180?v=4","01M6CDBDQK6BDN55ZMA6B6PKBM","01M6CDBDVSJ3JPTBYN26FZ7TZK",13,"MIT","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Flevn-ln-830-code-modernization-coordinator\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"code","code modernization","ln","coordinator","ln 830 code modernization coordinator","modernization","bundle","via","oss","use","Optimization","audit","true","reduce","codebase","custom","when","2026-11-10 10:12:30",false,"---\nname: ln-830-code-modernization-coordinator\ndescription: \"Modernizes codebase via OSS replacement and bundle optimization. Use when acting on audit findings to reduce custom code.\"\ndisable-model-invocation: true\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. If `shared\u002F` is missing, fetch files via WebFetch from `https:\u002F\u002Fraw.githubusercontent.com\u002Flevnikolaevich\u002Fclaude-code-skills\u002Fmaster\u002Fskills\u002F{path}`.\n\n# ln-830-code-modernization-coordinator\n\n**Type:** L2 Domain Coordinator\n**Category:** 8XX Optimization\n\nRuntime-backed coordinator for code modernization. Delegates OSS replacement and bundle-size work to isolated child runs, records machine-readable worker summaries, and emits a final coordinator summary.\n\n---\n\n## Overview\n\n| Aspect | Details |\n|--------|---------|\n| **Input** | Audit report, target module, or modernization scope |\n| **Output** | Aggregated modernization report with durable worker artifacts |\n| **Workers** | ln-831 (OSS replacer), ln-832 (bundle optimizer) |\n| **Runtime** | `.hex-skills\u002Fmodernization\u002Fruntime\u002Fruns\u002F{run_id}\u002F` |\n\n---\n\n## Workflow\n\n**Phases:** Pre-flight -> Analyze Input -> Delegate Workers -> Collect Results -> Verify Summary -> Report\n\n---\n\n## Runtime Contract\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fci_tool_detection.md`\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fcoordinator_runtime_contract.md`, `shared\u002Freferences\u002Fmodernization_runtime_contract.md`, `shared\u002Freferences\u002Fcoordinator_summary_contract.md`\n\nRuntime CLI:\n\n```bash\nnode shared\u002Fscripts\u002Fmodernization-runtime\u002Fcli.mjs start --identifier repo-modernization --manifest-file \u003Cfile>\nnode shared\u002Fscripts\u002Fmodernization-runtime\u002Fcli.mjs status --identifier repo-modernization\nnode shared\u002Fscripts\u002Fmodernization-runtime\u002Fcli.mjs checkpoint --phase PHASE_2_DELEGATE_WORKERS --payload '{...}'\nnode shared\u002Fscripts\u002Fmodernization-runtime\u002Fcli.mjs record-worker-result --payload '{...}'\nnode shared\u002Fscripts\u002Fmodernization-runtime\u002Fcli.mjs record-summary --payload '{...}'\nnode shared\u002Fscripts\u002Fmodernization-runtime\u002Fcli.mjs advance --to PHASE_3_COLLECT_RESULTS\nnode shared\u002Fscripts\u002Fmodernization-runtime\u002Fcli.mjs complete\n```\n\nRequired state fields:\n- `worker_plan`\n- `worker_results`\n- `child_runs`\n- `verification_passed`\n- `report_ready`\n- `summary_recorded`\n\nDomain checkpoints:\n- `PHASE_1_ANALYZE_INPUT`: target modules, worker selection, stack detection\n- `PHASE_2_DELEGATE_WORKERS`: one `child_run` per delegated worker with worker name, `runId`, and `summaryArtifactPath`\n- `PHASE_3_COLLECT_RESULTS`: recorded worker summaries and unresolved failures\n- `PHASE_4_VERIFY_SUMMARY`: final report path, verification verdict, summary readiness\n\nGuard rules:\n- do not advance from `PHASE_2_DELEGATE_WORKERS` until every planned worker emitted a valid `modernization-worker` summary\n- do not complete until the final report checkpoint exists and the `modernization-coordinator` summary was recorded\n- consume worker JSON summaries only; never infer worker status from prose output\n\n---\n\n## Phase 0: Pre-flight\n\nConfirm the modernization request has a valid scope and a deterministic runtime target.\n\n| Check | Required | Action if Missing |\n|-------|----------|-------------------|\n| Audit report or target module | Yes | Block modernization |\n| Project path | Yes | Block modernization |\n| Verification command available | Yes | Block if workers cannot verify changes |\n| Existing active run for identifier | No | Pause if conflicting run exists |\n\n---\n\n## Phase 1: Analyze Input\n\nSelect workers based on project type and findings.\n\nWorker selection:\n\n| Condition | ln-831 | ln-832 |\n|-----------|--------|--------|\n| Audit findings include OSS candidates | Yes | No |\n| JS\u002FTS project with `package.json` | No | Yes |\n| Both conditions true | Yes | Yes |\n| Explicit target module only | Yes | Optional if bundle impact exists |\n\nStack detection:\n\n| Indicator | Stack | ln-832 Eligible |\n|-----------|-------|----------------|\n| `package.json` + JS\u002FTS files | JS\u002FTS | Yes |\n| `*.csproj` | .NET | No |\n| `requirements.txt` or `pyproject.toml` | Python | No |\n| `go.mod` | Go | No |\n\nCheckpoint payload must include:\n- `input_source`\n- `worker_plan`\n- `stack_detection`\n- `skipped_reasons`\n\n---\n\n## Phase 2: Delegate Workers\n\nDelegate one child run per selected worker. Child runs are deterministic and artifact-driven.\n\nDelegate using the concrete worker identities selected by the routing rules below. Do not synthesize family placeholders or guessed skill IDs in prompts.\n\nDelegation context:\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `projectPath` | string | Absolute path to the target project |\n| `auditReport` | string | Path to audit output when applicable |\n| `targetModule` | string | Optional focused module path |\n| `identifier` | string | Stable worker identifier |\n| `runId` | string | Deterministic child run id |\n| `summaryArtifactPath` | string | Exact JSON path for the worker summary |\n| `options` | object | Verification flags and worker-specific settings |\n\nDelegation rules:\n- launch `ln-831` before `ln-832` when both are selected\n- `ln-832` consumes the project state produced by accepted modernization changes, not a guessed baseline\n- checkpoint every child run before waiting on its result\n- record every emitted worker summary with `record-worker-result`\n\n---\n\n## Phase 3: Collect Results\n\nAggregate validated worker summaries only.\n\nWorker summary fields consumed by the coordinator:\n\n| Field | Description |\n|-------|-------------|\n| `producer_skill` | worker identity (`ln-831` or `ln-832`) |\n| `summary_kind` | must be `modernization-worker` |\n| `identifier` | stable worker identifier |\n| `payload.status` | completed, partial, or failed |\n| `payload.changes_applied` | kept changes |\n| `payload.changes_discarded` | discarded experiments |\n| `payload.verification` | build\u002Ftest verification result |\n| `payload.artifact_path` | worker-owned durable report path |\n| `payload.warnings` | non-blocking issues |\n\nCollection output:\n- `worker_results`\n- `success_count`\n- `partial_count`\n- `failed_count`\n- `warnings`\n\n---\n\n## Phase 4: Verify Summary\n\nPrepare the final modernization report and verify the coordinator can finish deterministically.\n\nVerification checklist:\n- every planned worker produced one valid summary envelope\n- aggregate counts match recorded worker results\n- final report path exists or is ready to be written\n- `report_ready` and `verification_passed` are true before completion\n\nFailure handling:\n1. Keep successful worker results intact.\n2. Mark failed workers explicitly in the coordinator report.\n3. Do not invent rollback actions beyond what workers already verified.\n\n---\n\n## Phase 5: Report\n\nCoordinator report schema:\n\n| Field | Description |\n|-------|-------------|\n| `input_source` | audit report or target module |\n| `workers_activated` | delegated workers |\n| `modules_replaced` | OSS replacements applied |\n| `loc_removed` | custom code removed |\n| `bundle_reduction` | final bundle reduction summary |\n| `verification_passed` | aggregate verification verdict |\n| `per_worker[]` | machine-readable worker result summaries |\n| `warnings[]` | cross-worker warnings |\n\nCompletion sequence:\n1. Write the durable report.\n2. Checkpoint the report path and verification verdict.\n3. Record the `modernization-coordinator` summary envelope with `record-summary`.\n4. Complete runtime only after the report checkpoint and coordinator summary exist.\n\n---\n\n## Configuration\n\n```yaml\nOptions:\n  audit_report: \"docs\u002Fproject\u002Fcodebase_audit.md\"\n  target_module: \"\"\n  enable_oss_replacer: true\n  enable_bundle_optimizer: true\n  run_tests: true\n  run_build: true\n```\n\n---\n\n## Error Handling\n\nRecoverable:\n\n| Error | Recovery |\n|-------|----------|\n| ln-831 partial result | Continue with ln-832 if still applicable |\n| ln-832 failure | Preserve ln-831 result and report partial modernization |\n| Build failure in one worker | Keep failure in coordinator report, continue collection |\n\nFatal:\n\n| Error | Action |\n|-------|--------|\n| No workers activated | Finish with empty-result report |\n| Runtime validation failure | Pause run and require intervention |\n| Missing worker summary for planned child run | Do not advance from collection |\n\n---\n\n## References\n\n- `..\u002Fln-831-oss-replacer\u002FSKILL.md`\n- `..\u002Fln-832-bundle-optimizer\u002FSKILL.md`\n- `..\u002Fln-645-open-source-replacer\u002FSKILL.md`\n- `shared\u002Freferences\u002Fci_tool_detection.md`\n\n---\n\n**TodoWrite format (mandatory):**\n```text\n- Analyze modernization input (in_progress)\n- Delegate ln-831-oss-replacer child run (pending)\n- Delegate ln-832-bundle-optimizer child run (pending)\n- Aggregate modernization-worker summaries (pending)\n```\n\n## Worker Invocation (MANDATORY)\n\n| Phase | Worker | Context |\n|-------|--------|---------|\n| 2 | ln-831-oss-replacer | Isolated child run with `runId` and exact `summaryArtifactPath` |\n| 2 | ln-832-bundle-optimizer | Isolated child run with `runId` and exact `summaryArtifactPath` |\n\nAll workers: start the child runtime, checkpoint the `child_run` metadata, then invoke the worker skill explicitly and consume the emitted `modernization-worker` summary envelope via `record-worker-result`.\n\n```text\n# Sequential per selected worker (ln-831 before ln-832 when both selected):\nnode shared\u002Fscripts\u002Fmodernization-runtime\u002Fcli.mjs start --skill {worker} --identifier {identifier} --manifest-file {workerManifestPath} --run-id {childRunId} --summary-artifact-path {childSummaryArtifactPath}\nnode shared\u002Fscripts\u002Foptimization-runtime\u002Fcli.mjs checkpoint --phase PHASE_2_DELEGATE --payload '{\"child_run\":{\"worker\":\"{worker}\",\"run_id\":\"{childRunId}\",\"summary_artifact_path\":\"{childSummaryArtifactPath}\"}}'\nSkill(skill: \"{worker}\", args: \"{identifier} --run-id {childRunId} --summary-artifact-path {childSummaryArtifactPath}\")\nRead {childSummaryArtifactPath}\nnode shared\u002Fscripts\u002Foptimization-runtime\u002Fcli.mjs record-worker-result --payload-file {childSummaryArtifactPath}\n```\n\nWorker token substitution: `{worker}` is `ln-831-oss-replacer` or `ln-832-bundle-optimizer`.\n\n---\n\n## Definition of Done\n\n- [ ] Runtime started with a validated manifest and stable identifier\n- [ ] Modernization scope analyzed and workers selected from real input\n- [ ] One child run delegated per selected worker\n- [ ] Every child run emitted a valid `modernization-worker` summary\n- [ ] Coordinator report aggregates replacements, bundle changes, warnings, and verification results\n- [ ] Final `modernization-coordinator` summary recorded before completion\n\n---\n\n## Phase 6: Meta-Analysis\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fmeta_analysis_protocol.md`\n\nSkill type: `optimization-coordinator`. Run after all phases complete. Output to chat using the `optimization-coordinator` format.\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. If `shared\u002F` is missing, fetch files via WebFetch from `https:\u002F\u002Fraw.githubusercontent.com\u002Flevnikolaevich\u002Fclaude-code-skills\u002Fmaster\u002Fskills\u002F{path}`.\n\n# ln-830-code-modernization-coordinator\n\n**Type:** L2 Domain Coordinator\n**Category:** 8XX Optimization\n\nRuntime-backed coordinator for code modernization. Delegates OSS replacement and bundle-size work to isolated child runs, records machine-readable worker summaries, and emits a final coordinator summary.\n\n---\n\n## Overview\n\n| Aspect | Details |\n|--------|---------|\n| **Input** | Audit report, target module, or modernization scope |\n| **Output** | Aggregated modernization report with durable worker artifacts |\n| **Workers** | ln-831 (OSS replacer), ln-832 (bundle optimizer) |\n| **Runtime** | `.hex-skills\u002Fmodernization\u002Fruntime\u002Fruns\u002F{run_id}\u002F` |\n\n---\n\n## Workflow\n\n**Phases:** Pre-flight -> Analyze Input -> Delegate Workers -> Collect Results -> Verify Summary -> Report\n\n---\n\n## Runtime Contract\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fci_tool_detection.md`\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fcoordinator_runtime_contract.md`, `shared\u002Freferences\u002Fmodernization_runtime_contract.md`, `shared\u002Freferences\u002Fcoordinator_summary_contract.md`\n\nRuntime CLI:\n\n```bash\nnode shared\u002Fscripts\u002Fmodernization-runtime\u002Fcli.mjs start --identifier repo-modernization --manifest-file \u003Cfile>\nnode shared\u002Fscripts\u002Fmodernization-runtime\u002Fcli.mjs status --identifier repo-modernization\nnode shared\u002Fscripts\u002Fmodernization-runtime\u002Fcli.mjs checkpoint --phase PHASE_2_DELEGATE_WORKERS --payload '{...}'\nnode shared\u002Fscripts\u002Fmodernization-runtime\u002Fcli.mjs record-worker-result --payload '{...}'\nnode shared\u002Fscripts\u002Fmodernization-runtime\u002Fcli.mjs record-summary --payload '{...}'\nnode shared\u002Fscripts\u002Fmodernization-runtime\u002Fcli.mjs advance --to PHASE_3_COLLECT_RESULTS\nnode shared\u002Fscripts\u002Fmodernization-runtime\u002Fcli.mjs complete\n```\n\nRequired state fields:\n- `worker_plan`\n- `worker_results`\n- `child_runs`\n- `verification_passed`\n- `report_ready`\n- `summary_recorded`\n\nDomain checkpoints:\n- `PHASE_1_ANALYZE_INPUT`: target modules, worker selection, stack detection\n- `PHASE_2_DELEGATE_WORKERS`: one `child_run` per delegated worker with worker name, `runId`, and `summaryArtifactPath`\n- `PHASE_3_COLLECT_RESULTS`: recorded worker summaries and unresolved failures\n- `PHASE_4_VERIFY_SUMMARY`: final report path, verification verdict, summary readiness\n\nGuard rules:\n- do not advance from `PHASE_2_DELEGATE_WORKERS` until every planned worker emitted a valid `modernization-worker` summary\n- do not complete until the final report checkpoint exists and the `modernization-coordinator` summary was recorded\n- consume worker JSON summaries only; never infer worker status from prose output\n\n---\n\n## Phase 0: Pre-flight\n\nConfirm the modernization request has a valid scope and a deterministic runtime target.\n\n| Check | Required | Action if Missing |\n|-------|----------|-------------------|\n| Audit report or target module | Yes | Block modernization |\n| Project path | Yes | Block modernization |\n| Verification command available | Yes | Block if workers cannot verify changes |\n| Existing active run for identifier | No | Pause if conflicting run exists |\n\n---\n\n## Phase 1: Analyze Input\n\nSelect workers based on project type and findings.\n\nWorker selection:\n\n| Condition | ln-831 | ln-832 |\n|-----------|--------|--------|\n| Audit findings include OSS candidates | Yes | No |\n| JS\u002FTS project with `package.json` | No | Yes |\n| Both conditions true | Yes | Yes |\n| Explicit target module only | Yes | Optional if bundle impact exists |\n\nStack detection:\n\n| Indicator | Stack | ln-832 Eligible |\n|-----------|-------|----------------|\n| `package.json` + JS\u002FTS files | JS\u002FTS | Yes |\n| `*.csproj` | .NET | No |\n| `requirements.txt` or `pyproject.toml` | Python | No |\n| `go.mod` | Go | No |\n\nCheckpoint payload must include:\n- `input_source`\n- `worker_plan`\n- `stack_detection`\n- `skipped_reasons`\n\n---\n\n## Phase 2: Delegate Workers\n\nDelegate one child run per selected worker. Child runs are deterministic and artifact-driven.\n\nDelegate using the concrete worker identities selected by the routing rules below. Do not synthesize family placeholders or guessed skill IDs in prompts.\n\nDelegation context:\n\n| Field | Type | Description |\n|-------|------|-------------|\n| `projectPath` | string | Absolute path to the target project |\n| `auditReport` | string | Path to audit output when applicable |\n| `targetModule` | string | Optional focused module path |\n| `identifier` | string | Stable worker identifier |\n| `runId` | string | Deterministic child run id |\n| `summaryArtifactPath` | string | Exact JSON path for the worker summary |\n| `options` | object | Verification flags and worker-specific settings |\n\nDelegation rules:\n- launch `ln-831` before `ln-832` when both are selected\n- `ln-832` consumes the project state produced by accepted modernization changes, not a guessed baseline\n- checkpoint every child run before waiting on its result\n- record every emitted worker summary with `record-worker-result`\n\n---\n\n## Phase 3: Collect Results\n\nAggregate validated worker summaries only.\n\nWorker summary fields consumed by the coordinator:\n\n| Field | Description |\n|-------|-------------|\n| `producer_skill` | worker identity (`ln-831` or `ln-832`) |\n| `summary_kind` | must be `modernization-worker` |\n| `identifier` | stable worker identifier |\n| `payload.status` | completed, partial, or failed |\n| `payload.changes_applied` | kept changes |\n| `payload.changes_discarded` | discarded experiments |\n| `payload.verification` | build\u002Ftest verification result |\n| `payload.artifact_path` | worker-owned durable report path |\n| `payload.warnings` | non-blocking issues |\n\nCollection output:\n- `worker_results`\n- `success_count`\n- `partial_count`\n- `failed_count`\n- `warnings`\n\n---\n\n## Phase 4: Verify Summary\n\nPrepare the final modernization report and verify the coordinator can finish deterministically.\n\nVerification checklist:\n- every planned worker produced one valid summary envelope\n- aggregate counts match recorded worker results\n- final report path exists or is ready to be written\n- `report_ready` and `verification_passed` are true before completion\n\nFailure handling:\n1. Keep successful worker results intact.\n2. Mark failed workers explicitly in the coordinator report.\n3. Do not invent rollback actions beyond what workers already verified.\n\n---\n\n## Phase 5: Report\n\nCoordinator report schema:\n\n| Field | Description |\n|-------|-------------|\n| `input_source` | audit report or target module |\n| `workers_activated` | delegated workers |\n| `modules_replaced` | OSS replacements applied |\n| `loc_removed` | custom code removed |\n| `bundle_reduction` | final bundle reduction summary |\n| `verification_passed` | aggregate verification verdict |\n| `per_worker[]` | machine-readable worker result summaries |\n| `warnings[]` | cross-worker warnings |\n\nCompletion sequence:\n1. Write the durable report.\n2. Checkpoint the report path and verification verdict.\n3. Record the `modernization-coordinator` summary envelope with `record-summary`.\n4. Complete runtime only after the report checkpoint and coordinator summary exist.\n\n---\n\n## Configuration\n\n```yaml\nOptions:\n  audit_report: \"docs\u002Fproject\u002Fcodebase_audit.md\"\n  target_module: \"\"\n  enable_oss_replacer: true\n  enable_bundle_optimizer: true\n  run_tests: true\n  run_build: true\n```\n\n---\n\n## Error Handling\n\nRecoverable:\n\n| Error | Recovery |\n|-------|----------|\n| ln-831 partial result | Continue with ln-832 if still applicable |\n| ln-832 failure | Preserve ln-831 result and report partial modernization |\n| Build failure in one worker | Keep failure in coordinator report, continue collection |\n\nFatal:\n\n| Error | Action |\n|-------|--------|\n| No workers activated | Finish with empty-result report |\n| Runtime validation failure | Pause run and require intervention |\n| Missing worker summary for planned child run | Do not advance from collection |\n\n---\n\n## References\n\n- `..\u002Fln-831-oss-replacer\u002FSKILL.md`\n- `..\u002Fln-832-bundle-optimizer\u002FSKILL.md`\n- `..\u002Fln-645-open-source-replacer\u002FSKILL.md`\n- `shared\u002Freferences\u002Fci_tool_detection.md`\n\n---\n\n**TodoWrite format (mandatory):**\n```text\n- Analyze modernization input (in_progress)\n- Delegate ln-831-oss-replacer child run (pending)\n- Delegate ln-832-bundle-optimizer child run (pending)\n- Aggregate modernization-worker summaries (pending)\n```\n\n## Worker Invocation (MANDATORY)\n\n| Phase | Worker | Context |\n|-------|--------|---------|\n| 2 | ln-831-oss-replacer | Isolated child run with `runId` and exact `summaryArtifactPath` |\n| 2 | ln-832-bundle-optimizer | Isolated child run with `runId` and exact `summaryArtifactPath` |\n\nAll workers: start the child runtime, checkpoint the `child_run` metadata, then invoke the worker skill explicitly and consume the emitted `modernization-worker` summary envelope via `record-worker-result`.\n\n```text\n# Sequential per selected worker (ln-831 before ln-832 when both selected):\nnode shared\u002Fscripts\u002Fmodernization-runtime\u002Fcli.mjs start --skill {worker} --identifier {identifier} --manifest-file {workerManifestPath} --run-id {childRunId} --summary-artifact-path {childSummaryArtifactPath}\nnode shared\u002Fscripts\u002Foptimization-runtime\u002Fcli.mjs checkpoint --phase PHASE_2_DELEGATE --payload '{\"child_run\":{\"worker\":\"{worker}\",\"run_id\":\"{childRunId}\",\"summary_artifact_path\":\"{childSummaryArtifactPath}\"}}'\nSkill(skill: \"{worker}\", args: \"{identifier} --run-id {childRunId} --summary-artifact-path {childSummaryArtifactPath}\")\nRead {childSummaryArtifactPath}\nnode shared\u002Fscripts\u002Foptimization-runtime\u002Fcli.mjs record-worker-result --payload-file {childSummaryArtifactPath}\n```\n\nWorker token substitution: `{worker}` is `ln-831-oss-replacer` or `ln-832-bundle-optimizer`.\n\n---\n\n## Definition of Done\n\n- [ ] Runtime started with a validated manifest and stable identifier\n- [ ] Modernization scope analyzed and workers selected from real input\n- [ ] One child run delegated per selected worker\n- [ ] Every child run emitted a valid `modernization-worker` summary\n- [ ] Coordinator report aggregates replacements, bundle changes, warnings, and verification results\n- [ ] Final `modernization-coordinator` summary recorded before completion\n\n---\n\n## Phase 6: Meta-Analysis\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fmeta_analysis_protocol.md`\n\nSkill type: `optimization-coordinator`. Run after all phases complete. Output to chat using the `optimization-coordinator` format.\n\n---\n\n**Version:** 1.0.0\n**Last Updated:** 2026-03-08\n",{"name":5,"license":14,"description":7,"disable-model-invocation":45},true,"main","7bf2279c8a65758319526a721d5c4b75683aec9c","skills\u002Flevn-ln-830-code-modernization-coordinator",3,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections","https:\u002F\u002Fgithub.com\u002Fboisenoise","2026-11-14 14:18:11",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":45},[55,58,61],{"tool":56,"command":57},"npx","npx skills add boisenoise\u002Fskills-collections --skill ln-830-code-modernization-coordinator",{"tool":59,"command":60},"bunx","bunx skills add boisenoise\u002Fskills-collections --skill ln-830-code-modernization-coordinator",{"tool":62,"command":63},"pnpm","pnpm dlx skills add boisenoise\u002Fskills-collections --skill ln-830-code-modernization-coordinator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Flevn-ln-830-code-modernization-coordinator\u002FSKILL.md",[],[67,96,123,147,166,189],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":71,"licenseFileUrl":72,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":40},"01M6WNH92BHVFXHGPDZCPJ0AG0","web-access","Use Treg for public web or platform data only when existing search, browser and connected tools cannot cover the task, with explicit cost and data boundaries.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-web-access\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-web-access\u002FSKILL.md",[],[76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,39,95],"web","access","web access","official","development","browser","search","data","Tools","read","fetch","only","youtube","free tools","platform","critical","free","cover","normal","2026",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":71,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":108,"publishedAt":40},"01M6WNF9XAYAB2CZDDJBAKNM93","treg","Use the Treg CLI or MCP catalog to discover, price and call authorized external tools with team-scoped credentials and a user-approved budget.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-treg\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-treg\u002FSKILL.md",[103],{"categoryNo":104,"categoryName":105,"taxonomyType":106,"taxonomyTypeDesc":107},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[98,109,110,111,79,80,112,84,113,114,115,116,32,117,118,91,119,120,121,122,95],"MCP","cli","github","license","Budget","credentials","team","catalog","call","discover","external tools","with","scoped","blob",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":71,"licenseFileUrl":127,"sourceHtmlUrl":128,"categories":129,"keywords":133,"publishedAt":40},"01M6WN93MEAZ4E41DYAHJRPHQT","recruit","Turn a job description into an evidence-linked candidate shortlist through Treg, with job-related ranking and optional authorized business contact enrichment.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-recruit\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-recruit\u002FSKILL.md",[130],{"categoryNo":131,"categoryName":132,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000038","人力资源",[125,111,79,112,134,135,136,137,138,139,91,140,141,142,120,143,144,145,146,122,98,95],"https","email","enrichment","business","evidence","phone","ranking","post","job description","for","person","candidate","reason",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":71,"licenseFileUrl":151,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":40},"01M6WN8R5RXSMHM9B4D9FAFX42","rea-growth","Analyze a company’s public growth and content through Treg, distinguish observations from hypotheses, and produce an evidence-linked playbook within an approved budget.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-rea-growth\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-rea-growth\u002FSKILL.md",[],[155,156,157,111,79,112,158,159,134,160,113,161,162,163,138,91,164,165,122,98,95],"growth","rea","rea growth","produce","content","playbook","marketing","analyze","public","observations","company",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":71,"licenseFileUrl":170,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":40},"01M6WN2EVE3RQRGWAKBT4S7YT2","make-ugc","Create original AI UGC-style product videos through Treg: research hooks, approve a licensed presenter and voice, generate clips, add captions and report costs.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-make-ugc\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-make-ugc\u002FSKILL.md",[],[174,175,111,176,79,177,112,178,179,180,181,182,91,183,184,185,186,187,188,122],"make","make ugc","research","create","Video","Captions","ads","short","hooks","head","style","niche","trending","talking-head","approve",{"skillNo":190,"name":191,"nameZh":6,"description":192,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":71,"licenseFileUrl":193,"sourceHtmlUrl":194,"categories":195,"keywords":196,"publishedAt":40},"01M6WN10ARAA63Y8K1YNGXJ2RM","lead-signals","Find and qualify public buying signals through Treg, rank fitting business accounts and optionally enrich authorized business contact information.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lead-signals\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lead-signals\u002FSKILL.md",[],[197,198,199,111,79,112,200,201,137,202,203,91,204,205,206,207,208,209,210,122],"signals","lead","lead signals","how","find","ready","as","how to","qualify","people","information","enrich","changes","funding"]