opencodekit 0.19.6 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/template/.opencode/dcp-prompts/defaults/compress-message.md +1 -0
  3. package/dist/template/.opencode/memory.db +0 -0
  4. package/dist/template/.opencode/memory.db-shm +0 -0
  5. package/dist/template/.opencode/memory.db-wal +0 -0
  6. package/dist/template/.opencode/opencode.json +2 -2
  7. package/dist/template/.opencode/skill/chrome-devtools/SKILL.md +1 -1
  8. package/dist/template/.opencode/skill/cloudflare/SKILL.md +1 -1
  9. package/dist/template/.opencode/skill/context-management/SKILL.md +306 -79
  10. package/dist/template/.opencode/skill/core-data-expert/SKILL.md +1 -1
  11. package/dist/template/.opencode/skill/design-system-audit/SKILL.md +1 -1
  12. package/dist/template/.opencode/skill/design-taste-frontend/SKILL.md +1 -1
  13. package/dist/template/.opencode/skill/figma/SKILL.md +1 -1
  14. package/dist/template/.opencode/skill/figma-go/SKILL.md +1 -1
  15. package/dist/template/.opencode/skill/frontend-design/SKILL.md +1 -1
  16. package/dist/template/.opencode/skill/full-output-enforcement/SKILL.md +1 -1
  17. package/dist/template/.opencode/skill/high-end-visual-design/SKILL.md +1 -1
  18. package/dist/template/.opencode/skill/index-knowledge/SKILL.md +1 -1
  19. package/dist/template/.opencode/skill/industrial-brutalist-ui/SKILL.md +1 -1
  20. package/dist/template/.opencode/skill/jira/SKILL.md +1 -1
  21. package/dist/template/.opencode/skill/minimalist-ui/SKILL.md +1 -1
  22. package/dist/template/.opencode/skill/mqdh/SKILL.md +1 -1
  23. package/dist/template/.opencode/skill/opensrc/SKILL.md +184 -27
  24. package/dist/template/.opencode/skill/pdf-extract/SKILL.md +1 -1
  25. package/dist/template/.opencode/skill/pencil/SKILL.md +1 -1
  26. package/dist/template/.opencode/skill/playwright/SKILL.md +18 -6
  27. package/dist/template/.opencode/skill/{agent-browser/SKILL.md → playwright/references/agent-browser-cli.md} +0 -8
  28. package/dist/template/.opencode/skill/playwriter/SKILL.md +1 -1
  29. package/dist/template/.opencode/skill/polar/SKILL.md +1 -1
  30. package/dist/template/.opencode/skill/prd/SKILL.md +1 -1
  31. package/dist/template/.opencode/skill/react-best-practices/SKILL.md +1 -1
  32. package/dist/template/.opencode/skill/redesign-existing-projects/SKILL.md +1 -1
  33. package/dist/template/.opencode/skill/resend/SKILL.md +1 -1
  34. package/dist/template/.opencode/skill/stitch/SKILL.md +1 -1
  35. package/dist/template/.opencode/skill/stitch-design-taste/SKILL.md +1 -1
  36. package/dist/template/.opencode/skill/supabase/SKILL.md +1 -1
  37. package/dist/template/.opencode/skill/supabase-postgres-best-practices/SKILL.md +1 -1
  38. package/dist/template/.opencode/skill/v0/SKILL.md +1 -1
  39. package/dist/template/.opencode/skill/v1-run/SKILL.md +1 -1
  40. package/dist/template/.opencode/skill/webclaw/SKILL.md +1 -1
  41. package/dist/template/.opencode/skill/writing-skills/SKILL.md +43 -6
  42. package/dist/template/.opencode/skill/{testing-skills-with-subagents/SKILL.md → writing-skills/references/testing-methodology.md} +0 -8
  43. package/package.json +1 -1
  44. package/dist/template/.opencode/skill/compaction/SKILL.md +0 -384
  45. package/dist/template/.opencode/skill/session-management/SKILL.md +0 -9
  46. package/dist/template/.opencode/skill/source-code-research/SKILL.md +0 -293
  47. package/dist/template/.opencode/skill/ui-ux-research/SKILL.md +0 -9
  48. package/dist/template/.opencode/skill/using-skills/SKILL.md +0 -117
  49. /package/dist/template/.opencode/skill/{source-code-research → opensrc}/references/analysis-tips.md +0 -0
  50. /package/dist/template/.opencode/skill/{source-code-research → opensrc}/references/anti-patterns.md +0 -0
  51. /package/dist/template/.opencode/skill/{source-code-research → opensrc}/references/common-patterns.md +0 -0
  52. /package/dist/template/.opencode/skill/{source-code-research → opensrc}/references/example-workflow.md +0 -0
  53. /package/dist/template/.opencode/skill/{source-code-research → opensrc}/references/further-reading.md +0 -0
  54. /package/dist/template/.opencode/skill/{source-code-research → opensrc}/references/source-structure.md +0 -0
