一键导入
assessment
Run application assessment for a single repository
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run application assessment for a single repository
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate API and service communication contracts with sequence diagram
Generate architecture diagram with component relationship details from project analysis
Generate core business workflow documentation with sequence diagram
Generate comprehensive configuration and externalized settings inventory
Create a modernization plan to migrate the project to Azure
Generate task DAGs for modernization projects — select fragments from task catalog, produce initial DAG (Stage 1), and execute/validate DAG from plan artifacts (Stage 2).
| name | assessment |
| description | Run application assessment for a single repository |
This skill performs application assessment for a single repository. It supports Java, .NET, and JavaScript/TypeScript projects.
workspace-path (optional): Path to the project to assess. Defaults to the current directory (repository root) when not specified. All assessment outputs are written relative to this path (e.g. {workspace-path}/.github/modernize/assessment/reports/report-{reportId}/report.json). For a repository with multiple sub-projects, pass the sub-project directory path so that each sub-project's outputs are isolated.Use this skill when you need to:
This skill performs a simplified assessment workflow:
Check Project Type and Prerequisites:
Run Assessment:
dotnet tool update dotnet-appcat{workspace-path}projectPaths="project1.csproj;project2.csproj"appcat analyze $projectPaths --source Solution --target Any --serializer APPMODJSON --code --privacyMode Restricted --non-interactive --report {workspace-path}\.github\modernize\appcat\result\report.jsonnpm install -g npm-check-updates@19.6.3 --prefix {tool-install-dir}ncu --format group --packageFile {workspace-path}/package.jsonreportId as a UTC timestamp formatted as yyyyMMddHHmmss (e.g. 2024-06-15T14:30:52Z becomes 20240615143052)mkdir -p {workspace-path}/.github/modernize/assessment/reports/report-{reportId}{workspace-path}/.github/modernize/assessment/reports/report-{reportId}/js-assessment-report.mdSave Report to Versioned Directory (All languages):
{workspace-path}/.github/modernize/assessment/reports/report-{reportId}/report.json — no manual saving neededreport.json under {workspace-path}/.github/modernize/appcat/result/metadata.analysisStartTimeyyyyMMddHHmmss to produce the reportId (e.g. 2024-06-15T14:30:52Z becomes 20240615143052)mkdir -p {workspace-path}/.github/modernize/assessment/reports/report-{reportId}{workspace-path}/.github/modernize/assessment/reports/report-{reportId}/report.jsonreport.json at {workspace-path}/.github/modernize/appcat/result/report.jsonmetadata.analysisStartTimeyyyyMMddHHmmss to produce the reportId (e.g. 2024-06-15T14:30:52Z becomes 20240615143052)mkdir -p {workspace-path}/.github/modernize/assessment/reports/report-{reportId}{workspace-path}/.github/modernize/assessment/reports/report-{reportId}/report.jsonFor Java projects:
For .NET projects:
dotnet-appcat tool if not already presentFor JavaScript/TypeScript projects:
npm-check-updates if not already presentSimply express the intent to assess the application. Example prompts:
The assessment process automatically:
{workspace-path}{workspace-path}/.github/modernize/assessment/reports/report-{reportId}/report.json{workspace-path}/.github/modernize/appcat/result/, then moved to versioned directory{workspace-path}/.github/modernize/appcat/result/report.json{workspace-path}/.github/modernize/assessment/reports/report-{reportId}/js-assessment-report.mdFor Java projects:
{workspace-path}/.github/modernize/assessment/reports/report-{reportId}/report.json — no manual report moving is neededreport.json under {workspace-path}/.github/modernize/appcat/result/metadata.analysisStartTime, format as yyyyMMddHHmmss to get reportId{workspace-path}/.github/modernize/assessment/reports/report-{reportId}/report.jsonFor .NET projects:
{workspace-path}/.github/modernize/appcat/result/report.jsonmetadata.analysisStartTime, format as yyyyMMddHHmmss to get reportId{workspace-path}/.github/modernize/assessment/reports/report-{reportId}/report.jsonFor JavaScript/TypeScript projects:
reportId as a UTC timestamp formatted as yyyyMMddHHmmss (e.g. 2024-06-15T14:30:52Z becomes 20240615143052)mkdir -p {workspace-path}/.github/modernize/assessment/reports/report-{reportId}{workspace-path}/.github/modernize/assessment/reports/report-{reportId}/js-assessment-report.mdReport location depends on project type:
For Java projects (via MCP server):
{workspace-path}/.github/modernize/assessment/reports/report-{reportId}/report.json{workspace-path}/.github/modernize/appcat/result/, then moved to versioned directory: {workspace-path}/.github/modernize/assessment/reports/report-{reportId}/report.jsonFor .NET projects (direct execution):
{workspace-path}/.github/modernize/appcat/result/report.json{workspace-path}/.github/modernize/assessment/reports/report-{reportId}/report.jsonFor JavaScript/TypeScript projects (direct execution):
{workspace-path}/.github/modernize/assessment/reports/report-{reportId}/js-assessment-report.mdAssessment is complete when:
{workspace-path}/.github/modernize/assessment/reports/report-{reportId}/report.json{workspace-path}/.github/modernize/assessment/reports/report-{reportId}/js-assessment-report.mdPrerequisites Not Met:
dotnet --version commandnpm --version commandAssessment Failures:
{workspace-path}/package.jsonReport Generation Issues:
{workspace-path}/.github/modernize/assessment/reports/report-*/report.json after MCP execution{workspace-path}/.github/modernize/appcat/result/ after MCP execution{workspace-path}/.github/modernize/appcat/result/report.json, or metadata.analysisStartTime missing from report{workspace-path}/.github/modernize/assessment/reports/report-{reportId}/js-assessment-report.mdFor any failure, provide clear error messages and troubleshooting steps.