Agent Skillspony-maggie/code_minions › implement-with-tdd

implement-with-tdd

GitHub

基于TDD循环实现单个任务,结合AI代码审查迭代直至收敛。要求必须包含可执行测试,并限制审查轮次以平衡质量与效率。

src/code_minions/builtin/skills/implement-with-tdd/SKILL.md pony-maggie/code_minions

Trigger Scenarios

需要遵循TDD流程开发新功能或修复Bug 希望利用AI进行自动化代码审查和重构

Install

npx skills add pony-maggie/code_minions --skill implement-with-tdd -g -y
More Options

Non-standard path

npx skills add https://github.com/pony-maggie/code_minions/tree/main/src/code_minions/builtin/skills/implement-with-tdd -g -y

Use without installing

npx skills use pony-maggie/code_minions@implement-with-tdd

指定 Agent (Claude Code)

npx skills add pony-maggie/code_minions --skill implement-with-tdd -a claude-code -g -y

安装 repo 全部 skill

npx skills add pony-maggie/code_minions --all -g -y

预览 repo 内 skill

npx skills add pony-maggie/code_minions --list

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 loop
  • review_report (object): final ai-code-review output
  • rounds_used (integer)

Policies

  • require_tests: true means 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: 2 means 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

Same Skill Collection

src/code_minions/builtin/skills/ai-code-review/SKILL.md
src/code_minions/builtin/skills/create-jira-tickets/SKILL.md
src/code_minions/builtin/skills/hello-world/SKILL.md
src/code_minions/builtin/skills/open-github-pr/SKILL.md
src/code_minions/builtin/skills/parse-prd/SKILL.md
src/code_minions/builtin/skills/plan-tasks/SKILL.md
src/code_minions/builtin/skills/product-acceptance-review/SKILL.md
src/code_minions/builtin/skills/python-web-plan-tasks/SKILL.md
src/code_minions/builtin/skills/summarize-file/SKILL.md
src/code_minions/builtin/skills/compile-report/SKILL.md

Metadata

Files
0
Version
ac75593
Hash
6bdc98de
Indexed
2026-07-24 17:41

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-16 19:34
浙ICP备14020137号-1 $mapa de visitantes$