Agent Skills
› NeverSight/learn-skills.dev
› mcp-codacy
mcp-codacy
GitHub利用 Codacy MCP 服务器进行静态代码分析,获取并优先修复高价值问题。适用于需要符合仓库门禁(如 ESLint、架构门)的代码质量反馈场景,支持聚焦扫描、优先级修复及 PR 证据汇总。
Trigger Scenarios
需要进行静态代码分析以获取代码质量反馈时
需要根据 Codacy 发现结果优先修复安全性或正确性问题时
需要为 Pull Request 生成代码修复证据摘要时
Install
npx skills add NeverSight/learn-skills.dev --skill mcp-codacy -g -y
SKILL.md
Frontmatter
{
"name": "mcp-codacy",
"description": "Use the Codacy MCP server (@codacy\/codacy-mcp) to run static analysis, retrieve findings, and focus remediation on high-signal issues; use when you need code quality feedback aligned with repo gates (lint, build, architecture:gate)."
}
MCP Skill: Codacy
Scope
Use the MCP server configured as codacy in .vscode/mcp.json to pull static analysis findings and prioritize fixes that reduce risk without adding unnecessary abstraction.
Preconditions
- Ensure
.vscode/mcp.jsoncontains a server entry namedcodacy. - Ensure the
CODACY_ACCOUNT_TOKENinput is available (the VS Code MCP input prompt will request it).
Operating Rules
- Treat findings as a prioritization signal, not an excuse to refactor broadly.
- Fix issues at the source with minimal changes; do not suppress unless explicitly approved.
- Align with existing gates: ESLint, TypeScript type-check, dependency/architecture gate.
Typical Workflows
- Focused scan for touched files
- Query findings for files changed in the current task.
- Prioritized remediation
- Address correctness/security first, then maintainability.
- Evidence for PR
- Summarize top findings and which commits/changes resolved them.
Prompt Templates
- "Run Codacy analysis and list the top issues in
. Propose minimal fixes that preserve DDD boundaries." - "Given these Codacy findings:
, group by severity and map to concrete code edits."
Version History
- e0220ca Current 2026-07-05 21:26


