Assess codebase for CWE file & path security vulnerabilities (CWE-22, CWE-23, CWE-36, CWE-434, CWE-611)
安装
npx skills add microsoft/github-copilot-modernization --skill cwe-file-path-securitynpx skills add microsoft/github-copilot-modernization --skill cwe-file-path-security -a claude-code -gnpx skills add microsoft/github-copilot-modernization --skill cwe-file-path-security -a codex -ggemini skills install https://github.com/microsoft/github-copilot-modernization.git --path plugins/github-copilot-modernization/skills/cwe-file-path-securitygh skill install microsoft/github-copilot-modernization cwe-file-path-securitygit clone --depth 1 https://github.com/microsoft/github-copilot-modernization /tmp/microsoft__github-copilot-modernization
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/microsoft__github-copilot-modernization/plugins/github-copilot-modernization/skills/cwe-file-path-security ~/.claude/skills/cwe-file-path-security # Claude Code
cp -R /tmp/microsoft__github-copilot-modernization/plugins/github-copilot-modernization/skills/cwe-file-path-security ~/.agents/skills/cwe-file-path-security # Codex, Cursor, Gemini CLI, Copilot, OpenCode