opencodekit 0.18.0 → 0.18.2

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 (114) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/template/.opencode/AGENTS.md +57 -0
  3. package/dist/template/.opencode/agent/scout.md +0 -37
  4. package/dist/template/.opencode/command/resume.md +1 -1
  5. package/dist/template/.opencode/command/status.md +7 -14
  6. package/dist/template/.opencode/memory.db +0 -0
  7. package/dist/template/.opencode/memory.db-shm +0 -0
  8. package/dist/template/.opencode/memory.db-wal +0 -0
  9. package/dist/template/.opencode/plugin/README.md +37 -25
  10. package/dist/template/.opencode/skill/accessibility-audit/SKILL.md +11 -5
  11. package/dist/template/.opencode/skill/agent-browser/SKILL.md +55 -18
  12. package/dist/template/.opencode/skill/agent-teams/SKILL.md +12 -1
  13. package/dist/template/.opencode/skill/augment-context-engine/SKILL.md +11 -1
  14. package/dist/template/.opencode/skill/beads/SKILL.md +57 -390
  15. package/dist/template/.opencode/skill/beads/references/BEST_PRACTICES.md +27 -0
  16. package/dist/template/.opencode/skill/beads/references/EXAMPLES.md +45 -0
  17. package/dist/template/.opencode/skill/beads/references/FILE_CLAIMING.md +101 -0
  18. package/dist/template/.opencode/skill/beads/references/GIT_SYNC.md +25 -0
  19. package/dist/template/.opencode/skill/beads/references/HIERARCHY.md +71 -0
  20. package/dist/template/.opencode/skill/beads/references/MULTI_AGENT.md +40 -0
  21. package/dist/template/.opencode/skill/beads/references/SESSION_PROTOCOL.md +61 -0
  22. package/dist/template/.opencode/skill/beads/references/TASK_CREATION.md +38 -0
  23. package/dist/template/.opencode/skill/beads/references/TROUBLESHOOTING.md +13 -0
  24. package/dist/template/.opencode/skill/beads-bridge/SKILL.md +10 -10
  25. package/dist/template/.opencode/skill/brainstorming/SKILL.md +13 -0
  26. package/dist/template/.opencode/skill/chrome-devtools/SKILL.md +11 -1
  27. package/dist/template/.opencode/skill/cloudflare/SKILL.md +87 -67
  28. package/dist/template/.opencode/skill/compaction/SKILL.md +11 -3
  29. package/dist/template/.opencode/skill/condition-based-waiting/SKILL.md +11 -25
  30. package/dist/template/.opencode/skill/context-engineering/SKILL.md +13 -2
  31. package/dist/template/.opencode/skill/context-initialization/SKILL.md +11 -1
  32. package/dist/template/.opencode/skill/context-management/SKILL.md +13 -1
  33. package/dist/template/.opencode/skill/core-data-expert/SKILL.md +13 -2
  34. package/dist/template/.opencode/skill/deep-research/SKILL.md +5 -8
  35. package/dist/template/.opencode/skill/defense-in-depth/SKILL.md +13 -0
  36. package/dist/template/.opencode/skill/design-system-audit/SKILL.md +9 -3
  37. package/dist/template/.opencode/skill/development-lifecycle/SKILL.md +51 -0
  38. package/dist/template/.opencode/skill/dispatching-parallel-agents/SKILL.md +19 -30
  39. package/dist/template/.opencode/skill/executing-plans/SKILL.md +36 -0
  40. package/dist/template/.opencode/skill/figma/SKILL.md +11 -1
  41. package/dist/template/.opencode/skill/finishing-a-development-branch/SKILL.md +31 -0
  42. package/dist/template/.opencode/skill/frontend-design/SKILL.md +13 -3
  43. package/dist/template/.opencode/skill/gemini-large-context/SKILL.md +11 -0
  44. package/dist/template/.opencode/skill/index-knowledge/SKILL.md +11 -1
  45. package/dist/template/.opencode/skill/jira/SKILL.md +11 -1
  46. package/dist/template/.opencode/skill/memory-system/SKILL.md +115 -60
  47. package/dist/template/.opencode/skill/mockup-to-code/SKILL.md +9 -3
  48. package/dist/template/.opencode/skill/mqdh/SKILL.md +11 -1
  49. package/dist/template/.opencode/skill/obsidian/SKILL.md +11 -1
  50. package/dist/template/.opencode/skill/opensrc/SKILL.md +18 -6
  51. package/dist/template/.opencode/skill/pdf-extract/SKILL.md +11 -1
  52. package/dist/template/.opencode/skill/playwright/SKILL.md +11 -1
  53. package/dist/template/.opencode/skill/playwriter/SKILL.md +11 -1
  54. package/dist/template/.opencode/skill/polar/SKILL.md +11 -1
  55. package/dist/template/.opencode/skill/prd/SKILL.md +13 -4
  56. package/dist/template/.opencode/skill/prd-task/SKILL.md +13 -3
  57. package/dist/template/.opencode/skill/ralph/SKILL.md +4 -8
  58. package/dist/template/.opencode/skill/react-best-practices/SKILL.md +24 -16
  59. package/dist/template/.opencode/skill/receiving-code-review/SKILL.md +22 -0
  60. package/dist/template/.opencode/skill/requesting-code-review/SKILL.md +30 -2
  61. package/dist/template/.opencode/skill/resend/SKILL.md +11 -1
  62. package/dist/template/.opencode/skill/root-cause-tracing/SKILL.md +12 -23
  63. package/dist/template/.opencode/skill/session-management/SKILL.md +33 -36
  64. package/dist/template/.opencode/skill/sharing-skills/SKILL.md +11 -0
  65. package/dist/template/.opencode/skill/skill-creator/SKILL.md +12 -11
  66. package/dist/template/.opencode/skill/source-code-research/SKILL.md +20 -266
  67. package/dist/template/.opencode/skill/source-code-research/references/analysis-tips.md +43 -0
  68. package/dist/template/.opencode/skill/source-code-research/references/anti-patterns.md +36 -0
  69. package/dist/template/.opencode/skill/source-code-research/references/common-patterns.md +57 -0
  70. package/dist/template/.opencode/skill/source-code-research/references/example-workflow.md +60 -0
  71. package/dist/template/.opencode/skill/source-code-research/references/further-reading.md +5 -0
  72. package/dist/template/.opencode/skill/source-code-research/references/source-structure.md +45 -0
  73. package/dist/template/.opencode/skill/stitch/SKILL.md +11 -1
  74. package/dist/template/.opencode/skill/structured-edit/SKILL.md +13 -0
  75. package/dist/template/.opencode/skill/subagent-driven-development/SKILL.md +13 -14
  76. package/dist/template/.opencode/skill/supabase/SKILL.md +11 -1
  77. package/dist/template/.opencode/skill/supabase-postgres-best-practices/SKILL.md +23 -15
  78. package/dist/template/.opencode/skill/swarm-coordination/SKILL.md +23 -923
  79. package/dist/template/.opencode/skill/swarm-coordination/references/architecture.md +39 -0
  80. package/dist/template/.opencode/skill/swarm-coordination/references/delegation-worker-protocol.md +145 -0
  81. package/dist/template/.opencode/skill/swarm-coordination/references/dependency-graph.md +50 -0
  82. package/dist/template/.opencode/skill/swarm-coordination/references/drift-check.md +90 -0
  83. package/dist/template/.opencode/skill/swarm-coordination/references/integration-beads.md +20 -0
  84. package/dist/template/.opencode/skill/swarm-coordination/references/launch-flow.md +186 -0
  85. package/dist/template/.opencode/skill/swarm-coordination/references/reconciler.md +172 -0
  86. package/dist/template/.opencode/skill/swarm-coordination/references/tier-enforcement.md +78 -0
  87. package/dist/template/.opencode/skill/swarm-coordination/references/tmux-integration.md +134 -0
  88. package/dist/template/.opencode/skill/swift-concurrency/SKILL.md +22 -2
  89. package/dist/template/.opencode/skill/swiftui-expert-skill/SKILL.md +58 -19
  90. package/dist/template/.opencode/skill/systematic-debugging/SKILL.md +25 -25
  91. package/dist/template/.opencode/skill/test-driven-development/SKILL.md +19 -15
  92. package/dist/template/.opencode/skill/testing-anti-patterns/SKILL.md +13 -0
  93. package/dist/template/.opencode/skill/testing-skills-with-subagents/SKILL.md +13 -15
  94. package/dist/template/.opencode/skill/tool-priority/SKILL.md +13 -0
  95. package/dist/template/.opencode/skill/ui-ux-research/SKILL.md +9 -3
  96. package/dist/template/.opencode/skill/using-git-worktrees/SKILL.md +11 -0
  97. package/dist/template/.opencode/skill/using-skills/SKILL.md +13 -0
  98. package/dist/template/.opencode/skill/v0/SKILL.md +11 -1
  99. package/dist/template/.opencode/skill/v1-run/SKILL.md +11 -1
  100. package/dist/template/.opencode/skill/vercel-deploy-claimable/SKILL.md +14 -2
  101. package/dist/template/.opencode/skill/verification-before-completion/SKILL.md +22 -0
  102. package/dist/template/.opencode/skill/visual-analysis/SKILL.md +9 -3
  103. package/dist/template/.opencode/skill/web-design-guidelines/SKILL.md +12 -5
  104. package/dist/template/.opencode/skill/writing-plans/SKILL.md +13 -0
  105. package/dist/template/.opencode/skill/writing-skills/SKILL.md +26 -421
  106. package/dist/template/.opencode/skill/writing-skills/references/anti-patterns.md +25 -0
  107. package/dist/template/.opencode/skill/writing-skills/references/claude-search-optimization.md +140 -0
  108. package/dist/template/.opencode/skill/writing-skills/references/discovery-workflow.md +11 -0
  109. package/dist/template/.opencode/skill/writing-skills/references/file-organization.md +32 -0
  110. package/dist/template/.opencode/skill/writing-skills/references/flowcharts-and-examples.md +57 -0
  111. package/dist/template/.opencode/skill/writing-skills/references/rationalization-hardening.md +75 -0
  112. package/dist/template/.opencode/skill/writing-skills/references/testing-skill-types.md +52 -0
  113. package/package.json +15 -4
  114. package/dist/template/.opencode/plugin/compaction.ts +0 -190