package/dist/index.js CHANGED
@@ -20,7 +20,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
20
20
 
21
21
  //#endregion
22
22
  //#region package.json
23
- var version = "0.19.6";
23
+ var version = "0.20.0";
24
24
 
25
25
  //#endregion
26
26
  //#region src/utils/license.ts
@@ -39,3 +39,4 @@ During general cleanup, compress all medium and high-priority messages that are
39
39
  Optimize for reducing context footprint, not for grouping messages by topic.
40
40
  Do not compress away still-active instructions, unresolved questions, or constraints that are likely to matter soon.
41
41
  Prioritize the earliest messages in the context as they will be the least relevant to the active task.
42
+ General cleanup should be done periodically between other normal compression tool passes, not as the primary form of compression.
Binary file
@@ -85,8 +85,8 @@
85
85
  ".opencode/context/git-context.md"
86
86
  ],
87
87
  "keybinds": {
88
- "leader": "`",
89
- "session_parent": "<leader>up"
88
+ "leader": "ctrl+x",
89
+ "session_parent": "up"
90
90
  },
91
91
  "mcp": {
92
92
  "tilth": {
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: chrome-devtools
3
- description: Chrome DevTools for debugging, performance analysis, and browser automation. Use when debugging web apps, analyzing performance, inspecting network requests, or automating browser interactions.
3
+ description: Use when debugging web apps in Chrome performance profiling, network inspection, DOM debugging, or console automation. MUST load before any Chrome DevTools-based debugging session.
4
4
  version: 1.0.0
5
5
  tags: [automation, debugging]
6
6
  dependencies: []
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: cloudflare
3
- description: Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), networking (Tunnel, Spectrum), security (WAF, DDoS), and infrastructure-as-code (Terraform, Pulumi). Use for any Cloudflare development task.
3
+ description: Use when deploying to or configuring ANY Cloudflare service Workers, Pages, KV, D1, R2, AI, Tunnel, WAF. MUST load before writing Cloudflare Workers code, wrangler configs, or infrastructure-as-code for Cloudflare.
4
4
  references:
5
5
  - workers
6
6
  - pages
@@ -1,119 +1,346 @@
1
1
  ---
2
2
  name: context-management
3
- description: Unified protocol for context health and session lifecycle management using DCP tools, thresholds, handoff, and resume workflows
4
- version: 2.0.0
3
+ description: Unified protocol for context health and session lifecycle management using DCP tools, thresholds, handoff, resume workflows, and post-compaction restoration.
4
+ version: 3.0.0
5
5
  tags: [context, workflow, session]
6
6
  dependencies: []
7
7
  ---
8
8
 
9
9
  # Context Management
10
10
 
11
- > **Replaces** manual context tracking and ad-hoc session management unified protocol for context health across a session lifecycle
11
+ > Unified protocol for context health across start, active execution, compression, restoration, handoff, and resume.
12
12
 
13
- Use this skill to keep context useful from first turn to final handoff.
13
+ Use this skill to keep context high-signal while preserving edit safety and execution continuity.
14
14
 
15
15
  ## When to Use
16
16
 
17
- - Context size is growing and you need to reduce noise without losing critical details
18
- - You are finishing a work phase and want to compress completed exploration/implementation
19
- - You are preparing `/handoff` or resuming a prior session
20
- - You need to recover relevant prior context with `find_sessions`, `read_session`, and memory files
21
-
22
- ## When NOT to Use
23
-
24
- - You are actively editing files whose raw content must remain exact
25
- - You are in a short, single-step task that will finish before context pressure appears
17
+ - Context is growing and signal quality is dropping
18
+ - A phase is complete and should be compressed
19
+ - You are preparing `/handoff` or resuming prior work
20
+ - You need deterministic restoration after compaction
21
+ - You need reusable summary templates for exploration/implementation/debugging
26
22
 
27
23
  ## Core Principle
28
24
 
29
- Prefer **phase-level compression** over reactive cleanup.
25
+ Prefer **phase-level context hygiene** over emergency cleanup.
30
26
 
31
27
  ```text
32
28
  compress > sweep > handoff
33
29
  ```
34
30
 
35
- - **compress**: Best default when a phase is complete
36
- - **sweep**: Use `/dcp sweep` to clean stale/noisy content after completion
37
- - **handoff**: Use when context pressure remains high even after compression
31
+ - **compress**: shrink closed chapters while preserving decisions
32
+ - **sweep**: remove stale/noisy residue from closed chapters
33
+ - **handoff**: reset in a fresh session when compression is insufficient
38
34
 
39
35
  ## DCP Command Usage
40
36
 
37
+ ### `/dcp context`
38
+
39
+ Run at session start and major boundaries to detect pressure early.
40
+
41
41
  ### `/dcp compress`
42
42
 
43
- Use for completed chapters of work (research, implementation wave, review sweep).
43
+ Primary action for completed chapters.
44
44
 
45
- - Best for large ranges of now-stable outputs
46
- - Lowest cognitive overhead on later turns
47
- - Usually lowest risk of deleting needed details
45
+ Use when:
46
+
47
+ - exploration has stable conclusions
48
+ - implementation wave is complete and verified
49
+ - review output has been synthesized
48
50
 
49
51
  ### `/dcp sweep`
50
52
 
51
- Use after a phase is complete to let DCP remove stale/noisy content automatically.
53
+ Secondary cleanup after chapter closure.
52
54
 
53
- Good candidates for sweep-driven cleanup:
55
+ Sweep candidates:
54
56
 
55
57
  - wrong-target searches
56
- - failed dead-end exploration no longer needed
57
- - duplicate or superseded junk output
58
+ - superseded logs
59
+ - duplicate tool output
60
+ - dead-end exploration replaced by synthesis
61
+ - large terminal dumps no longer needed
58
62
 
59
- Do **not** sweep because output is merely "long". Length alone is not noise.
63
+ Do not sweep active material needed for immediate edits.
60
64
 
61
65
  ## Session Lifecycle Protocol
62
66
 
63
67
  ### 1) Start Session
64
68
 
65
- 1. Load task spec and essential policy docs only
66
- 2. Check context health (`/dcp context`)
67
- 3. Pull prior work only if needed:
69
+ 1. Load task + essential policy docs only
70
+ 2. Run `/dcp context`
71
+ 3. Rehydrate prior state only if needed:
68
72
  - `find_sessions({ query })`
69
73
  - `read_session({ session_id, focus })`
70
- - `memory-read({ file })` or `memory-search({ query })`
74
+ - `memory-search({ query })` / `memory-read({ file })`
75
+ 4. Verify git position before edits
71
76
 
72
77
  ### 2) During Active Work
73
78
 
74
- - Keep active files readable until edits are done
75
- - At each natural boundary, evaluate compress candidates
76
- - Compress completed phases before starting the next chapter
79
+ - Keep active file outputs readable until edit + verification finish
80
+ - Reclassify context at boundaries: active vs closed
81
+ - Compress closed chapters before opening a new major chapter
82
+ - Sweep only after synthesis exists
77
83
 
78
84
  ### 3) Pre-Handoff / Closeout
79
85
 
80
- 1. Compress completed phase ranges
81
- 2. Persist key decisions/learnings to memory (observation or memory-update)
82
- 3. Create concise handoff summary (what changed, what is pending, known risks)
86
+ 1. Compress closed phases
87
+ 2. Sweep stale/noisy residue
88
+ 3. Persist decisions/learnings to memory
89
+ 4. Write concise handoff (changed, pending, risks)
83
90
 
84
91
  ### 4) Resume Session
85
92
 
86
- 1. Rehydrate only relevant context (don’t replay everything)
87
- 2. Validate assumptions against current files/git state
88
- 3. Continue with fresh context budget, not accumulated clutter
93
+ 1. Rehydrate only relevant context
94
+ 2. Validate assumptions against files + git state
95
+ 3. Continue with fresh budget and explicit priorities
89
96
 
90
97
  ## Context Budget Thresholds
91
98
 
92
- Use these thresholds as operational triggers:
93
-
94
- | Threshold | Interpretation | Required Action |
95
- | --- | --- | --- |
96
- | <50k | Healthy start | Keep inputs minimal, avoid unnecessary reads |
97
- | 50k–100k | Moderate growth | Compress completed phases, keep active files intact |
98
- | >100k | High pressure | Aggressively compress by phase; run `/dcp sweep` on stale noise |
99
- | >150k | Near capacity | Perform handoff and resume in a fresh session |
100
-
101
- Secondary guardrails:
99
+ | Threshold | Interpretation | Required Action |
100
+ | --------- | --------------- | ---------------------------------- |
101
+ | <50k | Healthy start | Keep inputs minimal |
102
+ | 50k-100k | Moderate growth | Compress completed phases |
103
+ | >100k | High pressure | Aggressive compress + `/dcp sweep` |
104
+ | >150k | Near capacity | Handoff + resume fresh session |
102
105
 
103
- - ~70%: Consolidate and drop stale exploration
104
- - ~85%: Plan handoff window at next natural break
105
- - ~95%: Immediate cleanup or restart required
106
+ Guardrails: ~70% consolidate closed exploration, ~85% schedule handoff, ~95% immediate cleanup/restart.
106
107
 
107
108
  ## Phase Boundary Triggers
108
109
 
109
110
  Compress at these boundaries:
110
111
 
111
- - Research complete compress exploration + search outputs
112
- - Implementation wave complete compress completed read/edit/test cycles
113
- - Review complete compress raw reviewer outputs, keep synthesized findings
114
- - Before `/handoff` compress everything non-essential since last checkpoint
112
+ - Research complete -> compress exploration/search output
113
+ - Implementation wave complete -> compress read/edit/test cycle output
114
+ - Review complete -> compress raw reviewer output; keep synthesis
115
+ - Pre-handoff -> compress non-essential context since last checkpoint
116
+
117
+ Rule: **Closed phases should not remain uncompressed for long.**
118
+
119
+ ## Compaction Decision Tree
120
+
121
+ Use this before each cleanup action.
122
+
123
+ ```text
124
+ Is context pressure increasing materially?
125
+ ├── NO
126
+ │ └── Continue work; reassess at next phase boundary
127
+ └── YES
128
+ ├── Is there a completed phase with stable conclusions?
129
+ │ ├── YES -> /dcp compress completed range
130
+ │ └── NO
131
+ │ ├── Is growth mostly stale/noisy closed-phase output?
132
+ │ │ ├── YES -> /dcp sweep
133
+ │ │ └── NO
134
+ │ │ ├── Is most remaining context still active/relevant?
135
+ │ │ │ ├── YES -> Prepare handoff + resume fresh session
136
+ │ │ │ └── NO -> Reclassify content, then compress/sweep
137
+ │ └── If uncertain, preserve active content until closure
138
+ ```
139
+
140
+ ## Custom Summarization Templates
141
+
142
+ Use these templates to keep summaries dense and recoverable.
143
+
144
+ ### A) Code Exploration Template
145
+
146
+ ```markdown
147
+ ## Exploration Summary: [Component/Module]
148
+
149
+ ### Objective
150
+
151
+ - [What was investigated]
152
+
153
+ ### Architecture Map
154
+
155
+ - Entry points: `path/to/entry.ts`
156
+ - Core modules: `A`, `B`, `C`
157
+ - Data flow: [input -> transform -> output]
158
+ - Dependencies/services: [list]
159
+
160
+ ### Verified Findings
161
+
162
+ - [Finding with evidence]
163
+ - [Finding with evidence]
164
+ - [Finding with evidence]
165
+
166
+ ### Constraints
167
+
168
+ - [Technical/policy/runtime constraints]
169
+
170
+ ### Decisions
171
+
172
+ - [Decision] -> [Rationale]
173
+ - [Decision] -> [Rationale]
174
+
175
+ ### Next Step
176
+
177
+ - [Immediate next action]
178
+ ```
179
+
180
+ ### B) Implementation Template
181
+
182
+ ```markdown
183
+ ## Implementation Summary: [Feature/Fix]
184
+
185
+ ### Scope
186
+
187
+ - [What this wave covered]
188
+
189
+ ### Completed
190
+
191
+ - [x] `path/to/file.ts` -> [change]
192
+ - [x] `path/to/file.test.ts` -> [coverage]
193
+ - [x] [other completed work]
194
+
195
+ ### Verification Evidence
196
+
197
+ - Typecheck: [command + result]
198
+ - Lint: [command + result]
199
+ - Tests: [command + result]
200
+
201
+ ### Remaining
202
+
203
+ - [ ] [pending item]
204
+ - [ ] [pending item]
205
+
206
+ ### Key Decisions
207
+
208
+ - [Decision + reason]
209
+ - [Decision + reason]
210
+
211
+ ### Resume Anchor
212
+
213
+ - Resume from: `path/to/file.ts` [function/region]
214
+ ```
215
+
216
+ ### C) Debugging Template
217
+
218
+ ```markdown
219
+ ## Debug Summary: [Issue]
220
+
221
+ ### Symptoms
222
+
223
+ - Error: [exact error]
224
+ - Trigger: [request/action]
225
+ - Location: `path:line`
226
+
227
+ ### Root Cause
115
228
 
116
- Rule: **Completed phases should not remain uncompressed for long.**
229
+ - [causal chain with evidence]
230
+
231
+ ### Fix Applied
232
+
233
+ - `path/to/file.ts` -> [exact fix]
234
+ - `path/to/test.ts` -> [new/updated coverage]
235
+
236
+ ### Verification
237
+
238
+ - [test command + result]
239
+ - [manual check + result]
240
+
241
+ ### Next Step
242
+
243
+ - [if unresolved, next investigation/fix]
244
+ ```
245
+
246
+ ## DCP Plugin Integration
247
+
248
+ This project uses `@tarquinen/opencode-dcp` via `experimental.chat.system.transform`.
249
+
250
+ ### DCP Responsibilities (Always On)
251
+
252
+ - context budget monitoring + threshold cues
253
+ - `/dcp` command surface (`context`, `compress`, `sweep`, `stats`)
254
+ - prunable-tools guidance + token-aware nudges
255
+ - critical-limit warnings
256
+
257
+ ### Context-Management Responsibilities (This Skill)
258
+
259
+ - timing policy for compress/sweep/handoff
260
+ - summary quality and template selection
261
+ - post-compaction restoration protocol
262
+ - cross-session rehydration sequence
263
+
264
+ ### Division of Responsibility
265
+
266
+ - **DCP plugin**: measures/surfaces pressure, exposes cleanup commands
267
+ - **context-management skill**: decides when to apply commands and how to preserve continuity
268
+
269
+ ### Custom Prompt Overrides
270
+
271
+ Custom DCP prompts are enabled (`experimental.customPrompts: true`).
272
+
273
+ Override precedence:
274
+
275
+ 1. `.opencode/dcp-prompts/overrides/` (project)
276
+ 2. config directory overrides
277
+ 3. `~/.config/opencode/dcp-prompts/overrides/` (global)
278
+
279
+ Key file: `compress-message.md` (structured compression schema). Recommended blocks: Primary Request, Key Technical Concepts, Files/Code, Errors/Fixes, Problem Solving, User Messages, Pending Tasks, Current Work, Next Step.
280
+
281
+ ## Post-Compaction Restoration Protocol (Critical)
282
+
283
+ After any compaction (server-side or `/dcp compress`), execute all 5 steps before editing.
284
+
285
+ ### Step 1 — Re-read Active Files (max 5)
286
+
287
+ Re-read files active before compaction.
288
+
289
+ - prioritize most recent edits first
290
+ - cap at 5 files
291
+ - use targeted reads (`offset`/`limit`) for precision
292
+
293
+ Example:
294
+
295
+ ```text
296
+ read({ filePath: "src/auth.ts", offset: 30, limit: 80 })
297
+ ```
298
+
299
+ Why: restores exact local code context and satisfies read-before-edit safety requirements.
300
+
301
+ ### Step 2 — Restore Active Skills
302
+
303
+ Reload any skills active before compaction.
304
+
305
+ ```typescript
306
+ skill({ name: "<active-skill>" });
307
+ ```
308
+
309
+ Why: skill instructions are prompt-injected and may be dropped by compaction.
310
+
311
+ ### Step 3 — Reconcile Todo State
312
+
313
+ Rebuild exact task status:
314
+
315
+ - what was `in_progress`
316
+ - what remains `pending`
317
+ - what is `completed`
318
+
319
+ Why: prevents duplicate work and missed subtasks.
320
+
321
+ ### Step 4 — Verify Git Position
322
+
323
+ ```bash
324
+ git branch --show-current
325
+ git status --short
326
+ ```
327
+
328
+ Why: confirms branch correctness and re-anchors uncommitted file state.
329
+
330
+ ### Step 5 — Scan Memory / Session Artifacts
331
+
332
+ If compaction was heavy, recover nuance using:
333
+
334
+ - `memory-search({ query, limit: 3 })`
335
+ - `memory-read({ file })`
336
+ - `find_sessions({ query, limit })`
337
+ - `read_session({ session_id, focus })`
338
+
339
+ Why: restores rationale/constraints often missing from short summaries.
340
+
341
+ ### Restoration Exit Criteria
342
+
343
+ Do not resume edits until active targets are re-read, required skills are reloaded, todo state is reconciled, git position is confirmed, and critical rationale is recovered when needed.
117
344
 
118
345
  ## Context Transfer Sources (Cross-Session)
119
346
 
@@ -121,43 +348,43 @@ Use in priority order:
121
348
 
122
349
  1. Memory artifacts (`memory-search`, `memory-read`, observations)
123
350
  2. Session history (`find_sessions`, `read_session`)
124
- 3. Task tracker state (`br show <id>` when applicable)
351
+ 3. Task tracker state (`br show <id>`)
125
352
  4. Git evidence (`git diff`, `git log`, test output)
126
353
 
127
- Carry forward decisions and constraints, not every intermediate log.
354
+ Carry forward decisions, constraints, and next actions — not transcript bulk.
128
355
 
129
356
  ## Anti-Patterns
130
357
 
131
- | Anti-Pattern | Why It Hurts | Correct Pattern |
132
- | --- | --- | --- |
133
- | Compressing active work areas (losing precision needed for edits) | Removes exact lines needed for safe edits | Keep active file/tool outputs until edit + verification complete |
134
- | Sweeping content you still need | Forces rework and increases error risk | Keep active files/tool outputs until phase is complete |
135
- | Not compressing completed exploration phases | Bloats context and degrades later turns | Compress immediately at phase completion |
136
- | Session handoff without persisting key decisions to memory | Next session loses rationale and constraints | Write observations/memory updates before handoff |
358
+ | Anti-Pattern | Why It Hurts | Correct Pattern |
359
+ | ------------------------------------- | -------------------------------------- | ---------------------------------------------- |
360
+ | Compressing active edit context | Loses exact data needed for safe edits | Keep active outputs until edit+verify complete |
361
+ | Sweeping still-live content | Causes rework and precision loss | Sweep only stale/noisy closed-phase outputs |
362
+ | Leaving closed phases uncompressed | Context bloat degrades later turns | Compress at each phase boundary |
363
+ | Handoff without memory persistence | Next session loses rationale | Persist decisions before handoff |
364
+ | Skipping restoration after compaction | Edit failures, skill drift, task drift | Run 5-step restoration before resuming |
137
365
 
138
366
  ## Verification
139
367
 
140
- Check context health: are completed phases compressed? Are active files still readable?
141
-
142
- Before claiming cleanup done, confirm:
368
+ Before claiming context cleanup complete, verify:
143
369
 
144
- - Active edit targets are still present in readable form
145
- - Completed phases are compressed or intentionally kept for active work
146
- - No critical decision exists only in transient tool output
147
- - Handoff includes next actions and blockers
370
+ - active edit targets are still readable
371
+ - closed chapters are compressed or intentionally retained
372
+ - no critical decision exists only in transient output
373
+ - restoration protocol completed after compaction
374
+ - handoff includes next actions and blockers
148
375
 
149
376
  ## Quick Playbook
150
377
 
151
378
  ```text
152
- 1) Start turn: /dcp context
153
- 2) Identify completed phase ranges
154
- 3) /dcp compress completed ranges
155
- 4) /dcp sweep stale/noisy outputs after phase completion
156
- 5) persist key decisions to memory
157
- 6) handoff/resume with focused rehydration
379
+ 1) /dcp context
380
+ 2) classify context: active vs closed
381
+ 3) /dcp compress on closed chapters
382
+ 4) /dcp sweep stale/noisy closed outputs
383
+ 5) if compaction happened: run 5-step restoration
384
+ 6) persist key decisions to memory
385
+ 7) handoff/resume with focused rehydration
158
386
  ```
159
387
 
160
388
  ## See Also
161
389
 
162
390
  - `memory-system`
163
- - `compaction`
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: core-data-expert
3
- description: "Expert Core Data guidance (iOS/macOS): stack setup, fetch requests & NSFetchedResultsController, saving/merge conflicts, threading & Swift Concurrency, batch operations & persistent history, migrations, performance, and NSPersistentCloudKitContainer/CloudKit sync."
3
+ description: "Use when writing, debugging, or optimizing Core Data code on iOS/macOS fetch requests, migrations, merge conflicts, threading, CloudKit sync. MUST load before any Core Data schema changes or performance work."
4
4
  version: 1.0.0
5
5
  tags: [apple, integration]
6
6
  dependencies: []
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: design-system-audit
3
- description: Unified design audit workflow for UI pattern analysis, design token auditing, and visual comparison against specs
3
+ description: Use when auditing an existing design system for consistency token audits, pattern analysis, visual comparison against design specs. Load AFTER implementation to review, not during initial build.
4
4
  version: 2.0.0
5
5
  tags: [design, audit, ui]
6
6
  dependencies: []
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: design-taste-frontend
3
- description: Senior UI/UX Engineer. Architect digital interfaces overriding default LLM biases. Enforces metric-based rules, strict component architecture, CSS hardware acceleration, and balanced design engineering.
3
+ description: Use as the BASE aesthetic skill for any web UI to override default LLM design biases. Enforces strict typography, color, spacing, and component architecture rules. Load BEFORE frontend-design when premium visual quality is required.
4
4
  ---
5
5
 
6
6
  # High-Agency Frontend Skill
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: figma
3
- description: Access Figma design data via Framelink MCP. Fetch layout, styles, components from Figma files/frames. Use when implementing UI from Figma designs, extracting design tokens, or downloading assets.
3
+ description: Use when implementing UI from Figma designs, extracting design tokens, or downloading assets via Framelink MCP. MUST load when user shares a Figma URL or references Figma files. Requires API token.
4
4
  mcp:
5
5
  figma:
6
6
  command: npx
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: figma-go
3
- description: Use figma-mcp-go (plugin bridge, no API token). Read/write Figma data via MCP.
3
+ description: Use for Figma read/write access WITHOUT an API token, via figma-mcp-go plugin bridge. Prefer over figma skill when no API token is available. MUST load when user needs Figma data and has the desktop plugin installed.
4
4
  mcp:
5
5
  figma-mcp-go:
6
6
  command: npx
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: frontend-design
3
- description: Create distinctive, production-grade frontend interfaces. Use when building web components, pages, or applications with React-based frameworks. Includes Tailwind CSS v4, shadcn/ui components, Motion animations, and visual design philosophy for avoiding generic AI aesthetics.
3
+ description: MUST load when building any web UI with React-based frameworks — components, pages, or full applications. Covers Tailwind CSS v4, shadcn/ui, Motion animations. Base UI implementation skill; combine with aesthetic overlays (minimalist-ui, high-end-visual-design) for specific styles.
4
4
  version: 1.1.0
5
5
  tags: [ui, design]
6
6
  dependencies: []
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: full-output-enforcement
3
- description: Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
3
+ description: MUST load when generating complete files, long code blocks, or any output where truncation or placeholder comments like '// ... rest of code' would be harmful. Bans all placeholder patterns and enforces exhaustive, unabridged output.
4
4
  ---
5
5
 
6
6
  # Full-Output Enforcement
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: high-end-visual-design
3
- description: Teaches the AI to design like a high-end agency. Defines the exact fonts, spacing, shadows, card structures, and animations that make a website feel expensive. Blocks all the common defaults that make AI designs look cheap or generic.
3
+ description: Use INSTEAD OF design-taste-frontend when user explicitly requests premium, agency-quality, or luxury visual design. Defines exact fonts, spacing, shadows, and animations that make websites feel expensive. Blocks cheap AI defaults.
4
4
  ---
5
5
 
6
6
  # Agent Skill: Principal UI/UX Architect & Motion Choreographer (Awwwards-Tier)
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: index-knowledge
3
- description: Generate hierarchical AGENTS.md knowledge base for a codebase. Creates root + complexity-scored subdirectory documentation.
3
+ description: Use when generating or refreshing AGENTS.md knowledge bases for a codebase. MUST load before creating hierarchical documentation or complexity-scored subdirectory guides.
4
4
  version: 1.0.0
5
5
  tags: [documentation, workflow]
6
6
  dependencies: []
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: industrial-brutalist-ui
3
- description: Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.
3
+ description: Use INSTEAD OF design-taste-frontend when user requests brutalist, military-terminal, or raw mechanical aesthetics. Swiss typographic print meets utilitarian color. For data-heavy dashboards or editorial sites needing declassified-blueprint energy.
4
4
  ---
5
5
 
6
6
  # SKILL: Industrial Brutalism & Tactical Telemetry UI
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: jira
3
- description: Jira and Confluence integration via official Atlassian MCP. Search issues, create tickets, update status, and access Confluence docs. Uses OAuth 2.1 authorization with Rovo Search.
3
+ description: Use when interacting with Jira issues or Confluence docs searching tickets, creating issues, updating status, or reading wiki pages. MUST load before any Atlassian integration. Requires network access to Atlassian MCP.
4
4
  version: 1.0.0
5
5
  tags: [integration, mcp, workflow]
6
6
  dependencies: []
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: minimalist-ui
3
- description: Clean editorial-style interfaces. Warm monochrome palette, typographic contrast, flat bento grids, muted pastels. No gradients, no heavy shadows.
3
+ description: Use INSTEAD OF design-taste-frontend when user requests clean, editorial, or minimalist aesthetics. Warm monochrome palette, typographic contrast, flat bento grids, muted pastels. No gradients, no heavy shadows.
4
4
  ---
5
5
 
6
6
  # Protocol: Premium Utilitarian Minimalism UI Architect