feature-testing
Automates adding and running spec tests for new features.
Install
mkdir -p .claude/skills/feature-testing && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15833" && unzip -o skill.zip -d .claude/skills/feature-testing && rm skill.zipInstalls to .claude/skills/feature-testing
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Use when changing backend APIs or frontend features so the assistant adds or updates Jest/Node spec tests and validates the feature.Key capabilities
- →Add or update tests for changed backend API endpoints
- →Add or update tests for changed frontend features
- →Implement automated coverage for new features
- →Update tests for validation, authorization, or error handling logic
- →Run relevant test suites and confirm code passes
- →Create new test files next to affected modules if none exist
How it works
The skill reviews changed files, identifies backend or frontend changes, creates or updates tests using existing conventions, and runs applicable tests to report results.
Inputs & outputs
When to use feature-testing
- →Test new api endpoint
- →Verify frontend feature change
- →Add unit test for logic
About this skill
Feature Testing Skill
When to use
- Adding a backend API endpoint or changing API request/response behavior
- Adding a frontend feature or changing UI behavior
- Implementing a new feature that needs automated coverage
- Updating validation, authorization, or error handling logic
What this skill enforces
- Add or update tests for the changed feature
- Prefer tests in
src/**/*.spec.ts,test/**/*.spec.ts, orweb/**/*.spec.ts/web/**/*.test.ts - Run the relevant suite and confirm the code passes
- If the feature spans both backend and frontend, cover both sides
Guidance for the assistant
- Review the changed files and identify whether the change is backend or frontend
- Create or update tests that exercise the new behavior
- Use existing test conventions and tools in the repo
- If a test file does not already exist for the feature, add one next to the affected module
- Before returning success, run the applicable tests and report the result
Examples
- "When adding
/posts/:id/like, add a backend spec that tests liking and unliking a post." - "When changing the comment reply UI, add a frontend test for reply selection and submission."
When not to use it
- →When the goal is not to add or update tests
- →When the goal is not to validate feature behavior
- →When the goal is not to run tests
Limitations
- →The skill prefers tests in src/**/*.spec.ts, test/**/*.spec.ts, or web/**/*.spec.ts / web/**/*.test.ts
- →The skill requires running the relevant test suite
- →The skill requires confirming the code passes
How it compares
This skill enforces a testing-first approach for new features and changes, ensuring automated coverage and validation, which differs from developing features without immediate test integration.
Compared to similar skills
feature-testing side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| feature-testing (this skill) | 0 | 3mo | No flags | Intermediate |
| dependency-upgrade | 26 | 5mo | Review | Intermediate |
| lint-and-validate | 6 | 6mo | Review | Beginner |
| customaize-agent:create-hook | 0 | 5mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
dependency-upgrade
wshobson
Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.
lint-and-validate
davila7
Automatic quality control, linting, and static analysis procedures. Use after every code modification to ensure syntax correctness and project standards. Triggers onKeywords: lint, format, check, validate, types, static analysis.
customaize-agent:create-hook
LAI-YEN-CHUN
Create and configure git hooks with intelligent project analysis, suggestions, and automated testing
verify
hoangsonww
Run Forge's canonical verification chain (format:check + lint + typecheck + build + test). Use before claiming any task done or opening a PR.
myot-validate
simpsonys
Run MYOT project validation commands (lint and build) and report results.
lint-js
y1feng200156
Check JavaScript/TypeScript code quality with ESLint