Use when designing test cases for a feature or change: cover happy path, boundaries, bad input, permissions, concurrency and regression.
824 stars
0 votes
0 copies
0 views
Added December 3, 2026
ai-agentsgo
Security analysis
A100/100
Scanned December 3, 2026
$npx -y skills add w01fb0ss/PiBot --skill en --agent claude-code
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of En?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/w01fb0ss-pibot-faf3c3ba)
---
name: test-case-design
description: "Use when designing test cases for a feature or change: cover happy path, boundaries, bad input, permissions, concurrency and regression."
metadata:
pibot-name: "Test case design"
pibot-params: "[{\"name\":\"feature\",\"description\":\"Feature or change under test\"},{\"name\":\"criteria\",\"description\":\"Existing requirements or acceptance criteria\",\"default\":\"none, derive from the feature description\"}]"
---
# Test case design
Feature: {feature}
Based on: {criteria}
## Steps
1. List the feature's inputs, outputs, states and dependencies (network, files, other services).
2. Give every acceptance criterion at least one case.
3. Fill out cases along these dimensions; for any that do not apply, say why in a sentence:
- **Happy path**: the most common use
- **Boundaries**: minimum, maximum, just past the limit, empty, one, many
- **Bad input**: wrong format or type, special characters, very long values, duplicate submits
- **State**: signed out, insufficient permission, missing data, data changed by someone else
- **Interruption and recovery**: network loss, timeout, cancel, app restart
- **Concurrency**: simultaneous operations on the same data
- **Compatibility**: macOS / Windows / Linux, browsers, screen sizes, languages
- **Regression**: neighbouring features this change might affect
4. Prioritise by risk: P0 (must test, blocks release), P1 (should test), P2 (if time allows).
5. Mark cases that can be automated and say which test file they belong in.
## Output template
| ID | Priority | Dimension | Preconditions | Steps | Input data | Expected | Automated |
|---|---|---|---|---|---|---|---|
| TC-01 | P0 | Happy path | … | 1. … 2. … | … | … | yes / no |
Finish with **what is not covered** and why, and **test data needed** (made-up samples).
## Scope
Use supplied information first; user requirements on count, format, and scope override this default template. Current capabilities govern permissions, primary/read-only workplaces, Plan mode, and budget; do not switch tools to bypass a refusal. This skill supplies a method, not authority to write, run commands, pay, send, commit, or publish. Identify unperformed or unverified steps.