implementing-with-tdd
Use when implementing bug fixes, features, or any code changes where test-first development is appropriate.
Best use case
implementing-with-tdd is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Use when implementing bug fixes, features, or any code changes where test-first development is appropriate.
Teams using implementing-with-tdd should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/implementing-with-tdd/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How implementing-with-tdd Compares
| Feature / Agent | implementing-with-tdd | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Use when implementing bug fixes, features, or any code changes where test-first development is appropriate.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# TDD Implementation ## PairCoder Integration When implementing via TDD in this project: 1. **Start task**: `bpsai-pair task update TASK-XXX --status in_progress` 2. **Write test** in `tests/test_<module>.py` 3. **Run test**: `pytest tests/test_<module>.py -v` (expect RED) 4. **Implement** in `tools/cli/bpsai_pair/` 5. **Run test**: `pytest tests/test_<module>.py -v` (expect GREEN) 6. **Refactor** if needed, keeping tests green 7. **Complete**: Follow managing-task-lifecycle skill for two-step completion ## Project Test Commands ```bash # Run specific test pytest tests/test_module.py::test_function -v # Run all tests pytest # Run with coverage pytest --cov=tools/cli/bpsai_pair # Run only failed tests pytest --lf # Stop on first failure pytest -x # Show print output pytest -s ``` ## Project Test Conventions - Test files: `tests/test_<module>.py` - Test functions: `test_<function>_<scenario>_<expected>()` - Use fixtures from `tests/conftest.py` - Mock external services (Trello API, etc.) ## Linting ```bash # Check linting ruff check . # Auto-fix ruff check --fix . ``` ## Run All Checks ```bash bpsai-pair ci # Runs tests + linting + type checks in one command ``` ## Task Completion After tests pass, follow the managing-task-lifecycle skill: 1. `bpsai-pair ttask done TRELLO-XX --summary "..." --list "Deployed/Done"` 2. `bpsai-pair task update TASK-XXX --status done`
Related Skills
implementing-real-user-monitoring
This skill assists in implementing Real User Monitoring (RUM) to capture and analyze actual user performance data. It helps set up tracking for key metrics like Core Web Vitals, page load times, and custom performance events. Use this skill when the user asks to "setup RUM", "implement real user monitoring", "track user experience", or needs assistance with "performance monitoring". It guides the user through choosing a RUM platform, designing an instrumentation strategy, and implementing the necessary tracking code.
implementing-database-caching
Process use when you need to implement multi-tier caching to improve database performance. This skill sets up Redis, in-memory caching, and CDN layers to reduce database load. Trigger with phrases like "implement database caching", "add Redis cache layer", "improve query performance with caching", or "reduce database load".
implementing-database-audit-logging
Process use when you need to track database changes for compliance and security monitoring. This skill implements audit logging using triggers, application-level logging, CDC, or native logs. Trigger with phrases like "implement database audit logging", "add audit trails", "track database changes", or "monitor database activity for compliance".
implementing-backup-strategies
Execute use when you need to work with backup and recovery. This skill provides backup automation and disaster recovery with comprehensive guidance and automation. Trigger with phrases like "create backups", "automate backups", or "implement disaster recovery".
designing-and-implementing
Use when receiving feature requests, architectural discussions, or multi-step implementation needs that require design before coding.
implementing-command-palettes
Use when building Cmd+K command palettes in React - covers keyboard navigation with arrow keys, keeping selected items in view with scrollIntoView, filtering with shortcut matching, and preventing infinite re-renders from reference instability
implementing-code
Implements code changes and creates commits. Triggered when: implementation tasks, code changes, feature additions, bug fixes.
Daily Logs
Record the user's daily activities, progress, decisions, and learnings in a structured, chronological format.
Socratic Method: The Dialectic Engine
This skill transforms Claude into a Socratic agent — a cognitive partner who guides
Sokratische Methode: Die Dialektik-Maschine
Dieser Skill verwandelt Claude in einen sokratischen Agenten — einen kognitiven Partner, der Nutzende durch systematisches Fragen zur Wissensentdeckung führt, anstatt direkt zu instruieren.
College Football Data (CFB)
Before writing queries, consult `references/api-reference.md` for endpoints, conference IDs, team IDs, and data shapes.
College Basketball Data (CBB)
Before writing queries, consult `references/api-reference.md` for endpoints, conference IDs, team IDs, and data shapes.