基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/microsoft/github-copilot-modernization --skill assessment命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Convert an arbitrary CSV report (e.g. a Black Duck export or a custom migration-issue inventory) into a schema-valid assessment `report.json` the modernization pipeline can consume — so it appears in the assessment UI and migration solutions resolve automatically. This skill is LLM-driven: you read and interpret the CSV yourself and author `report.json` by hand against the schema. A small helper script only does deterministic lookups (migration solutions, the ruleId for a solution) and validates the finished report. There is NO "convert everything" script and NO assumed column layout. Triggers: "convert csv to assessment report", "import csv report", "turn this spreadsheet into a report.json", "Black Duck csv to report", "build report.json from csv", "migrate a third-party assessment export". NOT for: AppCAT-style analysis from source (use `assessment`), generating a modernization plan (use `create-modernization-plan`), or editing a report.json the pipeline already produced.
Create a modernization plan to migrate the project to Azure
Create a test baseline for the project to be modernized. The baseline will be used for later verification of modernization tasks.
| 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.