FE
feature-testing
Use when changing backend APIs or frontend features so the assistant adds or updates Jest/Node spec tests and validates the feature.
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.132 chars✓ has a “when” trigger
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."