@@ -1,19 +1,26 @@
1
1
  ---
2
- name: vercel-react-best-practices
2
+ name: react-best-practices
3
3
  description: React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
4
- license: MIT
5
- metadata:
6
- author: vercel
7
- version: "1.0.0"
4
+ version: 1.0.0
5
+ tags: [ui, code-quality]
6
+ dependencies: []
8
7
  ---
9
8
 
10
9
  # Vercel React Best Practices
11
10
 
12
- Comprehensive performance optimization guide for React and Next.js applications, maintained by Vercel. Contains 45 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
11
+ ## When to Use
12
+
13
+ - Applying performance guidelines to React/Next.js components or pages.
14
+
15
+ ## When NOT to Use
16
+
17
+ - Non-React codebases or UI-free/backend-only changes.
18
+
13
19
 
14
20
  ## When to Apply
15
21
 
16
22
  Reference these guidelines when:
23
+
17
24
  - Writing new React components or Next.js pages
18
25
  - Implementing data fetching (client or server-side)
19
26
  - Reviewing code for performance issues
@@ -22,16 +29,16 @@ Reference these guidelines when:
22
29
 
23
30
  ## Rule Categories by Priority
24
31
 
25
- | Priority | Category | Impact | Prefix |
26
- |----------|----------|--------|--------|
27
- | 1 | Eliminating Waterfalls | CRITICAL | `async-` |
28
- | 2 | Bundle Size Optimization | CRITICAL | `bundle-` |
29
- | 3 | Server-Side Performance | HIGH | `server-` |
30
- | 4 | Client-Side Data Fetching | MEDIUM-HIGH | `client-` |
31
- | 5 | Re-render Optimization | MEDIUM | `rerender-` |
32
- | 6 | Rendering Performance | MEDIUM | `rendering-` |
33
- | 7 | JavaScript Performance | LOW-MEDIUM | `js-` |
34
- | 8 | Advanced Patterns | LOW | `advanced-` |
32
+ | Priority | Category | Impact | Prefix |
33
+ | -------- | ------------------------- | ----------- | ------------ |
34
+ | 1 | Eliminating Waterfalls | CRITICAL | `async-` |
35
+ | 2 | Bundle Size Optimization | CRITICAL | `bundle-` |
36
+ | 3 | Server-Side Performance | HIGH | `server-` |
37
+ | 4 | Client-Side Data Fetching | MEDIUM-HIGH | `client-` |
38
+ | 5 | Re-render Optimization | MEDIUM | `rerender-` |
39
+ | 6 | Rendering Performance | MEDIUM | `rendering-` |
40
+ | 7 | JavaScript Performance | LOW-MEDIUM | `js-` |
41
+ | 8 | Advanced Patterns | LOW | `advanced-` |
35
42
 
