What this skill does
Matt Pocock's TDD skill uses short development cycles: describe behaviour with a failing test, implement what is needed, then improve the code after the check passes. It focuses on the interface and observable result, avoiding tests that simply repeat a function's internal implementation.
For a team, this turns a requirement into evidence. If a duplicate invoice must be rejected or a permission must prevent an action, a test documents that expectation and detects future regressions. People supply the rules and priorities; the AI employee can prepare and run cases in the authorised environment, keeping the connection between a failure and its fix clear.
When it can help
- Add a feature with concrete acceptance criteria.
- Protect against an error that has already happened.
- Refactor while preserving public behaviour.
A task to get started
Add a check that rejects a duplicate invoice. Start with a test of the expected behaviour, implement the smallest necessary change and explain which case is covered.
What you need
- A project with a working test environment.
- Observable requirements and authorised file access.
Limits and result review
- Its usefulness depends on choosing cases that reflect real risks.
- One passing test does not establish that the entire application works.
How to add it to your employee in Hub Bot
Hub Bot's library lets you review and add skills from public GitHub repositories. You need an account and permission to manage team skills.
- Sign in to Hub Bot and open Skills library, or type
/skillsin chat. - Find tdd and check the author: mattpocock.
- Open the details and review the version, requirements and original content.
- Choose the permitted scope—company, department or employees—and add the skill.
- Check the employee's tools and connections before assigning work. Review the first result.
Account required. Select and review the skill in the library.
A skill provides a procedure. Each employee's permissions, approvals and connections still determine available actions. Adding it does not automatically install software or execute the author's scripts.
Sources and documentation
An iabot editorial explanation based on original documentation. Authorship remains with mattpocock. This guide is not a Hub compatibility test and does not distribute a translation of the author’s code.
Read the iabot manual →