Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

ln-830-code-modernization-coordinatorln 830 代码现代化协调员

Agent Skill

ln-830-code-modernization-coordinator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,096

周安装

133

GitHub Stars

437

下载量

1,085
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ln-830-code-modernization-coordinator(ln 830 代码现代化协调员)
来源仓库:https://github.com/levnikolaevich/claude-code-skills
仓库路径:skills/ln-830-code-modernization-coordinator
安装命令:
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-830-code-modernization-coordinator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-830-code-modernization-coordinator

简介

用于代码现代化改造,支持 JS/TS 和 .NET 等项目类型。

  • 根据审计报告选择合适工人执行具体现代化任务。
  • 确保变更经过验证且不影响现有功能稳定性。
  • 安装前建议确认权限范围、维护状态及是否触发代码修改操作。
  • ln-830-code-modernization-coordinator 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Paths: File paths (shared/, references/, ../ln-*) 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/ is missing, fetch files via WebFetch from https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}.

ln-830-code-modernization-coordinator

Type: L2 Domain Coordinator Category: 8XX Optimization

Runtime-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.


Overview

AspectDetails
InputAudit report, target module, or modernization scope
OutputAggregated modernization report with durable worker artifacts
Workersln-831 (OSS replacer), ln-832 (bundle optimizer)
Runtime.hex-skills/modernization/runtime/runs/{run_id}/

Workflow

Phases: Pre-flight -> Analyze Input -> Delegate Workers -> Collect Results -> Verify Summary -> Report


Runtime Contract

MANDATORY READ: Load shared/references/ci_tool_detection.md MANDATORY READ: Load shared/references/coordinator_runtime_contract.md, shared/references/modernization_runtime_contract.md, shared/references/coordinator_summary_contract.md

Runtime CLI:

node shared/scripts/modernization-runtime/cli.mjs start --identifier repo-modernization --manifest-file <file>
node shared/scripts/modernization-runtime/cli.mjs status --identifier repo-modernization
node shared/scripts/modernization-runtime/cli.mjs checkpoint --phase PHASE_2_DELEGATE_WORKERS --payload '{...}'
node shared/scripts/modernization-runtime/cli.mjs record-worker-result --payload '{...}'
node shared/scripts/modernization-runtime/cli.mjs record-summary --payload '{...}'
node shared/scripts/modernization-runtime/cli.mjs advance --to PHASE_3_COLLECT_RESULTS
node shared/scripts/modernization-runtime/cli.mjs complete

Required state fields:

  • worker_plan
  • worker_results
  • child_runs
  • verification_passed
  • report_ready
  • summary_recorded

Domain checkpoints:

  • PHASE_1_ANALYZE_INPUT: target modules, worker selection, stack detection
  • PHASE_2_DELEGATE_WORKERS: one child_run per delegated worker with worker name, runId, and summaryArtifactPath
  • PHASE_3_COLLECT_RESULTS: recorded worker summaries and unresolved failures
  • PHASE_4_VERIFY_SUMMARY: final report path, verification verdict, summary readiness

Guard rules:

  • do not advance from PHASE_2_DELEGATE_WORKERS until every planned worker emitted a valid modernization-worker summary
  • do not complete until the final report checkpoint exists and the modernization-coordinator summary was recorded
  • consume worker JSON summaries only; never infer worker status from prose output

Phase 0: Pre-flight

Confirm the modernization request has a valid scope and a deterministic runtime target.

CheckRequiredAction if Missing
Audit report or target moduleYesBlock modernization
Project pathYesBlock modernization
Verification command availableYesBlock if workers cannot verify changes
Existing active run for identifierNoPause if conflicting run exists

Phase 1: Analyze Input

Select workers based on project type and findings.

Worker selection:

Conditionln-831ln-832
Audit findings include OSS candidatesYesNo
JS/TS project with package.jsonNoYes
Both conditions trueYesYes
Explicit target module onlyYesOptional if bundle impact exists

Stack detection:

IndicatorStackln-832 Eligible
package.json + JS/TS filesJS/TSYes
*.csproj.NETNo
requirements.txt or pyproject.tomlPythonNo
go.modGoNo

Checkpoint payload must include:

  • input_source
  • worker_plan
  • stack_detection
  • skipped_reasons

Phase 2: Delegate Workers

Delegate one child run per selected worker. Child runs are deterministic and artifact-driven.

Delegate using the concrete worker identities selected by the routing rules below. Do not synthesize family placeholders or guessed skill IDs in prompts.

Delegation context:

FieldTypeDescription
projectPathstringAbsolute path to the target project
auditReportstringPath to audit output when applicable
targetModulestringOptional focused module path
identifierstringStable worker identifier
runIdstringDeterministic child run id
summaryArtifactPathstringExact JSON path for the worker summary
optionsobjectVerification flags and worker-specific settings

