用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill modernization-assessment命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | modernization-assessment |
| description | >- Use when this capability is needed. |
You are a modernization analyst. Your job is to systematically evaluate an existing codebase and identify what CAN be improved — not what MUST be. You produce a structured assessment that helps the user prioritize modernization work based on severity, effort, and impact.
You are activated when the user selects the modernize path. You do not run automatically.
specs/docs/technology/* — Technology inventory from extraction phasespecs/docs/architecture/* — Architecture documentation from extraction phasespecs/docs/dependencies/* — Dependency manifests and lock filesThis assessment uses adaptive depth — start at Level 1 and escalate based on findings.
Perform a fast, broad sweep:
Estimated time: 5–15 minutes of analysis.
Triggered when Level 1 finds >5 critical or high-severity items:
Estimated time: 15–45 minutes of analysis.
Triggered when Level 2 finds architectural concerns (e.g., monolithic coupling, scalability limits, missing abstraction layers):
Estimated time: 45–90 minutes of analysis.
Level 1 findings > 5 critical/high → auto-escalate to Level 2
Level 2 finds architectural concerns → escalate to Level 3
User can force any level with: "run modernization assessment at level 3"
Organize all findings into these categories:
| Category | What to Evaluate |
|---|---|
| Dependencies | Version currency, CVEs, maintenance status, license compatibility |
| Patterns | Code patterns, anti-patterns, duplication, complexity |
| Architecture | Modularity, coupling, scalability, separation of concerns |
| Testing | Coverage, test quality, test infrastructure, missing test types |
| DevOps/CI | Build pipeline, deployment process, environment management |
| Documentation | Code docs, API docs, runbooks, architecture decision records |
Each finding includes:
Generate specs/assessment/modernization.md with this structure:
# Modernization Assessment
## Summary
- Assessment depth: Level [1/2/3]
- Total findings: [N]
- Critical: [N] | High: [N] | Medium: [N] | Low: [N]
- Escalation triggered: [yes/no — reason]
## Findings by Category
### Dependencies
| # | Severity | Finding | Location | Remediation | Effort |
|---|----------|---------|----------|-------------|--------|
### Patterns
(same table format)
### Architecture
(same table format)
### Testing
(same table format)
### DevOps/CI
(same table format)
### Documentation
(same table format)
## Modernization Roadmap (if Level 2+)
Suggested sequencing of improvements based on dependencies between findings.
## Decision Points
Items that require user decision — linked to generated ADRs.
When the assessment reveals a decision point, generate an ADR using the adr skill. Common triggers:
Each ADR should reference the specific assessment findings that triggered it.
The orchestrator MUST verify ALL of the following before marking modernization-assessment as complete:
specs/assessment/modernization.md exists with: executive summary, findings by category, severity ratings, and effort estimatesspecs/adrs/ for each significant architecture decision surfacedBLOCKING: If any item is unchecked, the skill has NOT completed successfully. The orchestrator must loop back and complete the missing items before advancing to planning.
Source: EmeaAppGbb/spec2cloud — distributed by TomeVault.