changed-slice-verify
Efficient validation for specific code segments or diffs.
Install
mkdir -p .claude/skills/changed-slice-verify && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15180" && unzip -o skill.zip -d .claude/skills/changed-slice-verify && rm skill.zipInstalls to .claude/skills/changed-slice-verify
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 validating recent code edits, checking only the touched slice, or deciding which lint, typecheck, test, and E2E commands to run before replying.Key capabilities
- →Validate recent code edits
- →Check only the touched slice of code
- →Decide which lint commands to run
- →Decide which typecheck commands to run
- →Decide which test commands to run
- →Decide which E2E commands to run
How it works
The skill runs `pnpm agent:validate` with specified files or the staged diff to identify and execute relevant validation tasks, reporting failures and recommending further checks.
Inputs & outputs
When to use changed-slice-verify
- →Validating changes before committing
- →Targeting linting to edited files
- →Running tests for a specific feature slice
About this skill
Changed Slice Verify
When To Use
- After editing code and before replying to the user.
- When you need a smaller alternative to full-repo validation.
- When root config, hooks, skills, or package scripts changed.
Procedure
- Run
pnpm agent:validate -- --files <path1> <path2>when the touched files are known. - Use
pnpm agent:validate -- --stagedbefore commit boundaries. - If the validator emits Android or E2E recommendations, run the recommended command only when the changed slice actually touches that surface.
- If validation fails, repair the same slice first and rerun the same command.
Outputs
- Executed validation tasks
- Failed tasks with tail output
- Recommendations for heavier follow-up checks
When not to use it
- →When full-repo validation is required
- →When the changed slice does not touch Android or E2E surfaces
- →When the validator does not emit Android or E2E recommendations
Limitations
- →Recommendations for Android or E2E are only run if the changed slice touches that surface
- →Validation failures require repair of the same slice first
- →The skill is a smaller alternative to full-repo validation
How it compares
This skill targets validation to only the changed slice of code, reducing validation time compared to running full-repo checks.
Compared to similar skills
changed-slice-verify side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| changed-slice-verify (this skill) | 0 | 2mo | No flags | Beginner |
| python-testing-patterns | 77 | 2mo | Review | Intermediate |
| dependency-upgrade | 26 | 5mo | Review | Intermediate |
| test-cases | 57 | 7mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
python-testing-patterns
wshobson
Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.
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.
test-cases
cexll
This skill should be used when generating comprehensive test cases from PRD documents or user requirements. Triggers when users request test case generation, QA planning, test scenario creation, or need structured test documentation. Produces detailed test cases covering functional, edge case, error handling, and state transition scenarios.
reviewing-code
CaptainCrouton89
Systematically evaluate code changes for security, correctness, performance, and spec alignment. Use when reviewing PRs, assessing code quality, or verifying implementation against requirements.
wcag-audit-patterns
wshobson
Conduct WCAG 2.2 accessibility audits with automated testing, manual verification, and remediation guidance. Use when auditing websites for accessibility, fixing WCAG violations, or implementing accessible design patterns.
code-coverage-with-gcov
gadievron
Add gcov code coverage instrumentation to C/C++ projects