opencodekit 0.18.1 → 0.18.3

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 (131) hide show
  1. package/dist/index.js +161 -38
  2. package/dist/template/.opencode/.version +1 -1
  3. package/dist/template/.opencode/AGENTS.md +39 -9
  4. package/dist/template/.opencode/AGENT_ALIGNMENT.md +6 -6
  5. package/dist/template/.opencode/agent/build.md +7 -103
  6. package/dist/template/.opencode/agent/general.md +0 -52
  7. package/dist/template/.opencode/agent/plan.md +10 -0
  8. package/dist/template/.opencode/agent/runner.md +79 -0
  9. package/dist/template/.opencode/command/create.md +13 -1
  10. package/dist/template/.opencode/command/init-context.md +20 -6
  11. package/dist/template/.opencode/command/init-user.md +18 -16
  12. package/dist/template/.opencode/command/lfg.md +3 -4
  13. package/dist/template/.opencode/command/ship.md +6 -48
  14. package/dist/template/.opencode/command/start.md +20 -3
  15. package/dist/template/.opencode/command/verify.md +12 -17
  16. package/dist/template/.opencode/context/README.md +29 -0
  17. package/dist/template/.opencode/memory/_templates/{STATE.md → state.md} +1 -1
  18. package/dist/template/.opencode/memory.db +0 -0
  19. package/dist/template/.opencode/memory.db-shm +0 -0
  20. package/dist/template/.opencode/memory.db-wal +0 -0
  21. package/dist/template/.opencode/opencode.json +131 -7
  22. package/dist/template/.opencode/package.json +1 -1
  23. package/dist/template/.opencode/plugin/lib/memory-helpers.ts +51 -16
  24. package/dist/template/.opencode/plugin/lib/memory-hooks.ts +1 -1
  25. package/dist/template/.opencode/skill/accessibility-audit/SKILL.md +11 -5
  26. package/dist/template/.opencode/skill/agent-browser/SKILL.md +55 -18
  27. package/dist/template/.opencode/skill/agent-teams/SKILL.md +12 -1
  28. package/dist/template/.opencode/skill/augment-context-engine/SKILL.md +11 -1
  29. package/dist/template/.opencode/skill/beads/SKILL.md +57 -390
  30. package/dist/template/.opencode/skill/beads/references/BEST_PRACTICES.md +27 -0
  31. package/dist/template/.opencode/skill/beads/references/EXAMPLES.md +45 -0
  32. package/dist/template/.opencode/skill/beads/references/FILE_CLAIMING.md +101 -0
  33. package/dist/template/.opencode/skill/beads/references/GIT_SYNC.md +25 -0
  34. package/dist/template/.opencode/skill/beads/references/HIERARCHY.md +71 -0
  35. package/dist/template/.opencode/skill/beads/references/MULTI_AGENT.md +40 -0
  36. package/dist/template/.opencode/skill/beads/references/SESSION_PROTOCOL.md +61 -0
  37. package/dist/template/.opencode/skill/beads/references/TASK_CREATION.md +38 -0
  38. package/dist/template/.opencode/skill/beads/references/TROUBLESHOOTING.md +38 -0
  39. package/dist/template/.opencode/skill/beads-bridge/SKILL.md +10 -10
  40. package/dist/template/.opencode/skill/brainstorming/SKILL.md +13 -0
  41. package/dist/template/.opencode/skill/chrome-devtools/SKILL.md +11 -1
  42. package/dist/template/.opencode/skill/cloudflare/SKILL.md +87 -67
  43. package/dist/template/.opencode/skill/compaction/SKILL.md +11 -3
  44. package/dist/template/.opencode/skill/condition-based-waiting/SKILL.md +11 -25
  45. package/dist/template/.opencode/skill/context-engineering/SKILL.md +13 -2
  46. package/dist/template/.opencode/skill/context-initialization/SKILL.md +11 -1
  47. package/dist/template/.opencode/skill/context-management/SKILL.md +13 -1
  48. package/dist/template/.opencode/skill/core-data-expert/SKILL.md +13 -2
  49. package/dist/template/.opencode/skill/deep-research/SKILL.md +5 -8
  50. package/dist/template/.opencode/skill/defense-in-depth/SKILL.md +13 -0
  51. package/dist/template/.opencode/skill/design-system-audit/SKILL.md +9 -3
  52. package/dist/template/.opencode/skill/development-lifecycle/SKILL.md +51 -0
  53. package/dist/template/.opencode/skill/dispatching-parallel-agents/SKILL.md +19 -30
  54. package/dist/template/.opencode/skill/executing-plans/SKILL.md +36 -0
  55. package/dist/template/.opencode/skill/figma/SKILL.md +11 -1
  56. package/dist/template/.opencode/skill/finishing-a-development-branch/SKILL.md +31 -0
  57. package/dist/template/.opencode/skill/frontend-design/SKILL.md +13 -3
  58. package/dist/template/.opencode/skill/gemini-large-context/SKILL.md +11 -0
  59. package/dist/template/.opencode/skill/index-knowledge/SKILL.md +11 -1
  60. package/dist/template/.opencode/skill/jira/SKILL.md +11 -1
  61. package/dist/template/.opencode/skill/memory-system/SKILL.md +13 -1
  62. package/dist/template/.opencode/skill/mockup-to-code/SKILL.md +9 -3
  63. package/dist/template/.opencode/skill/mqdh/SKILL.md +11 -1
  64. package/dist/template/.opencode/skill/obsidian/SKILL.md +11 -1
  65. package/dist/template/.opencode/skill/opensrc/SKILL.md +18 -6
  66. package/dist/template/.opencode/skill/pdf-extract/SKILL.md +11 -1
  67. package/dist/template/.opencode/skill/playwright/SKILL.md +11 -1
  68. package/dist/template/.opencode/skill/playwriter/SKILL.md +11 -1
  69. package/dist/template/.opencode/skill/polar/SKILL.md +11 -1
  70. package/dist/template/.opencode/skill/prd/SKILL.md +13 -4
  71. package/dist/template/.opencode/skill/prd-task/SKILL.md +13 -3
  72. package/dist/template/.opencode/skill/ralph/SKILL.md +4 -8
  73. package/dist/template/.opencode/skill/react-best-practices/SKILL.md +24 -16
  74. package/dist/template/.opencode/skill/receiving-code-review/SKILL.md +22 -0
  75. package/dist/template/.opencode/skill/requesting-code-review/SKILL.md +30 -2
  76. package/dist/template/.opencode/skill/resend/SKILL.md +11 -1
  77. package/dist/template/.opencode/skill/root-cause-tracing/SKILL.md +12 -23
  78. package/dist/template/.opencode/skill/session-management/SKILL.md +11 -1
  79. package/dist/template/.opencode/skill/sharing-skills/SKILL.md +11 -0
  80. package/dist/template/.opencode/skill/skill-creator/SKILL.md +12 -11
  81. package/dist/template/.opencode/skill/source-code-research/SKILL.md +20 -266
  82. package/dist/template/.opencode/skill/source-code-research/references/analysis-tips.md +43 -0
  83. package/dist/template/.opencode/skill/source-code-research/references/anti-patterns.md +36 -0
  84. package/dist/template/.opencode/skill/source-code-research/references/common-patterns.md +57 -0
  85. package/dist/template/.opencode/skill/source-code-research/references/example-workflow.md +60 -0
  86. package/dist/template/.opencode/skill/source-code-research/references/further-reading.md +5 -0
  87. package/dist/template/.opencode/skill/source-code-research/references/source-structure.md +45 -0
  88. package/dist/template/.opencode/skill/stitch/SKILL.md +11 -1
  89. package/dist/template/.opencode/skill/structured-edit/SKILL.md +13 -0
  90. package/dist/template/.opencode/skill/subagent-driven-development/SKILL.md +13 -14
  91. package/dist/template/.opencode/skill/supabase/SKILL.md +11 -1
  92. package/dist/template/.opencode/skill/supabase-postgres-best-practices/SKILL.md +23 -15
  93. package/dist/template/.opencode/skill/swarm-coordination/SKILL.md +23 -923
  94. package/dist/template/.opencode/skill/swarm-coordination/references/architecture.md +39 -0
  95. package/dist/template/.opencode/skill/swarm-coordination/references/delegation-worker-protocol.md +145 -0
  96. package/dist/template/.opencode/skill/swarm-coordination/references/dependency-graph.md +50 -0
  97. package/dist/template/.opencode/skill/swarm-coordination/references/drift-check.md +90 -0
  98. package/dist/template/.opencode/skill/swarm-coordination/references/integration-beads.md +20 -0
  99. package/dist/template/.opencode/skill/swarm-coordination/references/launch-flow.md +186 -0
  100. package/dist/template/.opencode/skill/swarm-coordination/references/reconciler.md +172 -0
  101. package/dist/template/.opencode/skill/swarm-coordination/references/tier-enforcement.md +78 -0
  102. package/dist/template/.opencode/skill/swarm-coordination/references/tmux-integration.md +134 -0
  103. package/dist/template/.opencode/skill/swift-concurrency/SKILL.md +22 -2
  104. package/dist/template/.opencode/skill/swiftui-expert-skill/SKILL.md +58 -19
  105. package/dist/template/.opencode/skill/systematic-debugging/SKILL.md +25 -25
  106. package/dist/template/.opencode/skill/test-driven-development/SKILL.md +19 -15
  107. package/dist/template/.opencode/skill/testing-anti-patterns/SKILL.md +13 -0
  108. package/dist/template/.opencode/skill/testing-skills-with-subagents/SKILL.md +13 -15
  109. package/dist/template/.opencode/skill/tool-priority/SKILL.md +13 -0
  110. package/dist/template/.opencode/skill/ui-ux-research/SKILL.md +9 -3
  111. package/dist/template/.opencode/skill/using-git-worktrees/SKILL.md +37 -0
  112. package/dist/template/.opencode/skill/using-skills/SKILL.md +13 -0
  113. package/dist/template/.opencode/skill/v0/SKILL.md +11 -1
  114. package/dist/template/.opencode/skill/v1-run/SKILL.md +11 -1
  115. package/dist/template/.opencode/skill/vercel-deploy-claimable/SKILL.md +14 -2
  116. package/dist/template/.opencode/skill/verification-before-completion/SKILL.md +22 -0
  117. package/dist/template/.opencode/skill/verification-before-completion/references/VERIFICATION_PROTOCOL.md +67 -0
  118. package/dist/template/.opencode/skill/visual-analysis/SKILL.md +9 -3
  119. package/dist/template/.opencode/skill/web-design-guidelines/SKILL.md +12 -5
  120. package/dist/template/.opencode/skill/writing-plans/SKILL.md +13 -0
  121. package/dist/template/.opencode/skill/writing-skills/SKILL.md +26 -421
  122. package/dist/template/.opencode/skill/writing-skills/references/anti-patterns.md +25 -0
  123. package/dist/template/.opencode/skill/writing-skills/references/claude-search-optimization.md +140 -0
  124. package/dist/template/.opencode/skill/writing-skills/references/discovery-workflow.md +11 -0
  125. package/dist/template/.opencode/skill/writing-skills/references/file-organization.md +32 -0
  126. package/dist/template/.opencode/skill/writing-skills/references/flowcharts-and-examples.md +57 -0
  127. package/dist/template/.opencode/skill/writing-skills/references/rationalization-hardening.md +75 -0
  128. package/dist/template/.opencode/skill/writing-skills/references/testing-skill-types.md +52 -0
  129. package/package.json +15 -4
  130. /package/dist/template/.opencode/memory/_templates/{PROJECT.md → project.md} +0 -0
  131. /package/dist/template/.opencode/memory/_templates/{ROADMAP.md → roadmap.md} +0 -0
