/briefbound-skills:briefbound-code-structure-guardfrom briefbound-skills
Guards against multi-responsibility giant files during active development. Issues STAY/CHECK/SPLIT judgments and performs minimal responsibility extraction when structural risk is concrete.
Ships in briefbound-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
防止本轮开发继续制造多职责巨型文件。只提取稳定职责,不为压低行数制造薄包装、转发层或碎片目录。
STAY / CHECK / SPLIT 判断;必要时完成最小职责拆分,并保持公共行为和验证证据。briefbound-planning、briefbound-pr-review、briefbound-simplification-audit、briefbound-development-cleanup、briefbound-router 或 BLOCKED。briefbound-router 或当前 owner,不接管功能、Bug、性能或普通审查。下一步建议: <一个具体动作>,否则声明继续已授权工作。STAY:职责内聚且修改位于同一行为边界。继续开发,不输出结构报告。CHECK:接近项目阈值、修改跨远距离区段或可能形成第二职责。检查 imports/exports、状态所有权、调用方和测试;证据不足即 STAY。SPLIT:至少存在两个独立信号,例如多个领域/层/生命周期混在一起、不同部分独立变化或复用、测试与所有权边界可分、反复修改造成导航或合并冲突。由本 skill 完成最小拆分。优先使用项目规则;没有规则时,函数约 75 行、类/组件约 300 行、源文件约 500 行 只能触发 CHECK,不能单独触发 SPLIT。手写源文件超过约 800 行时优先检查,仍按职责判断。
默认排除 generated、vendor、migration、schema、fixture、快照、声明式数据和明确的单文件产物。
拆分没有降低耦合、认知负担或未来冲突时,撤销本轮自己的结构修改并保持 STAY。
briefbound-pr-review 主责。What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (ccdawn/briefbound-skills) — no native marketplace selected
npx claudepluginhub p/ccdawn-briefbound-skills39 skills in this plugin
/briefbound-adrUse when the user asks to record a settled architecture or technology decision as an ADR(写 ADR、记录决策、技术选型定案存档), or a "why" trail is needed for a chosen design, an old decision must be superseded, or new work conflicts with a prior decision; do not use for options still under discussion, project status snapshots, or README writing./briefbound-ai-research-loopUse when AI/ML research engineering needs baseline reproduction, hypothesis-driven experiments, ablations, evaluation design, findings synthesis, research direction selection, plateau recovery, or a reproducible loop from a paper/repository/research question to evidence-backed results, or coordinating cross-stage research competitions and benchmarks./briefbound-api-contractUse when a change touches an external contract surface - REST/GraphQL endpoints, request/response schemas, DB schema, events, or CLI arguments - and needs design, breaking-change analysis, versioning, or a migration path; do not use for general implementation planning, code review, or feature coding./briefbound-autonomous-collaboration-loopUse when the user explicitly enables an automated same-project multi-thread development loop that keeps peer Codex tasks progressing, recovers conflicts or stale coordination, integrates verified work into local main, and closes cleanup without repeated gates; do not use before opt-in, for one-off coordination, remote publication without permission, or subagent creation./briefbound-bdd-tdd-developmentUse when an already-defined new behavior or high-risk implementation contract needs a failing test before implementation, or the user explicitly requests TDD; diagnosed bugs stay with briefbound-bug-review, while simple or mechanical work uses targeted verification./briefbound-bug-reviewUse when an observed bug, correctness regression, failing test, build failure, abnormal behavior, or unresolved root cause needs Chinese-first diagnosis and bounded repair; obvious local inefficiency found during feature work stays with its owner, while measurable performance work uses briefbound-performance-engineering.