with one click
feature-check
// Pre-push feature validation — generate missing tests, lint, type-check, and build verification
// Pre-push feature validation — generate missing tests, lint, type-check, and build verification
API test automation — generate REST/GraphQL/gRPC endpoint tests, contract tests (Pact), schema validation, load tests (k6/Locust), and mock servers (MSW/WireMock)
Backend test automation — generate unit, integration, DB, queue, worker, and contract tests for Java, Python, Go, Rust, TypeScript backends
Frontend test automation — generate component tests, E2E browser tests, visual regression, accessibility audits, hook/composable tests for React, Vue, Svelte, Angular
Test orchestrator — generate unit/integration/E2E tests, analyze coverage, diagnose flaky tests, design test strategy. Routes to /test-backend, /test-frontend, /test-api for specialized automation.
API design and management — design endpoints, detect breaking changes, validate specs, generate mock servers and clients
Authentication and authorization — design auth flows, JWT setup, RBAC models, OAuth integration, session management
| name | feature-check |
| description | Pre-push feature validation — generate missing tests, lint, type-check, and build verification |
| disable-model-invocation | false |
| user-invocable | true |
| allowed-tools | Read, Grep, Glob, Bash, Edit, Write |
| argument-hint | [branch or changed-files] |
Scope: $ARGUMENTS
Validate a feature branch before pushing. Checks all changed files and ensures quality.
git diff main...HEAD --stat
git diff main...HEAD --name-only
For each changed file:
Detect language and run appropriate linter:
Run type checker if applicable:
tsc --noEmitmypyany types in TypeScript changesEnsure the project builds:
npm run build / pnpm buildgo build ./...cargo buildmvn compile / gradle build## Feature Check: [branch]
### Changes: X files, +Y/-Z lines
### Tests
- New tests needed: X
- Tests generated: Y
- Coverage: ✅/❌
### Lint: ✅ PASS / ❌ X issues
### Types: ✅ PASS / ❌ X errors
### Build: ✅ PASS / ❌ FAIL
### Verdict: Ready to push / Fix needed