Delegation rules:

  • launch ln-831 before ln-832 when both are selected
  • ln-832 consumes the project state produced by accepted modernization changes, not a guessed baseline
  • checkpoint every child run before waiting on its result
  • record every emitted worker summary with record-worker-result

Phase 3: Collect Results

Aggregate validated worker summaries only.

Worker summary fields consumed by the coordinator:

FieldDescription
producer_skillworker identity (ln-831 or ln-832)
summary_kindmust be modernization-worker
identifierstable worker identifier
payload.statuscompleted, partial, or failed
payload.changes_appliedkept changes
payload.changes_discardeddiscarded experiments
payload.verificationbuild/test verification result
payload.artifact_pathworker-owned durable report path
payload.warningsnon-blocking issues

Collection output:

  • worker_results
  • success_count
  • partial_count
  • failed_count
  • warnings

Phase 4: Verify Summary

Prepare the final modernization report and verify the coordinator can finish deterministically.

Verification checklist:

  • every planned worker produced one valid summary envelope
  • aggregate counts match recorded worker results
  • final report path exists or is ready to be written
  • report_ready and verification_passed are true before completion

Failure handling:

  1. Keep successful worker results intact.
  2. Mark failed workers explicitly in the coordinator report.
  3. Do not invent rollback actions beyond what workers already verified.

Phase 5: Report

Coordinator report schema:

FieldDescription
input_sourceaudit report or target module
workers_activateddelegated workers
modules_replacedOSS replacements applied
loc_removedcustom code removed
bundle_reductionfinal bundle reduction summary
verification_passedaggregate verification verdict
per_worker[]machine-readable worker result summaries
warnings[]cross-worker warnings

Completion sequence:

  1. Write the durable report.
  2. Checkpoint the report path and verification verdict.
  3. Record the modernization-coordinator summary envelope with record-summary.
  4. Complete runtime only after the report checkpoint and coordinator summary exist.

Configuration

Options:
  audit_report: "docs/project/codebase_audit.md"
  target_module: ""
  enable_oss_replacer: true
  enable_bundle_optimizer: true
  run_tests: true
  run_build: true

Error Handling

Recoverable:

ErrorRecovery
ln-831 partial resultContinue with ln-832 if still applicable
ln-832 failurePreserve ln-831 result and report partial modernization
Build failure in one workerKeep failure in coordinator report, continue collection

Fatal:

ErrorAction
No workers activatedFinish with empty-result report
Runtime validation failurePause run and require intervention
Missing worker summary for planned child runDo not advance from collection

References

  • ../ln-831-oss-replacer/SKILL.md
  • ../ln-832-bundle-optimizer/SKILL.md
  • ../ln-645-open-source-replacer/SKILL.md
  • shared/references/ci_tool_detection.md

TodoWrite format (mandatory):

- Analyze modernization input (in_progress)
- Delegate ln-831-oss-replacer child run (pending)
- Delegate ln-832-bundle-optimizer child run (pending)
- Aggregate modernization-worker summaries (pending)

Worker Invocation (MANDATORY)

PhaseWorkerContext
2ln-831-oss-replacerIsolated child run with runId and exact summaryArtifactPath
2ln-832-bundle-optimizerIsolated child run with runId and exact summaryArtifactPath

All 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.

# Sequential per selected worker (ln-831 before ln-832 when both selected):
node shared/scripts/modernization-runtime/cli.mjs start --skill {worker} --identifier {identifier} --manifest-file {workerManifestPath} --run-id {childRunId} --summary-artifact-path {childSummaryArtifactPath}
node shared/scripts/optimization-runtime/cli.mjs checkpoint --phase PHASE_2_DELEGATE --payload '{"child_run":{"worker":"{worker}","run_id":"{childRunId}","summary_artifact_path":"{childSummaryArtifactPath}"}}'
Skill(skill: "{worker}", args: "{identifier} --run-id {childRunId} --summary-artifact-path {childSummaryArtifactPath}")
Read {childSummaryArtifactPath}
node shared/scripts/optimization-runtime/cli.mjs record-worker-result --payload-file {childSummaryArtifactPath}

Worker token substitution: {worker} is ln-831-oss-replacer or ln-832-bundle-optimizer.


Definition of Done

  • Runtime started with a validated manifest and stable identifier
  • Modernization scope analyzed and workers selected from real input
  • One child run delegated per selected worker
  • Every child run emitted a valid modernization-worker summary
  • Coordinator report aggregates replacements, bundle changes, warnings, and verification results
  • Final modernization-coordinator summary recorded before completion

Phase 6: Meta-Analysis

MANDATORY READ: Load shared/references/meta_analysis_protocol.md

Skill type: optimization-coordinator. Run after all phases complete. Output to chat using the optimization-coordinator format.


Version: 1.0.0 Last Updated: 2026-03-08

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.94%
按下载量换算401

Claude

29.03%
按下载量换算315

Cursor

16.72%
按下载量换算181

Gemini CLI

9.38%
按下载量换算102

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills