name: qa-hardening
description: This skill should be used when the user asks for "QA review", "production readiness", "hardening pass", "test coverage review", "error handling audit", "pre-release check", or wants to check code quality before release.
argument-hint: "[area to review]"
disable-model-invocation: true
QA Hardening
Requires: Claude Code Agent Teams feature.
Production readiness review with 4 specialists: test health auditor, error handling auditor, security auditor, and edge case hunter.
Arguments: $ARGUMENTS
Instructions
Parse arguments (optional):
--members hana,kali -> Only spawn these specific agents (by first name)
- No arguments -> spawn all 4 agents
- Any other text -> use as the context/focus for the review
Determine context: The area to review, specific concerns, or scope of analysis. If no context is obvious, ask the user what they'd like hardened.
Launch the team: Call the Mira launch MCP tool to get agent specs:
launch(team="qa-hardening-team", scope=user_context, members="hana,kali" or omit for all)
The members parameter is only needed if the user passed --members. The scope parameter should describe the review focus.
Create the team:
TeamCreate(team_name=result.data.suggested_team_id)
Create and assign tasks: For each agent in result.data.agents:
TaskCreate(subject=agent.task_subject, description=agent.task_description)
TaskUpdate(taskId=id, owner=agent.name, status="in_progress")
Spawn agents: For each agent in result.data.agents, use the Task tool:
Task(
subagent_type="general-purpose",
name=agent.name,
model=agent.model,
team_name=result.data.suggested_team_id,
prompt=agent.prompt + "\n\n## Context\n\n" + user_context,
run_in_background=true
)
Spawn all agents in parallel (multiple Task calls in one message).
IMPORTANT: Do NOT use mode="bypassPermissions" -- these are read-only discovery agents.
IMPORTANT: Always pass model="sonnet" to the Task tool. This ensures read-only agents use a cost-efficient model.
Wait for findings: All agents will send their findings via SendMessage when complete.
Synthesize findings: Combine all findings into a prioritized hardening backlog:
- Critical -- Must fix before release (panics in production paths, security holes, data loss)
- High -- Should fix before release (poor error messages, resource leaks, missing validation)
- Medium -- Fix soon after release (coverage gaps, edge cases, docs drift)
- Low -- Polish (naming consistency, minor UX, nice-to-have tests)
- Deferred -- Needs design discussion (architectural changes, large refactors)
Cross-reference findings -- when multiple agents flag the same area, elevate priority.
Cleanup: Send shutdown_request to each teammate, then call TeamDelete.
Want findings implemented?
After presenting the hardening backlog, ask the user if they want fixes implemented. If yes, use launch(team="implement-team", scope=approved_items) to get implementation agent specs, then spawn Kai for planning, parallel fixers for execution, and Rio for verification.
Examples
/mira:qa-hardening
-> Prompts for what to review, then spawns all 4 agents
/mira:qa-hardening Review the authentication module
-> All 4 agents review the auth code for production readiness
/mira:qa-hardening --members kali,orin
-> Only spawns Kali (security) and Orin (error-handling)
Agent Roles
| Name |
Role |
Focus |
| Hana |
Test Health Auditor |
Test suite health, coverage gaps, build quality |
| Orin |
Error Handling Auditor |
Panic paths, error messages, recovery |
| Kali |
Security Auditor |
Input validation, data exposure, auth bypass |
| Zara |
Edge Case Hunter |
Boundary conditions, concurrency, resource exhaustion |
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: qa-hardening3description: <!-- plugin/skills/qa-hardening/SKILL.md --> Use when this capability is needed.4---5<!-- plugin/skills/qa-hardening/SKILL.md -->6---7name: qa-hardening8description: This skill should be used when the user asks for "QA review", "production readiness", "hardening pass", "test coverage review", "error handling audit", "pre-release check", or wants to check code quality before release.9argument-hint: "[area to review]"10disable-model-invocation: true11---1213# QA Hardening1415> **Requires:** Claude Code Agent Teams feature.1617Production readiness review with 4 specialists: test health auditor, error handling auditor, security auditor, and edge case hunter.1819**Arguments:** $ARGUMENTS2021## Instructions22231. **Parse arguments** (optional):24 - `--members hana,kali` -> Only spawn these specific agents (by first name)25 - No arguments -> spawn all 4 agents26 - Any other text -> use as the context/focus for the review27282. **Determine context**: The area to review, specific concerns, or scope of analysis. If no context is obvious, ask the user what they'd like hardened.29303. **Launch the team**: Call the Mira `launch` MCP tool to get agent specs:31 ```32 launch(team="qa-hardening-team", scope=user_context, members="hana,kali" or omit for all)33 ```34 The `members` parameter is only needed if the user passed `--members`. The `scope` parameter should describe the review focus.35364. **Create the team**:37 ```38 TeamCreate(team_name=result.data.suggested_team_id)39 ```40415. **Create and assign tasks**: For each agent in `result.data.agents`:42 ```43 TaskCreate(subject=agent.task_subject, description=agent.task_description)44 TaskUpdate(taskId=id, owner=agent.name, status="in_progress")45 ```46476. **Spawn agents**: For each agent in `result.data.agents`, use the `Task` tool:48 ```49 Task(50 subagent_type="general-purpose",51 name=agent.name,52 model=agent.model,53 team_name=result.data.suggested_team_id,54 prompt=agent.prompt + "\n\n## Context\n\n" + user_context,55 run_in_background=true56 )57 ```58 Spawn all agents in parallel (multiple Task calls in one message).5960 IMPORTANT: Do NOT use `mode="bypassPermissions"` -- these are read-only discovery agents.61 IMPORTANT: Always pass model="sonnet" to the Task tool. This ensures read-only agents use a cost-efficient model.62637. **Wait for findings**: All agents will send their findings via SendMessage when complete.64658. **Synthesize findings**: Combine all findings into a prioritized hardening backlog:66 - **Critical** -- Must fix before release (panics in production paths, security holes, data loss)67 - **High** -- Should fix before release (poor error messages, resource leaks, missing validation)68 - **Medium** -- Fix soon after release (coverage gaps, edge cases, docs drift)69 - **Low** -- Polish (naming consistency, minor UX, nice-to-have tests)70 - **Deferred** -- Needs design discussion (architectural changes, large refactors)7172 Cross-reference findings -- when multiple agents flag the same area, elevate priority.73749. **Cleanup**: Send `shutdown_request` to each teammate, then call `TeamDelete`.7576## Want findings implemented?7778After presenting the hardening backlog, ask the user if they want fixes implemented. If yes, use `launch(team="implement-team", scope=approved_items)` to get implementation agent specs, then spawn Kai for planning, parallel fixers for execution, and Rio for verification.7980## Examples8182```83/mira:qa-hardening84-> Prompts for what to review, then spawns all 4 agents8586/mira:qa-hardening Review the authentication module87-> All 4 agents review the auth code for production readiness8889/mira:qa-hardening --members kali,orin90-> Only spawns Kali (security) and Orin (error-handling)91```9293## Agent Roles9495| Name | Role | Focus |96|------|------|-------|97| Hana | Test Health Auditor | Test suite health, coverage gaps, build quality |98| Orin | Error Handling Auditor | Panic paths, error messages, recovery |99| Kali | Security Auditor | Input validation, data exposure, auth bypass |100| Zara | Edge Case Hunter | Boundary conditions, concurrency, resource exhaustion |101102---103> Converted and distributed by [TomeVault](https://tomevault.io/claim/conarylabs) — claim your Tome and manage your conversions.104<!-- tomevault:4.0:skill_md:2026-04-13 -->