bobo-ai-cli 1.0.1
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/LICENSE +21 -0
- package/README.md +216 -0
- package/dist/agent.d.ts +9 -0
- package/dist/agent.js +144 -0
- package/dist/agent.js.map +1 -0
- package/dist/config.d.ts +15 -0
- package/dist/config.js +76 -0
- package/dist/config.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +366 -0
- package/dist/index.js.map +1 -0
- package/dist/knowledge-commands.d.ts +2 -0
- package/dist/knowledge-commands.js +40 -0
- package/dist/knowledge-commands.js.map +1 -0
- package/dist/knowledge.d.ts +17 -0
- package/dist/knowledge.js +112 -0
- package/dist/knowledge.js.map +1 -0
- package/dist/memory.d.ts +17 -0
- package/dist/memory.js +215 -0
- package/dist/memory.js.map +1 -0
- package/dist/planner.d.ts +22 -0
- package/dist/planner.js +130 -0
- package/dist/planner.js.map +1 -0
- package/dist/project.d.ts +25 -0
- package/dist/project.js +117 -0
- package/dist/project.js.map +1 -0
- package/dist/rules-commands.d.ts +2 -0
- package/dist/rules-commands.js +51 -0
- package/dist/rules-commands.js.map +1 -0
- package/dist/skills.d.ts +28 -0
- package/dist/skills.js +349 -0
- package/dist/skills.js.map +1 -0
- package/dist/structured/loader.d.ts +19 -0
- package/dist/structured/loader.js +147 -0
- package/dist/structured/loader.js.map +1 -0
- package/dist/structured/paths.d.ts +2 -0
- package/dist/structured/paths.js +14 -0
- package/dist/structured/paths.js.map +1 -0
- package/dist/structured/project-scaffold.d.ts +7 -0
- package/dist/structured/project-scaffold.js +60 -0
- package/dist/structured/project-scaffold.js.map +1 -0
- package/dist/structured/render-markdown.d.ts +37 -0
- package/dist/structured/render-markdown.js +47 -0
- package/dist/structured/render-markdown.js.map +1 -0
- package/dist/structured/render-table.d.ts +1 -0
- package/dist/structured/render-table.js +15 -0
- package/dist/structured/render-table.js.map +1 -0
- package/dist/structured/search.d.ts +10 -0
- package/dist/structured/search.js +104 -0
- package/dist/structured/search.js.map +1 -0
- package/dist/structured/skill-runner.d.ts +15 -0
- package/dist/structured/skill-runner.js +60 -0
- package/dist/structured/skill-runner.js.map +1 -0
- package/dist/structured/types.d.ts +212 -0
- package/dist/structured/types.js +97 -0
- package/dist/structured/types.js.map +1 -0
- package/dist/structured-skills-commands.d.ts +3 -0
- package/dist/structured-skills-commands.js +126 -0
- package/dist/structured-skills-commands.js.map +1 -0
- package/dist/structured-template-commands.d.ts +2 -0
- package/dist/structured-template-commands.js +34 -0
- package/dist/structured-template-commands.js.map +1 -0
- package/dist/tools/index.d.ts +3 -0
- package/dist/tools/index.js +450 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/ui.d.ts +19 -0
- package/dist/ui.js +72 -0
- package/dist/ui.js.map +1 -0
- package/dist/web.d.ts +4 -0
- package/dist/web.js +124 -0
- package/dist/web.js.map +1 -0
- package/knowledge/advanced-patterns.md +70 -0
- package/knowledge/agent-directives.md +74 -0
- package/knowledge/dream.md +36 -0
- package/knowledge/engineering.md +46 -0
- package/knowledge/error-catalog.md +33 -0
- package/knowledge/index.json +170 -0
- package/knowledge/memory/cache-optimization-and-skill-integration.md +102 -0
- package/knowledge/memory/engineering-patterns.md +134 -0
- package/knowledge/memory/feedback_root_structure.md +16 -0
- package/knowledge/memory/project-contexts.md +69 -0
- package/knowledge/memory/tools-and-services.md +85 -0
- package/knowledge/rules/agents.md +62 -0
- package/knowledge/rules/blocking-rules.md +323 -0
- package/knowledge/rules/cache-management.md +379 -0
- package/knowledge/rules/capability-evolution.md +132 -0
- package/knowledge/rules/coding.md +126 -0
- package/knowledge/rules/engineering-workflows.md +225 -0
- package/knowledge/rules/evomap-content-guidelines.md +354 -0
- package/knowledge/rules/evomap-guide.md +224 -0
- package/knowledge/rules/git.md +31 -0
- package/knowledge/rules/hooks.md +106 -0
- package/knowledge/rules/performance.md +101 -0
- package/knowledge/rules/remotion-auto-production.md +1120 -0
- package/knowledge/rules/security.md +46 -0
- package/knowledge/rules/testing.md +32 -0
- package/knowledge/rules/work-mode.md +208 -0
- package/knowledge/rules.md +62 -0
- package/knowledge/skills/Skill_Seekers.md +1722 -0
- package/knowledge/skills/ab-test-setup.md +557 -0
- package/knowledge/skills/agent-sdk-dev.md +238 -0
- package/knowledge/skills/agent-tools.md +136 -0
- package/knowledge/skills/analytics-tracking.md +597 -0
- package/knowledge/skills/artifacts-builder.md +89 -0
- package/knowledge/skills/asana.md +13 -0
- package/knowledge/skills/backend-expert.md +97 -0
- package/knowledge/skills/brand-voice.md +481 -0
- package/knowledge/skills/browser-use.md +419 -0
- package/knowledge/skills/cache-optimization-skill.md +179 -0
- package/knowledge/skills/canvas-design.md +147 -0
- package/knowledge/skills/citation-validator.md +203 -0
- package/knowledge/skills/clangd-lsp.md +52 -0
- package/knowledge/skills/code-review-expert.md +85 -0
- package/knowledge/skills/code-review.md +280 -0
- package/knowledge/skills/code-simplifier.md +13 -0
- package/knowledge/skills/commit-commands.md +258 -0
- package/knowledge/skills/competitor-alternatives.md +795 -0
- package/knowledge/skills/content-atomizer.md +910 -0
- package/knowledge/skills/content-research-writer.md +605 -0
- package/knowledge/skills/context-optimization-suite.md +162 -0
- package/knowledge/skills/context7.md +13 -0
- package/knowledge/skills/copy-editing.md +494 -0
- package/knowledge/skills/copywriting.md +510 -0
- package/knowledge/skills/csharp-lsp.md +40 -0
- package/knowledge/skills/decision-making-framework.md +154 -0
- package/knowledge/skills/developer-growth-analysis.md +335 -0
- package/knowledge/skills/direct-response-copy.md +2336 -0
- package/knowledge/skills/docker-expert.md +229 -0
- package/knowledge/skills/document-skills.md +13 -0
- package/knowledge/skills/documentation-expert.md +126 -0
- package/knowledge/skills/email-sequence.md +1061 -0
- package/knowledge/skills/email-sequences.md +910 -0
- package/knowledge/skills/example-plugin.md +72 -0
- package/knowledge/skills/explanatory-output-style.md +82 -0
- package/knowledge/skills/feature-dev.md +458 -0
- package/knowledge/skills/file-organizer.md +466 -0
- package/knowledge/skills/firebase.disabled.md +13 -0
- package/knowledge/skills/form-cro.md +488 -0
- package/knowledge/skills/free-tool-strategy.md +636 -0
- package/knowledge/skills/frontend-design-offical.md +55 -0
- package/knowledge/skills/frontend-design.md +41 -0
- package/knowledge/skills/frontend-expert.md +93 -0
- package/knowledge/skills/github.md +13 -0
- package/knowledge/skills/gitlab.md +13 -0
- package/knowledge/skills/gopls-lsp.md +32 -0
- package/knowledge/skills/got-controller.md +218 -0
- package/knowledge/skills/greptile.md +72 -0
- package/knowledge/skills/hookify.md +376 -0
- package/knowledge/skills/image-editor.md +189 -0
- package/knowledge/skills/image-enhancer.md +109 -0
- package/knowledge/skills/jdtls-lsp.md +49 -0
- package/knowledge/skills/json-canvas.md +654 -0
- package/knowledge/skills/keyword-research.md +559 -0
- package/knowledge/skills/kotlin-lsp.md +28 -0
- package/knowledge/skills/laravel-boost.md +13 -0
- package/knowledge/skills/launch-strategy.md +394 -0
- package/knowledge/skills/lead-magnet.md +393 -0
- package/knowledge/skills/learning-output-style.md +106 -0
- package/knowledge/skills/linear.md +13 -0
- package/knowledge/skills/lua-lsp.md +47 -0
- package/knowledge/skills/marketing-ideas.md +720 -0
- package/knowledge/skills/marketing-psychology.md +534 -0
- package/knowledge/skills/mcp-builder.md +369 -0
- package/knowledge/skills/meeting-insights-analyzer.md +347 -0
- package/knowledge/skills/memory-evolution-system.md +172 -0
- package/knowledge/skills/multi-lens-thinking.md +407 -0
- package/knowledge/skills/nano-banana-pro.md +116 -0
- package/knowledge/skills/newsletter.md +736 -0
- package/knowledge/skills/notebooklm.md +296 -0
- package/knowledge/skills/obsidian-bases.md +634 -0
- package/knowledge/skills/obsidian-markdown.md +651 -0
- package/knowledge/skills/onboarding-cro.md +494 -0
- package/knowledge/skills/orchestrator.md +681 -0
- package/knowledge/skills/page-cro.md +379 -0
- package/knowledge/skills/paid-ads.md +624 -0
- package/knowledge/skills/paywall-upgrade-cro.md +651 -0
- package/knowledge/skills/php-lsp.md +36 -0
- package/knowledge/skills/planning-with-files.md +193 -0
- package/knowledge/skills/playwright.md +13 -0
- package/knowledge/skills/plugin-dev.md +434 -0
- package/knowledge/skills/popup-cro.md +520 -0
- package/knowledge/skills/positioning-angles.md +330 -0
- package/knowledge/skills/pr-review-toolkit.md +359 -0
- package/knowledge/skills/pricing-strategy.md +777 -0
- package/knowledge/skills/programmatic-seo.md +714 -0
- package/knowledge/skills/pyright-lsp.md +43 -0
- package/knowledge/skills/quality-assurance-framework.md +168 -0
- package/knowledge/skills/question-refiner.md +160 -0
- package/knowledge/skills/ralph-loop.md +205 -0
- package/knowledge/skills/refactoring-expert.md +103 -0
- package/knowledge/skills/referral-program.md +668 -0
- package/knowledge/skills/research-executor.md +164 -0
- package/knowledge/skills/review-with-security.md +12 -0
- package/knowledge/skills/rust-analyzer-lsp.md +50 -0
- package/knowledge/skills/schema-markup.md +647 -0
- package/knowledge/skills/security-audit-expert.md +124 -0
- package/knowledge/skills/security-expert.md +140 -0
- package/knowledge/skills/security-guidance.md +13 -0
- package/knowledge/skills/seedance-prompt.md +139 -0
- package/knowledge/skills/self-evolution.md +1160 -0
- package/knowledge/skills/seo-audit.md +432 -0
- package/knowledge/skills/seo-content.md +787 -0
- package/knowledge/skills/serena.md +13 -0
- package/knowledge/skills/signup-flow-cro.md +409 -0
- package/knowledge/skills/skill-creator.md +220 -0
- package/knowledge/skills/skill-manager.md +226 -0
- package/knowledge/skills/skill-share.md +98 -0
- package/knowledge/skills/slack.md +13 -0
- package/knowledge/skills/social-content.md +878 -0
- package/knowledge/skills/spec-flow-skill.md +124 -0
- package/knowledge/skills/stripe.md +13 -0
- package/knowledge/skills/supabase.md +13 -0
- package/knowledge/skills/swift-lsp.md +40 -0
- package/knowledge/skills/synthesizer.md +236 -0
- package/knowledge/skills/template-skill.md +16 -0
- package/knowledge/skills/testing-expert.md +99 -0
- package/knowledge/skills/theme-factory.md +72 -0
- package/knowledge/skills/tiktok-research.md +208 -0
- package/knowledge/skills/typescript-lsp.md +36 -0
- package/knowledge/skills/ui-ux-pro-max.md +247 -0
- package/knowledge/skills/verify.md +15 -0
- package/knowledge/skills/visual-prompt-engineer.md +102 -0
- package/knowledge/skills/webapp-testing.md +111 -0
- package/knowledge/skills/wide-research.md +191 -0
- package/knowledge/system.md +93 -0
- package/knowledge/task-router.md +37 -0
- package/knowledge/verification.md +38 -0
- package/knowledge/workflows/3d-viz.md +47 -0
- package/knowledge/workflows/data-pipeline.md +47 -0
- package/knowledge/workflows/db-migration.md +51 -0
- package/knowledge/workflows/feature-dev.md +41 -0
- package/knowledge/workflows/tdd-flow.md +52 -0
- package/knowledge/workflows/ui-verify.md +51 -0
- package/package.json +60 -0
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: "planning-with-files"
|
|
3
|
+
title: "Planning with Files"
|
|
4
|
+
category: "agent-engineering"
|
|
5
|
+
tags: ["planning with files", "star history", "why this skill?", "the problem", "installation", "clone this skill", "usage", "goal", "phases"]
|
|
6
|
+
triggers: []
|
|
7
|
+
dependencies: []
|
|
8
|
+
source: "E:/Bobo's Coding cache/.claude/skills/planning-with-files"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Planning with Files
|
|
12
|
+
|
|
13
|
+
> **Work like Manus** — the AI agent company Meta just acquired for **$2 billion**.
|
|
14
|
+
|
|
15
|
+
A Claude Code skill that transforms your workflow to use persistent markdown files for planning, progress tracking, and knowledge storage — the exact pattern that made Manus worth billions.
|
|
16
|
+
|
|
17
|
+
[](https://opensource.org/licenses/MIT)
|
|
18
|
+
[](https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/skills)
|
|
19
|
+
|
|
20
|
+
## Star History
|
|
21
|
+
|
|
22
|
+
[](https://star-history.com/#OthmanAdi/planning-with-files&Date)
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Why This Skill?
|
|
27
|
+
|
|
28
|
+
On December 29, 2025, [Meta acquired Manus for $2 billion](https://techcrunch.com/2025/12/29/meta-just-bought-manus-an-ai-startup-everyone-has-been-talking-about/). In just 8 months, Manus went from launch to $100M+ revenue. Their secret? **Context engineering**.
|
|
29
|
+
|
|
30
|
+
This skill implements Manus's core workflow pattern:
|
|
31
|
+
|
|
32
|
+
> "Markdown is my 'working memory' on disk. Since I process information iteratively and my active context has limits, Markdown files serve as scratch pads for notes, checkpoints for progress, building blocks for final deliverables."
|
|
33
|
+
> — Manus AI
|
|
34
|
+
|
|
35
|
+
## The Problem
|
|
36
|
+
|
|
37
|
+
Claude Code (and most AI agents) suffer from:
|
|
38
|
+
|
|
39
|
+
- **Volatile memory** — TodoWrite tool disappears on context reset
|
|
40
|
+
- **Goal drift** — After 50+ tool calls, original goals get forgotten
|
|
41
|
+
- **Hidden errors** — Failures aren't tracked, so the same mistakes repeat
|
|
42
|
+
- **Context stuffing** — Everything crammed into context instead of stored
|
|
43
|
+
|
|
44
|
+
## The Solution: 3-File Pattern
|
|
45
|
+
|
|
46
|
+
For every complex task, create THREE files:
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
task_plan.md → Track phases and progress
|
|
50
|
+
notes.md → Store research and findings
|
|
51
|
+
[deliverable].md → Final output
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### The Loop
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
1. Create task_plan.md with goal and phases
|
|
58
|
+
2. Research → save to notes.md → update task_plan.md
|
|
59
|
+
3. Read notes.md → create deliverable → update task_plan.md
|
|
60
|
+
4. Deliver final output
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
**Key insight:** By reading `task_plan.md` before each decision, goals stay in the attention window. This is how Manus handles ~50 tool calls without losing track.
|
|
64
|
+
|
|
65
|
+
## Installation
|
|
66
|
+
|
|
67
|
+
### Option 1: Clone directly (Recommended)
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
# Navigate to your Claude Code skills directory
|
|
71
|
+
cd ~/.claude/skills # or your custom skills path
|
|
72
|
+
|
|
73
|
+
# Clone this skill
|
|
74
|
+
git clone https://github.com/OthmanAdi/planning-with-files.git
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Option 2: Manual installation
|
|
78
|
+
|
|
79
|
+
1. Download or copy the `planning-with-files` folder
|
|
80
|
+
2. Place it in your Claude Code skills directory:
|
|
81
|
+
- macOS/Linux: `~/.claude/skills/`
|
|
82
|
+
- Windows: `%USERPROFILE%\.claude\skills\`
|
|
83
|
+
|
|
84
|
+
### Verify Installation
|
|
85
|
+
|
|
86
|
+
In Claude Code, the skill will automatically activate when you:
|
|
87
|
+
|
|
88
|
+
- Start complex tasks
|
|
89
|
+
- Mention "planning", "organize", or "track progress"
|
|
90
|
+
- Ask for structured work
|
|
91
|
+
|
|
92
|
+
## Usage
|
|
93
|
+
|
|
94
|
+
Once installed, Claude will automatically:
|
|
95
|
+
|
|
96
|
+
1. **Create `task_plan.md`** before starting complex tasks
|
|
97
|
+
2. **Update progress** with checkboxes after each phase
|
|
98
|
+
3. **Store findings** in `notes.md` instead of stuffing context
|
|
99
|
+
4. **Log errors** for future reference
|
|
100
|
+
5. **Re-read plan** before major decisions
|
|
101
|
+
|
|
102
|
+
### Example
|
|
103
|
+
|
|
104
|
+
**You:** "Research the benefits of TypeScript and write a summary"
|
|
105
|
+
|
|
106
|
+
**Claude creates:**
|
|
107
|
+
|
|
108
|
+
```markdown
|
|
109
|
+
# Task Plan: TypeScript Benefits Research
|
|
110
|
+
|
|
111
|
+
## Goal
|
|
112
|
+
|
|
113
|
+
Create a research summary on TypeScript benefits.
|
|
114
|
+
|
|
115
|
+
## Phases
|
|
116
|
+
|
|
117
|
+
- [x] Phase 1: Create plan ✓
|
|
118
|
+
- [ ] Phase 2: Research and gather sources (CURRENT)
|
|
119
|
+
- [ ] Phase 3: Synthesize findings
|
|
120
|
+
- [ ] Phase 4: Deliver summary
|
|
121
|
+
|
|
122
|
+
## Status
|
|
123
|
+
|
|
124
|
+
**Currently in Phase 2** - Searching for sources
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
Then continues through each phase, updating the file as it goes.
|
|
128
|
+
|
|
129
|
+
## The Manus Principles
|
|
130
|
+
|
|
131
|
+
This skill implements these key context engineering principles:
|
|
132
|
+
|
|
133
|
+
| Principle | Implementation |
|
|
134
|
+
| ---------------------- | ----------------------------- |
|
|
135
|
+
| Filesystem as memory | Store in files, not context |
|
|
136
|
+
| Attention manipulation | Re-read plan before decisions |
|
|
137
|
+
| Error persistence | Log failures in plan file |
|
|
138
|
+
| Goal tracking | Checkboxes show progress |
|
|
139
|
+
| Append-only context | Never modify history |
|
|
140
|
+
|
|
141
|
+
## File Structure
|
|
142
|
+
|
|
143
|
+
```
|
|
144
|
+
planning-with-files/
|
|
145
|
+
├── SKILL.md # Core instructions (what Claude reads)
|
|
146
|
+
├── reference.md # Manus principles deep dive
|
|
147
|
+
├── examples.md # Real usage examples
|
|
148
|
+
└── README.md # This file
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
## When to Use
|
|
152
|
+
|
|
153
|
+
**Use this pattern for:**
|
|
154
|
+
|
|
155
|
+
- Multi-step tasks (3+ steps)
|
|
156
|
+
- Research tasks
|
|
157
|
+
- Building/creating projects
|
|
158
|
+
- Tasks spanning many tool calls
|
|
159
|
+
- Anything requiring organization
|
|
160
|
+
|
|
161
|
+
**Skip for:**
|
|
162
|
+
|
|
163
|
+
- Simple questions
|
|
164
|
+
- Single-file edits
|
|
165
|
+
- Quick lookups
|
|
166
|
+
|
|
167
|
+
## Acknowledgments
|
|
168
|
+
|
|
169
|
+
- **Manus AI** — For pioneering context engineering patterns that made this possible
|
|
170
|
+
- **Anthropic** — For Claude Code and the Agent Skills framework
|
|
171
|
+
- Based on [Context Engineering for AI Agents](https://manus.im/de/blog/Context-Engineering-for-AI-Agents-Lessons-from-Building-Manus)
|
|
172
|
+
|
|
173
|
+
## Contributing
|
|
174
|
+
|
|
175
|
+
Contributions welcome! Please:
|
|
176
|
+
|
|
177
|
+
1. Fork the repository
|
|
178
|
+
2. Create a feature branch
|
|
179
|
+
3. Submit a pull request
|
|
180
|
+
|
|
181
|
+
## License
|
|
182
|
+
|
|
183
|
+
MIT License — feel free to use, modify, and distribute.
|
|
184
|
+
|
|
185
|
+
## Thank You
|
|
186
|
+
|
|
187
|
+
To everyone who starred, forked, and shared this skill — thank you. This project blew up in less than 24 hours, and the support from the community has been incredible.
|
|
188
|
+
|
|
189
|
+
If this skill helps you work smarter, that's all I wanted.
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
**Author:** [Ahmad Othman Ammar Adi](https://github.com/OthmanAdi)
|
|
@@ -0,0 +1,434 @@
|
|
|
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.
|