bobo-ai-cli 3.0.0 → 3.0.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 (188) hide show
  1. package/bundled-skills/CORE_SKILLS.txt +18 -0
  2. package/dist/agent.js +25 -6
  3. package/dist/agent.js.map +1 -1
  4. package/dist/cli.js +9 -7
  5. package/dist/cli.js.map +1 -1
  6. package/dist/config.js +3 -2
  7. package/dist/config.js.map +1 -1
  8. package/dist/cost-tracker.js +1 -0
  9. package/dist/cost-tracker.js.map +1 -1
  10. package/dist/dream.js +6 -3
  11. package/dist/dream.js.map +1 -1
  12. package/dist/hooks.js +3 -2
  13. package/dist/hooks.js.map +1 -1
  14. package/dist/index.js +2 -2
  15. package/dist/index.js.map +1 -1
  16. package/dist/knowledge.js +3 -2
  17. package/dist/knowledge.js.map +1 -1
  18. package/dist/mcp-client.js +59 -41
  19. package/dist/mcp-client.js.map +1 -1
  20. package/dist/memory.js +24 -18
  21. package/dist/memory.js.map +1 -1
  22. package/dist/project.js +2 -1
  23. package/dist/project.js.map +1 -1
  24. package/dist/providers.js +1 -1
  25. package/dist/providers.js.map +1 -1
  26. package/dist/repl.js +4 -2
  27. package/dist/repl.js.map +1 -1
  28. package/dist/sessions.js +37 -4
  29. package/dist/sessions.js.map +1 -1
  30. package/dist/skill-router.js +2 -2
  31. package/dist/skill-router.js.map +1 -1
  32. package/dist/skills/loader.js +2 -2
  33. package/dist/skills/loader.js.map +1 -1
  34. package/dist/skills.js +9 -8
  35. package/dist/skills.js.map +1 -1
  36. package/dist/state/artifacts.js +4 -2
  37. package/dist/state/artifacts.js.map +1 -1
  38. package/dist/state/manager.js +4 -2
  39. package/dist/state/manager.js.map +1 -1
  40. package/dist/state/project-memory.js +4 -2
  41. package/dist/state/project-memory.js.map +1 -1
  42. package/dist/state/recovery.js +3 -2
  43. package/dist/state/recovery.js.map +1 -1
  44. package/dist/structured/loader.js +4 -2
  45. package/dist/structured/loader.js.map +1 -1
  46. package/dist/sub-agent-runner.js +3 -2
  47. package/dist/sub-agent-runner.js.map +1 -1
  48. package/dist/sub-agents.js +5 -3
  49. package/dist/sub-agents.js.map +1 -1
  50. package/dist/tool-governance.js +43 -12
  51. package/dist/tool-governance.js.map +1 -1
  52. package/dist/tools/advanced.js +3 -2
  53. package/dist/tools/advanced.js.map +1 -1
  54. package/dist/tools/browser.js +2 -2
  55. package/dist/tools/browser.js.map +1 -1
  56. package/dist/tools/claude-code.js +2 -2
  57. package/dist/tools/claude-code.js.map +1 -1
  58. package/dist/tools/index.js +36 -12
  59. package/dist/tools/index.js.map +1 -1
  60. package/dist/tools/process-manager.js +2 -2
  61. package/dist/tools/process-manager.js.map +1 -1
  62. package/dist/verification-agent.js +15 -10
  63. package/dist/verification-agent.js.map +1 -1
  64. package/dist/watcher.js +2 -2
  65. package/dist/watcher.js.map +1 -1
  66. package/dist/web.js +1 -1
  67. package/dist/web.js.map +1 -1
  68. package/dist/workflows/ask.js +1 -1
  69. package/dist/workflows/ask.js.map +1 -1
  70. package/package.json +17 -2
  71. package/bundled-skills/Skill_Seekers/SKILL.md +0 -1722
  72. package/bundled-skills/ab-test-setup/SKILL.md +0 -557
  73. package/bundled-skills/adversarial-verification/SKILL.md +0 -95
  74. package/bundled-skills/agent-sdk-dev/SKILL.md +0 -238
  75. package/bundled-skills/agent-tools/SKILL.md +0 -136
  76. package/bundled-skills/analytics-tracking/SKILL.md +0 -597
  77. package/bundled-skills/artifacts-builder/SKILL.md +0 -89
  78. package/bundled-skills/asana/SKILL.md +0 -13
  79. package/bundled-skills/brand-voice/SKILL.md +0 -481
  80. package/bundled-skills/browser-use/SKILL.md +0 -419
  81. package/bundled-skills/cache-optimization-skill/SKILL.md +0 -179
  82. package/bundled-skills/canvas-design/SKILL.md +0 -147
  83. package/bundled-skills/citation-validator/SKILL.md +0 -203
  84. package/bundled-skills/clangd-lsp/SKILL.md +0 -52
  85. package/bundled-skills/code-simplifier/SKILL.md +0 -13
  86. package/bundled-skills/commit-commands/SKILL.md +0 -258
  87. package/bundled-skills/competitor-alternatives/SKILL.md +0 -795
  88. package/bundled-skills/content-atomizer/SKILL.md +0 -910
  89. package/bundled-skills/content-research-writer/SKILL.md +0 -605
  90. package/bundled-skills/context7/SKILL.md +0 -13
  91. package/bundled-skills/copy-editing/SKILL.md +0 -494
  92. package/bundled-skills/copywriting/SKILL.md +0 -510
  93. package/bundled-skills/csharp-lsp/SKILL.md +0 -40
  94. package/bundled-skills/decision-making-framework/SKILL.md +0 -154
  95. package/bundled-skills/deep-research/SKILL.md +0 -236
  96. package/bundled-skills/developer-growth-analysis/SKILL.md +0 -335
  97. package/bundled-skills/direct-response-copy/SKILL.md +0 -2336
  98. package/bundled-skills/docker-expert/SKILL.md +0 -229
  99. package/bundled-skills/document-skills/SKILL.md +0 -13
  100. package/bundled-skills/documentation-expert/SKILL.md +0 -126
  101. package/bundled-skills/email-sequence/SKILL.md +0 -1061
  102. package/bundled-skills/email-sequences/SKILL.md +0 -910
  103. package/bundled-skills/example-plugin/SKILL.md +0 -72
  104. package/bundled-skills/explanatory-output-style/SKILL.md +0 -82
  105. package/bundled-skills/feature-dev/SKILL.md +0 -458
  106. package/bundled-skills/file-organizer/SKILL.md +0 -466
  107. package/bundled-skills/firebase.disabled/SKILL.md +0 -13
  108. package/bundled-skills/form-cro/SKILL.md +0 -488
  109. package/bundled-skills/free-tool-strategy/SKILL.md +0 -636
  110. package/bundled-skills/frontend-design/SKILL.md +0 -41
  111. package/bundled-skills/frontend-design-offical/SKILL.md +0 -55
  112. package/bundled-skills/gitlab/SKILL.md +0 -13
  113. package/bundled-skills/gopls-lsp/SKILL.md +0 -32
  114. package/bundled-skills/got-controller/SKILL.md +0 -218
  115. package/bundled-skills/greptile/SKILL.md +0 -72
  116. package/bundled-skills/hookify/SKILL.md +0 -376
  117. package/bundled-skills/image-editor/SKILL.md +0 -189
  118. package/bundled-skills/image-enhancer/SKILL.md +0 -109
  119. package/bundled-skills/jdtls-lsp/SKILL.md +0 -49
  120. package/bundled-skills/json-canvas/SKILL.md +0 -654
  121. package/bundled-skills/keyword-research/SKILL.md +0 -559
  122. package/bundled-skills/kotlin-lsp/SKILL.md +0 -28
  123. package/bundled-skills/laravel-boost/SKILL.md +0 -13
  124. package/bundled-skills/launch-strategy/SKILL.md +0 -394
  125. package/bundled-skills/lead-magnet/SKILL.md +0 -393
  126. package/bundled-skills/learning-output-style/SKILL.md +0 -106
  127. package/bundled-skills/linear/SKILL.md +0 -13
  128. package/bundled-skills/lua-lsp/SKILL.md +0 -47
  129. package/bundled-skills/marketing-ideas/SKILL.md +0 -720
  130. package/bundled-skills/marketing-psychology/SKILL.md +0 -534
  131. package/bundled-skills/mcp-builder/SKILL.md +0 -369
  132. package/bundled-skills/meeting-insights-analyzer/SKILL.md +0 -347
  133. package/bundled-skills/memory-evolution-system/SKILL.md +0 -172
  134. package/bundled-skills/multi-lens-thinking/SKILL.md +0 -407
  135. package/bundled-skills/nano-banana-pro/SKILL.md +0 -116
  136. package/bundled-skills/newsletter/SKILL.md +0 -736
  137. package/bundled-skills/notebooklm/SKILL.md +0 -296
  138. package/bundled-skills/obsidian-bases/SKILL.md +0 -634
  139. package/bundled-skills/obsidian-markdown/SKILL.md +0 -651
  140. package/bundled-skills/onboarding-cro/SKILL.md +0 -494
  141. package/bundled-skills/page-cro/SKILL.md +0 -379
  142. package/bundled-skills/paid-ads/SKILL.md +0 -624
  143. package/bundled-skills/paywall-upgrade-cro/SKILL.md +0 -651
  144. package/bundled-skills/php-lsp/SKILL.md +0 -36
  145. package/bundled-skills/playwright/SKILL.md +0 -13
  146. package/bundled-skills/plugin-dev/SKILL.md +0 -434
  147. package/bundled-skills/popup-cro/SKILL.md +0 -520
  148. package/bundled-skills/positioning-angles/SKILL.md +0 -330
  149. package/bundled-skills/pr-review-toolkit/SKILL.md +0 -359
  150. package/bundled-skills/pricing-strategy/SKILL.md +0 -777
  151. package/bundled-skills/proactive-self-improving/SKILL.md +0 -435
  152. package/bundled-skills/programmatic-seo/SKILL.md +0 -714
  153. package/bundled-skills/pyright-lsp/SKILL.md +0 -43
  154. package/bundled-skills/quality-assurance-framework/SKILL.md +0 -168
  155. package/bundled-skills/question-refiner/SKILL.md +0 -160
  156. package/bundled-skills/ralph-loop/SKILL.md +0 -205
  157. package/bundled-skills/refactoring-expert/SKILL.md +0 -103
  158. package/bundled-skills/referral-program/SKILL.md +0 -668
  159. package/bundled-skills/research-executor/SKILL.md +0 -164
  160. package/bundled-skills/review-with-security/SKILL.md +0 -12
  161. package/bundled-skills/rust-analyzer-lsp/SKILL.md +0 -50
  162. package/bundled-skills/schema-markup/SKILL.md +0 -647
  163. package/bundled-skills/security-audit-expert/SKILL.md +0 -124
  164. package/bundled-skills/security-expert/SKILL.md +0 -140
  165. package/bundled-skills/security-guidance/SKILL.md +0 -13
  166. package/bundled-skills/seedance-prompt/SKILL.md +0 -139
  167. package/bundled-skills/self-evolution/SKILL.md +0 -1160
  168. package/bundled-skills/seo-audit/SKILL.md +0 -432
  169. package/bundled-skills/seo-content/SKILL.md +0 -787
  170. package/bundled-skills/serena/SKILL.md +0 -13
  171. package/bundled-skills/signup-flow-cro/SKILL.md +0 -409
  172. package/bundled-skills/skill-manager/SKILL.md +0 -226
  173. package/bundled-skills/skill-share/SKILL.md +0 -98
  174. package/bundled-skills/slack/SKILL.md +0 -13
  175. package/bundled-skills/social-content/SKILL.md +0 -878
  176. package/bundled-skills/spec-flow-skill/SKILL.md +0 -124
  177. package/bundled-skills/stripe/SKILL.md +0 -13
  178. package/bundled-skills/supabase/SKILL.md +0 -13
  179. package/bundled-skills/swift-lsp/SKILL.md +0 -40
  180. package/bundled-skills/synthesizer/SKILL.md +0 -236
  181. package/bundled-skills/template-skill/SKILL.md +0 -16
  182. package/bundled-skills/theme-factory/SKILL.md +0 -72
  183. package/bundled-skills/tiktok-research/SKILL.md +0 -208
  184. package/bundled-skills/typescript-lsp/SKILL.md +0 -36
  185. package/bundled-skills/ui-ux-pro-max/SKILL.md +0 -247
  186. package/bundled-skills/visual-prompt-engineer/SKILL.md +0 -102
  187. package/bundled-skills/webapp-testing/SKILL.md +0 -111
  188. package/bundled-skills/wide-research/SKILL.md +0 -191