@@ -1,12 +1,13 @@
1
1
  ---
2
2
  name: mockup-to-code
3
3
  description: Use when converting UI mockups, screenshots, Figma/Sketch designs, wireframes, or building component libraries from design systems into production-ready code
4
+ version: 1.0.0
5
+ tags: [ui, workflow]
6
+ dependencies: []
4
7
  ---
5
8
 
6
9
  # Mockup to Code Skill
7
10
 
8
- Convert UI mockups, screenshots, and designs into production-ready code.
9
-
10
11
  ## When to Use
11
12
 
12
13
  - Converting Figma/Sketch mockups to React/Vue/HTML
@@ -14,6 +15,11 @@ Convert UI mockups, screenshots, and designs into production-ready code.
14
15
  - Building component libraries from design systems
15
16
  - Rapid prototyping from wireframes
16
17
 
18
+ ## When NOT to Use
19
+
20
+ - No visual reference or mockup to implement.
21
+
22
+
17
23
  ## Core Workflow
18
24
 
19
25
  ### Phase 1: Design Analysis
@@ -158,6 +164,6 @@ Save implementations to `.opencode/memory/design/implementations/`
158
164
 
159
165
  | Need | Skill |
160
166
  | ----------------- | --------------------- |
161
- | Aesthetic quality | `frontend-design` |
167
+ | Aesthetic quality | `frontend-design` |
162
168
  | Accessibility | `accessibility-audit` |
163
169
  | Design tokens | `design-system-audit` |
@@ -5,11 +5,21 @@ mcp:
5
5
  mqdh:
6
6
  command: "${MQDH_MCP_PATH}"
7
7
  args: []
8
+ version: 1.0.0
9
+ tags: [integration, mcp]
10
+ dependencies: []
8
11
  ---
9
12
 
10
13
  # Meta Quest Developer Hub MCP
11
14
 
12
- Access Meta Horizon OS development tools via the MQDH MCP server. This MCP is **bundled with the Meta Quest Developer Hub application** (v6.2.1+).
15
+ ## When to Use
16
+
17
+ - When you need Meta Quest docs, ADB tooling, or device management via MQDH MCP.
18
+
19
+ ## When NOT to Use
20
+
21
+ - When you are not working on Meta Quest/VR development or MQDH is unavailable.
22
+
13
23
 
14
24
  ## Prerequisites
15
25
 
@@ -1,6 +1,9 @@
1
1
  ---
2
2
  name: obsidian
3
3
  description: Use when working with Obsidian vault via MCP - read/write notes, search, tag management, and vault operations
4
+ version: 1.0.0
5
+ tags: [integration, documentation]
6
+ dependencies: []
4
7
  mcp:
5
8
  server: @mauricio.wolff/mcp-obsidian
