completion-check
Completion Check: Verify Infrastructure Is Wired
适合你,如果需要在部署前确认所有基础设施组件已正确连接
/ 下载安装
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code
~/.claude/skills/(项目级 .claude/skills/)Codex CLI
~/.codex/skills/Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add parcadei/continuous-claude-v3/completion-check/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- parcadei/continuous-claude-v3/completion-check/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify parcadei/continuous-claude-v3/completion-check安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
3859GitHub stars
~593上下文体积 · 单文件
镜像托管
怎么用
商店整理自技能原文 · 版本 d07ff4b · 表述以原文为准它做什么
安装后,Claude 会在你声明基础设施完成前,自动检查代码是否真正接入系统并运行,避免出现死代码或未连接的组件。
什么时候触发
当你完成基础设施开发并准备标记为“完成”时触发。
装好后可以这样说
Claude 会追踪执行路径并验证调用关系。
Claude 会检查连接字符串和配置文件。
Claude 会搜索死代码。
技能原文 SKILL.md
Completion Check: Verify Infrastructure Is Wired
When building infrastructure, verify it's actually connected to the system before marking as complete.
Pattern
Infrastructure is not done when the code is written - it's done when it's wired into the system and actively used. Dead code (built but never called) is wasted effort.
DO
- Trace the execution path - Follow from user intent to actual code execution: ```bash # Example: Verify Task tool spawns correctly grep -r "claude -p" src/ grep -r "Task(" src/ ```
- Check hooks are registered, not just implemented: ```bash # Hook exists? ls -la .claude/hooks/my-hook.sh
# Hook registered in settings? grep "my-hook" .claude/settings.json ```
- Verify database connections - Ensure infrastructure uses the right backend: ```bash # Check connection strings grep -r "postgresql://" src/ grep -r "sqlite:" src/ # Should NOT find if PostgreSQL expected ```
- Test end-to-end - Run the feature and verify infrastructure is invoked: ```bash # Add debug logging echo "DEBUG: DAG spawn invoked" >> /tmp/debug.log
# Trigger feature uv run python -m my_feature
# Verify infrastructure was called cat /tmp/debug.log ```
- Search for orphaned implementations: ```bash # Find functions defined but never called ast-grep --pattern 'async function $NAME() { $$ }' | \ xargs -I {} grep -r "{}" src/ ```
DON'T
- Mark infrastructure "complete" without testing execution path
- Assume code is wired just because it exists
- Build parallel systems (Task tool vs claude -p spawn)
- Use wrong backends (SQLite when PostgreSQL is architected)
- Skip end-to-end testing ("it compiles" ≠ "it runs")
Completion Checklist
Before declaring infrastructure complete:
- [ ] Traced execution path from entry point to infrastructure
- [ ] Verified hooks are registered in .claude/settings.json
- [ ] Confirmed correct database/backend in use
- [ ] Ran end-to-end test showing infrastructure invoked
- [ ] Searched for dead code or parallel implementations
- [ ] Checked configuration files match implementation
Example: DAG Task Graph
Wrong approach:
✓ Built BeadsTaskGraph class ✓ Implemented DAG dependencies ✓ Added spawn logic ✗ Never wired - Task tool still runs instead ✗ Used SQLite instead of PostgreSQL
Right approach:
✓ Built BeadsTaskGraph class ✓ Wired into Task tool execution path ✓ Verified claude -p spawn is called ✓ Confirmed PostgreSQL backend in use ✓ Tested: user calls Task() → DAG spawns → beads execute ✓ No parallel implementations found
Source Sessions
- This session: Architecture gap discovery - DAG built but not wired, Task tool runs instead of spawn, SQLite used instead of PostgreSQL
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →
评论
登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。
…