跳到正文
cccskills
免费在 GitHub 公开

dev-qa

Run the project's own tests, linter, type checker and build, and report what actually failed.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Dev QA - Quality Assurance Checks

Run all quality checks: Tests → Lint → Types → Build

Philosophy

"Find bugs before they find users. Run QA early, run it often."

Flow

1. Detect Project Type

# 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"

2. Run Checks (by project type)

Node/TypeScript

# 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

Rust

# Tests
cargo test 2>&1

# Lint
cargo clippy -- -D warnings 2>&1

# Format check
cargo fmt --check 2>&1

# Build
cargo build 2>&1

Python

# 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

Go

# Tests
go test ./... 2>&1

# Lint
golangci-lint run 2>&1

# Build
go build ./... 2>&1

3. Report Results

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

4. Next Steps

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":

  • Delegate to Bob: "Fix these QA issues: {list}"
  • Re-run QA after fixes
  • Loop until clean

Quick Mode

For a fast check (CI-style):

/dev-qa quick

Runs only:

  • Tests
  • Lint
  • Build

Skips:

  • Verbose output
  • Interactive fixing
  • Type checking (if slow)

Integration with Dev Cycle

If active dev-cycle session exists:

  • Log QA results to session file
  • Update session phase if QA passes
## QA History
- 2026-07-15 14:30: FAILED (2 test failures)
- 2026-07-15 14:45: PASSED

What We Check

CheckWhy
TestsDoes it work?
LintIs it clean?
TypesIs it safe?
BuildDoes it compile?

Agent Involvement

  • Bob: Fixes code issues found by QA
  • Arlo: Reviews if test failures involve data/calculations

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Branch and commit conventions that keep an agent's work reviewable — one branch per task, main stays clean, nothing force-pushed.

中文简介正在准备中。当前显示原文说明。

ToruAI/toru-claude-agents152026年7月26日 更新

cc-docs

免费

Look up how Claude Code itself works — hooks, skills, subagents, MCP, plugins, settings — from the official docs, so answers come from the current spec instead of memory.

中文简介正在准备中。当前显示原文说明。

ToruAI/toru-claude-agents152026年7月26日 更新

Design better agents, skills and hooks for Claude Code, checking the current spec instead of guessing at fields.

中文简介正在准备中。当前显示原文说明。

ToruAI/toru-claude-agents152026年7月26日 更新

dev-cycle

免费

Run a feature end to end — scout the code, plan it, build it, and keep a session file so a closed terminal doesn't lose the thread.

中文简介正在准备中。当前显示原文说明。

ToruAI/toru-claude-agents152026年7月26日 更新

Close out a session — summarise what changed, capture what was learned, and prepare the commit.

中文简介正在准备中。当前显示原文说明。

ToruAI/toru-claude-agents152026年7月26日 更新

Hand over a spec and walk away — plans, builds, tests and audits on its own, stopping only at a real blocker.

中文简介正在准备中。当前显示原文说明。

ToruAI/toru-claude-agents152026年7月26日 更新

查看 ToruAI 的全部技能

报告此技能的问题