bp

Featured

把一條最佳實踐登記進 clade 的正確落點,或查新專案該套用哪些既有標準。Use when 使用者送 `\bp`、說「這個記成最佳實踐」「這條規範收進 clade」,或問新專案該套哪些現成標準。NOT for 寫進 memory,NOT for 散播既有改動(走 clade-publish)。

Web & Frontend 45 stars 3 forks Updated today MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
55
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

<!-- 🔒 LOCKED — managed by clade · auto-generated by sync-to-codex; edit source in .claude/ then re-run sync --> # bp — 最佳實踐落點路由 clade 有 7 種資產落點。**分類負擔歸本 skill,不歸使用者**——使用者只需要講出那條實踐是什麼,落點由這裡判、講出理由、等確認。 ## Mode dispatch | Mode | 觸發 | 用途 | | --- | --- | --- | | `record`(預設) | `\bp <一句話>`、「記成最佳實踐」 | 判落點 → 回報 → 等確認 → 落�� | | `plan` | 「新專案該套哪些現成標準」 | 依 stack 列出該套用的既有 convention | | `check` | `/bp check`、commit gate 0-F 呼叫 | 對 staged diff 比對既有資產,防重造輪子 | --- ## record ### Step 1 — 判定 session 位置 | 目前在 | 做法 | | --- | --- | | clade(`~/offline/clade`) | 直接往下走 | | consumer | 這是 Direction B 跨界(consumer session → clade 改源頭 + 散播)。使用者送 `\bp` **就是**明確授權,往下走;落地後 MUST 回到原 consumer 並明示已回來 | ### Step 2 — 問三個問題 **MUST 自己先答一遍**,答不出來的才問使用者。目標是使用者回是非題,不是回「該放哪一層」。 | # | 問題 | 分支 | | --- | --- | --- | | Q1 | 誰需要知道? | 全 consumer → `rules/core/`/某類 stack → `rules/modules/<group>/<variant>/`/只有 clade → `.claude/rules/local/` | | Q2 | 何時需要知道? | 每個 session → always-load rule/編輯特定檔時 → 帶 `paths:` 的 conditional rule/做特定任務時 → skill/查得到就好 → `vendor/snippets/` 或 `docs/` | | Q3 | 它是什麼形態? | 判準 → rule/操作步驟 → skill 或 snippet/可執行 → `vendor/scripts/`/成因與退場條件 → `docs/rule-rationale/`/失敗案例 → `docs/pitfalls/`/**有 variant 與成熟度 → `registry/conventions.json`** | Q3 最後一支最常被漏掉:**一條實踐若存在「推薦做法 vs 過渡做法」的分歧,它 MUST 進 `registry/conventions.json`**——那是唯一機讀的最佳實踐目錄,沒進去的條目 `plan` 與 `check` 兩個 mode 都抓不到,等於登記了卻不會被套用。 完整 Q1×Q2×Q3 對照表、縱向下推三分法(留原處 / `docs/rule-rationale/` / 新建 conditional rule)、以及各落點的散播機制,見 `references/placement...

Details

Author
YuDefine
Repository
YuDefine/nuxt-supabase-starter
Created
7 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

cadence-bootstrap

Use when starting any conversation in a cadence-managed project (project root contains cadence/_INDEX.md or cadence/_ACTIVE.md). Establishes cadence workflow conventions — 记 / 整 / 查 三阶段记录协议, _ACTIVE.md / _INDEX.md state contract, domain-neutral adaptive recording fidelity, session start behaviors, and subagent dispatch rules. CC harness reads this skill via SessionStart hook injection (automatic). Codex / other harnesses match this description on session start (progressive disclosure trigger) — LLM should load skill body on first cadence-related user turn.

5 Updated 3 weeks ago
hxt9805
AI & Automation Listed

project-discuss

⚠️ 本 skill 与 brainstorming / writing-plans / executing-plans 等流程 skill **正交、可并行**触发,不互斥。 已调用流程 skill 不等于可以跳过本 skill;只要涉及项目讨论/决策/查询,都需要额外激活本 skill。 项目讨论管理协议。管理讨论上下文、决策记录、查询行为。 触发:用户讨论项目方向/设计/技术选型/需求分析/功能规划时; 用户问"我们讨论到哪了"/"XX 确定了吗"; 用户想修改已确定的内容;用户提供外部文档; 用户询问项目现状/架构/实现细节/历史决策(含 debug 揭示架构问题时); 当 bug 修复涉及决策、揭示架构问题、或修复逻辑非显而易见时。 本质上任何涉及项目讨论、决策、查询的场景都应触发。

5 Updated 3 weeks ago
hxt9805
AI & Automation Featured

wrap-up

Use when the user is ending a session, about to compact, or asks to tidy up project docs after a long multi-turn working session (收尾 / 收工 / 落檔 / 我要關 session / 要 compact 了 / 整理一下專案文件). Harvests everything the session produced into the project following that project's own rules — moves stray media in, wires two-way refs, updates indexes, merges drafts into SSOT — then dispatches a context-free sub-agent to blind-test the docs from the project's entry file. Fails loudly and explains in plain language rather than looping forever. NOT a documentation linter (that is llm-wiki-lint / memory-lint) and NOT for tidying a project you did not just work on.

78 Updated yesterday
KerberosClaw