analyze
Analyze phase entry. Aggregates scoring, follow-up, and scope-check rules; loads references/assets/scripts on demand.
Manage long-lived `.sopify/` knowledge, including bootstrap, progressive materialization, reads, retention, and knowledge_sync policy.
$ npx -y skills add evidentloop/sopify --skill kb --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/kbContext preview
The summary Claude sees to decide when to auto-load this skill.
Manage long-lived `.sopify/` knowledge, including bootstrap, progressive materialization, reads, retention, and knowledge_sync policy.
name: kb description: Manage long-lived `.sopify/` knowledge, including bootstrap, progressive materialization, reads, retention, and knowledge_sync policy.
KB owns long-lived knowledge. It does not make Analyze, Design, or Develop decisions, and it does not manage the active plan, handoff, receipts, or finalize directly. Document structures come from Templates; protocol state is managed through `sopify_writer`.
.sopify/ ├── project.md # reusable technical conventions ├── user/ # long-term preferences and raw feedback ├── blueprint/ # long-term goals, design boundaries, open work, and index ├── plan/ # current plan semantic files ├── history/ # archived plans and index └── state/ # local protocol state
`blueprint/README.md` keeps only status, maintenance guidance, current goal, current focus, and reading links. Put detailed content in the relevant blueprint file.
`kb_init: full` creates `project.md`, `user/preferences.md`, `user/feedback.jsonl`, and the four blueprint files on first use. It does not pre-create plan content, history, or empty directories.
`kb_init: progressive` is the default:
The host completes the governing Protocol entry for a managed plan, handoff, and receipts before invoking KB. This section defines only KB's long-lived context order:
1. `project.md` 2. `user/preferences.md` 3. `blueprint/README.md` 4. Relevant parts of `blueprint/background.md`, `design.md`, and `tasks.md`
Consult and quick fix do not fail when deep blueprint files are absent. Read `history/` only for trace-back or finalize.
Keep information only when it remains useful across tasks:
Do not store one-off implementation details, current-plan task breakdowns, temporary tradeoffs, completed tasks, or copies of history content. When code and documentation conflict, verify the code and then correct the documentation. Current user instructions override historical preferences.
knowledge_sync: project: skip|review|required background: skip|review|required design: skip|review|required tasks: skip|review|required
KB applies the plan's sync policy without changing the plan lifecycle. Update the narrowest long-lived location and avoid duplicating the same content across files.
After bootstrap or sync, state the actual result, list `Changes`, and end with `Next:`. Use `Changes: 0 files` when nothing changed.
Resumable AI coding — ask first, plans stay with the repo AI coding tools are fast. But when they jump to code before the facts are clear, speed turns into rework.
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.
Knowledge-base document templates, loaded when long-lived knowledge files are created or materialized.