36
43
  ## Quick Reference
37
44
 
@@ -115,6 +122,7 @@ rules/_sections.md
115
122
  ```
116
123
 
117
124
  Each rule file contains:
125
+
118
126
  - Brief explanation of why it matters
119
127
  - Incorrect code example with explanation
120
128
  - Correct code example with explanation
@@ -1,10 +1,23 @@
1
1
  ---
2
2
  name: receiving-code-review
3
3
  description: Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
4
+ version: 1.0.0
5
+ tags: [workflow, code-quality]
6
+ dependencies: []
4
7
  ---
5
8
 
6
9
  # Code Review Reception
7
10
 
11
+ ## When to Use
12
+
13
+ - You received review feedback and need to evaluate it before implementing
14
+ - Feedback seems unclear, questionable, or potentially wrong for this codebase
15
+
16
+ ## When NOT to Use
17
+
18
+ - You already verified and accepted the feedback and are ready to implement
19
+ - You need to request a review (use requesting-code-review)
20
+
8
21
  ## Overview
9
22
 
10
23
  Code review requires technical evaluation, not emotional performance.
@@ -24,6 +37,15 @@ WHEN receiving code review feedback:
24
37
  6. IMPLEMENT: One item at a time, test each
25
38
  ```
26
39
 
40
+ ## Review Intake Checklist
41
+
42
+ - [ ] Read the full feedback without reacting
43
+ - [ ] Restate requirements in your own words
44
+ - [ ] Verify against codebase reality
45
+ - [ ] Evaluate technical correctness for this stack
46
+ - [ ] Respond with acknowledgment or reasoned pushback
47
+ - [ ] Implement one item at a time with tests
48
+
27
49
  ## Forbidden Responses
