qa-commit
Verify implementation against QA Contract (G#N, AC#N), auto-invoke debug on RED
Install
mkdir -p .claude/skills/qa-commit && curl -L -o skill.zip "https://mcp.directory/api/skills/download/3669" && unzip -o skill.zip -d .claude/skills/qa-commit && rm skill.zipInstalls to .claude/skills/qa-commit
About this skill
QA Commit Skill
Verify that the current commit satisfies its assigned QA Contract criteria (G#N Gherkin scenarios and AC#N acceptance criteria). Returns GREEN (pass) or RED (fail, triggers debug).
When to Use
- After pr-review passes, before git commit
- During Agent Mode commit-level workflow
- Manually with "use qa-commit skill"
Input: Commit Context
Before running, identify:
- Current commit from Commit Plan
- Assigned criteria: "Satisfies: G#X, AC#Y, ..."
- Related files being changed
Phase 1: Load QA Contract
Retrieve the assigned criteria for this commit:
## Commit: [Name]
**Satisfies:** G#1, G#2, AC#1, AC#3
### Criteria to Verify:
- G#1: [Scenario description]
- G#2: [Scenario description]
- AC#1: [Acceptance criteria]
- AC#3: [Acceptance criteria]
Phase 2: Technical Validation
Use Cursor tools for technical checks:
2.1 ReadLints
ReadLints:
paths: [changed files]
Expect: No errors related to committed functionality
2.2 Type Safety
npm run typecheck
Expect: Exit code 0
2.3 Related Tests (if exist)
npm run test -- --grep "[feature name]"
Expect: All tests pass
Phase 3: Gherkin Verification (Backend - G#N)
For each G#N assigned to this commit:
3.1 Endpoint Existence
Verify the API endpoint exists and is implemented:
SemanticSearch: "Where is [endpoint] implemented?"
3.2 Response Shape
Check response matches expected schema:
Grep: "interface.*Response" in related files
3.3 Error Handling
Verify error cases are handled:
Grep: "throw|catch|error" in handler files
Gherkin Checklist
| G#N | Scenario | Status | Notes |
|---|---|---|---|
| G#1 | [Name] | PASS/FAIL | [Details] |
| G#2 | [Name] | PASS/FAIL | [Details] |
Phase 4: Acceptance Verification (Frontend - AC#N)
For each AC#N assigned to this commit:
4.1 Component Existence
Verify component is implemented:
Glob: **/*[ComponentName]*.tsx
4.2 Storybook Story (if AC involves visual)
Check Storybook story exists:
Glob: **/*[ComponentName]*.stories.tsx
4.3 Browser MCP Verification (if running)
For interactive acceptance criteria:
Browser MCP:
1. browser_navigate to Storybook URL
2. browser_snapshot to check state
3. browser_click/browser_type to test interaction
4. browser_take_screenshot for evidence
Acceptance Checklist
| AC#N | Criteria | Status | Evidence |
|---|---|---|---|
| AC#1 | [Criteria] | PASS/FAIL | [Screenshot/Notes] |
| AC#3 | [Criteria] | PASS/FAIL | [Screenshot/Notes] |
Phase 5: Generate Verification Report
## Verification Report
**Commit:** [Name]
**Satisfies:** G#1, G#2, AC#1, AC#3
### Technical Validation
| Check | Status |
|-------|--------|
| ReadLints | PASS/FAIL |
| TypeCheck | PASS/FAIL |
| Tests | PASS/FAIL/SKIP |
### Gherkin Scenarios (Backend)
| ID | Scenario | Status | Notes |
|----|----------|--------|-------|
| G#1 | [Name] | PASS/FAIL | [Details] |
| G#2 | [Name] | PASS/FAIL | [Details] |
### Acceptance Criteria (Frontend)
| ID | Criteria | Status | Evidence |
|----|----------|--------|----------|
| AC#1 | [Criteria] | PASS/FAIL | [Link/Notes] |
| AC#3 | [Criteria] | PASS/FAIL | [Link/Notes] |
### Verdict
**[GREEN / RED]**
[If GREEN: All criteria verified, ready to commit]
[If RED: Failed criteria listed, invoking debug skill]
Phase 6: Handle Verdict
GREEN Verdict
All criteria verified. Proceeding to git commit.
RED Verdict - Auto-Invoke Debug
**Verification failed. Auto-invoking debug skill.**
### Failed Criteria:
- [G#N or AC#N]: [What failed]
- [G#N or AC#N]: [What failed]
### Context for Debug:
- Error messages: [from ReadLints]
- Expected behavior: [from QA Contract]
- Actual behavior: [observed]
Invoking debug skill with context...
After debug fixes, re-run qa-commit to verify.
Integration with Debug
When verdict is RED:
- Automatically invoke
debugskill - Pass context:
- Failed G#N or AC#N
- Error messages from ReadLints/Shell
- Browser console/network errors (if applicable)
- Debug skill fixes issue
- Re-run qa-commit
- Repeat until GREEN or user intervention
MCP Tools Used
| Tool | Purpose |
|---|---|
| ReadLints | Get lint/type errors |
| Shell | Run tests, typecheck |
| Browser MCP | Storybook verification |
| SemanticSearch | Find implementations |
| Grep | Search for patterns |
Invocation
Invoked by:
commit.mdc- After pr-review passesagent.mdc- Part of commit-level workflow
Or manually with "use qa-commit skill".
More by WellApp-ai
View all skills by WellApp-ai →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversInteract with the Algorand blockchain using a robust TypeScript toolkit for accounts, assets, smart contracts, and trans
Protect your MCP with AIM Guard—advanced threat detection software for unauthorized access, botnet, and malware detectio
Cairo Coder: Expert Cairo and Starknet development support, smart contract creation, and code refactoring via the Cairo
Track coding accuracy with SlopWatch, an automated reconciliation software for verifying code changes and managing accou
Break down complex problems with Sequential Thinking, a structured tool and step by step math solver for dynamic, reflec
Build persistent semantic networks for enterprise & engineering data management. Enable data persistence and memory acro
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.