clikit-plugin 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/AGENTS.md +46 -0
  2. package/README.md +282 -0
  3. package/command/commit.md +137 -0
  4. package/command/create.md +150 -0
  5. package/command/debug.md +185 -0
  6. package/command/design.md +82 -0
  7. package/command/handoff.md +95 -0
  8. package/command/import-plan.md +175 -0
  9. package/command/init.md +112 -0
  10. package/command/issue.md +110 -0
  11. package/command/plan.md +205 -0
  12. package/command/pr.md +174 -0
  13. package/command/research.md +103 -0
  14. package/command/resume.md +80 -0
  15. package/command/review-codebase.md +228 -0
  16. package/command/review.md +135 -0
  17. package/command/ship.md +109 -0
  18. package/command/start.md +77 -0
  19. package/command/status.md +123 -0
  20. package/command/verify.md +79 -0
  21. package/command/vision.md +142 -0
  22. package/dist/agents/index.d.ts +4 -0
  23. package/dist/agents/index.d.ts.map +1 -0
  24. package/dist/cli.d.ts +3 -0
  25. package/dist/cli.d.ts.map +1 -0
  26. package/dist/cli.js +103 -0
  27. package/dist/clikit.schema.json +423 -0
  28. package/dist/commands/index.d.ts +4 -0
  29. package/dist/commands/index.d.ts.map +1 -0
  30. package/dist/config.d.ts +118 -0
  31. package/dist/config.d.ts.map +1 -0
  32. package/dist/hooks/auto-format.d.ts +30 -0
  33. package/dist/hooks/auto-format.d.ts.map +1 -0
  34. package/dist/hooks/comment-checker.d.ts +17 -0
  35. package/dist/hooks/comment-checker.d.ts.map +1 -0
  36. package/dist/hooks/compaction.d.ts +60 -0
  37. package/dist/hooks/compaction.d.ts.map +1 -0
  38. package/dist/hooks/empty-message-sanitizer.d.ts +9 -0
  39. package/dist/hooks/empty-message-sanitizer.d.ts.map +1 -0
  40. package/dist/hooks/env-context.d.ts +43 -0
  41. package/dist/hooks/env-context.d.ts.map +1 -0
  42. package/dist/hooks/git-guard.d.ts +14 -0
  43. package/dist/hooks/git-guard.d.ts.map +1 -0
  44. package/dist/hooks/index.d.ts +35 -0
  45. package/dist/hooks/index.d.ts.map +1 -0
  46. package/dist/hooks/ritual-enforcer.d.ts +29 -0
  47. package/dist/hooks/ritual-enforcer.d.ts.map +1 -0
  48. package/dist/hooks/security-check.d.ts +20 -0
  49. package/dist/hooks/security-check.d.ts.map +1 -0
  50. package/dist/hooks/session-notification.d.ts +23 -0
  51. package/dist/hooks/session-notification.d.ts.map +1 -0
  52. package/dist/hooks/subagent-question-blocker.d.ts +11 -0
  53. package/dist/hooks/subagent-question-blocker.d.ts.map +1 -0
  54. package/dist/hooks/swarm-enforcer.d.ts +31 -0
  55. package/dist/hooks/swarm-enforcer.d.ts.map +1 -0
  56. package/dist/hooks/todo-enforcer.d.ts +19 -0
  57. package/dist/hooks/todo-enforcer.d.ts.map +1 -0
  58. package/dist/hooks/truncator.d.ts +28 -0
  59. package/dist/hooks/truncator.d.ts.map +1 -0
  60. package/dist/hooks/typecheck-gate.d.ts +31 -0
  61. package/dist/hooks/typecheck-gate.d.ts.map +1 -0
  62. package/dist/index.d.ts +13 -0
  63. package/dist/index.d.ts.map +1 -0
  64. package/dist/index.js +5785 -0
  65. package/dist/skills/index.d.ts +9 -0
  66. package/dist/skills/index.d.ts.map +1 -0
  67. package/dist/tools/beads-memory-sync.d.ts +17 -0
  68. package/dist/tools/beads-memory-sync.d.ts.map +1 -0
  69. package/dist/tools/context-summary.d.ts +21 -0
  70. package/dist/tools/context-summary.d.ts.map +1 -0
  71. package/dist/tools/index.d.ts +7 -0
  72. package/dist/tools/index.d.ts.map +1 -0
  73. package/dist/tools/memory.d.ts +56 -0
  74. package/dist/tools/memory.d.ts.map +1 -0
  75. package/dist/tools/observation.d.ts +28 -0
  76. package/dist/tools/observation.d.ts.map +1 -0
  77. package/dist/tools/quick-research.d.ts +16 -0
  78. package/dist/tools/quick-research.d.ts.map +1 -0
  79. package/dist/tools/swarm.d.ts +57 -0
  80. package/dist/tools/swarm.d.ts.map +1 -0
  81. package/dist/types.d.ts +32 -0
  82. package/dist/types.d.ts.map +1 -0
  83. package/memory/_templates/handoff.md +114 -0
  84. package/memory/_templates/plan.md +135 -0
  85. package/memory/_templates/prd.md +147 -0
  86. package/memory/_templates/research.md +108 -0
  87. package/memory/_templates/review.md +117 -0
  88. package/memory/_templates/spec.md +116 -0
  89. package/memory/beads/.gitkeep +0 -0
  90. package/memory/handoffs/.gitkeep +0 -0
  91. package/memory/plans/.gitkeep +0 -0
  92. package/memory/prds/.gitkeep +0 -0
  93. package/memory/research/.gitkeep +0 -0
  94. package/memory/reviews/.gitkeep +0 -0
  95. package/memory/specs/.gitkeep +0 -0
  96. package/package.json +64 -0
  97. package/skill/accessibility-audit/SKILL.md +115 -0
  98. package/skill/beads/SKILL.md +56 -0
  99. package/skill/beads-bridge/SKILL.md +45 -0
  100. package/skill/brainstorming/SKILL.md +41 -0
  101. package/skill/chrome-devtools/SKILL.md +36 -0
  102. package/skill/cloudflare/SKILL.md +96 -0
  103. package/skill/condition-based-waiting/SKILL.md +92 -0
  104. package/skill/deep-research/SKILL.md +130 -0
  105. package/skill/defense-in-depth/SKILL.md +89 -0
  106. package/skill/design-system-audit/SKILL.md +136 -0
  107. package/skill/development-lifecycle/SKILL.md +58 -0
  108. package/skill/dispatching-parallel-agents/SKILL.md +94 -0
  109. package/skill/executing-plans/SKILL.md +54 -0
  110. package/skill/figma/SKILL.md +34 -0
  111. package/skill/finishing-a-development-branch/SKILL.md +127 -0
  112. package/skill/frontend-aesthetics/SKILL.md +63 -0
  113. package/skill/gemini-large-context/SKILL.md +80 -0
  114. package/skill/mockup-to-code/SKILL.md +98 -0
  115. package/skill/mqdh/SKILL.md +54 -0
  116. package/skill/notebooklm/SKILL.md +71 -0
  117. package/skill/playwright/SKILL.md +37 -0
  118. package/skill/playwriter/SKILL.md +56 -0
  119. package/skill/polar/SKILL.md +39 -0
  120. package/skill/receiving-code-review/SKILL.md +47 -0
  121. package/skill/requesting-code-review/SKILL.md +47 -0
  122. package/skill/resend/SKILL.md +85 -0
  123. package/skill/ritual-workflow/SKILL.md +101 -0
  124. package/skill/root-cause-tracing/SKILL.md +73 -0
  125. package/skill/session-management/SKILL.md +53 -0
  126. package/skill/sharing-skills/SKILL.md +50 -0
  127. package/skill/source-code-research/SKILL.md +138 -0
  128. package/skill/subagent-driven-development/SKILL.md +69 -0
  129. package/skill/supabase/SKILL.md +80 -0
  130. package/skill/supabase-postgres-best-practices/SKILL.md +168 -0
  131. package/skill/swarm-coordination/SKILL.md +54 -0
  132. package/skill/systematic-debugging/SKILL.md +58 -0
  133. package/skill/test-driven-development/SKILL.md +53 -0
  134. package/skill/testing-anti-patterns/SKILL.md +100 -0
  135. package/skill/testing-skills-with-subagents/SKILL.md +102 -0
  136. package/skill/ui-ux-research/SKILL.md +93 -0
  137. package/skill/using-git-worktrees/SKILL.md +129 -0
  138. package/skill/v0/SKILL.md +67 -0
  139. package/skill/v1-run/SKILL.md +85 -0
  140. package/skill/vercel-react-best-practices/SKILL.md +174 -0
  141. package/skill/verification-before-completion/SKILL.md +55 -0
  142. package/skill/visual-analysis/SKILL.md +113 -0
  143. package/skill/writing-plans/SKILL.md +55 -0
  144. package/skill/writing-skills/SKILL.md +68 -0
  145. package/src/agents/AGENTS.md +46 -0
  146. package/src/agents/build.md +170 -0
  147. package/src/agents/explore.md +113 -0
  148. package/src/agents/general.md +92 -0
  149. package/src/agents/index.ts +64 -0
  150. package/src/agents/librarian.md +116 -0
  151. package/src/agents/looker.md +107 -0
  152. package/src/agents/oracle.md +138 -0
  153. package/src/agents/plan.md +78 -0
  154. package/src/agents/review.md +98 -0
  155. package/src/agents/scout.md +84 -0
  156. package/src/agents/vision.md +159 -0