6
9
  args: ["{env:OBSIDIAN_VAULT_PATH}"]
@@ -8,7 +11,14 @@ mcp:
8
11
 
9
12
  # Obsidian Vault (MCP)
10
13
 
11
- MCP server for safe Obsidian vault access. Read/write notes, search, manage tags.
14
+ ## When to Use
15
+
16
+ - When you need MCP-based read/write/search operations in an Obsidian vault.
17
+
18
+ ## When NOT to Use
19
+
20
+ - When the task does not involve an Obsidian vault or MCP access.
21
+
12
22
 
13
23
  ## Available Tools
14
24
 
@@ -1,11 +1,21 @@
1
1
  ---
2
2
  name: opensrc
3
3
  description: Fetch source code for npm, PyPI, or crates.io packages and GitHub/GitLab repos to provide AI agents with implementation context beyond types and docs. Use when needing to understand how a library works internally, debug dependency issues, or explore package implementations.
4
+ version: 1.0.0
5
+ tags: [research, integration]
6
+ dependencies: []
4
7
  ---
5
8
 
6
9
  # opensrc
7
10
 
8
- CLI tool to fetch source code for packages/repos, giving AI coding agents deeper implementation context.
11
+ ## When to Use
12
+
13
+ - When you need actual dependency source code to understand behavior or debug issues.
14
+
15
+ ## When NOT to Use
16
+
17
+ - When API docs or local type definitions are sufficient for the task.
18
+
9
19
 
10
20
  ## When to Use
11
21
 
@@ -39,12 +49,12 @@ npx opensrc owner/repo@v1.0.0
39
49
 
40
50
  ## Commands
41
51
 
42
- | Command | Description |
43
- |---------|-------------|
52
+ | Command | Description |
53
+ | ----------------------- | ------------------------------- |
44
54
  | `opensrc <packages...>` | Fetch source for packages/repos |
