autonomous-tdd-agent
БесплатноБез исполняемых скриптовНе проверенAutonomous Test-Driven Development Agent workflow for implementing features without human intervention. Use this skill when: - Implementing new features from…
от SHAdd0WTAka★ 535 звёзд на GitHubОб этом скилле
Autonomous TDD Agent
Execute Test-Driven Development autonomously without asking for clarification. Make reasonable assumptions, document them, and proceed through the implementation loop.
The 6-Step Autonomous Loop
Step 1: Analyze Failing Tests
- Read the test file completely
- Identify all test classes and methods
- Understand what the tests expect (inputs, outputs, side effects)
- Note required classes, functions, and their signatures
- Document assumptions in comments
Step 2: Initial Implementation
- Create the minimal implementation to satisfy the tests
- Focus on correctness over elegance
- Include proper imports and exports
- Add basic error handling
Step 3: Predict Test Results
- Before running, predict which tests will pass/fail
- Document your prediction as a comment
- Run the actual tests
- Compare prediction vs reality
Step 4: Iterate Until Green
- Fix failing tests one by one
- Document each fix in code comments
- Never skip a failing test
- If stuck, try alternative approaches
Step 5: Refactor
- Once all tests pass, improve code quality
- Extract functions, add type hints, improve naming
- Ensure no tests break during refactoring
- Remove duplication
Step 6: Summarize
- Provide summary of changes across iterations
- Document key decisions and assumptions
- Note test coverage achieved
Workflow Pattern
# 1. READ TESTS
# Read and understand all test requirements
# 2. IMPLEMENT
# Write initial implementation
# 3. TEST & ITERATE
while failing_tests > 0:
run_tests()
fix_failures()
document_fixes()
# 4. REFACTOR
improve_code_quality()
verify_tests_still_pass()
# 5. SUMMARIZE
report_changes()
Rules
- Never ask for clarification - Make reasonable assumptions and document them
- Implement both approaches - If two valid approaches exist, implement both as branches
- Minimal changes - Only change what's necessary to make tests pass
- Document everything - Every assumption, every fix, every iteration
- Test everything - All code paths must be covered
Example Usage
Feature: Implement a rate limiter
Test file: tests/unit/test_rate_limiter.py
[Execute 6-step loop autonomously]
Output Format
After completion, provide:
- Final implementation code
- Iteration summary table
- Test results
- Key assumptions made
See references/WORKFLOW_EXAMPLES.md for detailed examples.
Установить autonomous-tdd-agent в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл autonomous-tdd-agent?
Autonomous Test-Driven Development Agent workflow for implementing features without human intervention. Use this skill when: - Implementing new features from failing tests - Fixing broken test suites - Creating production-ready code with test coverage - Working in TDD mode with minimal guidance The skill provides a 6-step autonomous loop: analyze tests → implement → predict → iterate → refactor → summarize. Works with any Python project using pytest.
Как установить скилл autonomous-tdd-agent?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл autonomous-tdd-agent запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic