Skip to content
Back to skills

Feature Test

ASecurity

Prove one feature or bug fix works before calling it done, checking only what the change touches. Tests the changed code, tries every changed input and button in the browser, profiles when speed matters, then plants bugs one at a time to check the tests catch them. Use when finishing a feature or bug fix, or when the human asks to test, verify or prove a change works. The whole suite, full type check, build and key journeys run once per PR in full-test.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 25, 2026
ai-agentspythongobashtestinggit

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned November 25, 2026

npx -y skills add anubhav-qt/engineering-skills --skill feature-test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Feature Test?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Feature Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anubhav-qt-feature-test/badge)](https://www.skillsdirectory.com/skills/anubhav-qt-feature-test)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: feature-test
description: Prove one feature or bug fix works before calling it done, checking only what the change touches. Tests the changed code, tries every changed input and button in the browser, profiles when speed matters, then plants bugs one at a time to check the tests catch them. Use when finishing a feature or bug fix, or when the human asks to test, verify or prove a change works. The whole suite, full type check, build and key journeys run once per PR in full-test.
---

# Feature test

"Done" means proven, not believed. Every claim in the final report comes
with the command that showed it and what that command printed.

This skill checks only what the change touches, so it stays fast. The
whole test suite, the full type check, the production build and the key
user journeys run once per PR, in full-test.

## Steps

1. Find what changed. Read the diff (`git diff`, plus new files) and work
   out what a user can now do, or what bug is now gone.

2. Make sure tests cover it, following `references/testing.md`. For a bug
   fix, the new test must fail on the old code first. Watch it fail.

3. Run the tests related to the change, as `references/related-tests.md`
   says. If something fails, fix the code, never the test (unless the
   test itself is wrong, and then say so in the report).

4. Lint the changed files, and type check them if the project's type
   checker can check single files with the project's settings. If it can
   only check the whole project, skip it and say full-test runs it.

5. If anything a user sees changed, test it in the browser as
   `references/ui.md` says: every changed input and button, every edge
   case.

6. If the change touches a loop, a query, big data, startup, or anything
   on a hot path, profile it as `references/profiling.md` says. Otherwise
   skip it and say why in the report.

7. Plant bugs in the changed code, one at a time, as
   `references/planted-bugs.md` says. Use the related tests from step 3
   as the test command:

   ```bash
   python3 "${CLAUDE_SKILL_DIR}/scripts/plant_bugs.py" \
     --bugs <bugs.json> --test "<test command>" --root <project folder>
   ```

   Every bug must be caught. For each survivor, add the missing test and
   run the script again, or explain why that bug changes nothing.

8. Report to the human, within the reply length the project asks for:
   - what was checked, with the command and its result for each;
   - what was skipped and why;
   - anything not run, marked "not checked yet".

## Gotchas

- Never edit, skip, loosen or delete a test to make it pass, and never
  special-case test inputs in the code. If a test is wrong, say so.
- A test you never saw fail proves nothing. Planting bugs is how you see
  it fail.
- "Tests pass" is a claim. The command and its output are the proof.
- Picking tests by file misses changes to config, dependencies, test
  setup, data files and shared helpers. When the change touches any of
  those, or the related set is unclear, run the whole suite.
- If the tests already fail before you start, stop and tell the human;
  the planted-bug script will refuse to run anyway.
- If the script says an earlier run did not finish, a file may still hold
  a planted bug. Compare it with the `.plant-bugs.bak` file next to it,
  restore it if needed, delete the backup, then go on.

Files in this skill

  • SKILL.md3.3 KB
  • references/planted-bugs.md2 KB
  • references/profiling.md1.4 KB
  • references/related-tests.md1.3 KB
  • references/testing.md1.9 KB
  • references/ui.md1.4 KB
  • scripts/plant_bugs.py7.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.