45
- | `opensrc list` | List all fetched sources |
46
- | `opensrc remove <name>` | Remove specific source |
47
- | `opensrc clean` | Remove all sources |
55
+ | `opensrc list` | List all fetched sources |
56
+ | `opensrc remove <name>` | Remove specific source |
57
+ | `opensrc clean` | Remove all sources |
48
58
 
49
59
  ## Output Structure
50
60
 
@@ -63,6 +73,7 @@ opensrc/
63
73
  ## File Modifications
64
74
 
65
75
  On first run, opensrc prompts to modify:
76
+
66
77
  - `.gitignore` - adds `opensrc/` to ignore list
67
78
  - `tsconfig.json` - excludes `opensrc/` from compilation
68
79
  - `AGENTS.md` - adds section pointing agents to source code
@@ -110,6 +121,7 @@ npx opensrc zod pypi:pydantic vercel/ai
110
121
  ## References
111
122
 
112
123
  For detailed information:
124
+
113
125
  - [CLI Usage & Options](references/cli-usage.md) - Full command reference
114
126
  - [Architecture](references/architecture.md) - Code structure and extension
115
127
  - [Registry Support](references/registry-support.md) - npm, PyPI, crates.io details
@@ -1,11 +1,21 @@
1
1
  ---
2
2
  name: pdf-extract
3
3
  description: Extract text, images, tables, and metadata from PDF files. Choose the right library based on extraction needs - text only, structured data, or complex layouts.
4
+ version: 1.0.0
5
+ tags: [research, integration]
6
+ dependencies: []
4
7
  ---
5
8
 
6
9
  # PDF Content Extraction
7
10
 
8
- Extract content from PDF files using the best library for your specific use case.
11
+ ## When to Use
12
+
13
+ - When you need to extract text, images, tables, or metadata from PDF files.
14
+
15
+ ## When NOT to Use
16
+
17
+ - When the source data is already available in a non-PDF, structured format.
18
+
9
19
 
10
20
  ## Quick Decision Guide
11
21
 
@@ -1,11 +1,21 @@
1
1
  ---
2
2
  name: playwright
3
3
  description: Browser automation for testing, screenshots, form validation, and UX verification. Uses Playwright CLI for token-efficient automation, with MCP fallback for complex exploratory workflows.
4
+ version: 1.0.0
5
+ tags: [automation, mcp, testing]
6
+ dependencies: []
4
7
  ---
5
8
 
6
9
  # Playwright Browser Automation
7
10
 
8
- Browser automation via **Playwright CLI** (primary) and **Playwright MCP** (fallback for complex workflows).
11
+ ## When to Use
12
+
13
+ - When you need automated browser testing, screenshots, or form workflows via Playwright CLI/MCP.
14
+
15
+ ## When NOT to Use
16
+
17
+ - When you specifically need to control your existing Chrome session (use playwriter instead).
18
+
9
19
 
10
20
  ## Quick Decision
11
21
 
@@ -5,11 +5,21 @@ mcp:
5
5
  playwriter:
6
6
  command: npx
7
7
  args: ["playwriter@latest"]
8
+ version: 1.0.0
9
+ tags: [automation, mcp]
10
+ dependencies: []
8
11
  ---
9
12
 
10
13
  # Playwriter Browser Automation (MCP)
11
14
 
12
- Control your actual Chrome browser via extension. Unlike traditional browser MCP tools that spawn isolated instances, Playwriter:
15
+ ## When to Use
16
+
17
+ - When you need to automate your existing Chrome browser session via the Playwriter extension.
18
+
19
+ ## When NOT to Use
20
+
21
+ - When you need a fresh, isolated browser instance without your local extensions/cookies.
22
+
13
23
 
14
24
  - **Uses your existing browser** - extensions, sessions, cookies all work
15
25
  - **Single `execute` tool** - send Playwright code snippets directly
@@ -1,11 +1,21 @@
1
1
  ---
2
2
  name: polar
3
3
  description: Polar payment platform integration for monetization, subscriptions, and license keys. Use when implementing checkout, managing products, or building customer portals.
4
+ version: 1.0.0
5
+ tags: [integration, mcp]
6
+ dependencies: []
4
7
  ---
5
8
 
6
9
  # Polar Integration
7
10
 
