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.
- package/dist/index.js +1 -1
- package/dist/template/.opencode/AGENTS.md +57 -0
- package/dist/template/.opencode/agent/scout.md +0 -37
- package/dist/template/.opencode/command/resume.md +1 -1
- package/dist/template/.opencode/command/status.md +7 -14
- package/dist/template/.opencode/memory.db +0 -0
- package/dist/template/.opencode/memory.db-shm +0 -0
- package/dist/template/.opencode/memory.db-wal +0 -0
- package/dist/template/.opencode/plugin/README.md +37 -25
- package/dist/template/.opencode/skill/accessibility-audit/SKILL.md +11 -5
- package/dist/template/.opencode/skill/agent-browser/SKILL.md +55 -18
- package/dist/template/.opencode/skill/agent-teams/SKILL.md +12 -1
- package/dist/template/.opencode/skill/augment-context-engine/SKILL.md +11 -1
- package/dist/template/.opencode/skill/beads/SKILL.md +57 -390
- package/dist/template/.opencode/skill/beads/references/BEST_PRACTICES.md +27 -0
- package/dist/template/.opencode/skill/beads/references/EXAMPLES.md +45 -0
- package/dist/template/.opencode/skill/beads/references/FILE_CLAIMING.md +101 -0
- package/dist/template/.opencode/skill/beads/references/GIT_SYNC.md +25 -0
- package/dist/template/.opencode/skill/beads/references/HIERARCHY.md +71 -0
- package/dist/template/.opencode/skill/beads/references/MULTI_AGENT.md +40 -0
- package/dist/template/.opencode/skill/beads/references/SESSION_PROTOCOL.md +61 -0
- package/dist/template/.opencode/skill/beads/references/TASK_CREATION.md +38 -0
- package/dist/template/.opencode/skill/beads/references/TROUBLESHOOTING.md +13 -0
- package/dist/template/.opencode/skill/beads-bridge/SKILL.md +10 -10
- package/dist/template/.opencode/skill/brainstorming/SKILL.md +13 -0
- package/dist/template/.opencode/skill/chrome-devtools/SKILL.md +11 -1
- package/dist/template/.opencode/skill/cloudflare/SKILL.md +87 -67
- package/dist/template/.opencode/skill/compaction/SKILL.md +11 -3
- package/dist/template/.opencode/skill/condition-based-waiting/SKILL.md +11 -25
- package/dist/template/.opencode/skill/context-engineering/SKILL.md +13 -2
- package/dist/template/.opencode/skill/context-initialization/SKILL.md +11 -1
- package/dist/template/.opencode/skill/context-management/SKILL.md +13 -1
- package/dist/template/.opencode/skill/core-data-expert/SKILL.md +13 -2
- package/dist/template/.opencode/skill/deep-research/SKILL.md +5 -8
- package/dist/template/.opencode/skill/defense-in-depth/SKILL.md +13 -0
- package/dist/template/.opencode/skill/design-system-audit/SKILL.md +9 -3
- package/dist/template/.opencode/skill/development-lifecycle/SKILL.md +51 -0
- package/dist/template/.opencode/skill/dispatching-parallel-agents/SKILL.md +19 -30
- package/dist/template/.opencode/skill/executing-plans/SKILL.md +36 -0
- package/dist/template/.opencode/skill/figma/SKILL.md +11 -1
- package/dist/template/.opencode/skill/finishing-a-development-branch/SKILL.md +31 -0
- package/dist/template/.opencode/skill/frontend-design/SKILL.md +13 -3
- package/dist/template/.opencode/skill/gemini-large-context/SKILL.md +11 -0
- package/dist/template/.opencode/skill/index-knowledge/SKILL.md +11 -1
- package/dist/template/.opencode/skill/jira/SKILL.md +11 -1
- package/dist/template/.opencode/skill/memory-system/SKILL.md +115 -60
- package/dist/template/.opencode/skill/mockup-to-code/SKILL.md +9 -3
- package/dist/template/.opencode/skill/mqdh/SKILL.md +11 -1
- package/dist/template/.opencode/skill/obsidian/SKILL.md +11 -1
- package/dist/template/.opencode/skill/opensrc/SKILL.md +18 -6
- package/dist/template/.opencode/skill/pdf-extract/SKILL.md +11 -1
- package/dist/template/.opencode/skill/playwright/SKILL.md +11 -1
- package/dist/template/.opencode/skill/playwriter/SKILL.md +11 -1
- package/dist/template/.opencode/skill/polar/SKILL.md +11 -1
- package/dist/template/.opencode/skill/prd/SKILL.md +13 -4
- package/dist/template/.opencode/skill/prd-task/SKILL.md +13 -3
- package/dist/template/.opencode/skill/ralph/SKILL.md +4 -8
- package/dist/template/.opencode/skill/react-best-practices/SKILL.md +24 -16
- package/dist/template/.opencode/skill/receiving-code-review/SKILL.md +22 -0
- package/dist/template/.opencode/skill/requesting-code-review/SKILL.md +30 -2
- package/dist/template/.opencode/skill/resend/SKILL.md +11 -1
- package/dist/template/.opencode/skill/root-cause-tracing/SKILL.md +12 -23
- package/dist/template/.opencode/skill/session-management/SKILL.md +33 -36
- package/dist/template/.opencode/skill/sharing-skills/SKILL.md +11 -0
- package/dist/template/.opencode/skill/skill-creator/SKILL.md +12 -11
- package/dist/template/.opencode/skill/source-code-research/SKILL.md +20 -266
- package/dist/template/.opencode/skill/source-code-research/references/analysis-tips.md +43 -0
- package/dist/template/.opencode/skill/source-code-research/references/anti-patterns.md +36 -0
- package/dist/template/.opencode/skill/source-code-research/references/common-patterns.md +57 -0
- package/dist/template/.opencode/skill/source-code-research/references/example-workflow.md +60 -0
- package/dist/template/.opencode/skill/source-code-research/references/further-reading.md +5 -0
- package/dist/template/.opencode/skill/source-code-research/references/source-structure.md +45 -0
- package/dist/template/.opencode/skill/stitch/SKILL.md +11 -1
- package/dist/template/.opencode/skill/structured-edit/SKILL.md +13 -0
- package/dist/template/.opencode/skill/subagent-driven-development/SKILL.md +13 -14
- package/dist/template/.opencode/skill/supabase/SKILL.md +11 -1
- package/dist/template/.opencode/skill/supabase-postgres-best-practices/SKILL.md +23 -15
- package/dist/template/.opencode/skill/swarm-coordination/SKILL.md +23 -923
- package/dist/template/.opencode/skill/swarm-coordination/references/architecture.md +39 -0
- package/dist/template/.opencode/skill/swarm-coordination/references/delegation-worker-protocol.md +145 -0
- package/dist/template/.opencode/skill/swarm-coordination/references/dependency-graph.md +50 -0
- package/dist/template/.opencode/skill/swarm-coordination/references/drift-check.md +90 -0
- package/dist/template/.opencode/skill/swarm-coordination/references/integration-beads.md +20 -0
- package/dist/template/.opencode/skill/swarm-coordination/references/launch-flow.md +186 -0
- package/dist/template/.opencode/skill/swarm-coordination/references/reconciler.md +172 -0
- package/dist/template/.opencode/skill/swarm-coordination/references/tier-enforcement.md +78 -0
- package/dist/template/.opencode/skill/swarm-coordination/references/tmux-integration.md +134 -0
- package/dist/template/.opencode/skill/swift-concurrency/SKILL.md +22 -2
- package/dist/template/.opencode/skill/swiftui-expert-skill/SKILL.md +58 -19
- package/dist/template/.opencode/skill/systematic-debugging/SKILL.md +25 -25
- package/dist/template/.opencode/skill/test-driven-development/SKILL.md +19 -15
- package/dist/template/.opencode/skill/testing-anti-patterns/SKILL.md +13 -0
- package/dist/template/.opencode/skill/testing-skills-with-subagents/SKILL.md +13 -15
- package/dist/template/.opencode/skill/tool-priority/SKILL.md +13 -0
- package/dist/template/.opencode/skill/ui-ux-research/SKILL.md +9 -3
- package/dist/template/.opencode/skill/using-git-worktrees/SKILL.md +11 -0
- package/dist/template/.opencode/skill/using-skills/SKILL.md +13 -0
- package/dist/template/.opencode/skill/v0/SKILL.md +11 -1
- package/dist/template/.opencode/skill/v1-run/SKILL.md +11 -1
- package/dist/template/.opencode/skill/vercel-deploy-claimable/SKILL.md +14 -2
- package/dist/template/.opencode/skill/verification-before-completion/SKILL.md +22 -0
- package/dist/template/.opencode/skill/visual-analysis/SKILL.md +9 -3
- package/dist/template/.opencode/skill/web-design-guidelines/SKILL.md +12 -5
- package/dist/template/.opencode/skill/writing-plans/SKILL.md +13 -0
- package/dist/template/.opencode/skill/writing-skills/SKILL.md +26 -421
- package/dist/template/.opencode/skill/writing-skills/references/anti-patterns.md +25 -0
- package/dist/template/.opencode/skill/writing-skills/references/claude-search-optimization.md +140 -0
- package/dist/template/.opencode/skill/writing-skills/references/discovery-workflow.md +11 -0
- package/dist/template/.opencode/skill/writing-skills/references/file-organization.md +32 -0
- package/dist/template/.opencode/skill/writing-skills/references/flowcharts-and-examples.md +57 -0
- package/dist/template/.opencode/skill/writing-skills/references/rationalization-hardening.md +75 -0
- package/dist/template/.opencode/skill/writing-skills/references/testing-skill-types.md +52 -0
- package/package.json +15 -4
- package/dist/template/.opencode/plugin/compaction.ts +0 -190
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Git Sync
|
|
2
|
+
|
|
3
|
+
## Manual Sync (Non-Invasive)
|
|
4
|
+
|
|
5
|
+
**Important:** `br` never executes git commands. You must manually commit changes.
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Export changes to JSONL
|
|
9
|
+
br sync --flush-only
|
|
10
|
+
|
|
11
|
+
# Then manually commit
|
|
12
|
+
git add .beads/
|
|
13
|
+
git commit -m "sync beads"
|
|
14
|
+
git push
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
**Use when**: End of session, before handoff, after major progress.
|
|
18
|
+
|
|
19
|
+
## Cleanup Old Issues
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
br cleanup --days 7
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Removes closed issues older than N days. Run weekly.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Hierarchical Structure: Epic → Task → Subtask
|
|
2
|
+
|
|
3
|
+
Beads supports up to 3 levels of hierarchy using hierarchical IDs:
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
br-a3f8 (Epic - parent feature)
|
|
7
|
+
├── br-a3f8.1 (Task - first child)
|
|
8
|
+
├── br-a3f8.2 (Task - second child)
|
|
9
|
+
│ ├── br-a3f8.2.1 (Subtask - child of .2)
|
|
10
|
+
│ └── br-a3f8.2.2 (Subtask - child of .2)
|
|
11
|
+
└── br-a3f8.3 (Task - third child)
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## When to Decompose
|
|
15
|
+
|
|
16
|
+
| Scenario | Structure |
|
|
17
|
+
| ---------------------------- | ------------------------------------ |
|
|
18
|
+
| Bug fix, config change | Single bead |
|
|
19
|
+
| Small feature (1-2 files) | Single bead |
|
|
20
|
+
| Feature crossing FE/BE | Epic + tasks by domain |
|
|
21
|
+
| New system/service | Epic + tasks by component |
|
|
22
|
+
| Multi-day work | Epic + tasks for parallelization |
|
|
23
|
+
| Work needing multiple agents | Epic + tasks (agents claim children) |
|
|
24
|
+
|
|
25
|
+
## Creating Hierarchical Beads
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
# Step 1: Create Epic (parent)
|
|
29
|
+
br create --title "User Authentication System" --type epic --priority 1 \
|
|
30
|
+
--description "Complete auth with OAuth, sessions, and protected routes"
|
|
31
|
+
# Returns: br-a3f8
|
|
32
|
+
|
|
33
|
+
# Step 2: Create child tasks with parent
|
|
34
|
+
br create --title "Database schema for auth" --type task --priority 2 \
|
|
35
|
+
--parent br-a3f8 --description "Create user and session tables"
|
|
36
|
+
# Returns: br-a3f8.1 ← Hierarchical ID!
|
|
37
|
+
|
|
38
|
+
# Step 3: Create dependent tasks
|
|
39
|
+
br create --title "OAuth integration" --type task --priority 2 \
|
|
40
|
+
--parent br-a3f8 --blocked-by br-a3f8.1
|
|
41
|
+
# Returns: br-a3f8.2
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Parallel Execution with Dependencies
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
br-a3f8.1 [Database] ──┬──> br-a3f8.2 [Backend] ──┐
|
|
48
|
+
(READY) │ │
|
|
49
|
+
│ ▼
|
|
50
|
+
└──> br-a3f8.3 [Frontend] br-a3f8.5 [Testing]
|
|
51
|
+
│ │ ▲
|
|
52
|
+
└──> br-a3f8.4 [Docs] ──────────┘
|
|
53
|
+
|
|
54
|
+
Parallel tracks:
|
|
55
|
+
• Agent 1 (backend): .1 → .2
|
|
56
|
+
• Agent 2 (frontend): wait for .1, then .3
|
|
57
|
+
• Agent 3 (qa): wait for .2 and .3, then .5
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
**Key insight**: After br-a3f8.1 completes, .2, .3, and .4 all become READY simultaneously. Multiple agents can claim them in parallel.
|
|
61
|
+
|
|
62
|
+
## Querying Hierarchy
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
# See all open issues
|
|
66
|
+
br list --status open
|
|
67
|
+
|
|
68
|
+
# See ready work (unblocked tasks)
|
|
69
|
+
br ready
|
|
70
|
+
# Returns tasks where all dependencies are closed
|
|
71
|
+
```
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Multi-Agent Coordination (Swarm Mode)
|
|
2
|
+
|
|
3
|
+
For parallel execution with multiple subagents, use the **beads-bridge** skill:
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
skill({ name: "beads-bridge" });
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
**beads-bridge** provides (via unified `swarm` tool):
|
|
10
|
+
|
|
11
|
+
- `swarm({ operation: "sync" })` - Sync Beads tasks to OpenCode todos for subagent visibility
|
|
12
|
+
- `swarm({ operation: "monitor" })` - Real-time progress tracking and visualization
|
|
13
|
+
- `swarm({ operation: "plan" })` - Task classification and dependency analysis
|
|
14
|
+
- `swarm({ operation: "delegate" })` - Create delegation packets for workers
|
|
15
|
+
|
|
16
|
+
**When to use beads vs beads-bridge:**
|
|
17
|
+
|
|
18
|
+
| Scenario | Use |
|
|
19
|
+
| ------------------------------ | -------------------------------- |
|
|
20
|
+
| Single agent, linear work | `beads` skill only |
|
|
21
|
+
| Multiple agents in parallel | `beads-bridge` + `beads` |
|
|
22
|
+
| Need subagents to see tasks | `beads-bridge` (swarm sync push) |
|
|
23
|
+
| Track worker progress visually | `beads-bridge` (swarm monitor) |
|
|
24
|
+
|
|
25
|
+
**Example swarm workflow:**
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
// 1. Push beads to OpenCode todos (subagents can see via todoread)
|
|
29
|
+
swarm({ operation: "sync", action: "push" });
|
|
30
|
+
|
|
31
|
+
// 2. Spawn workers in parallel using Task tool
|
|
32
|
+
Task({ subagent_type: "general", description: "Worker 1", prompt: "..." });
|
|
33
|
+
Task({ subagent_type: "general", description: "Worker 2", prompt: "..." });
|
|
34
|
+
|
|
35
|
+
// 3. Monitor progress
|
|
36
|
+
swarm({ operation: "monitor", action: "render_block", team_name: "my-swarm" });
|
|
37
|
+
|
|
38
|
+
// 4. Pull completed work back to beads
|
|
39
|
+
swarm({ operation: "sync", action: "pull" });
|
|
40
|
+
```
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Session Start Protocol
|
|
2
|
+
|
|
3
|
+
**Every session, follow these steps:**
|
|
4
|
+
|
|
5
|
+
## Session Start Checklist
|
|
6
|
+
|
|
7
|
+
- [ ] Run `br ready` to find unblocked work
|
|
8
|
+
- [ ] If none, run `br list --status open` to see all open tasks
|
|
9
|
+
- [ ] Claim the task: `br update <id> --status in_progress`
|
|
10
|
+
- [ ] Load context: `br show <id>`
|
|
11
|
+
|
|
12
|
+
## Step 1: Find Ready Work
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
br ready
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Returns highest priority task with no blockers.
|
|
19
|
+
|
|
20
|
+
If no tasks returned, check all open work:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
br list --status open
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Step 2: Claim Task
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
br update <id> --status in_progress
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Step 3: Get Full Context
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
br show <id>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Shows full description, dependencies, notes, history.
|
|
39
|
+
|
|
40
|
+
## Step 4: Do the Work
|
|
41
|
+
|
|
42
|
+
Implement the task, adding notes as you learn.
|
|
43
|
+
|
|
44
|
+
## Step 5: Complete and Sync
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
br close <id> --reason "Implemented auth with JWT tokens"
|
|
48
|
+
br sync --flush-only
|
|
49
|
+
git add .beads/
|
|
50
|
+
git commit -m "sync beads"
|
|
51
|
+
# RESTART SESSION - fresh context
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Always restart session after closing a task. One task per session.
|
|
55
|
+
|
|
56
|
+
## Session End Checklist
|
|
57
|
+
|
|
58
|
+
- [ ] Close the bead with a clear reason: `br close <id> --reason "..."`
|
|
59
|
+
- [ ] Sync Beads to JSONL: `br sync --flush-only`
|
|
60
|
+
- [ ] Commit `.beads/` changes manually
|
|
61
|
+
- [ ] Restart session (fresh context)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Task Creation
|
|
2
|
+
|
|
3
|
+
## When to Create Tasks
|
|
4
|
+
|
|
5
|
+
Create tasks when:
|
|
6
|
+
|
|
7
|
+
- User mentions tracking work across sessions
|
|
8
|
+
- User says "we should fix/build/add X"
|
|
9
|
+
- Work has dependencies or blockers
|
|
10
|
+
- Discovered work while implementing (>2 min effort)
|
|
11
|
+
|
|
12
|
+
## Basic Task Creation
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
br create --title "Fix authentication bug" --priority 0 --type bug
|
|
16
|
+
# Priority: 0=critical, 1=high, 2=normal, 3=low, 4=backlog
|
|
17
|
+
# Types: task, bug, feature, epic, chore
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## With Description
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
br create --title "Implement OAuth" --type feature --priority 1 \
|
|
24
|
+
--description "Add OAuth2 support for Google, GitHub. Use passport.js."
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Epic with Children
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
# Create parent epic
|
|
31
|
+
br create --title "Epic: OAuth Implementation" --priority 0 --type epic
|
|
32
|
+
# Returns: oauth-abc
|
|
33
|
+
|
|
34
|
+
# Create child tasks with parent
|
|
35
|
+
br create --title "Research OAuth providers" --priority 1 --parent oauth-abc
|
|
36
|
+
br create --title "Implement auth endpoints" --priority 1 --parent oauth-abc
|
|
37
|
+
br create --title "Add frontend login UI" --priority 2 --parent oauth-abc
|
|
38
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Error Handling
|
|
2
|
+
|
|
3
|
+
## Common Issues
|
|
4
|
+
|
|
5
|
+
**No ready tasks**
|
|
6
|
+
|
|
7
|
+
- Run `br list --status open` to see all tasks
|
|
8
|
+
- Some may be blocked - check dependencies with `br show <id>`
|
|
9
|
+
|
|
10
|
+
**Sync failures**
|
|
11
|
+
|
|
12
|
+
- Run `br doctor` to repair database
|
|
13
|
+
- Check git remote access
|
|
@@ -6,13 +6,21 @@ description: >
|
|
|
6
6
|
dependency management, hierarchical decomposition, and session protocols.
|
|
7
7
|
version: "2.0.0"
|
|
8
8
|
license: MIT
|
|
9
|
+
tags: [agent-coordination, workflow]
|
|
10
|
+
dependencies: [beads]
|
|
9
11
|
---
|
|
10
12
|
|
|
11
13
|
# Beads Bridge - Cross-Session Task Coordination
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
## When to Use
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
- Work spans multiple sessions and needs persistent task tracking
|
|
18
|
+
- Multiple agents must coordinate via Beads, swarm, and OpenCode todos
|
|
19
|
+
|
|
20
|
+
## When NOT to Use
|
|
21
|
+
|
|
22
|
+
- Single-session, single-agent work with no dependencies
|
|
23
|
+
- Simple tasks that don’t require Beads or swarm coordination
|
|
16
24
|
|
|
17
25
|
## Overview
|
|
18
26
|
|
|
@@ -36,14 +44,6 @@ Bridge between Beads git-backed task tracking, OpenCode's native todo system, an
|
|
|
36
44
|
- `plan`: Task classification + dependency graphs (before spawning workers)
|
|
37
45
|
- `delegate`: Create delegation packets (assigning work to workers)
|
|
38
46
|
|
|
39
|
-
## When to Use This Skill
|
|
40
|
-
|
|
41
|
-
- Work spans multiple sessions (need persistence)
|
|
42
|
-
- Tasks have complex dependencies
|
|
43
|
-
- Multiple agents need to coordinate on shared work
|
|
44
|
-
- Need to recover swarm state after session restart
|
|
45
|
-
- Subagents need to see Beads tasks via todoread
|
|
46
|
-
|
|
47
47
|
## Core Workflows
|
|
48
48
|
|
|
49
49
|
### 1. Session Start: Load Beads into Todos
|
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: brainstorming
|
|
3
3
|
description: Use when creating or developing, before writing code or implementation plans - refines rough ideas into fully-formed designs through collaborative questioning, alternative exploration, and incremental validation. Don't use during clear 'mechanical' processes
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
tags: [planning, workflow]
|
|
6
|
+
dependencies: []
|
|
4
7
|
---
|
|
5
8
|
|
|
6
9
|
# Brainstorming Ideas Into Designs
|
|
7
10
|
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
- You have a rough idea that needs clarification into a design or spec
|
|
14
|
+
- You need to explore multiple approaches and validate trade-offs before coding
|
|
15
|
+
|
|
16
|
+
## When NOT to Use
|
|
17
|
+
|
|
18
|
+
- Requirements are already clear and execution is mechanical
|
|
19
|
+
- You are already in implementation with a validated plan or PRD
|
|
20
|
+
|
|
8
21
|
## Overview
|
|
9
22
|
|
|
10
23
|
Help turn ideas into fully formed designs and specs through natural collaborative dialogue.
|
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: chrome-devtools
|
|
3
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.
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
tags: [automation, debugging]
|
|
6
|
+
dependencies: []
|
|
4
7
|
---
|
|
5
8
|
|
|
6
9
|
# Chrome DevTools (MCP)
|
|
7
10
|
|
|
8
|
-
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
- When you need to debug or inspect a live Chrome page via DevTools Protocol tools.
|
|
14
|
+
|
|
15
|
+
## When NOT to Use
|
|
16
|
+
|
|
17
|
+
- When cross-browser automation is required (use Playwright-based skills instead).
|
|
18
|
+
|
|
9
19
|
|
|
10
20
|
## Available Tools
|
|
11
21
|
|
|
@@ -7,11 +7,21 @@ references:
|
|
|
7
7
|
- d1
|
|
8
8
|
- durable-objects
|
|
9
9
|
- workers-ai
|
|
10
|
+
version: 1.0.0
|
|
11
|
+
tags: [integration, devops]
|
|
12
|
+
dependencies: []
|
|
10
13
|
---
|
|
11
14
|
|
|
12
15
|
# Cloudflare Platform Skill
|
|
13
16
|
|
|
14
|
-
|
|
17
|
+
## When to Use
|
|
18
|
+
|
|
19
|
+
- When you need guidance or references for building on Cloudflare products.
|
|
20
|
+
|
|
21
|
+
## When NOT to Use
|
|
22
|
+
|
|
23
|
+
- When the task doesn't involve Cloudflare services or infrastructure.
|
|
24
|
+
|
|
15
25
|
|
|
16
26
|
## How to Use This Skill
|
|
17
27
|
|
|
@@ -133,101 +143,111 @@ Need IaC?
|
|
|
133
143
|
## Product Index
|
|
134
144
|
|
|
135
145
|
### Compute & Runtime
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
|
139
|
-
|
|
|
140
|
-
| Pages
|
|
141
|
-
|
|
|
142
|
-
|
|
|
143
|
-
|
|
|
146
|
+
|
|
147
|
+
| Product | Entry File |
|
|
148
|
+
| --------------------- | ---------------------------------------------- |
|
|
149
|
+
| Workers | `./references/workers/README.md` |
|
|
150
|
+
| Pages | `./references/pages/README.md` |
|
|
151
|
+
| Pages Functions | `./references/pages-functions/README.md` |
|
|
152
|
+
| Durable Objects | `./references/durable-objects/README.md` |
|
|
153
|
+
| Workflows | `./references/workflows/README.md` |
|
|
154
|
+
| Containers | `./references/containers/README.md` |
|
|
144
155
|
| Workers for Platforms | `./references/workers-for-platforms/README.md` |
|
|
145
|
-
| Cron Triggers
|
|
146
|
-
| Tail Workers
|
|
147
|
-
| Snippets
|
|
148
|
-
| Smart Placement
|
|
156
|
+
| Cron Triggers | `./references/cron-triggers/README.md` |
|
|
157
|
+
| Tail Workers | `./references/tail-workers/README.md` |
|
|
158
|
+
| Snippets | `./references/snippets/README.md` |
|
|
159
|
+
| Smart Placement | `./references/smart-placement/README.md` |
|
|
149
160
|
|
|
150
161
|
### Storage & Data
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
|
154
|
-
|
|
|
155
|
-
|
|
|
156
|
-
|
|
|
157
|
-
|
|
|
158
|
-
|
|
|
159
|
-
|
|
|
160
|
-
|
|
|
162
|
+
|
|
163
|
+
| Product | Entry File |
|
|
164
|
+
| --------------- | ---------------------------------------- |
|
|
165
|
+
| KV | `./references/kv/README.md` |
|
|
166
|
+
| D1 | `./references/d1/README.md` |
|
|
167
|
+
| R2 | `./references/r2/README.md` |
|
|
168
|
+
| Queues | `./references/queues/README.md` |
|
|
169
|
+
| Hyperdrive | `./references/hyperdrive/README.md` |
|
|
170
|
+
| DO Storage | `./references/do-storage/README.md` |
|
|
171
|
+
| Secrets Store | `./references/secrets-store/README.md` |
|
|
172
|
+
| Pipelines | `./references/pipelines/README.md` |
|
|
161
173
|
| R2 Data Catalog | `./references/r2-data-catalog/README.md` |
|
|
162
|
-
| R2 SQL
|
|
174
|
+
| R2 SQL | `./references/r2-sql/README.md` |
|
|
163
175
|
|
|
164
176
|
### AI & Machine Learning
|
|
165
|
-
|
|
166
|
-
|
|
177
|
+
|
|
178
|
+
| Product | Entry File |
|
|
179
|
+
| ---------- | ----------------------------------- |
|
|
167
180
|
| Workers AI | `./references/workers-ai/README.md` |
|
|
168
|
-
| Vectorize
|
|
181
|
+
| Vectorize | `./references/vectorize/README.md` |
|
|
169
182
|
| Agents SDK | `./references/agents-sdk/README.md` |
|
|
170
183
|
| AI Gateway | `./references/ai-gateway/README.md` |
|
|
171
|
-
| AI Search
|
|
184
|
+
| AI Search | `./references/ai-search/README.md` |
|
|
172
185
|
|
|
173
186
|
### Networking & Connectivity
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
|
177
|
-
|
|
|
178
|
-
|
|
|
187
|
+
|
|
188
|
+
| Product | Entry File |
|
|
189
|
+
| -------------------- | --------------------------------------------- |
|
|
190
|
+
| Tunnel | `./references/tunnel/README.md` |
|
|
191
|
+
| Spectrum | `./references/spectrum/README.md` |
|
|
192
|
+
| TURN | `./references/turn/README.md` |
|
|
179
193
|
| Network Interconnect | `./references/network-interconnect/README.md` |
|
|
180
|
-
| Argo Smart Routing
|
|
181
|
-
| Workers VPC
|
|
194
|
+
| Argo Smart Routing | `./references/argo-smart-routing/README.md` |
|
|
195
|
+
| Workers VPC | `./references/workers-vpc/README.md` |
|
|
182
196
|
|
|
183
197
|
### Security
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
|
187
|
-
|
|
|
188
|
-
|
|
|
189
|
-
|
|
|
190
|
-
|
|
|
198
|
+
|
|
199
|
+
| Product | Entry File |
|
|
200
|
+
| --------------- | --------------------------------------- |
|
|
201
|
+
| WAF | `./references/waf/README.md` |
|
|
202
|
+
| DDoS Protection | `./references/ddos/README.md` |
|
|
203
|
+
| Bot Management | `./references/bot-management/README.md` |
|
|
204
|
+
| API Shield | `./references/api-shield/README.md` |
|
|
205
|
+
| Turnstile | `./references/turnstile/README.md` |
|
|
191
206
|
|
|
192
207
|
### Media & Content
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
|
196
|
-
|
|
|
208
|
+
|
|
209
|
+
| Product | Entry File |
|
|
210
|
+
| ----------------- | ------------------------------------------ |
|
|
211
|
+
| Images | `./references/images/README.md` |
|
|
212
|
+
| Stream | `./references/stream/README.md` |
|
|
197
213
|
| Browser Rendering | `./references/browser-rendering/README.md` |
|
|
198
|
-
| Zaraz
|
|
214
|
+
| Zaraz | `./references/zaraz/README.md` |
|
|
199
215
|
|
|
200
216
|
### Real-Time Communication
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
|
217
|
+
|
|
218
|
+
| Product | Entry File |
|
|
219
|
+
| ------------ | ------------------------------------- |
|
|
220
|
+
| RealtimeKit | `./references/realtimekit/README.md` |
|
|
204
221
|
| Realtime SFU | `./references/realtime-sfu/README.md` |
|
|
205
222
|
|
|
206
223
|
### Developer Tools
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
|
210
|
-
|
|
|
211
|
-
|
|
|
212
|
-
|
|
|
213
|
-
|
|
|
214
|
-
|
|
|
215
|
-
|
|
|
216
|
-
|
|
|
224
|
+
|
|
225
|
+
| Product | Entry File |
|
|
226
|
+
| ------------------ | ------------------------------------------- |
|
|
227
|
+
| Wrangler | `./references/wrangler/README.md` |
|
|
228
|
+
| Miniflare | `./references/miniflare/README.md` |
|
|
229
|
+
| C3 | `./references/c3/README.md` |
|
|
230
|
+
| Observability | `./references/observability/README.md` |
|
|
231
|
+
| Analytics Engine | `./references/analytics-engine/README.md` |
|
|
232
|
+
| Web Analytics | `./references/web-analytics/README.md` |
|
|
233
|
+
| Sandbox | `./references/sandbox/README.md` |
|
|
234
|
+
| Workerd | `./references/workerd/README.md` |
|
|
217
235
|
| Workers Playground | `./references/workers-playground/README.md` |
|
|
218
236
|
|
|
219
237
|
### Infrastructure as Code
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
|
238
|
+
|
|
239
|
+
| Product | Entry File |
|
|
240
|
+
| --------- | ---------------------------------- |
|
|
241
|
+
| Pulumi | `./references/pulumi/README.md` |
|
|
223
242
|
| Terraform | `./references/terraform/README.md` |
|
|
224
|
-
| API
|
|
243
|
+
| API | `./references/api/README.md` |
|
|
225
244
|
|
|
226
245
|
### Other Services
|
|
227
|
-
|
|
228
|
-
|
|
246
|
+
|
|
247
|
+
| Product | Entry File |
|
|
248
|
+
| ------------- | -------------------------------------- |
|
|
229
249
|
| Email Routing | `./references/email-routing/README.md` |
|
|
230
250
|
| Email Workers | `./references/email-workers/README.md` |
|
|
231
251
|
| Static Assets | `./references/static-assets/README.md` |
|
|
232
|
-
| Bindings
|
|
252
|
+
| Bindings | `./references/bindings/README.md` |
|
|
233
253
|
| Cache Reserve | `./references/cache-reserve/README.md` |
|
|
@@ -4,13 +4,21 @@ description: >
|
|
|
4
4
|
Use when context is growing large during long-running tasks and needs server-side or client-side
|
|
5
5
|
summarization to continue effectively. Covers compaction triggers, custom summarization patterns,
|
|
6
6
|
session handoff, and context preservation strategies.
|
|
7
|
-
version:
|
|
8
|
-
|
|
7
|
+
version: 1.0.0
|
|
8
|
+
tags: [context, workflow]
|
|
9
|
+
dependencies: []
|
|
9
10
|
---
|
|
10
11
|
|
|
11
12
|
# Context Compaction - Managing Long-Running Sessions
|
|
12
13
|
|
|
13
|
-
|
|
14
|
+
## When to Use
|
|
15
|
+
|
|
16
|
+
- Context is growing large and needs distillation/compaction to continue.
|
|
17
|
+
|
|
18
|
+
## When NOT to Use
|
|
19
|
+
|
|
20
|
+
- Short sessions with low context usage where no compaction is needed.
|
|
21
|
+
|
|
14
22
|
|
|
15
23
|
## Overview
|
|
16
24
|
|
|
@@ -1,42 +1,28 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: condition-based-waiting
|
|
3
3
|
description: Use when tests have race conditions, timing dependencies, or inconsistent pass/fail behavior - replaces arbitrary timeouts with condition polling to wait for actual state changes, eliminating flaky tests from timing guesses
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
tags: [testing, debugging]
|
|
6
|
+
dependencies: []
|
|
4
7
|
---
|
|
5
8
|
|
|
6
9
|
# Condition-Based Waiting
|
|
7
10
|
|
|
8
|
-
## Overview
|
|
9
|
-
|
|
10
|
-
Flaky tests often guess at timing with arbitrary delays. This creates race conditions where tests pass on fast machines but fail under load or in CI.
|
|
11
|
-
|
|
12
|
-
**Core principle:** Wait for the actual condition you care about, not a guess about how long it takes.
|
|
13
|
-
|
|
14
11
|
## When to Use
|
|
15
12
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"Test uses setTimeout/sleep?" [shape=diamond];
|
|
19
|
-
"Testing timing behavior?" [shape=diamond];
|
|
20
|
-
"Document WHY timeout needed" [shape=box];
|
|
21
|
-
"Use condition-based waiting" [shape=box];
|
|
13
|
+
- Tests are flaky due to arbitrary delays or timing guesses
|
|
14
|
+
- You need to wait for async state changes (events, file writes, state transitions)
|
|
22
15
|
|
|
23
|
-
|
|
24
|
-
"Testing timing behavior?" -> "Document WHY timeout needed" [label="yes"];
|
|
25
|
-
"Testing timing behavior?" -> "Use condition-based waiting" [label="no"];
|
|
26
|
-
}
|
|
27
|
-
```
|
|
16
|
+
## When NOT to Use
|
|
28
17
|
|
|
29
|
-
|
|
18
|
+
- You are explicitly testing timing behavior (debounce, throttle, intervals)
|
|
19
|
+
- A fixed, documented timeout is part of the requirement
|
|
30
20
|
|
|
31
|
-
|
|
32
|
-
- Tests are flaky (pass sometimes, fail under load)
|
|
33
|
-
- Tests timeout when run in parallel
|
|
34
|
-
- Waiting for async operations to complete
|
|
21
|
+
## Overview
|
|
35
22
|
|
|
36
|
-
|
|
23
|
+
Flaky tests often guess at timing with arbitrary delays. This creates race conditions where tests pass on fast machines but fail under load or in CI.
|
|
37
24
|
|
|
38
|
-
|
|
39
|
-
- Always document WHY if using arbitrary timeout
|
|
25
|
+
**Core principle:** Wait for the actual condition you care about, not a guess about how long it takes.
|
|
40
26
|
|
|
41
27
|
## Core Pattern
|
|
42
28
|
|
|
@@ -1,13 +1,24 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: context-engineering
|
|
3
3
|
description: Use when designing AGENTS.md hierarchies, understanding autonomous duration, or writing intent layers - covers principles for extending agent work capacity
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
tags: [context, documentation]
|
|
6
|
+
dependencies: []
|
|
4
7
|
---
|
|
5
8
|
|
|
6
9
|
# Context Engineering
|
|
7
10
|
|
|
8
|
-
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
- Designing or refactoring AGENTS.md hierarchies and intent layers
|
|
14
|
+
- You need to extend autonomous work duration via better context structure
|
|
15
|
+
|
|
16
|
+
## When NOT to Use
|
|
17
|
+
|
|
18
|
+
- You only need pruning/distillation mechanics (use context-management)
|
|
19
|
+
- Simple tasks where context design is not relevant
|
|
20
|
+
|
|
9
21
|
|
|
10
|
-
**For practical context tools (prune/distill/compress), use `context-management` skill.**
|
|
11
22
|
|
|
12
23
|
## Core Principle
|
|
13
24
|
|