Agent Skills
› pony-maggie/code_minions
› implement-with-tdd
implement-with-tdd
GitHub基于TDD循环实现单个任务,结合AI代码审查迭代直至收敛。要求必须包含可执行测试,并限制审查轮次以平衡质量与效率。
Trigger Scenarios
需要遵循TDD流程开发新功能或修复Bug
希望利用AI进行自动化代码审查和重构
Install
npx skills add pony-maggie/code_minions --skill implement-with-tdd -g -y
SKILL.md
Frontmatter
{
"llm": {
"max_tokens": 16000,
"temperature": 0.2,
"max_iterations": 30
},
"name": "implement-with-tdd",
"role": "implementer",
"inputs": {
"ticket": {
"type": "object",
"required": true
}
},
"outputs": {
"commit_sha": {
"type": "string"
},
"rounds_used": {
"type": "integer"
},
"test_result": {
"type": "object"
},
"files_changed": {
"type": "array"
},
"review_report": {
"type": "object"
}
},
"policies": {
"require_tests": true,
"reviewer_max_rounds": 2,
"self_heal_max_rounds": 3
},
"description": "TDD implementation with AI code-review loop for a single ticket.",
"allowed-tools": [],
"required-mcps": [],
"invokes-skills": [
"ai-code-review"
],
"entrypoint-script": "scripts\/run.py"
}
implement-with-tdd
Implement a single ticket using a TDD cycle and iterate with AI code review until converged or max-rounds reached.
Inputs
ticket(object, required): one task from plan-tasks / create-jira-tickets.
Outputs
files_changed(string[])test_result(object):{passed: boolean, output: string}commit_sha(string): commit created at end of the loopreview_report(object): final ai-code-review outputrounds_used(integer)
Policies
require_tests: truemeans a green command is not enough: the runtime must also detect at least one executable test in the workspace before the ticket can be reported as implemented.reviewer_max_rounds: 2means the first blocker/major review finding is fed back to the implementer for one repair attempt before the task falls back to human intervention.
Version History
- ac75593 Current 2026-07-24 17:41