28
50
 
29
51
  **NEVER:**
@@ -1,13 +1,24 @@
1
1
  ---
2
2
  name: requesting-code-review
3
3
  description: Use when completing tasks, implementing major features, or before merging to verify work meets requirements - dispatches 5 parallel specialized review agents for comprehensive multi-angle review
4
+ version: 1.0.0
5
+ tags: [workflow, code-quality]
6
+ dependencies: []
4
7
  ---
5
8
 
6
9
  # Requesting Code Review
7
10
 
8
- Dispatch 5 parallel specialized review agents. One generic reviewer is not review — it's a checkbox.
11
+ ## When to Use
12
+
13
+ - After completing a feature/task batch and before moving on
14
+ - Before merging to main or shipping changes
15
+
16
+ ## When NOT to Use
17
+
18
+ - During TDD RED commits or other intentionally failing states
19
+ - When you only need a targeted answer to a specific question
20
+
9
21
 
10
- **Core principle:** All 5 angles, every time. No tiers, no exit ramps.
11
22
 
12
23
  ## When to Request Review
13
24
 
@@ -25,6 +36,11 @@ Dispatch 5 parallel specialized review agents. One generic reviewer is not revie
25
36
 
26
37
  ### Step 1: Get git context
27
38
 
39
+ #### Review Setup Checklist
40
+
41
+ - [ ] Determine BASE_SHA and HEAD_SHA
42
+ - [ ] Ensure requirements summary or plan link is available
43
+
28
44
  ```bash
29
45
  BASE_SHA=$(git rev-parse origin/main 2>/dev/null || git rev-parse HEAD~1)
30
46
  HEAD_SHA=$(git rev-parse HEAD)
@@ -139,6 +155,12 @@ Return: CRITICAL / IMPORTANT / MINOR findings with file:line references.`,
139
155
 
