一键导入
source-command-ccg-spec-impl
按规范执行 + 多模型协作 + 归档
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
按规范执行 + 多模型协作 + 归档
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
REST API design patterns including resource naming, status codes, pagination, filtering, error responses, versioning, and rate limiting for production APIs.
Django testing strategies with pytest-django, TDD methodology, factory_boy, mocking, coverage, and testing Django REST Framework APIs.
Spring Security best practices for authn/authz, validation, CSRF, secrets, headers, rate limiting, and dependency security in Java Spring Boot services.
为网页应用快速接入 OpenClaw 通道配置,自动输出可直接复制的 Webhook URL 与 Token。用于用户说“帮我配置 OpenClaw 通道”“给我 Webhook 和 Token”“一键生成接入参数”“OpenClaw 对话接入配置”这类场景,支持外部网页与本地网页两种模式,减少手工查配置和复制错误。
基于 AI 自动生成高质量 PPT 图片和视频,支持智能转场和交互式播放。
Enforce TDD workflow for Kotlin. Write Kotest tests first, then implement. Verify 80%+ coverage with Kover.
| name | source-command-ccg-spec-impl |
| description | 按规范执行 + 多模型协作 + 归档 |
Use this skill when the user asks to run the migrated source command ccg-spec-impl.
Core Philosophy
Guardrails
unified diff patch format from external models; they have zero write permission.tasks.md scope—no scope creep.openspec/config.yaml for conventions.Steps
Select Change
openspec list --json to inspect Active Changes.openspec status --change "<change_id>" --json to review tasks.Apply OPSX Change
/ccg:spec-impl (which uses OpenSpec skills internally) to enter implementation mode.tasks.md.Identify Minimal Verifiable Phase
tasks.md and identify the smallest verifiable phase.Route Tasks to Appropriate Model
For each task:
codeagent-wrapper --backend <codex|gemini> --gemini-model gemini-3-pro-preview - "$PWD" <<'EOF'
TASK: <task description from tasks.md>
CONTEXT: <relevant code context>
CONSTRAINTS: <constraints from spec>
OUTPUT: Unified Diff Patch format ONLY
EOF
Note: --gemini-model parameter is only used when --backend gemini is specified.
Rewrite Prototype to Production Code Upon receiving diff patch, NEVER apply directly. Rewrite by:
Side-Effect Review (Mandatory before apply) Verify the change:
tasks.md scopeIf issues found, make targeted corrections.
Multi-Model Review (PARALLEL)
run_in_background: true.Step 7.1: In ONE message, make TWO parallel Bash calls:
FIRST Bash call (Codex):
Bash({
command: "/Users/tangchunwu/.Codex/bin/codeagent-wrapper --backend codex - \"$PWD\" <<'EOF'\nReview the implementation changes:\n- Correctness: logic errors, edge cases\n- Security: injection, auth issues\n- Spec compliance: constraints satisfied\nOUTPUT: JSON with findings\nEOF",
run_in_background: true,
timeout: 300000,
description: "Codex: correctness/security review"
})
SECOND Bash call (Gemini) - IN THE SAME MESSAGE:
Bash({
command: "/Users/tangchunwu/.Codex/bin/codeagent-wrapper --backend gemini --gemini-model gemini-3-pro-preview - \"$PWD\" <<'EOF'\nReview the implementation changes:\n- Maintainability: readability, complexity\n- Patterns: consistency with project style\n- Integration: cross-module impacts\nOUTPUT: JSON with findings\nEOF",
run_in_background: true,
timeout: 300000,
description: "Gemini: maintainability/patterns review"
})
Step 7.2: After BOTH Bash calls return task IDs, wait for results with TWO TaskOutput calls:
TaskOutput({ task_id: "<codex_task_id>", block: true, timeout: 600000 })
TaskOutput({ task_id: "<gemini_task_id>", block: true, timeout: 600000 })
Address any critical findings before proceeding.
Update Task Status
tasks.md: - [x] Task descriptionContext Checkpoint
/clear and resume with /ccg:spec:impl"Archive on Completion
tasks.md are marked [x]:openspec/specs/ and moves change to archive.Reference
openspec status --change "<id>" --jsonopenspec list --jsonrg -n "function|class" <file>Exit Criteria Implementation is complete when:
tasks.md marked [x]