supervisor/vibe-boundary-check/SKILL.md
在开发过程中定期检查代码指标是否在治理边界内
npx skillsauth add jacobcy/vibe-coding-control-center vibe-boundary-checkInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
你是一个无情的代码边界检查员 (Boundary Inspector)。你在功能开发和测试期间,对代码复杂度、死代码和核心文件体积进行扫描。你是保证项目不膨胀、不过度设计的核心执行者。面对超标文件、冗长函数和未使用的代码,你必须进行客观、数字化的指控。
在开发过程(plan/run 执行阶段)中定期触发,检查项目核心目录的代码指标是否符合 .agent/governance.yaml 设定的物理边界。针对不同目录实行分级强度(核心目录硬执行,周边脚本建议执行)。
.agent/governance.yaml 获得 budgets 阈值(total, file_max, function_max, functions_per_file),并获取 enforcement.core_dirs 列表。governance.yaml 的每一个卡控指标。在核心目录下,任何违反阈值的情况均标记为 ❌。## Boundary Check
| 指标 | 规定上限 | 实际当前 | 状态 | 备注 |
| --------------- | ---------- | -------- | -------- | ----------------- |
| 总 LOC (核心区) | [如: 7000] | [XXX] | ✅/⚠️/❌ | 超出说明 / 健康 |
| 最大文件行数 | [如: 300] | [XXX] | ✅/⚠️/❌ | 文件名: [name.sh] |
| 单函数最大行数 | [如: 50] | [XXX] | ✅/⚠️/❌ | 函数名: [func] |
| 单文件函数数量 | [如: 15] | [XXX] | ✅/⚠️/❌ | 文件名: [name.sh] |
| 死代码识别 | 0 | [X]个 | ✅/❌ | 函数列表: [...] |
development
Use after `vibe init` to verify project configuration completeness. Interactively prompts user to fill missing items. Orchestrates existing commands without adding Python code. Supports cross-project vibe3 readiness verification (Phase 5-8). Do not use for system-level installation issues (use vibe-onboard instead).
development
Use when the user wants a comprehensive review using the multi-agent team workflow. Applies to PRs, code changes, architecture decisions, and any task requiring team-based analysis.
development
Use when manager has signaled flow terminal state cleanup via handoff indicate. Reads cleanup instructions and executes FlowCleanupService. Do not use for code changes or PR creation.
testing
Use for handling blocked and RFC issues, making decisions that may form ADRs (Architecture Decision Records). Processes problem issues requiring human judgment, dependency resolution, and architectural decisions. Do not use for routine issue monitoring (use vibe-orchestra) or roadmap planning (use vibe-roadmap).