140
156
  ### Step 3: Synthesize findings
141
157
 
158
+ #### Synthesis Checklist
159
+
160
+ - [ ] Count Critical / Important / Minor findings
161
+ - [ ] List file:line references for each issue
162
+ - [ ] Mark readiness: proceed vs fix required
163
+
142
164
  After all 5 agents return:
143
165
 
144
166
  ```markdown
@@ -164,6 +186,12 @@ After all 5 agents return:
164
186
 
165
187
  ### Step 4: Act on findings
166
188
 
189
+ #### Remediation Checklist
190
+
191
+ - [ ] Fix all Critical issues before proceeding
192
+ - [ ] Fix Important issues in this PR
193
+ - [ ] Record Minor issues for later
194
+
167
195
  | Severity | Action |
168
196
  | ------------- | ---------------------------------------- |
169
197
  | **Critical** | Fix immediately before any other work |
@@ -5,11 +5,21 @@ references:
5
5
  - send-email
6
6
  - receive-email
7
7
  - react-email
8
+ version: 1.0.0
9
+ tags: [integration, mcp]
10
+ dependencies: []
8
11
  ---
9
12
 
10
13
  # Resend Email Platform
11
14
 
12
- Consolidated skill for building email systems with Resend. Use decision trees below to find the right approach, then load detailed references.
15
+ ## When to Use
16
+
17
+ - When integrating Resend for sending/receiving emails or building React Email templates.
18
+
19
+ ## When NOT to Use
20
+
21
+ - When email delivery is handled by a different provider or not required.
22
+
13
23
 
14
24
  ## How to Use This Skill
15
25
 
@@ -1,39 +1,28 @@
1
1
  ---
2
2
  name: root-cause-tracing
3
3
  description: Use when errors occur deep in execution and you need to trace back to find the original trigger - systematically traces bugs backward through call stack, adding instrumentation when needed, to identify source of invalid data or incorrect behavior
4
+ version: 1.0.0
5
+ tags: [debugging, workflow]
6
+ dependencies: []
4
7
  ---
5
8
 
6
9
  # Root Cause Tracing
7
10
 
8
- ## Overview
11
+ ## When to Use
9
12
 
10
- Bugs often manifest deep in the call stack (git init in wrong directory, file created in wrong location, database opened with wrong path). Your instinct is to fix where the error appears, but that's treating a symptom.
13
+ - Errors occur deep in a call stack and the immediate failure is just a symptom
14
+ - You need to trace where invalid data or state originated
11
15
 
12
- **Core principle:** Trace backward through the call chain until you find the original trigger, then fix at the source.
16
+ ## When NOT to Use
13
17
 
14
- ## When to Use
18
+ - The error is at the entry point and the root cause is obvious
19
+ - You’re doing feature work with no failures to trace
15
20
 
16
- ```dot
17
- digraph when_to_use {
18
- "Bug appears deep in stack?" [shape=diamond];
19
- "Can trace backwards?" [shape=diamond];
20
- "Fix at symptom point" [shape=box];
21
- "Trace to original trigger" [shape=box];
22
- "BETTER: Also add defense-in-depth" [shape=box];
23
-
24
- "Bug appears deep in stack?" -> "Can trace backwards?" [label="yes"];
25
- "Can trace backwards?" -> "Trace to original trigger" [label="yes"];
26
- "Can trace backwards?" -> "Fix at symptom point" [label="no - dead end"];
27
- "Trace to original trigger" -> "BETTER: Also add defense-in-depth";
28
- }
29
- ```
21
+ ## Overview
30
22
 
31
- **Use when:**
23
+ Bugs often manifest deep in the call stack (git init in wrong directory, file created in wrong location, database opened with wrong path). Your instinct is to fix where the error appears, but that's treating a symptom.
32
24
 
33
- - Error happens deep in execution (not at entry point)
34
- - Stack trace shows long call chain
35
- - Unclear where invalid data originated
36
- - Need to find which test/code triggers the problem
25
+ **Core principle:** Trace backward through the call chain until you find the original trigger, then fix at the source.
37
26
 
38
27
  ## The Tracing Process
39
28
 
@@ -1,11 +1,21 @@
1
1
  ---
2
2
  name: session-management
3
3
  description: Use when context is growing large, switching tasks, or needing previous session context - covers thresholds, session tools, and workflow patterns
4
+ version: 1.0.0
5
+ tags: [context, workflow]
6
+ dependencies: []
4
7
  ---
5
8
 
6
9
  # Session Management
7
10
 
8
- **Philosophy**: Short sessions (<150k tokens) beat long bloated ones. Agents get worse with too much context. Cost is exponential.
11
+ ## When to Use
12
+
13
+ - Managing context growth, switching tasks, or resuming past sessions.
14
+
15
+ ## When NOT to Use
16
+
17
+ - Single, short tasks that don't require session transitions.
18
+
9
19
 
10
20
  ## Context Thresholds
11
21
 
@@ -19,48 +29,35 @@ The environment monitors context usage and warns at these thresholds:
19
29
 
20
30
  ## Session Tools
21
31
 
22
- ### list_sessions
32
+ ### find_sessions
23
33
 
24
- Discover available sessions before reading:
34
+ Search and discover sessions by keyword. Returns ranked results with match counts and snippets.
25
35
 
26
36
  ```typescript
