

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
1234567# Plugin Creation Workflow89Guide the user through creating a complete, high-quality Claude Code plugin from initial concept to tested implementation. Follow a systematic approach: understand requirements, design components, clarify details, implement following best practices, validate, and test.1011## Core Principles1213- **Ask clarifying questions**: Identify all ambiguities about plugin purpose, triggering, scope, and components. Ask specific, concrete questions rather than making assumptions. Wait for user answers before proceeding with implementation.14- **Load relevant skills**: Use the Skill tool to load plugin-dev skills when needed (plugin-structure, hook-development, agent-development, etc.)15- **Use specialized agents**: Leverage agent-creator, plugin-validator, and skill-reviewer agents for AI-assisted development16- **Follow best practices**: Apply patterns from plugin-dev's own implementation17- **Progressive disclosure**: Create lean skills with references/examples18- **Use TodoWrite**: Track all progress throughout all phases1920**Initial request:** $ARGUMENTS2122---2324## Phase 1: Discovery2526**Goal**: Understand what plugin needs to be built and what problem it solves2728**Actions**:29301. Create todo list with all 7 phases312. If plugin purpose is clear from arguments:32 - Summarize understanding33 - Identify plugin type (integration, workflow, analysis, toolkit, etc.)343. If plugin purpose is unclear, ask user:35 - What problem does this plugin solve?36 - Who will use it and when?37 - What should it do?38 - Any similar plugins to reference?394. Summarize understanding and confirm with user before proceeding4041**Output**: Clear statement of plugin purpose and target users4243---4445## Phase 2: Component Planning4647**Goal**: Determine what plugin components are needed4849**MUST load plugin-structure skill** using Skill tool before this phase.5051**Actions**:52531. Load plugin-structure skill to understand component types542. Analyze plugin requirements and determine needed components:55 - **Skills**: Specialized knowledge OR user-initiated actions (deploy, configure, analyze). Skills are the preferred format for both — see note below.56 - **Agents**: Autonomous tasks? (validation, generation, analysis)57 - **Hooks**: Event-driven automation? (validation, notifications)58 - **MCP**: External service integration? (databases, APIs)59 - **Settings**: User configuration? (.local.md files)6061 > **Note:** The `commands/` directory is a legacy format. For new plugins, user-invoked slash commands should be created as skills in `skills/<name>/SKILL.md`. Both are loaded identically — the only difference is file layout. `commands/` remains an acceptable legacy alternative.62633. For each component type needed, identify:64 - How many of each type65 - What each one does66 - Rough triggering/usage patterns674. Present component plan to user as table:68```69 | Component Type | Count | Purpose |70 |----------------|-------|---------|71 | Skills | 5 | Hook patterns, MCP usage, deploy, configure, validate |72 | Agents | 1 | Autonomous validation |73 | Hooks | 0 | Not needed |74 | MCP | 1 | Database integration |75```765. Get user confirmation or adjustments7778**Output**: Confirmed list of components to create7980---8182## Phase 3: Detailed Design & Clarifying Questions8384**Goal**: Specify each component in detail and resolve all ambiguities8586**CRITICAL**: This is one of the most important phases. DO NOT SKIP.8788**Actions**:89901. For each component in the plan, identify underspecified aspects:91 - **Skills**: What triggers them? What knowledge do they provide? How detailed? For user-invoked skills: what arguments, what tools, interactive or automated?92 - **Agents**: When to trigger (proactive/reactive)? What tools? Output format?93 - **Hooks**: Which events? Prompt or command based? Validation criteria?94 - **MCP**: What server type? Authentication? Which tools?95 - **Settings**: What fields? Required vs optional? Defaults?96972. **Present all questions to user in organized sections** (one section per component type)98993. **Wait for answers before proceeding to implementation**1001014. If user says "whatever you think is best", provide specific recommendations and get explicit confirmation102103**Example questions for a skill**:104105- What specific user queries should trigger this skill?106- Should it include utility scripts? What functionality?107- How detailed should the core SKILL.md be vs references/?108- Any real-world examples to include?109110**Example questions for an agent**:111112- Should this agent trigger proactively after certain actions, or only when explicitly requested?113- What tools does it need (Read, Write, Bash, etc.)?114- What should the output format be?115- Any specific quality standards to enforce?116117**Output**: Detailed specification for each component118119---120121## Phase 4: Plugin Structure Creation122123**Goal**: Create plugin directory structure and manifest124125**Actions**:1261271. Determine plugin name (kebab-case, descriptive)1282. Choose plugin location:129 - Ask user: "Where should I create the plugin?"130 - Offer options: current directory, ../new-plugin-name, custom path1313. Create directory structure using bash:132```bash133 mkdir -p plugin-name/.claude-plugin134 mkdir -p plugin-name/skills/<skill-name> # one dir per skill, each with a SKILL.md135 mkdir -p plugin-name/agents # if needed136 mkdir -p plugin-name/hooks # if needed137 # Note: plugin-name/commands/ is a legacy alternative to skills/ — prefer skills/138```1394. Create plugin.json manifest using Write tool:140```json141 {142 "name": "plugin-name",143 "version": "0.1.0",144 "description": "[brief description]",145 "author": {146 "name": "[author from user or default]",147 "email": "[email or default]"148 }149 }150```1515. Create README.md template1526. Create .gitignore if needed (for .claude/\*.local.md, etc.)1537. Initialize git repo if creating new directory154155**Output**: Plugin directory structure created and ready for components156157---158159## Phase 5: Component Implementation160161**Goal**: Create each component following best practices162163**LOAD RELEVANT SKILLS** before implementing each component type:164165- Skills: Load skill-development skill166- Legacy `commands/` format (only if user explicitly requests): Load command-development skill167- Agents: Load agent-development skill168- Hooks: Load hook-development skill169- MCP: Load mcp-integration skill170- Settings: Load plugin-settings skill171172**Actions for each component**:173174### For Skills:1751761. Load skill-development skill using Skill tool1772. For each skill:178 - Ask user for concrete usage examples (or use from Phase 3)179 - Plan resources (scripts/, references/, examples/)180 - Create skill directory: `skills/<skill-name>/`181 - Write `SKILL.md` with:182 - Third-person description with specific trigger phrases183 - Lean body (1,500-2,000 words) in imperative form184 - References to supporting files185 - For user-invoked skills (slash commands): include `description`, `argument-hint`, and `allowed-tools` frontmatter; write instructions FOR Claude (not TO user)186 - Create reference files for detailed content187 - Create example files for working code188 - Create utility scripts if needed1893. Use skill-reviewer agent to validate each skill190191### For legacy `commands/` format (only if user explicitly requests):192193> Prefer `skills/<name>/SKILL.md` for new plugins. Use `commands/` only when maintaining an existing plugin that already uses this layout.1941951. Load command-development skill using Skill tool1962. For each command:197 - Write command markdown with frontmatter198 - Include clear description and argument-hint199 - Specify allowed-tools (minimal necessary)200 - Write instructions FOR Claude (not TO user)201 - Provide usage examples and tips202 - Reference relevant skills if applicable203204### For Agents:2052061. Load agent-development skill using Skill tool2072. For each agent, use agent-creator agent:208 - Provide description of what agent should do209 - Agent-creator generates: identifier, whenToUse with examples, systemPrompt210 - Create agent markdown file with frontmatter and system prompt211 - Add appropriate model, color, and tools212 - Validate with validate-agent.sh script213214### For Hooks:2152161. Load hook-development skill using Skill tool2172. For each hook:218 - Create hooks/hooks.json with hook configuration219 - Prefer prompt-based hooks for complex logic220 - Use ${CLAUDE_PLUGIN_ROOT} for portability221 - Create hook scripts if needed (in examples/ not scripts/)222 - Test with validate-hook-schema.sh and test-hook.sh utilities223224### For MCP:2252261. Load mcp-integration skill using Skill tool2272. Create .mcp.json configuration with:228 - Server type (stdio for local, SSE for hosted)229 - Command and args (with ${CLAUDE_PLUGIN_ROOT})230 - extensionToLanguage mapping if LSP231 - Environment variables as needed2323. Document required env vars in README2334. Provide setup instructions234235### For Settings:2362371. Load plugin-settings skill using Skill tool2382. Create settings template in README2393. Create example .claude/plugin-name.local.md file (as documentation)2404. Implement settings reading in hooks/commands as needed2415. Add to .gitignore: `.claude/*.local.md`242243**Progress tracking**: Update todos as each component is completed244245**Output**: All plugin components implemented246247---248249## Phase 6: Validation & Quality Check250251**Goal**: Ensure plugin meets quality standards and works correctly252253**Actions**:2542551. **Run plugin-validator agent**:256 - Use plugin-validator agent to comprehensively validate plugin257 - Check: manifest, structure, naming, components, security258 - Review validation report2592602. **Fix critical issues**:261 - Address any critical errors from validation262 - Fix any warnings that indicate real problems2632643. **Review with skill-reviewer** (if plugin has skills):265 - For each skill, use skill-reviewer agent266 - Check description quality, progressive disclosure, writing style267 - Apply recommendations2682694. **Test agent triggering** (if plugin has agents):270 - For each agent, verify <example> blocks are clear271 - Check triggering conditions are specific272 - Run validate-agent.sh on agent files2732745. **Test hook configuration** (if plugin has hooks):275 - Run validate-hook-schema.sh on hooks/hooks.json276 - Test hook scripts with test-hook.sh277 - Verify ${CLAUDE_PLUGIN_ROOT} usage2782796. **Present findings**:280 - Summary of validation results281 - Any remaining issues282 - Overall quality assessment2832847. **Ask user**: "Validation complete. Issues found: [count critical], [count warnings]. Would you like me to fix them now, or proceed to testing?"285286**Output**: Plugin validated and ready for testing287288---289290## Phase 7: Testing & Verification291292**Goal**: Test that plugin works correctly in Claude Code293294**Actions**:2952961. **Installation instructions**:297 - Show user how to test locally:298```bash299 cc --plugin-dir /path/to/plugin-name300```301 - Or copy to `.claude-plugin/` for project testing3023032. **Verification checklist** for user to perform:304 - [ ] Skills load when triggered (ask questions with trigger phrases)305 - [ ] User-invoked skills appear in `/help` and execute correctly306 - [ ] Agents trigger on appropriate scenarios307 - [ ] Hooks activate on events (if applicable)308 - [ ] MCP servers connect (if applicable)309 - [ ] Settings files work (if applicable)3103113. **Testing recommendations**:312 - For skills: Ask questions using trigger phrases from descriptions313 - For user-invoked skills: Run `/plugin-name:skill-name` with various arguments314 - For agents: Create scenarios matching agent examples315 - For hooks: Use `claude --debug` to see hook execution316 - For MCP: Use `/mcp` to verify servers and tools3173184. **Ask user**: "I've prepared the plugin for testing. Would you like me to guide you through testing each component, or do you want to test it yourself?"3193205. **If user wants guidance**, walk through testing each component with specific test cases321322**Output**: Plugin tested and verified working323324---325326## Phase 8: Documentation & Next Steps327328**Goal**: Ensure plugin is well-documented and ready for distribution329330**Actions**:3313321. **Verify README completeness**:333 - Check README has: overview, features, installation, prerequisites, usage334 - For MCP plugins: Document required environment variables335 - For hook plugins: Explain hook activation336 - For settings: Provide configuration templates3373382. **Add marketplace entry** (if publishing):339 - Show user how to add to marketplace.json340 - Help draft marketplace description341 - Suggest category and tags3423433. **Create summary**:344 - Mark all todos complete345 - List what was created:346 - Plugin name and purpose347 - Components created (X skills, Y agents, etc.)348 - Key files and their purposes349 - Total file count and structure350 - Next steps:351 - Testing recommendations352 - Publishing to marketplace (if desired)353 - Iteration based on usage3543554. **Suggest improvements** (optional):356 - Additional components that could enhance plugin357 - Integration opportunities358 - Testing strategies359360**Output**: Complete, documented plugin ready for use or publication361362---363364## Important Notes365366### Throughout All Phases367368- **Use TodoWrite** to track progress at every phase369- **Load skills with Skill tool** when working on specific component types370- **Use specialized agents** (agent-creator, plugin-validator, skill-reviewer)371- **Ask for user confirmation** at key decision points372- **Follow plugin-dev's own patterns** as reference examples373- **Apply best practices**:374 - Third-person descriptions for skills375 - Imperative form in skill bodies376 - Skill instructions written FOR Claude (not TO user)377 - Strong trigger phrases378 - ${CLAUDE_PLUGIN_ROOT} for portability379 - Progressive disclosure380 - Security-first (HTTPS, no hardcoded credentials)381382### Key Decision Points (Wait for User)3833841. After Phase 1: Confirm plugin purpose3852. After Phase 2: Approve component plan3863. After Phase 3: Proceed to implementation3874. After Phase 6: Fix issues or proceed3885. After Phase 7: Continue to documentation389390### Skills to Load by Phase391392- **Phase 2**: plugin-structure393- **Phase 5**: skill-development, agent-development, hook-development, mcp-integration, plugin-settings (as needed); command-development only for legacy `commands/` layout394- **Phase 6**: (agents will use skills automatically)395396### Quality Standards397398Every component must meet these standards:399400- ✅ Follows plugin-dev's proven patterns401- ✅ Uses correct naming conventions402- ✅ Has strong trigger conditions (skills/agents)403- ✅ Includes working examples404- ✅ Properly documented405- ✅ Validated with utilities406- ✅ Tested in Claude Code407408---409410## Example Workflow411412### User Request413414"Create a plugin for managing database migrations"415416### Phase 1: Discovery417418- Understand: Migration management, database schema versioning419- Confirm: User wants to create, run, rollback migrations420421### Phase 2: Component Planning422423- Skills: 4 (migration best practices, create-migration, run-migrations, rollback)424- Agents: 1 (migration-validator)425- MCP: 1 (database connection)426427### Phase 3: Clarifying Questions428429- Which databases? (PostgreSQL, MySQL, etc.)430- Migration file format? (SQL, code-based?)431- Should agent validate before applying?432- What MCP tools needed? (query, execute, schema)433434### Phase 4-8: Implementation, Validation, Testing, Documentation435436---437438**Begin with Phase 1: Discovery**439
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-build.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-code-simplify.mdc · 51 | Cursor rules | testing-strategy | 30/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-plan.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-review.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-ship.mdc · 51 | Cursor rules | testing-strategygitdeploymentdo-not | 61/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-spec.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-cursor/.cursor/rules/cmd-test.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-forgecat/AGENTS.md · 51 | AGENTS.md | lint-formatstylearchdo-not | 73/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/addyosmani/agent-skills/for-forgecat/CLAUDE.md · 51 | CLAUDE.md | teststylearchagent-behaviour | 70/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-code/anthropics_claude-code_ralph-wiggum/for-cursor/.cursor/rules/cmd-cancel-ralph.mdc · 51 | Cursor rules | no sections | 16/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-code/anthropics_claude-code_ralph-wiggum/for-cursor/.cursor/rules/cmd-help.mdc · 51 | Cursor rules | no sections | 54/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-code/anthropics_claude-code_ralph-wiggum/for-cursor/.cursor/rules/cmd-ralph-loop.mdc · 51 | Cursor rules | no sections | 22/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_agent-sdk-dev/for-cursor/.cursor/rules/cmd-new-sdk-app.mdc · 51 | Cursor rules | setupstylearchdocs | 76/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_claude-md-management/for-cursor/.cursor/rules/cmd-revise-claude-md.mdc · 51 | Cursor rules | agent-behaviour | 50/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_code-review/for-cursor/.cursor/rules/cmd-code-review.mdc · 51 | Cursor rules | testing-strategygit | 35/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_commit-commands/for-cursor/.cursor/rules/cmd-clean_gone.mdc · 51 | Cursor rules | no sections | 60/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_commit-commands/for-cursor/.cursor/rules/cmd-commit-push-pr.mdc · 51 | Cursor rules | stylegit | 44/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_commit-commands/for-cursor/.cursor/rules/cmd-commit.mdc · 51 | Cursor rules | style | 44/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_example-plugin/for-cursor/.cursor/rules/cmd-example-command.mdc · 51 | Cursor rules | lint-formatstyleagent-behaviour | 58/100 | today | |
| nota-america/forgecat-agent-profilesprofiles/anthropics/claude-plugins-official/anthropics_claude-plugins-official_feature-dev/for-cursor/.cursor/rules/cmd-feature-dev.mdc · 51 | Cursor rules | stylearchgit | 56/100 | today |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 46 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 14 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 14 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 14 days ago | |
| bybren-llc/safe-agentic-workflow.cursor/rules/10-backend-python.mdc · 399 | Cursor rules | testlint-formatstylegit+4 | 97/100 | today |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/nota-america-forgecat-agent-profiles-profiles-anthropics-claude-plugins-official-anthropics-claude-plugins-official-plugin-dev-for-cursor-cursor-rules-cmd-create-plugin)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.