avansaber/tailtest-cursor/tailtest-hunt
Claude Code and agent skill by avansaber/tailtest-cursor
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install avansaber/tailtest-cursor/tailtest-huntSKILL.md
tailtest hunt
Run an adversarial pass on a specific file -- explicitly try to break the source code with R15 adversarial scenarios. Forces an adversarial-biased pass regardless of project depth setting.
Trigger phrases
/tailtest hunt <file>tailtest hunt <file>hunt for bugs in <file>adversarial test <file>
Behavior
- Read the source file at the named path
- Generate 8-12 adversarial test scenarios from the R15 categories in
rules/tailtest.mdc:
- Boundary inputs (
MAX_INT,MIN_INT, empty, single-element, unicode, null bytes, malformed UTF-8) - Format / injection (path traversal
.., regex specials, shell metacharacters, SQL fragments) - Type confusion (wrong type passed)
- Concurrent state (race conditions, shared mutable state)
- Time / locale edges (DST, leap year, timezone)
- Error handling under partial failures (network mid-call fail, disk full, EINTR)
- Resource exhaustion (very large input, deeply nested input)
- Off-by-one logic (boundary indices, fence-post errors)
- Pick categories that genuinely apply; skip any that do not (state which were skipped and why)
- Output a SCENARIO PLAN with each scenario labeled
[adversarial: <category>] - Write to a SEPARATE hunt test file (NOT the regular test file)
- Run the hunt test file
- Apply R12 classification on any failures (real_bug / environment / test_bug)
- Report failing scenarios with classification, e.g.
[adversarial: type-confusion] real_bug -- function returns None on int input where str expected. - If all pass:
tailtest hunt: {N} adversarial scenarios on {file}, all passed.
Where to write the hunt test file
| Source file | Hunt test file | |
|---|---|---|
services/billing.py | tests/test_billing_hunt.py | |
app/Http/Controllers/OrderController.php | tests/Feature/OrderControllerHuntTest.php | |
internal/handler.go | internal/handler_hunt_test.go | |
components/Button.tsx | __tests__/Button_hunt.test.tsx |
The separate hunt file does not contaminate the main test suite. User decides whether to keep, merge into the main test file, or discard after review.
Bypass behavior
This skill bypasses depth from .tailtest/config.json. Even at depth: simple (which normally generates 0 adversarial scenarios per R15), /tailtest hunt runs the full 8-12 adversarial pass on the named file.
Constraints
- Do not auto-fix. Always ask before fixing any
real_bugfound by hunt. - No update-existing-tests behavior. Hunt always writes to the separate hunt test file. If the hunt file already exists, replace its contents (the user is asking for a fresh hunt).
- Treat the named file as
new-fileregardless of git status. - Update
.cursor/hooks/state/tailtest.jsongenerated_teststo record the hunt test file mapping (source -> hunt test file).
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/tailtest-hunt/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/avansaber/tailtest-cursor/tailtest-hunt)