@@ -0,0 +1,108 @@
1
+ # Research Template
2
+
3
+ Use this template when documenting research findings.
4
+
5
+ **Output path:** `.opencode/memory/research/YYYY-MM-DD-<topic>.md`
6
+
7
+ ---
8
+
9
+ ```markdown
10
+ ---
11
+ topic: [Topic Name]
12
+ date: YYYY-MM-DD
13
+ confidence: high | medium | low
14
+ depth: quick | standard | deep
15
+ versions:
16
+ - library: "[name]"
17
+ version: "[version]"
18
+ bead_id: [optional]
19
+ ---
20
+
21
+ # Research: [Topic]
22
+
23
+ **Question:** [Original research question]
24
+
25
+ ---
26
+
27
+ ## Summary
28
+
29
+ [2-3 sentence answer to the research question]
30
+
31
+ ---
32
+
33
+ ## Key Findings
34
+
35
+ ### Finding 1: [Title]
36
+ [Details]
37
+
38
+ ### Finding 2: [Title]
39
+ [Details]
40
+
41
+ ### Finding 3: [Title]
42
+ [Details]
43
+
44
+ ---
45
+
46
+ ## Comparison (if applicable)
47
+
48
+ | Option | Pros | Cons | Best For |
49
+ |--------|------|------|----------|
50
+ | [Option A] | [Pros] | [Cons] | [Use case] |
51
+ | [Option B] | [Pros] | [Cons] | [Use case] |
52
+
53
+ ---
54
+
55
+ ## Code Examples
56
+
57
+ ### Example 1: [Title]
58
+ ```[language]
59
+ // Code example
60
+ ```
61
+
62
+ ### Example 2: [Title]
63
+ ```[language]
64
+ // Code example
65
+ ```
66
+
67
+ ---
68
+
69
+ ## Recommendation
70
+
71
+ **Recommended approach:** [What to use/do]
72
+
73
+ **Rationale:**
74
+ 1. [Reason 1]
75
+ 2. [Reason 2]
76
+
77
+ ---
78
+
79
+ ## Verification Steps
80
+
81
+ - [ ] [Item to verify in implementation]
82
+ - [ ] [Test with specific scenario]
83
+
84
+ ---
85
+
86
+ ## Open Questions
87
+
88
+ - [ ] [Unanswered question 1]
89
+ - [ ] [Unanswered question 2]
90
+
91
+ ---
92
+
93
+ ## Sources
94
+
95
+ | Source | Type | Reliability |
96
+ |--------|------|-------------|
97
+ | [URL/Title] | Official Docs | High |
98
+ | [URL/Title] | GitHub | Medium |
99
+ | [URL/Title] | Blog/Article | Low |
100
+
101
+ ---
102
+
103
+ ## Version Notes
104
+
105
+ | Library/Tool | Version Researched | Current Latest | Notes |
106
+ |--------------|-------------------|----------------|-------|
107
+ | [Name] | [v1.2.3] | [v1.2.5] | [Any version-specific notes] |
108
+ ```
@@ -0,0 +1,117 @@
1
+ # Review Template
2
+
3
+ Use this template when reviewing code, PRDs, specs, or plans.
4
+
5
+ **Output path:** `.opencode/memory/reviews/YYYY-MM-DD-<subject>-review.md`
6
+
7
+ ---
8
+
9
+ ```markdown
10
+ ---
11
+ type: Code | PRD | Spec | Plan | Security
12
+ date: YYYY-MM-DD
13
+ reviewer: [Name/Agent]
14
+ artifact: [Path to reviewed artifact]
15
+ verdict: approved | changes_required | blocked
16
+ bead_id: [optional]
17
+ task_ids: []
18
+ ---
19
+
20
+ # Review: [Subject Name]
21
+
22
+ ---
23
+
24
+ ## Summary
25
+
26
+ [2-3 sentences on overall quality and readiness]
27
+
28
+ ---
29
+
30
+ ## Checklist
31
+
32
+ ### Completeness
33
+ - [ ] All required sections present
34
+ - [ ] Acceptance criteria defined
35
+ - [ ] Dependencies identified
36
+
37
+ ### Clarity
38
+ - [ ] No ambiguous language
39
+ - [ ] Technical terms explained
40
+ - [ ] Scope boundaries clear
41
+
42
+ ### Correctness
43
+ - [ ] Logic is sound
44
+ - [ ] No obvious errors
45
+ - [ ] Edge cases considered
46
+
47
+ ### Quality
48
+ - [ ] Follows conventions
49
+ - [ ] Well-structured
50
+ - [ ] Maintainable
51
+
52
+ ---
53
+
54
+ ## Findings
55
+
56
+ ### Critical (Must Fix Before Approval)
57
+ | ID | Issue | Location | Recommendation |
58
+ |----|-------|----------|----------------|
59
+ | C-01 | [Issue] | [Where] | [Fix] |
60
+
61
+ ### High (Should Fix)
62
+ | ID | Issue | Location | Recommendation |
63
+ |----|-------|----------|----------------|
64
+ | H-01 | [Issue] | [Where] | [Fix] |
65
+
66
+ ### Medium (Consider Fixing)
67
+ | ID | Issue | Location | Recommendation |
68
+ |----|-------|----------|----------------|
69
+ | M-01 | [Issue] | [Where] | [Fix] |
70
+
71
+ ### Low (Optional)
72
+ | ID | Issue | Location | Recommendation |
73
+ |----|-------|----------|----------------|
74
+ | L-01 | [Issue] | [Where] | [Fix] |
75
+
76
+ ---
77
+
78
+ ## Strengths
79
+
80
+ 1. ✅ [Strength 1]
81
+ 2. ✅ [Strength 2]
82
+
83
+ ---
84
+
85
+ ## Questions
86
+
87
+ 1. ❓ [Question 1]
88
+ 2. ❓ [Question 2]
89
+
90
+ ---
91
+
92
+ ## Verdict Details
93
+
94
+ ### ✅ Approved
95
+ Ready to proceed. [Optional notes]
96
+
97
+ ### ⚠️ Changes Required
98
+ **Required before approval:**
99
+ 1. [ ] [Change 1]
100
+ 2. [ ] [Change 2]
101
+
102
+ **Re-review needed:** Yes | No
103
+
104
+ ### ❌ Blocked
105
+ **Blocking issues:**
106
+ - [Critical issue preventing approval]
107
+
108
+ **Recommended action:**
109
+ - [What needs to happen]
110
+
111
+ ---
112
+
113
+ ## Next Steps
114
+
115
+ 1. [ ] [Action 1]
116
+ 2. [ ] [Action 2]
117
+ ```
@@ -0,0 +1,116 @@
1
+ # Spec Template
2
+
3
+ Use this template when creating specifications.
4
+
5
+ **Output path:** `.opencode/memory/specs/YYYY-MM-DD-<descriptor>.md`
6
+
7
+ ---
8
+
9
+ ```markdown
10
+ # Specification: [Title]
11
+
12
+ **Date:** YYYY-MM-DD
13
+ **Author:** [Name]
14
+ **Status:** Draft | Confirmed
15
+ **bead_id:** [ID]
16
+
17
+ ---
18
+
19
+ ## Problem & Context
20
+
21
+ ### Problem Statement
22
+ [Why is this needed?]
23
+
24
+ ### Background
25
+ [Context and history]
26
+
27
+ ### Who is Affected
28
+ [Stakeholders and users impacted]
29
+
30
+ ---
31
+
32
+ ## Outcomes
33
+
34
+ ### Success Criteria
35
+ 1. [Measurable outcome 1]
36
+ 2. [Measurable outcome 2]
37
+
38
+ ### Key Results
39
+ | Outcome | Metric | Target |
40
+ |---------|--------|--------|
41
+ | [Outcome] | [How to measure] | [Target value] |
42
+
43
+ ---
44
+
45
+ ## Scope
46
+
47
+ ### In Scope
48
+ - [Feature/capability 1]
49
+ - [Feature/capability 2]
50
+
51
+ ### Out of Scope
52
+ - [Excluded item 1]
53
+ - [Excluded item 2]
54
+
55
+ ### Boundaries
56
+ [Clear boundaries of what this spec covers]
57
+
58
+ ---
59
+
60
+ ## Users
61
+
62
+ ### Primary Users
63
+ | User Type | Description | Needs |
64
+ |-----------|-------------|-------|
65
+ | [Type] | [Who they are] | [What they need] |
66
+
67
+ ### Secondary Users
68
+ | User Type | Description | Needs |
69
+ |-----------|-------------|-------|
70
+
71
+ ---
72
+
73
+ ## Constraints
74
+
75
+ ### Technical Constraints
76
+ - [Constraint 1]
77
+
78
+ ### Business Constraints
79
+ - [Timeline, budget, etc.]
80
+
81
+ ### Dependencies
82
+ | Dependency | Type | Status |
83
+ |------------|------|--------|
84
+ | [Dependency] | Blocking/Soft | Ready/Pending |
85
+
86
+ ---
87
+
88
+ ## Acceptance Criteria
89
+
90
+ | ID | Criteria | Verification |
91
+ |----|----------|--------------|
92
+ | AC-01 | [Criteria] | [How to verify] |
93
+ | AC-02 | [Criteria] | [How to verify] |
94
+
95
+ ---
96
+
97
+ ## Assumptions
98
+
99
+ | ID | Assumption | Status | Notes |
100
+ |----|------------|--------|-------|
101
+ | A-01 | [Assumption] | Confirmed/Unconfirmed | [Notes] |
102
+
103
+ ---
104
+
105
+ ## Open Questions
106
+
107
+ - [ ] [Question 1]
108
+ - [ ] [Question 2]
109
+
110
+ ---
111
+
112
+ ## References
113
+
114
+ - [Link to related docs]
115
+ - [Link to research]
116
+ ```
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json ADDED
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "clikit-plugin",
3
+ "version": "0.1.0",
4
+ "description": "OpenCode plugin with 10 agents, 19 commands, 48 skills, 14 hooks",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "bin": {
9
+ "clikit": "./dist/cli.js"
10
+ },
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js"
15
+ },
16
+ "./schema.json": "./dist/clikit.schema.json"
17
+ },
18
+ "files": [
19
+ "dist",
20
+ "src/agents",
21
+ "skill",
22
+ "command",
23
+ "memory",
24
+ "AGENTS.md"
25
+ ],
26
+ "scripts": {
27
+ "build": "bun build src/index.ts src/cli.ts --outdir dist --target bun --format esm && tsc --emitDeclarationOnly && cp src/clikit.schema.json dist/",
28
+ "clean": "rm -rf dist",
29
+ "prepublishOnly": "bun run clean && bun run build",
30
+ "typecheck": "tsc --noEmit",
31
+ "dev": "bun run build --watch"
32
+ },
33
+ "keywords": [
34
+ "opencode",
35
+ "plugin",
36
+ "agents",
37
+ "ai",
38
+ "llm",
39
+ "cli",
40
+ "claude",
41
+ "gpt"
42
+ ],
43
+ "author": "Kira",
44
+ "license": "MIT",
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "git+https://github.com/KiraKas-Tr/CliKit.git"
48
+ },
49
+ "bugs": {
50
+ "url": "https://github.com/KiraKas-Tr/CliKit/issues"
51
+ },
52
+ "homepage": "https://github.com/KiraKas-Tr/CliKit#readme",
53
+ "dependencies": {
54
+ "@opencode-ai/plugin": "1.1.64",
55
+ "gray-matter": "^4.0.3"
56
+ },
57
+ "devDependencies": {
58
+ "bun-types": "latest",
59
+ "typescript": "^5.7.3"
60
+ },
61
+ "peerDependencies": {
62
+ "bun": ">=1.0.0"
63
+ }
64
+ }
@@ -0,0 +1,115 @@
1
+ ---
2
+ name: accessibility-audit
3
+ description: Use when verifying WCAG compliance, checking keyboard navigation, color contrast, or screen reader compatibility.
4
+ ---
5
+
6
+ # Accessibility Audit Skill
7
+
8
+ You are running the **accessibility-audit** skill. No barriers. Full access.
9
+
10
+ ## WCAG Levels
11
+
12
+ | Level | Coverage | Use Case |
13
+ |-------|----------|----------|
14
+ | A | Minimum | Legal baseline |
15
+ | AA | Standard | Most regulations |
16
+ | AAA | Enhanced | Maximum accessibility |
17
+
18
+ ## Audit Categories
19
+
20
+ ### 1. Color Contrast
21
+
22
+ ```bash
23
+ # Check contrast ratios
24
+ gemini -p "Analyze color contrast in this UI for WCAG AA compliance: $(cat ui.png)"
25
+ ```
26
+
27
+ Requirements:
28
+ - Normal text: 4.5:1 minimum
29
+ - Large text: 3:1 minimum
30
+ - UI components: 3:1 minimum
31
+
32
+ ### 2. Keyboard Navigation
33
+
34
+ Test checklist:
35
+ - [ ] All interactive elements focusable
36
+ - [ ] Focus order matches visual order
37
+ - [ ] Focus visible indicator present
38
+ - [ ] No keyboard traps
39
+ - [ ] Skip links provided
40
+ - [ ] Modal focus management
41
+
42
+ ### 3. Screen Reader Compatibility
43
+
44
+ Test with:
45
+ - VoiceOver (Mac/iOS)
46
+ - NVDA (Windows)
47
+ - TalkBack (Android)
48
+
49
+ Check:
50
+ - [ ] All images have alt text
51
+ - [ ] Headings hierarchy correct (h1→h2→h3)
52
+ - [ ] Landmarks properly labeled
53
+ - [ ] Form labels associated
54
+ - [ ] ARIA attributes correct
55
+ - [ ] Dynamic content announced
56
+
57
+ ### 4. Semantic Structure
58
+
59
+ ```html
60
+ <!-- Good -->
61
+ <nav aria-label="Main navigation">...</nav>
62
+ <main>...</main>
63
+ <article>...</article>
64
+ <aside aria-label="Related content">...</aside>
65
+
66
+ <!-- Bad -->
67
+ <div class="nav">...</div>
68
+ <div class="main">...</div>
69
+ ```
70
+
71
+ ### 5. Forms
72
+
73
+ - [ ] All inputs have associated labels
74
+ - [ ] Error messages linked to inputs
75
+ - [ ] Required fields indicated
76
+ - [ ] Validation errors announced
77
+ - [ ] Instructions provided before inputs
78
+
79
+ ## Pre-Launch Verification
80
+
81
+ ### Automated Testing
82
+ ```bash
83
+ # Lighthouse
84
+ npx lighthouse URL --only-categories=accessibility
85
+
86
+ # axe-core
87
+ npx axe URL
88
+ ```
89
+
90
+ ### Manual Testing
91
+ - [ ] Keyboard-only navigation complete
92
+ - [ ] Screen reader test (2+ browsers)
93
+ - [ ] Zoom to 200% without horizontal scroll
94
+ - [ ] High contrast mode usable
95
+ - [ ] Reduced motion preference respected
96
+
97
+ ## Checklist
98
+
99
+ - [ ] Color contrast: All text meets AA
100
+ - [ ] Keyboard: Full navigation possible
101
+ - [ ] Screen reader: All content accessible
102
+ - [ ] Semantic: Proper HTML structure
103
+ - [ ] Forms: Labels and errors accessible
104
+ - [ ] Motion: Reduced motion supported
105
+ - [ ] Zoom: 200% without horizontal scroll
106
+
107
+ ## Red Flags
108
+
109
+ - Color-only information conveyance
110
+ - Missing alt text on meaningful images
111
+ - Empty or generic link text ("click here")
112
+ - Keyboard traps in modals/menus
113
+ - Auto-playing media
114
+ - Flashing content >3 times/second
115
+ - Timeouts without warning/extension
@@ -0,0 +1,56 @@
1
+ ---
2
+ name: beads
3
+ description: Use for multi-agent task coordination, file locking, and dependency management via beads-village tools.
4
+ ---
5
+
6
+ # Beads Skill
7
+
8
+ You are running the **beads** skill. Multi-agent coordination via beads-village.
9
+
10
+ ## Core Cycle
11
+
12
+ ```
13
+ claim → reserve → work → done
14
+ ```
15
+
16
+ ## beads-village Tools
17
+
18
+ | Tool | Purpose |
19
+ |------|---------|
20
+ | `beads-village_claim` | Pick up next ready task |
21
+ | `beads-village_reserve` | Lock files before editing |
22
+ | `beads-village_done` | Complete task, release files |
23
+ | `beads-village_ready` | List tasks with no blockers |
24
+ | `beads-village_add` | Create new task |
25
+ | `beads-village_assign` | Delegate to role (leader only) |
26
+ | `beads-village_ls` | List all tasks |
27
+ | `beads-village_show` | Get task details |
28
+ | `beads-village_status` | Workspace overview |
29
+
30
+ ## Dependency Management
31
+
32
+ - Tasks with `deps` wait for dependencies to complete
33
+ - Use `beads-village_ready` to find unblocked tasks
34
+ - Check status with `beads-village_status`
35
+
36
+ ## File Locking Protocol
37
+
38
+ 1. Call `reserve` before editing shared files
39
+ 2. TTL defaults to 10 minutes
40
+ 3. Locks auto-release on `done`
41
+ 4. Check `reservations` before editing
42
+
43
+ ## Session Workflow
44
+
45
+ 1. `beads-village_init` on session start
46
+ 2. `beads-village_claim` to get work
47
+ 3. `beads-village_reserve` files you'll edit
48
+ 4. `beads-village_done` when complete
49
+ 5. `beads-village_sync` to push/pull changes
50
+
51
+ ## Best Practices
52
+
53
+ - Always check dependencies before claiming
54
+ - Reserve files early to prevent conflicts
55
+ - Use descriptive task titles
56
+ - Tag tasks with roles (fe, be, mobile, devops, qa)
@@ -0,0 +1,45 @@
1
+ ---
2
+ name: beads-bridge
3
+ description: Use to bridge beads git-backed tasks with OpenCode's native todo system for cross-session coordination.
4
+ ---
5
+
6
+ # Beads Bridge Skill
7
+
8
+ You are running the **beads-bridge** skill. Bridge between beads git-backed tasks and OpenCode todos.
9
+
10
+ ## Purpose
11
+
12
+ Enables coordination between:
13
+ - **Beads git-backed tasks**: Persistent tasks in `.beads/` directory
14
+ - **OpenCode native todos**: Session-native task list
15
+
16
+ ## Bridging Operations
17
+
18
+ | Action | Description |
19
+ |--------|-------------|
20
+ | Sync todos | Import beads tasks to OpenCode todo list |
21
+ | Export progress | Push OpenCode completions to beads |
22
+ | Cross-session | Maintain state across agent sessions |
23
+ | Swarm view | Unified task view for multiple agents |
24
+
25
+ ## Workflow
26
+
27
+ 1. Load beads state from `.beads/`
28
+ 2. Bridge imports ready tasks to native todos
29
+ 3. Work on tasks using native tools
30
+ 4. Bridge syncs completions back to beads
31
+ 5. Other agents see progress via beads git-backed tasks
32
+
33
+ ## Use Cases
34
+
35
+ - Multi-agent swarms sharing a task backlog
36
+ - Long-running projects with session breaks
37
+ - Cross-workspace coordination
38
+ - Human review integration
39
+
40
+ ## Best Practices
41
+
42
+ - Run bridge sync at session start and end
43
+ - Use beads git-backed tasks for persistent storage
44
+ - Use native todos for active work tracking
45
+ - Keep task titles consistent across systems
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: brainstorming
3
+ description: Use when starting a new feature or project without clear requirements. Activates before writing code.
4
+ ---
5
+
6
+ # Brainstorming Skill
7
+
8
+ You are running the **brainstorming** skill. Your goal is to tease out requirements through iterative questioning.
9
+
10
+ ## Process
11
+
12
+ 1. **One question at a time** — Never ask multiple questions in one message
13
+ 2. **Multiple choice preferred** — Offer 2-4 options when possible
14
+ 3. **Build on answers** — Each question should refine understanding
15
+ 4. **Explore alternatives** — Don't assume the first approach is best
16
+
17
+ ## Question Types
18
+
19
+ | Type | When to Use | Example |
20
+ |------|-------------|---------|
21
+ | Clarification | Vague requirement | "Should this be real-time or batch?" |
22
+ | Trade-off | Multiple valid approaches | "Prefer speed or memory efficiency?" |
23
+ | Boundary | Scope unclear | "Should this handle X case?" |
24
+ | Priority | Too many features | "Which matters more: A or B?" |
25
+
26
+ ## Red Flags to Avoid
27
+
28
+ - Jumping to implementation
29
+ - Assuming requirements
30
+ - Skipping the "why"
31
+ - Not exploring alternatives
32
+
33
+ ## Exit Criteria
34
+
35
+ Stop brainstorming when:
36
+ - Requirements are specific and bounded
37
+ - Acceptance criteria are clear
38
+ - Technical approach is decided
39
+ - User says "that's all"
40
+
41
+ Then transition to writing-plans or development-lifecycle.