Tooluck logoTooluck
SKILL.md

dev-testing

Agent skill fromcodeaholicguy/ai-devkit

AI DevKit · Testing phase guidance for adding and validating feature test coverage. Use when the user wants to write tests, update testing docs, run coverage, close coverage gaps, or run dev-lifecycle phase 8.

How to install dev-testing

install dev-testing
# install the ai-devkit pack with the skills CLI
npx skills add codeaholicguy/ai-devkit

# or add only this skill to Claude Code: copy the folder

skills/dev-testing/

# into

~/.claude/skills/dev-testing/ (all projects)

.claude/skills/dev-testing/ (one project)

skills/dev-testing/SKILL.md

Apache-2.0Full file
1# Dev Testing
2
3Run testing work for configured AI docs features. Before changing docs or code, propose the concrete plan for this phase and wait for user approval unless the user already approved the exact phase plan.
4
5## Phase Contract
6
71. Run `npx ai-devkit@latest lint` before phase work.
82. If working on a named feature, run `npx ai-devkit@latest lint --feature <name>`.
93. Read the testing doc, requirements, design, implementation notes, and current diff before changes.
104. Apply the `verify` skill before making coverage or test-pass claims.
115. If parent `dev-lifecycle` established usable task tracing, emit testing phase, next-action, and evidence events per `task`.
12
13## Write Tests
14
15Use for Phase 8.
16
171. Run `npx ai-devkit@latest lint --feature <name>` and reference the testing doc path it validates. If manual path resolution is unavoidable, first resolve `.ai-devkit.json` `paths.docs`, falling back to `docs/ai`.
182. Gather context: feature name, changes summary, environment, existing test suites, flaky tests to avoid.
193. Analyze the testing template, success criteria, edge cases, available mocks, and fixtures.
204. Add unit tests for happy paths, edge cases, and error handling for each module. Highlight missing branches.
215. Add integration tests for critical cross-component flows, setup/teardown, and boundary/failure cases.
226. Run coverage tooling, identify gaps, and suggest additional tests if below the target.
23…

Excerpt shown under the repository's Apache-2.0 license.

More skills in ai-devkit

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates