跳到正文
cccskills
免费在 GitHub 公开

qc

Review code changes with five parallel agents before committing. Each checks a separate area: code quality, simplicity, consistency, robustness, or task scope. Results identify issues, and every check must pass before the changes are considered ready.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Quality gate. 5 parallel agents review changes. All must pass.

查看安装方法

适用场景

  • Review changes before committing
  • Find unnecessary abstractions and dead code
  • Check consistency with surrounding code
  • Inspect edge cases and changes outside the task scope

包含的文件(1)

  • SKILL.md2.3 KB

SKILL.md(原文)

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

QC Gate

Setup

DIFF=$(git diff main)
FILES=$(git diff main --name-only)
TASK="{task description or 'general changes'}"

Read 1-2 unmodified files from same directories for pattern context.

Agents

Spawn all 5 in parallel. All output raw JSON only, no markdown.

1: Code Review (sonnet)

DIFF: ${DIFF}

- Descriptive naming?
- Errors caught with useful messages?
- No hardcoded values, commented code, debug statements?
- No TODO without ticket ref?
- No obvious bugs?
- No useless comments?

{"pass": bool, "issues": [...]}

2: Simplification (sonnet)

DIFF: ${DIFF}

- Is this overcomplicated? Can I solve the same problem in a simpler manner?
- Can I reduce indirection?
- Can I reduce surface area?
- Premature abstraction? Premature Optimization? YAGNI violations?
- Dead code?
- Three similar lines > one abstraction

{"pass": bool, "issues": [...]}

3: Consistency (sonnet)

DIFF: ${DIFF}
PATTERNS: ${PATTERN_FILES}

- Matches existing codebase patterns?
- Proper types, no any, no unsafe casts?
- Idiomatic error handling?
- Changes internally consistent?
- Is logic isolated and composable?
- Are there existing tests if neccesary?

{"pass": bool, "issues": [...]}

4: Robustness (sonnet)

TASK: ${TASK}
DIFF: ${DIFF}

- Actually solves the problem?
- Edge cases: empty, null, zero, negative, boundaries, concurrency?
- Regression risk: changed signatures, shared state, removed exports?
- Maintains API contracts?

{"pass": bool, "issues": [...]}

5: Scope (haiku)

TASK: ${TASK}
FILES: ${FILES}
DIFF: ${DIFF}

- Solved the problem or just the symptom?
- Changes unrelated to task?
- Unnecessary refactoring?

{"pass": bool, "issues": [...]}

Results

CheckVerdictIssues
Code Review✓/✗...
Simplification✓/✗...
Consistency✓/✗...
Robustness✓/✗...
Scope✓/✗...

ALL PASS: Ready to commit.

ANY FAIL: List issues, fix them, run /qc again.

Same issue 3x: Escalate to user.

Notes

  • Invalid JSON? Retry once. Still broken? Mark fail.
  • Large diffs (>500 lines): run simplification file-by-file.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Expose new backend API endpoints through the TypeScript SDK, or record intentional exclusions. Follow existing entity and client conventions, check generated request types, and verify that each endpoint is either used by the SDK or explicitly skipped.

中文简介正在准备中。当前显示英语简介。

  • Adding SDK support for a new Rust service endpoint
  • Investigating endpoints reported as uncovered
  • Recording agreed SDK exclusions
macro-inc/macro47812026年10月20日 更新

add-tour

免费

Add or update guided feature tours in the web app. Covers registering interface targets, writing steps, guiding users toward hidden controls, and checking the tour with saved progress and different sidebar states.

中文简介正在准备中。当前显示英语简介。

  • Add a guided tour to a view
  • Revise tour steps and their target controls
  • Guide users toward controls in a collapsed sidebar
macro-inc/macro47812026年10月20日 更新

audit

免费

Identify the checks required for changed files, run tests, and review applicable project rules. Get a table of passed, failed, and skipped checks with evidence, helping you verify changes before handoff or pushing code.

中文简介正在准备中。当前显示英语简介。

  • Checking changes before reporting work complete
  • Reviewing required checks before pushing code
  • Finding missing tests or documentation updates
macro-inc/macro47812026年10月20日 更新

Review and structure Rust backend changes using hexagonal architecture, which separates business rules from external interfaces. Check dependency direction, place authorization policy in domain services, and keep database operations and external clients behind defined interfaces.

中文简介正在准备中。当前显示英语简介。

  • Reviewing layer boundaries before Rust backend changes
  • Moving permission decisions into domain services
  • Separating database and external client implementations
macro-inc/macro47812026年10月20日 更新

Guide the integration of collaboratively edited Markdown fields into an application feature. It explains service selection, permissions inherited from parent records, content storage in Loro sessions, and how to initialize and retire each editing surface.

中文简介正在准备中。当前显示英语简介。

  • Adding a collaboratively edited description field
  • Implementing shared input through a public API
  • Connecting editing permissions to a parent record
macro-inc/macro47812026年10月20日 更新

Add a new AI tool to an existing Rust application, from implementation and service connections to infrastructure configuration, generated TypeScript types, and a frontend component that displays the tool's results.

中文简介正在准备中。当前显示英语简介。

  • Adding an AI tool to an existing Rust application
  • Connecting a tool to services and environment variables
  • Generating frontend types from tool schemas
macro-inc/macro47812026年10月20日 更新

查看 macro-inc 的全部技能

报告此技能的问题