.claude/skills/write-tests/SKILL.md
Write comprehensive tests following the Analyze > Strategy > Implement > Verify workflow. Use when adding tests, improving coverage, or when the user asks to write tests for specific code.
npx skillsauth add packbot/agentic-coding-boilerplate write-testsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Determine the right test types:
Test naming convention:
describe("ModuleName", () => {
describe("functionName", () => {
it("should [expected behavior] when [condition]", () => {
Write tests following this priority:
Guidelines:
{{TEST_COMMAND}}development
Review code changes or a GitHub PR
development
Refactor code safely following the Analyze > Plan > Refactor > Verify workflow. The key rule is that behavior must not change. Use when improving code structure, readability, or modularity.
tools
Push commits to remote and optionally create a PR. Use when the user wants to push their changes.
development
Implement a new feature following the Explore > Plan > Implement > Verify workflow. Use when adding new functionality, building a feature, or when the user asks to implement something.