
Write Tests
This orchestrates test coverage for your uncommitted changes using specialized agents. It diffs your local files, spins up Haiku agents to analyze complexity, then decides whether to write tests directly or delegate to Sonnet/Opus reviewer and developer agents working in parallel. The multi-agent approach is clever for handling several changed files at once, though the workflow has a lot of steps. Works best when you've just shipped a feature and realize you skipped the tests. The agent coordination logic is thorough, maybe overly so for simple cases, but if you're regularly pushing code without coverage this will systematically catch it. Requires git and assumes your test infrastructure is already set up.
- skills.sh installs
- 1.3K
- GitHub stars
- 1.8K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add neolabhq/context-engineering-kit --skill write-tests --agent claude-codeInstalls into .claude/skills of the current project.
Files
Cover Local Changes with Tests
User Arguments
User can provide a what tests or modules to focus on:
$ARGUMENTS
If nothing is provided, focus on all changes in current git diff that not commited. If everything is commited, then will cover latest commit.
Context
After implementing new features or refactoring existing code, it's critical to ensure all business logic changes are covered by tests. This command orchestrates automated test creation for local changes using coverage analysis and specialized agents.
Goal
Achieve comprehensive test coverage for all critical business logic in local code changes.
Important Constraints
- Focus on critical business logic - not every line needs 100% coverage
- Preserve existing tests - only add new tests, don't modify existing ones
- "Analyse complexity of changes" -
- if there 2 or more changed files, or one file with complex logic, then Do not write tests yourself - only orchestrate agents!
- if there is only one changed file, and it's a simple change, then you can write tests yourself.
Workflow Steps
Preparation
Sponsors
Details
- Repository
- github.com/neolabhq/context-engineering-kit
- Categories
- Testing & QA, Git & Pull Requests
- First seen
- Jun 3, 2026
More from neolabhq/context-engineering-kit
All 63- Test Prompt1.3K
- Analyse Problem1.3K
- Do In Steps1.3K
- Create Rule1.3K
- Do In Parallel1.3K
- Add Task1.3K
- Analyse1.3K
- Review Pr1.3K
- Launch Sub Agent1.3K
- Create Agent1.3K
- Test Skill1.2K
- Apply Anthropic Skill Best Practices1.2K
- Tree Of Thoughts1.2K
- Cause And Effect1.2K
- Create Ideas1.2K
- Fix Tests1.2K
- Create Skill1.2K
- Do Competitively1.2K
- Plan Do Check Act1.2K
- Commit1.2K
- Analyze Issue1.2K
- Create Command1.2K
- Create Hook1.2K
- Create Pr1.2K