8
- Polar is a merchant-of-record platform for digital products, subscriptions, and license keys.
11
+ ## When to Use
12
+
13
+ - When implementing Polar checkout, subscriptions, or license key flows.
14
+
15
+ ## When NOT to Use
16
+
17
+ - When payments are handled by a different platform.
18
+
9
19
 
10
20
  ## What I Do
11
21
 
@@ -1,17 +1,26 @@
1
1
  ---
2
2
  name: prd
3
3
  description: Create Product Requirements Documents (PRDs) that define the end state of a feature. Use when planning new features, migrations, or refactors. Generates structured PRDs with acceptance criteria.
4
+ version: 1.0.0
5
+ tags: [planning, documentation]
6
+ dependencies: []
4
7
  ---
5
8
 
6
9
  # PRD Creation Skill
7
10
 
8
- Create Product Requirements Documents suitable for RFC review by Principal Engineers, Designers, and Product Owners.
11
+ ## When to Use
12
+
13
+ - After a design is validated and you need formal requirements and acceptance criteria
14
+ - Before breaking work into tasks or plans for features, migrations, or refactors
15
+
16
+ ## When NOT to Use
17
+
18
+ - When you already have an approved PRD and only need task conversion
19
+ - For small, mechanical changes where a PRD would be overhead
20
+
9
21
 
10
- The PRD describes WHAT to build and WHY, not HOW or in WHAT ORDER.
11
22
 
12
- **Part of:** `development-lifecycle` skill (Phase 2: Specification)
13
23
 
14
- **Template:** `.opencode/memory/_templates/prd.md`
15
24
 
16
25
  ## Beads-Native Output (Recommended)
17
26
 
@@ -3,15 +3,25 @@ name: prd-task
3
3
  description: Convert a Beads PRD markdown file to executable JSON tasks for autonomous execution. Use after writing `.beads/artifacts/<bead-id>/prd.md`.
4
4
  references:
5
5
  - references/prd-schema.json
6
+ version: 1.0.0
7
+ tags: [planning, workflow]
8
+ dependencies: [prd]
6
9
  ---
7
10
 
8
11
  # PRD Task Skill (Beads-Native)
9
12
 
10
- Convert a markdown PRD into executable JSON format for autonomous task completion.
13
+ ## When to Use
14
+
15
+ - After a PRD is complete at `.beads/artifacts/<bead-id>/prd.md` and you need executable tasks
16
+ - When you need to generate `prd.json` and initialize `progress.txt` for a bead
17
+
18
+ ## When NOT to Use
19
+
20
+ - Before a PRD exists or when requirements are still being gathered
21
+ - If you only need a human-readable plan (use writing-plans instead)
22
+
11
23
 
12
- The PRD defines the **end state** via tasks with verification steps. The agent decides HOW to get there.
13
24
 
14
- **Part of:** `development-lifecycle` skill (Phase 3: Task Conversion)
15
25
 
16
26
  ## Beads-Native File Locations (Recommended)
17
27
 
@@ -1,18 +1,13 @@
1
1
  ---
2
2
  name: ralph
3
3
  description: Use when running autonomous agent loops for extended task completion without human intervention - handles PRD-driven development, migration tasks, or batch operations
4
- license: MIT
5
- compatibility: opencode
6
- metadata:
7
- source: https://ghuntley.com/ralph/
8
- category: automation
9
- updated: 2026-01-10
4
+ version: 1.0.0
5
+ tags: [workflow, automation]
6
+ dependencies: []
10
7
  ---
11
8
 
12
9
  # Ralph Wiggum - Autonomous Agent Loop
13
10
 
14
- A workflow pattern for extended autonomous work sessions where the agent iterates through tasks until completion.
15
-
16
11
  ## When to Use
17
12
 
18
13
  - **PRD-driven development**: Work through a product requirements document task by task
@@ -27,6 +22,7 @@ A workflow pattern for extended autonomous work sessions where the agent iterate
27
22
  - Exploratory work where the goal isn't clear
28
23
  - Critical production changes (requires human oversight)
29
24
 
25
+
30
26
  ## Quick Start
31
27
 
32
28
  Invoke the workflow with:
@@ -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
 
@@ -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