@@ -1,434 +0,0 @@
1
- ---
2
- id: "plugin-dev"
3
- title: "Plugin Development Toolkit"
4
- category: "dev-tools"
5
- tags: ["plugin development toolkit", "overview", "guided workflow command", "skills", "installation", "quick start", "development workflow", "features", "validate hooks.json structure"]
6
- triggers: []
7
- dependencies: []
8
- source: "E:/Bobo's Coding cache/.claude/skills/plugin-dev"
9
- ---
10
-
11
- # Plugin Development Toolkit
12
-
13
- A comprehensive toolkit for developing Claude Code plugins with expert guidance on hooks, MCP integration, plugin structure, and marketplace publishing.
14
-
15
- ## Overview
16
-
17
- The plugin-dev toolkit provides seven specialized skills to help you build high-quality Claude Code plugins:
18
-
19
- 1. **Hook Development** - Advanced hooks API and event-driven automation
20
- 2. **MCP Integration** - Model Context Protocol server integration
21
- 3. **Plugin Structure** - Plugin organization and manifest configuration
22
- 4. **Plugin Settings** - Configuration patterns using .claude/plugin-name.local.md files
23
- 5. **Command Development** - Creating slash commands with frontmatter and arguments
24
- 6. **Agent Development** - Creating autonomous agents with AI-assisted generation
25
- 7. **Skill Development** - Creating skills with progressive disclosure and strong triggers
26
-
27
- Each skill follows best practices with progressive disclosure: lean core documentation, detailed references, working examples, and utility scripts.
28
-
29
- ## Guided Workflow Command
30
-
31
- ### /plugin-dev:create-plugin
32
-
33
- A comprehensive, end-to-end workflow command for creating plugins from scratch, similar to the feature-dev workflow.
34
-
35
- **8-Phase Process:**
36
-
37
- 1. **Discovery** - Understand plugin purpose and requirements
38
- 2. **Component Planning** - Determine needed skills, commands, agents, hooks, MCP
39
- 3. **Detailed Design** - Specify each component and resolve ambiguities
40
- 4. **Structure Creation** - Set up directories and manifest
41
- 5. **Component Implementation** - Create each component using AI-assisted agents
42
- 6. **Validation** - Run plugin-validator and component-specific checks
43
- 7. **Testing** - Verify plugin works in Claude Code
44
- 8. **Documentation** - Finalize README and prepare for distribution
45
-
46
- **Features:**
47
-
48
- - Asks clarifying questions at each phase
49
- - Loads relevant skills automatically
50
- - Uses agent-creator for AI-assisted agent generation
51
- - Runs validation utilities (validate-agent.sh, validate-hook-schema.sh, etc.)
52
- - Follows plugin-dev's own proven patterns
53
- - Guides through testing and verification
54
-
55
- **Usage:**
56
-
57
- ```bash
58
- /plugin-dev:create-plugin [optional description]
59
-
60
- # Examples:
61
- /plugin-dev:create-plugin
62
- /plugin-dev:create-plugin A plugin for managing database migrations
63
- ```
64
-
65
- Use this workflow for structured, high-quality plugin development from concept to completion.
66
-
67
- ## Skills
68
-
69
- ### 1. Hook Development
70
-
71
- **Trigger phrases:** "create a hook", "add a PreToolUse hook", "validate tool use", "implement prompt-based hooks", "${CLAUDE_PLUGIN_ROOT}", "block dangerous commands"
72
-
73
- **What it covers:**
74
-
75
- - Prompt-based hooks (recommended) with LLM decision-making
76
- - Command hooks for deterministic validation
77
- - All hook events: PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification
78
- - Hook output formats and JSON schemas
79
- - Security best practices and input validation
80
- - ${CLAUDE_PLUGIN_ROOT} for portable paths
81
-
82
- **Resources:**
83
-
84
- - Core SKILL.md (1,619 words)
85
- - 3 example hook scripts (validate-write, validate-bash, load-context)
86
- - 3 reference docs: patterns, migration, advanced techniques
87
- - 3 utility scripts: validate-hook-schema.sh, test-hook.sh, hook-linter.sh
88
-
89
- **Use when:** Creating event-driven automation, validating operations, or enforcing policies in your plugin.
90
-
91
- ### 2. MCP Integration
92
-
93
- **Trigger phrases:** "add MCP server", "integrate MCP", "configure .mcp.json", "Model Context Protocol", "stdio/SSE/HTTP server", "connect external service"
94
-
95
- **What it covers:**
96
-
97
- - MCP server configuration (.mcp.json vs plugin.json)
98
- - All server types: stdio (local), SSE (hosted/OAuth), HTTP (REST), WebSocket (real-time)
99
- - Environment variable expansion (${CLAUDE_PLUGIN_ROOT}, user vars)
100
- - MCP tool naming and usage in commands/agents
101
- - Authentication patterns: OAuth, tokens, env vars
102
- - Integration patterns and performance optimization
103
-
104
- **Resources:**
105
-
106
- - Core SKILL.md (1,666 words)
107
- - 3 example configurations (stdio, SSE, HTTP)
108
- - 3 reference docs: server-types (~3,200w), authentication (~2,800w), tool-usage (~2,600w)
109
-
110
- **Use when:** Integrating external services, APIs, databases, or tools into your plugin.
111
-
112
- ### 3. Plugin Structure
113
-
114
- **Trigger phrases:** "plugin structure", "plugin.json manifest", "auto-discovery", "component organization", "plugin directory layout"
115
-
116
- **What it covers:**
117
-
118
- - Standard plugin directory structure and auto-discovery
119
- - plugin.json manifest format and all fields
120
- - Component organization (commands, agents, skills, hooks)
121
- - ${CLAUDE_PLUGIN_ROOT} usage throughout
122
- - File naming conventions and best practices
123
- - Minimal, standard, and advanced plugin patterns
124
-
125
- **Resources:**
126
-
127
- - Core SKILL.md (1,619 words)
128
- - 3 example structures (minimal, standard, advanced)
129
- - 2 reference docs: component-patterns, manifest-reference
130
-
131
- **Use when:** Starting a new plugin, organizing components, or configuring the plugin manifest.
132
-
133
- ### 4. Plugin Settings
134
-
135
- **Trigger phrases:** "plugin settings", "store plugin configuration", ".local.md files", "plugin state files", "read YAML frontmatter", "per-project plugin settings"
136
-
137
- **What it covers:**
138
-
139
- - .claude/plugin-name.local.md pattern for configuration
140
- - YAML frontmatter + markdown body structure
141
- - Parsing techniques for bash scripts (sed, awk, grep patterns)
142
- - Temporarily active hooks (flag files and quick-exit)
143
- - Real-world examples from multi-agent-swarm and ralph-loop plugins
144
- - Atomic file updates and validation
145
- - Gitignore and lifecycle management
146
-
147
- **Resources:**
148
-
149
- - Core SKILL.md (1,623 words)
150
- - 3 examples (read-settings hook, create-settings command, templates)
151
- - 2 reference docs: parsing-techniques, real-world-examples
152
- - 2 utility scripts: validate-settings.sh, parse-frontmatter.sh
153
-
154
- **Use when:** Making plugins configurable, storing per-project state, or implementing user preferences.
155
-
156
- ### 5. Command Development
157
-
158
- **Trigger phrases:** "create a slash command", "add a command", "command frontmatter", "define command arguments", "organize commands"
159
-
160
- **What it covers:**
161
-
162
- - Slash command structure and markdown format
163
- - YAML frontmatter fields (description, argument-hint, allowed-tools)
164
- - Dynamic arguments and file references
165
- - Bash execution for context
166
- - Command organization and namespacing
167
- - Best practices for command development
168
-
169
- **Resources:**
170
-
171
- - Core SKILL.md (1,535 words)
172
- - Examples and reference documentation
173
- - Command organization patterns
174
-
175
- **Use when:** Creating slash commands, defining command arguments, or organizing plugin commands.
176
-
177
- ### 6. Agent Development
178
-
179
- **Trigger phrases:** "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "autonomous agent"
180
-
181
- **What it covers:**
182
-
183
- - Agent file structure (YAML frontmatter + system prompt)
184
- - All frontmatter fields (name, description, model, color, tools)
185
- - Description format with <example> blocks for reliable triggering
186
- - System prompt design patterns (analysis, generation, validation, orchestration)
187
- - AI-assisted agent generation using Claude Code's proven prompt
188
- - Validation rules and best practices
189
- - Complete production-ready agent examples
190
-
191
- **Resources:**
192
-
193
- - Core SKILL.md (1,438 words)
194
- - 2 examples: agent-creation-prompt (AI-assisted workflow), complete-agent-examples (4 full agents)
195
- - 3 reference docs: agent-creation-system-prompt (from Claude Code), system-prompt-design (~4,000w), triggering-examples (~2,500w)
196
- - 1 utility script: validate-agent.sh
197
-
198
- **Use when:** Creating autonomous agents, defining agent behavior, or implementing AI-assisted agent generation.
199
-
200
- ### 7. Skill Development
201
-
202
- **Trigger phrases:** "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content"
203
-
204
- **What it covers:**
205
-
206
- - Skill structure (SKILL.md with YAML frontmatter)
207
- - Progressive disclosure principle (metadata → SKILL.md → resources)
208
- - Strong trigger descriptions with specific phrases
209
- - Writing style (imperative/infinitive form, third person)
210
- - Bundled resources organization (references/, examples/, scripts/)
211
- - Skill creation workflow
212
- - Based on skill-creator methodology adapted for Claude Code plugins
213
-
214
- **Resources:**
215
-
216
- - Core SKILL.md (1,232 words)
217
- - References: skill-creator methodology, plugin-dev patterns
218
- - Examples: Study plugin-dev's own skills as templates
219
-
220
- **Use when:** Creating new skills for plugins or improving existing skill quality.
221
-
222
- ## Installation
223
-
224
- Install from claude-code-marketplace:
225
-
226
- ```bash
227
- /plugin install plugin-dev@claude-code-marketplace
228
- ```
229
-
230
- Or for development, use directly:
231
-
232
- ```bash
233
- cc --plugin-dir /path/to/plugin-dev
234
- ```
235
-
236
- ## Quick Start
237
-
238
- ### Creating Your First Plugin
239
-
240
- 1. **Plan your plugin structure:**
241
- - Ask: "What's the best directory structure for a plugin with commands and MCP integration?"
242
- - The plugin-structure skill will guide you
243
-
244
- 2. **Add MCP integration (if needed):**
245
- - Ask: "How do I add an MCP server for database access?"
246
- - The mcp-integration skill provides examples and patterns
247
-
248
- 3. **Implement hooks (if needed):**
249
- - Ask: "Create a PreToolUse hook that validates file writes"
250
- - The hook-development skill gives working examples and utilities
251
-
252
- ## Development Workflow
253
-
254
- The plugin-dev toolkit supports your entire plugin development lifecycle:
255
-
256
- ```
257
- ┌─────────────────────┐
258
- │ Design Structure │ → plugin-structure skill
259
- │ (manifest, layout) │
260
- └──────────┬──────────┘
261
-
262
- ┌──────────▼──────────┐
263
- │ Add Components │
264
- │ (commands, agents, │ → All skills provide guidance
265
- │ skills, hooks) │
266
- └──────────┬──────────┘
267
-
268
- ┌──────────▼──────────┐
269
- │ Integrate Services │ → mcp-integration skill
270
- │ (MCP servers) │
271
- └──────────┬──────────┘
272
-
273
- ┌──────────▼──────────┐
274
- │ Add Automation │ → hook-development skill
275
- │ (hooks, validation)│ + utility scripts
276
- └──────────┬──────────┘
277
-
278
- ┌──────────▼──────────┐
279
- │ Test & Validate │ → hook-development utilities
280
- │ │ validate-hook-schema.sh
281
- └──────────┬──────────┘ test-hook.sh
282
- │ hook-linter.sh
283
- ```
284
-
285
- ## Features
286
-
287
- ### Progressive Disclosure
288
-
289
- Each skill uses a three-level disclosure system:
290
-
291
- 1. **Metadata** (always loaded): Concise descriptions with strong triggers
292
- 2. **Core SKILL.md** (when triggered): Essential API reference (~1,500-2,000 words)
293
- 3. **References/Examples** (as needed): Detailed guides, patterns, and working code
294
-
295
- This keeps Claude Code's context focused while providing deep knowledge when needed.
296
-
297
- ### Utility Scripts
298
-
299
- The hook-development skill includes production-ready utilities:
300
-
301
- ```bash
302
- # Validate hooks.json structure
303
- ./validate-hook-schema.sh hooks/hooks.json
304
-
305
- # Test hooks before deployment
306
- ./test-hook.sh my-hook.sh test-input.json
307
-
308
- # Lint hook scripts for best practices
309
- ./hook-linter.sh my-hook.sh
310
- ```
311
-
312
- ### Working Examples
313
-
314
- Every skill provides working examples:
315
-
316
- - **Hook Development**: 3 complete hook scripts (bash, write validation, context loading)
317
- - **MCP Integration**: 3 server configurations (stdio, SSE, HTTP)
318
- - **Plugin Structure**: 3 plugin layouts (minimal, standard, advanced)
319
- - **Plugin Settings**: 3 examples (read-settings hook, create-settings command, templates)
320
- - **Command Development**: 10 complete command examples (review, test, deploy, docs, etc.)
321
-
322
- ## Documentation Standards
323
-
324
- All skills follow consistent standards:
325
-
326
- - Third-person descriptions ("This skill should be used when...")
327
- - Strong trigger phrases for reliable loading
328
- - Imperative/infinitive form throughout
329
- - Based on official Claude Code documentation
330
- - Security-first approach with best practices
331
-
332
- ## Total Content
333
-
334
- - **Core Skills**: ~11,065 words across 7 SKILL.md files
335
- - **Reference Docs**: ~10,000+ words of detailed guides
336
- - **Examples**: 12+ working examples (hook scripts, MCP configs, plugin layouts, settings files)
337
- - **Utilities**: 6 production-ready validation/testing/parsing scripts
338
-
339
- ## Use Cases
340
-
341
- ### Building a Database Plugin
342
-
343
- ```
344
- 1. "What's the structure for a plugin with MCP integration?"
345
- → plugin-structure skill provides layout
346
-
347
- 2. "How do I configure an stdio MCP server for PostgreSQL?"
348
- → mcp-integration skill shows configuration
349
-
350
- 3. "Add a Stop hook to ensure connections close properly"
351
- → hook-development skill provides pattern
352
-
353
- ```
354
-
355
- ### Creating a Validation Plugin
356
-
357
- ```
358
- 1. "Create hooks that validate all file writes for security"
359
- → hook-development skill with examples
360
-
361
- 2. "Test my hooks before deploying"
362
- → Use validate-hook-schema.sh and test-hook.sh
363
-
364
- 3. "Organize my hooks and configuration files"
365
- → plugin-structure skill shows best practices
366
-
367
- ```
368
-
369
- ### Integrating External Services
370
-
371
- ```
372
- 1. "Add Asana MCP server with OAuth"
373
- → mcp-integration skill covers SSE servers
374
-
375
- 2. "Use Asana tools in my commands"
376
- → mcp-integration tool-usage reference
377
-
378
- 3. "Structure my plugin with commands and MCP"
379
- → plugin-structure skill provides patterns
380
- ```
381
-
382
- ## Best Practices
383
-
384
- All skills emphasize:
385
-
386
- ✅ **Security First**
387
-
388
- - Input validation in hooks
389
- - HTTPS/WSS for MCP servers
390
- - Environment variables for credentials
391
- - Principle of least privilege
392
-
393
- ✅ **Portability**
394
-
395
- - Use ${CLAUDE_PLUGIN_ROOT} everywhere
396
- - Relative paths only
397
- - Environment variable substitution
398
-
399
- ✅ **Testing**
400
-
401
- - Validate configurations before deployment
402
- - Test hooks with sample inputs
403
- - Use debug mode (`claude --debug`)
404
-
405
- ✅ **Documentation**
406
-
407
- - Clear README files
408
- - Documented environment variables
409
- - Usage examples
410
-
411
- ## Contributing
412
-
413
- This plugin is part of the claude-code-marketplace. To contribute improvements:
414
-
415
- 1. Fork the marketplace repository
416
- 2. Make changes to plugin-dev/
417
- 3. Test locally with `cc --plugin-dir`
418
- 4. Create PR following marketplace-publishing guidelines
419
-
420
- ## Version
421
-
422
- 0.1.0 - Initial release with seven comprehensive skills and three validation agents
423
-
424
- ## Author
425
-
426
- Daisy Hollman (daisy@anthropic.com)
427
-
428
- ## License
429
-
430
- MIT License - See repository for details
431
-
432
- ---
433
-
434
- **Note:** This toolkit is designed to help you build high-quality plugins. The skills load automatically when you ask relevant questions, providing expert guidance exactly when you need it.