Agent skill
implement-task
Implement a task using TDD (tests first, then minimal code)
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/implement-task-etroxtaran-conductor
SKILL.md
Implement Task Skill
When to Use
Use this skill when you have a task with:
- Clear acceptance criteria
- Defined file scope
- Testable requirements
Instructions
Step 1: Analyze the Task
Read the task definition and extract:
- Acceptance criteria (what must be true when done)
- Files to create/modify
- Dependencies on other code
Step 2: Write Failing Tests
For each acceptance criterion:
# tests/test_<feature>.py
def test_<criterion>():
# Arrange: Set up test data
...
# Act: Call the function/method
result = function_under_test(...)
# Assert: Verify expected behavior
assert result == expected
Run tests to confirm they fail:
pytest tests/test_<feature>.py -v
Step 3: Implement Minimal Code
Write the simplest code that makes tests pass:
- No premature optimization
- No extra features
- Follow existing patterns
Step 4: Verify
Run all tests:
pytest tests/ -v
Step 5: Report
Output format:
{
"status": "completed",
"tests_written": 3,
"tests_passed": 3,
"files_created": ["src/feature.py"],
"files_modified": ["src/utils.py"]
}
Completion Signal
When finished, output:
<promise>DONE</promise>
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?