Agent Skills
› pony-maggie/code_minions
› ai-code-review
ai-code-review
GitHub根据工单验收标准和项目规范审查代码差异,按严重程度结构化报告问题(阻塞、主要、次要、风格),但不修改代码。
Trigger Scenarios
需要审查代码差异时
验证代码是否符合工单验收标准时
Install
npx skills add pony-maggie/code_minions --skill ai-code-review -g -y
SKILL.md
Frontmatter
{
"llm": {
"temperature": 0.1,
"max_iterations": 15
},
"name": "ai-code-review",
"role": "reviewer",
"inputs": {
"diff": {
"type": "string",
"required": true
},
"ticket": {
"type": "object",
"required": true
},
"files_changed": {
"type": "array",
"required": true
}
},
"outputs": {
"issues": {
"type": "array"
},
"summary": {
"type": "string"
},
"approved": {
"type": "boolean"
}
},
"description": "Structured review of a diff against a ticket's acceptance criteria.",
"allowed-tools": [
"Read"
],
"required-mcps": []
}
ai-code-review
Review a code diff against the ticket's acceptance criteria and project conventions.
Inputs
diff(string, required): unified diff of the changes to review.ticket(object, required): the task/ticket being implemented (hasacceptance_criteria).files_changed(string[], required): relative paths of modified files (for reading full context).
Instructions
- Consult
AGENTS.mdfor project-specific conventions. - For each modified file, read the full current content with the built-in
Readtool to understand context beyond the diff. - Produce structured issues with severity:
blocker: breaks the contract, insecure, or fails the acceptance criteriamajor: logic bug, performance issue, API contract driftminor: readability, minor design smellnit: style/naming/typo
- Do NOT fix the code; only report.
Outputs (reply JSON)
issues(object[]):{severity, file, line, description, suggested_fix}summary(string): 2-4 sentence overall assessmentapproved(boolean): true if no blocker/major issues remain
Version History
- ac75593 Current 2026-07-24 17:41


