一键导入
dev-qa
Run QA checks on current work. Tests, linting, type checking, build verification. Use during or after development to catch issues early.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run QA checks on current work. Tests, linting, type checking, build verification. Use during or after development to catch issues early.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Read Claude Code documentation to learn about features, capabilities, hooks, skills, MCP, subagents, and how to use Claude Code effectively.
Close a dev-cycle session, capture learnings, and optionally commit. Use when development work is complete and ready to wrap up.
Fully autonomous development mode. Spec in, production-ready software out. Claude makes decisions, uses agents, commits locally. Only stops for hard blockers.
Release candidate preparation. Final checks before merge - QA, security, review, changelog. The last gate before shipping.
Security audit with Sentinel. Checks for vulnerabilities, secrets, dependencies, and security best practices. Use before shipping or when working on auth/crypto/sensitive areas.
Start or resume a development session. Use when beginning feature work, implementing changes, or continuing previous work. Orchestrates discovery, planning, review, and build phases with Bob and Garry.
| name | dev-qa |
| description | Run QA checks on current work. Tests, linting, type checking, build verification. Use during or after development to catch issues early. |
Run all quality checks: Tests → Lint → Types → Build
"Find bugs before they find users. Run QA early, run it often."
# Check what we're working with
[ -f "package.json" ] && echo "node"
[ -f "Cargo.toml" ] && echo "rust"
[ -f "pyproject.toml" ] || [ -f "requirements.txt" ] && echo "python"
[ -f "go.mod" ] && echo "go"
# Tests
npm test 2>&1 || yarn test 2>&1 || pnpm test 2>&1
# Lint
npm run lint 2>&1 || npx eslint . 2>&1
# Type check
npx tsc --noEmit 2>&1
# Build
npm run build 2>&1
# Tests
cargo test 2>&1
# Lint
cargo clippy -- -D warnings 2>&1
# Format check
cargo fmt --check 2>&1
# Build
cargo build 2>&1
# Tests
pytest 2>&1 || python -m pytest 2>&1
# Lint
ruff check . 2>&1 || flake8 . 2>&1
# Type check
mypy . 2>&1 || pyright . 2>&1
# Format check
black --check . 2>&1 || ruff format --check . 2>&1
# Tests
go test ./... 2>&1
# Lint
golangci-lint run 2>&1
# Build
go build ./... 2>&1
Format output as:
## QA Report
### Tests
✓ Passed: 42
✗ Failed: 2
⊘ Skipped: 1
Failed tests:
- test_user_auth: AssertionError at line 45
- test_token_refresh: Timeout
### Lint
✓ No issues
### Type Check
⚠ 3 warnings:
- src/auth.ts:12 - Type 'any' used
- src/utils.ts:34 - Implicit return type
### Build
✓ Build successful
### Summary
Status: FAILING
Must fix: 2 test failures
Should fix: 3 type warnings
Based on results:
If all pass:
QA passed! Ready for:
- /dev-security - Security audit
- /dev-rc - Release candidate prep
- /dev-finish - Close the cycle
If failures:
QA found issues.
Options:
1. Fix now (I'll help)
2. Fix manually, run /dev-qa again
3. Continue anyway (not recommended)
If "Fix now":
For a fast check (CI-style):
/dev-qa quick
Runs only:
Skips:
If active dev-cycle session exists:
## QA History
- 2024-01-15 14:30: FAILED (2 test failures)
- 2024-01-15 14:45: PASSED
| Check | Why |
|---|---|
| Tests | Does it work? |
| Lint | Is it clean? |
| Types | Is it safe? |
| Build | Does it compile? |