بنقرة واحدة
kb
Knowledge base management skill; read during KB operations; includes init, update, sync strategies
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Knowledge base management skill; read during KB operations; includes init, update, sync strategies
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Analyze phase entry. Aggregates scoring, follow-up, and scope-check rules; loads references/assets/scripts on demand.
Design phase entry. Aggregates plan-level selection, task breakdown, and package output rules; loads references/assets/scripts on demand.
Develop phase entry; routes task execution, state updates, KB sync, and plan close-out through references/assets/scripts.
Document template collection; read when creating docs; includes all KB templates and plan file templates
需求分析阶段入口;聚合评分、追问与范围判定规则,按需加载 references/assets/scripts。
方案设计阶段入口;聚合方案分级、任务拆分与方案包输出规则,按需加载 references/assets/scripts。
| name | kb |
| description | Knowledge base management skill; read during KB operations; includes init, update, sync strategies |
Goal: manage the V2 layers in .sopify/ so long-lived knowledge, the active plan, and finalized archives stay clearly separated.
.sopify/
├── blueprint/
│ ├── README.md # Pure index page with index-required sections only
│ ├── background.md # Long-term goals, scope, non-goals
│ ├── design.md # Module / host / directory / consumption contracts
│ └── tasks.md # Unfinished long-term items and explicit deferrals
├── project.md # Project technical conventions
├── user/
│ ├── preferences.md # Long-term user preferences
│ └── feedback.jsonl # Raw feedback events
├── plan/
│ └── YYYYMMDD_feature/ # Current active plan
├── history/
│ ├── index.md # Archive index
│ └── YYYY-MM/
└── state/ # Runtime machine truth
kb_init: full)Create on the first bootstrap:
Create:
- .sopify/project.md
- .sopify/user/preferences.md
- .sopify/user/feedback.jsonl
- .sopify/blueprint/README.md
- .sopify/blueprint/background.md
- .sopify/blueprint/design.md
- .sopify/blueprint/tasks.md
Notes:
plan/ content.history/index.md or any archive.kb_init: progressive) [default]Materialize by lifecycle:
First real-project trigger:
- .sopify/project.md
- .sopify/user/preferences.md
- .sopify/blueprint/README.md
First plan lifecycle:
- .sopify/blueprint/background.md
- .sopify/blueprint/design.md
- .sopify/blueprint/tasks.md
- .sopify/plan/YYYYMMDD_feature/
First explicit ~go finalize:
- .sopify/history/index.md
- .sopify/history/YYYY-MM/YYYYMMDD_feature/
First explicit long-term preference:
- .sopify/user/feedback.jsonl
project.mduser/preferences.mdblueprint/README.mdblueprint/background.mdblueprint/design.mdblueprint/tasks.mdactive_plan = current_plan.path + current_plan.filesRules:
L0/L1 and must not require deep blueprint filesL2 active planhistory/ is not the default long-lived context source; read it only for finalize lookups or human traceabilityblueprint/README.md keeps only status / maintenance / current goal / current focus / read next.blueprint/README.md.blueprint/ root, blueprint/README.md must list them explicitly.blueprint/tasks.md Boundaries[x] completed items must not remain in blueprint/tasks.md.project.md: reusable technical conventions changedblueprint/background.md: long-term goals, scope, or non-goals changedblueprint/design.md: module, host, directory, or consumption contracts changedblueprint/tasks.md: unfinished long-term items or explicit deferrals changeduser/preferences.md: the user explicitly stated a long-term preferenceblueprint/tasks.mdknowledge_sync Sync Contractknowledge_sync:
project: skip|review|required
background: skip|review|required
design: skip|review|required
tasks: skip|review|required
Execution rules:
skip: no sync required for this roundreview: at least review before finalizerequired: finalize must block until updateduser/preferences.md > default rulesInitialization complete:
[{BRAND_NAME}] Knowledge Base Init ✓
Created: {N} files
Strategy: {full/progressive}
---
Changes: {N} files
- .sopify/project.md
- .sopify/blueprint/README.md
- ...
Next: KB is ready
Sync complete:
[{BRAND_NAME}] Knowledge Base Sync ✓
Updated: {N} files
---
Changes: {N} files
- .sopify/project.md
- .sopify/blueprint/design.md
- ...
Next: Docs updated