27
- list_sessions({ limit: 10, project: "current" }); // Current project
28
- list_sessions({ since: "today" }); // Today's sessions
29
- list_sessions({ project: "all", since: "yesterday" }); // Cross-project
37
+ find_sessions({ query: "auth bug", limit: 5 }); // Search by keyword
38
+ find_sessions({ query: "refactor" }); // Default limit
30
39
  ```
31
40
 
32
- ### read_session
41
+ **Parameters:**
33
42
 
34
- Pull context from previous session:
43
+ - `query` (required): Search keywords — multi-word queries use AND matching
44
+ - `limit` (optional): Max results to return
35
45
 
36
- ```typescript
37
- read_session("last"); // Most recent
38
- read_session("2 ago", { project: "current" }); // 2nd most recent
39
- read_session("today"); // Today's first session
40
- read_session("ses_abc123", { focus: "file changes" }); // Specific aspect
41
- ```
46
+ **Returns:** Ranked sessions with match count, snippets, and suggested next steps.
42
47
 
43
- ### search_session
48
+ ### read_session
44
49
 
45
- Full-text search across sessions:
50
+ Read messages from a specific session. Supports optional focus filtering.
46
51
 
47
52
  ```typescript
48
- search_session({ query: "auth bug" }); // Search all sessions
49
- search_session({ query: "OAuth", session_id: "ses_abc" }); // Specific session
50
- search_session({ query: "error", limit: 10 }); // Limit results
53
+ read_session({ session_id: "ses_abc123" }); // Full session
54
+ read_session({ session_id: "ses_abc123", focus: "auth" }); // Filter to relevant messages
51
55
  ```
52
56
 
53
- Use to find past discussions, decisions, or work on a topic before starting new work.
54
-
55
- ### summarize_session
56
-
57
- Generate AI summary of a session:
58
-
59
- ```typescript
60
- summarize_session("ses_abc123"); // Trigger AI summarization
61
- ```
57
+ **Parameters:**
62
58
 
63
- Use before `read_session` to get a quick overview of what happened in a past session without loading full context.
59
+ - `session_id` (required): Session ID from find_sessions results
60
+ - `focus` (optional): Keyword to filter messages within the session
64
61
 
65
62
  ## When to Start New Session
66
63
 
@@ -74,11 +71,11 @@ Use before `read_session` to get a quick overview of what happened in a past ses
74
71
  ```
75
72
  Session 1: Implement feature X (80k tokens)
76
73
  ↓ close, update memory
77
- Session 2: list_sessions() → read_session("last") → Refactor (60k tokens)
74
+ Session 2: find_sessions({ query: "feature X" }) → read_session(...) → Refactor (60k tokens)
78
75
 
79
- Session 3: read_session("previous") → Add tests (90k tokens)
76
+ Session 3: find_sessions({ query: "feature X" }) → Add tests (90k tokens)
80
77
 
81
- Session 4: read_session refs → Final review (100k tokens)
78
+ Session 4: read_session(...) → Final review (100k tokens)
82
79
  ```
83
80
 
84
81
  **Result**: 4 fresh contexts vs 1 degraded 330k context. Better performance, lower cost.
@@ -87,10 +84,10 @@ Session 4: read_session refs → Final review (100k tokens)
87
84
 
88
85
  Use all available sources:
89
86
 
90
- 1. `read_session("last")` - Previous session work
91
- 2. Git state - `git diff`, `git log` - Code changes
92
- 3. Memory files - `.opencode/memory/*` - Persistent context
93
- 4. Beads - `br show <id>` - Task specs
87
+ 1. `find_sessions` + `read_session` Previous session work
88
+ 2. Git state `git diff`, `git log` Code changes
89
+ 3. Memory files `.opencode/memory/*` Persistent context
90
+ 4. Beads `br show <id>` Task specs
94
91
 
95
92
  **Don't**: Carry everything forward. Extract what's needed, discard the rest.
96
93
 
@@ -1,10 +1,21 @@
1
1
  ---
2
2
  name: sharing-skills
3
3
  description: Use when you've developed a broadly useful skill and want to contribute it upstream via pull request - guides process of branching, committing, pushing, and creating PR to contribute skills back to upstream repository
4
+ version: 1.0.0
5
+ tags: [workflow, git]
6
+ dependencies: []
4
7
  ---
5
8
 
6
9
  # Sharing Skills
7
10
 
11
+ ## When to Use
12
+
13
+ - When a skill is broadly useful and ready to be contributed upstream via pull request.
14
+
15
+ ## When NOT to Use
16
+
17
+ - When the skill is project-specific, experimental, or contains sensitive information.
18
+
8
19
  ## Overview
9
20
 
10
21
  Contribute skills from your local branch back to the upstream repository.
@@ -1,21 +1,22 @@
1
1
  ---
2
2
  name: skill-creator
3
3
  description: Guide for creating effective skills. Use when creating a new skill or updating an existing skill that extends an agent's capabilities with specialized knowledge, workflows, or tool integrations.
4
+ version: 1.0.0
5
+ tags: [documentation, workflow]
6
+ dependencies: []
4
7
  ---
5
8
 
6
9
  # Skill Creator
7
10
 
8
- Guide for creating effective skills that extend agent capabilities.
9
-
10
- > **CRITICAL: YAML FRONTMATTER REQUIRED**
11
- > Every SKILL.md **MUST** begin with YAML frontmatter on line 1.
12
- >
13
- > ```yaml
14
- > ---
15
- > name: skill-name
16
- > description: One-line description of what this skill does
17
- > ---
18
- > ```
11
+ ## When to Use
12
+
13
+ - When creating a new skill or updating an existing skill with specialized workflows or tool integrations.
14
+
15
+ ## When NOT to Use
16
+
17
+ - When making routine project changes that don't require a reusable skill.
18
+
19
+
19
20
 
20
21
  ## What Skills Provide
21
22