@amsterdamdatalabs/enact-extensions 0.1.0 → 0.1.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.
- package/README.md +96 -21
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/install.d.ts +171 -1
- package/dist/install.d.ts.map +1 -1
- package/dist/install.js +402 -49
- package/dist/install.js.map +1 -1
- package/dist/internal/codex.d.ts.map +1 -1
- package/dist/internal/codex.js +7 -1
- package/dist/internal/codex.js.map +1 -1
- package/dist/internal/platform.d.ts +8 -0
- package/dist/internal/platform.d.ts.map +1 -1
- package/dist/internal/platform.js +46 -2
- package/dist/internal/platform.js.map +1 -1
- package/dist/provision.d.ts +30 -0
- package/dist/provision.d.ts.map +1 -0
- package/dist/provision.js +202 -0
- package/dist/provision.js.map +1 -0
- package/dist/validate/index.d.ts +44 -0
- package/dist/validate/index.d.ts.map +1 -1
- package/dist/validate/index.js +157 -0
- package/dist/validate/index.js.map +1 -1
- package/extensions/cmux/.agents/plugin.json +37 -0
- package/extensions/cmux/skills/cmux/SKILL.md +82 -0
- package/extensions/cmux/skills/cmux/agents/openai.yaml +4 -0
- package/extensions/cmux/skills/cmux/references/handles-and-identify.md +35 -0
- package/extensions/cmux/skills/cmux/references/panes-surfaces.md +37 -0
- package/extensions/cmux/skills/cmux/references/trigger-flash-and-health.md +23 -0
- package/extensions/cmux/skills/cmux/references/windows-workspaces.md +31 -0
- package/extensions/cmux/skills/cmux-vm-monitor/SKILL.md +122 -0
- package/extensions/cmux/skills/cmux-vm-monitor/agents/openai.yaml +4 -0
- package/extensions/cmux/skills/cmux-vm-monitor/references/cmux-commands.md +66 -0
- package/extensions/cmux/skills/cmux-vm-monitor/scripts/codex_vm_monitor.sh +45 -0
- package/extensions/cmux/skills/cmux-workspace/SKILL.md +93 -0
- package/extensions/dev-state/.agents/plugin.json +35 -0
- package/extensions/dev-state/skills/dev-state-plan-graduation/SKILL.md +194 -0
- package/extensions/dev-state/skills/dev-state-plan-graduation/agents/openai.yaml +4 -0
- package/extensions/dev-state/skills/dev-state-plan-graduation/references/reference.md +130 -0
- package/extensions/devops/.agents/plugin.json +36 -0
- package/extensions/devops/skills/azure-devops-cli/SKILL.md +431 -0
- package/extensions/devops/skills/azure-devops-cli/agents/openai.yaml +4 -0
- package/extensions/devops/skills/ci-pipeline-strategy/SKILL.md +217 -0
- package/extensions/devops/skills/ci-pipeline-strategy/agents/openai.yaml +4 -0
- package/extensions/enact-context/.agents/plugin.json +40 -0
- package/extensions/enact-context/.mcp.json +8 -0
- package/extensions/enact-context/README.md +25 -0
- package/extensions/enact-context/assets/icon.png +0 -0
- package/extensions/enact-context/assets/logo.png +0 -0
- package/extensions/enact-context/hooks/hooks.json +115 -0
- package/extensions/enact-context/skills/enact-context/SKILL.md +149 -0
- package/extensions/enact-context/skills/enact-context/scripts/install.sh +69 -0
- package/extensions/enact-factory/.agents/plugin.json +42 -0
- package/extensions/enact-factory/.mcp.json +8 -0
- package/extensions/enact-factory/assets/icon.png +0 -0
- package/extensions/enact-factory/assets/logo.png +0 -0
- package/extensions/enact-factory/hooks/user-prompt-submit.mjs +67 -0
- package/extensions/enact-factory/skills/testing-strategy/SKILL.md +167 -0
- package/extensions/enact-factory/skills/workitem-triage/SKILL.md +22 -0
- package/extensions/enact-operator/.agents/plugin.json +57 -0
- package/extensions/enact-operator/.app.json +3 -0
- package/extensions/enact-operator/.mcp.json +10 -0
- package/extensions/enact-operator/_taxonomy.md +86 -0
- package/extensions/enact-operator/agents/README.md +5 -0
- package/extensions/enact-operator/agents/architect.toml +25 -0
- package/extensions/enact-operator/agents/code-reviewer.toml +24 -0
- package/extensions/enact-operator/agents/critic.toml +30 -0
- package/extensions/enact-operator/agents/executor.toml +24 -0
- package/extensions/enact-operator/agents/explore.toml +23 -0
- package/extensions/enact-operator/agents/planner.toml +24 -0
- package/extensions/enact-operator/agents/verifier.toml +24 -0
- package/extensions/enact-operator/assets/icon.png +0 -0
- package/extensions/enact-operator/assets/logo.png +0 -0
- package/extensions/enact-operator/commands/doctor.md +39 -0
- package/extensions/enact-operator/commands/setup.md +51 -0
- package/extensions/enact-operator/hooks/hooks.json +146 -0
- package/extensions/enact-operator/skills/_variants.md +44 -0
- package/extensions/enact-operator/skills/ai-slop-cleaner/SKILL.md +50 -0
- package/extensions/enact-operator/skills/analyze/SKILL.md +91 -0
- package/extensions/enact-operator/skills/ask/SKILL.md +47 -0
- package/extensions/enact-operator/skills/autopilot/SKILL.md +170 -0
- package/extensions/enact-operator/skills/autoresearch-goal/SKILL.md +79 -0
- package/extensions/enact-operator/skills/cancel/SKILL.md +99 -0
- package/extensions/enact-operator/skills/configure-notifications/SKILL.md +77 -0
- package/extensions/enact-operator/skills/deep-interview/SKILL.md +80 -0
- package/extensions/enact-operator/skills/doctor/SKILL.md +48 -0
- package/extensions/enact-operator/skills/hud/SKILL.md +49 -0
- package/extensions/enact-operator/skills/hyperplan/SKILL.md +47 -0
- package/extensions/enact-operator/skills/plan/SKILL.md +78 -0
- package/extensions/enact-operator/skills/ralph/SKILL.md +201 -0
- package/extensions/enact-operator/skills/ralph/gemini.md +18 -0
- package/extensions/enact-operator/skills/ralplan/SKILL.md +151 -0
- package/extensions/enact-operator/skills/remove-deadcode/SKILL.md +45 -0
- package/extensions/enact-operator/skills/research/SKILL.md +74 -0
- package/extensions/enact-operator/skills/review/SKILL.md +58 -0
- package/extensions/enact-operator/skills/security-research/SKILL.md +54 -0
- package/extensions/enact-operator/skills/setup/SKILL.md +91 -0
- package/extensions/enact-operator/skills/setup/scripts/install.sh +50 -0
- package/extensions/enact-operator/skills/skill/SKILL.md +82 -0
- package/extensions/enact-operator/skills/tdd/SKILL.md +59 -0
- package/extensions/enact-operator/skills/team/SKILL.md +199 -0
- package/extensions/enact-operator/skills/trace/SKILL.md +41 -0
- package/extensions/enact-operator/skills/ultragoal/SKILL.md +99 -0
- package/extensions/enact-operator/skills/ultraqa/SKILL.md +113 -0
- package/extensions/enact-operator/skills/ultrawork/SKILL.md +145 -0
- package/extensions/enact-operator/skills/ultrawork/planner.md +28 -0
- package/extensions/enact-operator/skills/wiki/SKILL.md +41 -0
- package/extensions/enact-operator/skills/work-with-workitem/SKILL.md +51 -0
- package/extensions/enact-wiki/.agents/plugin.json +42 -0
- package/extensions/enact-wiki/.mcp.json +15 -0
- package/extensions/enact-wiki/README.md +44 -0
- package/extensions/enact-wiki/assets/icon.png +0 -0
- package/extensions/enact-wiki/assets/logo.png +0 -0
- package/extensions/enact-wiki/skills/document-parser/SKILL.md +17 -0
- package/extensions/enact-wiki/skills/document-parser/scripts/parse.sh +60 -0
- package/extensions/enact-wiki/skills/document-parser/skill.json +9 -0
- package/extensions/enact-wiki/skills/enact-wiki/SKILL.md +30 -0
- package/extensions/enact-wiki/skills/enact-wiki/references/ingest.md +62 -0
- package/extensions/enact-wiki/skills/enact-wiki/references/manage.md +34 -0
- package/extensions/enact-wiki/skills/enact-wiki/references/query.md +59 -0
- package/extensions/enact-wiki/skills/search-lab/SKILL.md +57 -0
- package/extensions/enact-wiki/skills/search-lab/scripts/analyze.ts +23 -0
- package/{plugins/net-revenue-management/.codex-plugin → extensions/net-revenue-management/.agents}/plugin.json +10 -6
- package/extensions/plugin-dev/.agents/plugin.json +42 -0
- package/extensions/plugin-dev/.mcp.json +3 -0
- package/extensions/plugin-dev/agents/agent-creator.md +199 -0
- package/extensions/plugin-dev/agents/plugin-validator.md +91 -0
- package/extensions/plugin-dev/agents/skill-reviewer.md +212 -0
- package/extensions/plugin-dev/commands/_archive/create-marketplace.md +427 -0
- package/extensions/plugin-dev/commands/_archive/plugin-dev-guide.md +12 -0
- package/extensions/plugin-dev/commands/create-plugin.md +498 -0
- package/extensions/plugin-dev/commands/start.md +81 -0
- package/extensions/plugin-dev/hooks/hooks.json +3 -0
- package/extensions/plugin-dev/skills/agent-development/SKILL.md +641 -0
- package/extensions/plugin-dev/skills/agent-development/examples/agent-creation-prompt.md +250 -0
- package/extensions/plugin-dev/skills/agent-development/examples/complete-agent-examples.md +461 -0
- package/extensions/plugin-dev/skills/agent-development/references/advanced-agent-fields.md +246 -0
- package/extensions/plugin-dev/skills/agent-development/references/agent-creation-system-prompt.md +216 -0
- package/extensions/plugin-dev/skills/agent-development/references/permission-modes-rules.md +226 -0
- package/extensions/plugin-dev/skills/agent-development/references/system-prompt-design.md +464 -0
- package/extensions/plugin-dev/skills/agent-development/references/triggering-examples.md +474 -0
- package/extensions/plugin-dev/skills/agent-development/scripts/create-agent-skeleton.sh +176 -0
- package/extensions/plugin-dev/skills/agent-development/scripts/test-agent-trigger.sh +227 -0
- package/extensions/plugin-dev/skills/agent-development/scripts/validate-agent.sh +227 -0
- package/extensions/plugin-dev/skills/command-development/SKILL.md +763 -0
- package/extensions/plugin-dev/skills/command-development/examples/plugin-commands.md +612 -0
- package/extensions/plugin-dev/skills/command-development/examples/simple-commands.md +527 -0
- package/extensions/plugin-dev/skills/command-development/references/advanced-workflows.md +762 -0
- package/extensions/plugin-dev/skills/command-development/references/documentation-patterns.md +769 -0
- package/extensions/plugin-dev/skills/command-development/references/frontmatter-reference.md +508 -0
- package/extensions/plugin-dev/skills/command-development/references/interactive-commands.md +966 -0
- package/extensions/plugin-dev/skills/command-development/references/marketplace-considerations.md +943 -0
- package/extensions/plugin-dev/skills/command-development/references/plugin-features-reference.md +637 -0
- package/extensions/plugin-dev/skills/command-development/references/plugin-integration.md +191 -0
- package/extensions/plugin-dev/skills/command-development/references/skill-tool.md +447 -0
- package/extensions/plugin-dev/skills/command-development/references/testing-strategies.md +723 -0
- package/extensions/plugin-dev/skills/command-development/scripts/check-frontmatter.sh +234 -0
- package/extensions/plugin-dev/skills/command-development/scripts/validate-command.sh +160 -0
- package/extensions/plugin-dev/skills/hook-development/SKILL.md +861 -0
- package/extensions/plugin-dev/skills/hook-development/examples/load-context.sh +55 -0
- package/extensions/plugin-dev/skills/hook-development/examples/validate-bash.sh +57 -0
- package/extensions/plugin-dev/skills/hook-development/examples/validate-write.sh +48 -0
- package/extensions/plugin-dev/skills/hook-development/references/advanced.md +871 -0
- package/extensions/plugin-dev/skills/hook-development/references/hook-input-schemas.md +145 -0
- package/extensions/plugin-dev/skills/hook-development/references/migration.md +392 -0
- package/extensions/plugin-dev/skills/hook-development/references/patterns.md +430 -0
- package/extensions/plugin-dev/skills/hook-development/scripts/README.md +181 -0
- package/extensions/plugin-dev/skills/hook-development/scripts/hook-linter.sh +153 -0
- package/extensions/plugin-dev/skills/hook-development/scripts/test-hook.sh +276 -0
- package/extensions/plugin-dev/skills/hook-development/scripts/validate-hook-schema.sh +159 -0
- package/extensions/plugin-dev/skills/mcp-integration/SKILL.md +775 -0
- package/extensions/plugin-dev/skills/mcp-integration/examples/http-server.json +20 -0
- package/extensions/plugin-dev/skills/mcp-integration/examples/sse-server.json +19 -0
- package/extensions/plugin-dev/skills/mcp-integration/examples/stdio-server.json +38 -0
- package/extensions/plugin-dev/skills/mcp-integration/examples/ws-server.json +26 -0
- package/extensions/plugin-dev/skills/mcp-integration/references/authentication.md +601 -0
- package/extensions/plugin-dev/skills/mcp-integration/references/server-discovery.md +190 -0
- package/extensions/plugin-dev/skills/mcp-integration/references/server-types.md +572 -0
- package/extensions/plugin-dev/skills/mcp-integration/references/tool-usage.md +623 -0
- package/extensions/plugin-dev/skills/plugin-dev-guide/SKILL.md +222 -0
- package/extensions/plugin-dev/skills/plugin-structure/SKILL.md +705 -0
- package/extensions/plugin-dev/skills/plugin-structure/examples/advanced-plugin.md +774 -0
- package/extensions/plugin-dev/skills/plugin-structure/examples/minimal-plugin.md +83 -0
- package/extensions/plugin-dev/skills/plugin-structure/examples/standard-plugin.md +611 -0
- package/extensions/plugin-dev/skills/plugin-structure/references/advanced-topics.md +289 -0
- package/extensions/plugin-dev/skills/plugin-structure/references/component-patterns.md +592 -0
- package/extensions/plugin-dev/skills/plugin-structure/references/github-actions.md +233 -0
- package/extensions/plugin-dev/skills/plugin-structure/references/headless-ci-mode.md +193 -0
- package/extensions/plugin-dev/skills/plugin-structure/references/manifest-reference.md +625 -0
- package/extensions/plugin-dev/skills/plugin-structure/references/output-styles.md +116 -0
- package/extensions/plugin-dev/skills/skill-development/SKILL.md +564 -0
- package/extensions/plugin-dev/skills/skill-development/examples/complete-skill.md +465 -0
- package/extensions/plugin-dev/skills/skill-development/examples/frontmatter-templates.md +167 -0
- package/extensions/plugin-dev/skills/skill-development/examples/minimal-skill.md +111 -0
- package/extensions/plugin-dev/skills/skill-development/references/advanced-frontmatter.md +225 -0
- package/extensions/plugin-dev/skills/skill-development/references/commands-vs-skills.md +39 -0
- package/extensions/plugin-dev/skills/skill-development/references/skill-creation-workflow.md +379 -0
- package/extensions/plugin-dev/skills/skill-development/references/skill-creator-original.md +210 -0
- package/package.json +8 -11
- package/scripts/enact-extensions.mjs +823 -21
- package/scripts/hooks/session-start-drift-check.mjs +58 -0
- package/scripts/lib/build-index.mjs +50 -0
- package/scripts/lib/bundle-hash.mjs +137 -0
- package/scripts/lib/hooks.mjs +741 -0
- package/scripts/lib/ledger.mjs +163 -0
- package/scripts/lib/list-bundles.mjs +70 -0
- package/scripts/lib/outdated.mjs +144 -0
- package/scripts/lib/provision-mcp.mjs +16 -0
- package/scripts/lib/resolve-bundle.mjs +121 -0
- package/scripts/lib/run-install.mjs +402 -38
- package/scripts/lib/run-prune.mjs +73 -0
- package/scripts/lib/run-sync.mjs +9 -1
- package/scripts/lib/run-uninstall.mjs +244 -0
- package/scripts/lib/run-update.mjs +152 -0
- package/scripts/lib/run-validate.mjs +21 -18
- package/scripts/lib/serve.mjs +472 -0
- package/scripts/postinstall.mjs +63 -0
- package/scripts/setup-enact-context.sh +2 -2
- package/scripts/version-bump.sh +463 -0
- package/spec/codex.json +1 -11
- package/spec/index.json +59 -0
- package/web/assets/README.md +111 -0
- package/web/assets/logo-full.png +0 -0
- package/web/assets/logo-slim.png +0 -0
- package/web/assets/tokens/base.css +45 -0
- package/web/assets/tokens/colors.css +248 -0
- package/web/assets/tokens/effects.css +24 -0
- package/web/assets/tokens/fonts.css +8 -0
- package/web/assets/tokens/index.css +18 -0
- package/web/assets/tokens/spacing.css +50 -0
- package/web/index.html +1188 -0
- package/.agents/plugins/marketplace.json +0 -20
- package/catalog/enact-context.json +0 -9
- package/catalog/enact-factory.json +0 -7
- package/catalog/enact-operator.json +0 -7
- package/catalog/enact-wiki.json +0 -7
- package/catalog/net-revenue-management.json +0 -8
- package/scripts/rename-supervisor-to-operator.pl +0 -66
- package/scripts/sync-manifests.mjs +0 -23
- package/scripts/validate-catalog.mjs +0 -37
- package/scripts/validate-plugin.mjs +0 -10
- /package/{plugins → extensions}/net-revenue-management/.mcp.json +0 -0
- /package/{plugins → extensions}/net-revenue-management/skills/net-revenue-risks/SKILL.md +0 -0
- /package/{plugins → extensions}/net-revenue-management/skills/net-revenue-scenario/SKILL.md +0 -0
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Create plugin marketplaces with guided workflow
|
|
3
|
+
argument-hint: [marketplace-description]
|
|
4
|
+
allowed-tools: Read, Write, Edit, Grep, Glob, Bash(mkdir:*), Bash(git init:*), TaskCreate, TaskGet, TaskUpdate, TaskList, AskUserQuestion, Skill, Task
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Marketplace Creation Workflow
|
|
9
|
+
|
|
10
|
+
Guide the user through creating a complete plugin marketplace from initial concept to validated, distributable collection. Follow a systematic approach: understand requirements, plan plugins, configure structure, add entries, validate, and prepare for distribution.
|
|
11
|
+
|
|
12
|
+
## Core Principles
|
|
13
|
+
|
|
14
|
+
- **Ask clarifying questions**: Identify all ambiguities about marketplace purpose, plugins, distribution strategy. Ask specific questions rather than making assumptions. Wait for user answers before proceeding.
|
|
15
|
+
- **Load marketplace-structure skill**: Use the Skill tool to load the marketplace-structure skill for schema and pattern guidance
|
|
16
|
+
- **Use plugin-validator agent**: Leverage the plugin-validator agent for comprehensive marketplace validation
|
|
17
|
+
- **Follow best practices**: Apply patterns from this repository's own marketplace.json
|
|
18
|
+
- **Use Task tools**: Track all progress throughout all phases using TaskCreate, TaskUpdate, and TaskList
|
|
19
|
+
|
|
20
|
+
**Initial request:** $ARGUMENTS
|
|
21
|
+
|
|
22
|
+
**Security note:** This workflow has broad file system access to create marketplace structures. It can write files and create directories within your permission scope. Review the target directory before starting, and see [docs/workflow-security.md](../../../docs/workflow-security.md) for details.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Phase 1: Discovery
|
|
27
|
+
|
|
28
|
+
**Goal**: Understand what marketplace needs to be created and its purpose
|
|
29
|
+
|
|
30
|
+
**Actions**:
|
|
31
|
+
|
|
32
|
+
1. Create task list with all 8 phases
|
|
33
|
+
2. If marketplace purpose is clear from arguments:
|
|
34
|
+
- Summarize understanding
|
|
35
|
+
- Identify marketplace type (team internal, community, single-plugin, multi-plugin)
|
|
36
|
+
3. If marketplace purpose is unclear, ask user:
|
|
37
|
+
- What plugins will this marketplace contain?
|
|
38
|
+
- Who is the target audience? (team, community, public)
|
|
39
|
+
- Will plugins be local (in same repo) or external (GitHub, git URLs)?
|
|
40
|
+
- Single maintainer or community contributions?
|
|
41
|
+
4. Summarize understanding and confirm with user before proceeding
|
|
42
|
+
|
|
43
|
+
**Output**: Clear statement of marketplace purpose and distribution strategy
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Phase 2: Plugin Planning
|
|
48
|
+
|
|
49
|
+
**Goal**: Determine which plugins to include and their sources
|
|
50
|
+
|
|
51
|
+
**MUST load marketplace-structure skill** using Skill tool before this phase.
|
|
52
|
+
|
|
53
|
+
**Actions**:
|
|
54
|
+
|
|
55
|
+
1. Load marketplace-structure skill for schema guidance
|
|
56
|
+
2. List plugins to include in marketplace:
|
|
57
|
+
- For each plugin: name, source type, brief description
|
|
58
|
+
3. Categorize by source type:
|
|
59
|
+
- **Local (relative path)**: Plugins maintained in same repository
|
|
60
|
+
- **GitHub**: External plugins on GitHub
|
|
61
|
+
- **Git URL**: External plugins on GitLab, Bitbucket, or self-hosted
|
|
62
|
+
4. Present plugin plan to user as table:
|
|
63
|
+
|
|
64
|
+
```text
|
|
65
|
+
| Plugin Name | Source Type | Description |
|
|
66
|
+
|------------------|-------------|------------------------|
|
|
67
|
+
| code-formatter | local | Code formatting tools |
|
|
68
|
+
| security-scanner | github | Security analysis |
|
|
69
|
+
| legacy-tool | git-url | Legacy utility |
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
5. For each local plugin, determine:
|
|
73
|
+
- Does it already exist? (will validate)
|
|
74
|
+
- Need to create it? (redirect to /plugin-dev:create-plugin)
|
|
75
|
+
6. Get user confirmation or adjustments
|
|
76
|
+
|
|
77
|
+
**Output**: Confirmed list of plugins with sources
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Phase 3: Metadata Design
|
|
82
|
+
|
|
83
|
+
**Goal**: Define marketplace metadata and owner information
|
|
84
|
+
|
|
85
|
+
**Actions**:
|
|
86
|
+
|
|
87
|
+
1. Determine marketplace name:
|
|
88
|
+
- Must be kebab-case (lowercase, hyphens)
|
|
89
|
+
- Should be descriptive of purpose
|
|
90
|
+
- Examples: `team-tools`, `security-plugins`, `awesome-claude-plugins`
|
|
91
|
+
|
|
92
|
+
2. Gather owner information:
|
|
93
|
+
- Ask user: "Who maintains this marketplace?"
|
|
94
|
+
- Required: name
|
|
95
|
+
- Optional: email, url
|
|
96
|
+
|
|
97
|
+
3. Define optional metadata:
|
|
98
|
+
- description: Brief marketplace description
|
|
99
|
+
- version: Initial version (recommend 1.0.0 or 0.1.0)
|
|
100
|
+
- pluginRoot: Base path for relative sources (default: none)
|
|
101
|
+
|
|
102
|
+
4. Present configuration summary:
|
|
103
|
+
|
|
104
|
+
```json
|
|
105
|
+
{
|
|
106
|
+
"name": "team-tools",
|
|
107
|
+
"owner": {
|
|
108
|
+
"name": "Platform Team",
|
|
109
|
+
"email": "platform@company.com"
|
|
110
|
+
},
|
|
111
|
+
"metadata": {
|
|
112
|
+
"description": "Internal development tools",
|
|
113
|
+
"version": "1.0.0"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
5. Get user confirmation
|
|
119
|
+
|
|
120
|
+
**Output**: Confirmed marketplace metadata
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## Phase 4: Structure Creation
|
|
125
|
+
|
|
126
|
+
**Goal**: Create marketplace directory structure and manifest
|
|
127
|
+
|
|
128
|
+
**Actions**:
|
|
129
|
+
|
|
130
|
+
1. Determine marketplace location:
|
|
131
|
+
- Ask user: "Where should I create the marketplace?"
|
|
132
|
+
- Offer options: current directory, new directory, custom path
|
|
133
|
+
|
|
134
|
+
2. Create directory structure using bash:
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
mkdir -p marketplace-name/.claude-plugin
|
|
138
|
+
mkdir -p marketplace-name/plugins # if local plugins
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
3. Create marketplace.json manifest using Write tool:
|
|
142
|
+
|
|
143
|
+
```json
|
|
144
|
+
{
|
|
145
|
+
"name": "marketplace-name",
|
|
146
|
+
"owner": {
|
|
147
|
+
"name": "[from Phase 3]"
|
|
148
|
+
},
|
|
149
|
+
"metadata": {
|
|
150
|
+
"description": "[from Phase 3]",
|
|
151
|
+
"version": "[from Phase 3]"
|
|
152
|
+
},
|
|
153
|
+
"plugins": []
|
|
154
|
+
}
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
4. Create README.md template with:
|
|
158
|
+
- Marketplace description
|
|
159
|
+
- Installation instructions
|
|
160
|
+
- Available plugins table (to be filled in Phase 5)
|
|
161
|
+
- Contributing guidelines (if community)
|
|
162
|
+
|
|
163
|
+
5. Initialize git repo if creating new directory (only `git init` is available; additional git operations like staging and committing are left to the user after the workflow completes to respect their commit preferences)
|
|
164
|
+
|
|
165
|
+
**Output**: Marketplace directory structure created
|
|
166
|
+
|
|
167
|
+
**Post-workflow git operations** (user can run after completion):
|
|
168
|
+
|
|
169
|
+
```bash
|
|
170
|
+
git add .
|
|
171
|
+
git commit -m "feat: initial marketplace structure"
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## Phase 5: Plugin Entry Configuration
|
|
177
|
+
|
|
178
|
+
**Goal**: Configure each plugin entry with appropriate metadata
|
|
179
|
+
|
|
180
|
+
**Actions**:
|
|
181
|
+
|
|
182
|
+
1. For each plugin in the plan (from Phase 2):
|
|
183
|
+
|
|
184
|
+
**For local plugins**:
|
|
185
|
+
- If plugin exists:
|
|
186
|
+
- Read its plugin.json to get metadata
|
|
187
|
+
- Create entry with relative source path
|
|
188
|
+
- If plugin doesn't exist:
|
|
189
|
+
- Ask: "Plugin 'X' doesn't exist. Create it now or add placeholder?"
|
|
190
|
+
- If create: Use Task tool to run /plugin-dev:create-plugin
|
|
191
|
+
- If placeholder: Create entry with TODO comment in README
|
|
192
|
+
|
|
193
|
+
**For GitHub plugins**:
|
|
194
|
+
- Create entry with github source object
|
|
195
|
+
- Prompt for version, description if not known
|
|
196
|
+
- Consider strict: false if plugin lacks plugin.json
|
|
197
|
+
|
|
198
|
+
**For git URL plugins**:
|
|
199
|
+
- Create entry with url source object
|
|
200
|
+
- Prompt for version, description if not known
|
|
201
|
+
|
|
202
|
+
2. For each entry, configure optional fields:
|
|
203
|
+
- version (recommend always including)
|
|
204
|
+
- description (recommend always including)
|
|
205
|
+
- category (if marketplace uses categories)
|
|
206
|
+
- tags (for discoverability)
|
|
207
|
+
|
|
208
|
+
3. Update marketplace.json with all plugin entries
|
|
209
|
+
|
|
210
|
+
4. Update README.md with plugin table:
|
|
211
|
+
|
|
212
|
+
| Plugin | Description | Version |
|
|
213
|
+
| ------ | ----------- | ------- |
|
|
214
|
+
| X | Does Y | 1.0.0 |
|
|
215
|
+
|
|
216
|
+
**Output**: All plugin entries configured in marketplace.json
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
## Phase 6: Distribution Setup
|
|
221
|
+
|
|
222
|
+
**Goal**: Configure distribution strategy based on target audience
|
|
223
|
+
|
|
224
|
+
**Actions**:
|
|
225
|
+
|
|
226
|
+
1. **For team/internal marketplaces**:
|
|
227
|
+
- Provide team settings configuration:
|
|
228
|
+
|
|
229
|
+
```json
|
|
230
|
+
{
|
|
231
|
+
"extraKnownMarketplaces": {
|
|
232
|
+
"marketplace-name": {
|
|
233
|
+
"source": {
|
|
234
|
+
"source": "github",
|
|
235
|
+
"repo": "org/marketplace-repo"
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
- Document which plugins should be in `enabledPlugins`
|
|
243
|
+
- Add to README: How team members install
|
|
244
|
+
|
|
245
|
+
2. **For community/public marketplaces**:
|
|
246
|
+
- Create CONTRIBUTING.md with:
|
|
247
|
+
- Plugin submission guidelines
|
|
248
|
+
- Review process
|
|
249
|
+
- Quality requirements
|
|
250
|
+
- Create CI workflow for validation (optional):
|
|
251
|
+
- JSON syntax check
|
|
252
|
+
- Required field validation
|
|
253
|
+
- Duplicate name detection
|
|
254
|
+
|
|
255
|
+
3. **For all marketplaces**:
|
|
256
|
+
- Document installation command in README:
|
|
257
|
+
|
|
258
|
+
```bash
|
|
259
|
+
/plugin marketplace add owner/repo
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
- List individual plugin installation:
|
|
263
|
+
|
|
264
|
+
```bash
|
|
265
|
+
/plugin install plugin-name@marketplace-name
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
**Output**: Distribution documentation complete
|
|
269
|
+
|
|
270
|
+
---
|
|
271
|
+
|
|
272
|
+
## Phase 7: Validation
|
|
273
|
+
|
|
274
|
+
**Goal**: Ensure marketplace meets quality standards
|
|
275
|
+
|
|
276
|
+
**Actions**:
|
|
277
|
+
|
|
278
|
+
1. **Run plugin-validator agent**:
|
|
279
|
+
- Use plugin-validator agent to validate marketplace
|
|
280
|
+
- Check: schema, required fields, plugin entries, source paths
|
|
281
|
+
|
|
282
|
+
2. **Fix critical issues**:
|
|
283
|
+
- Address any critical errors from validation
|
|
284
|
+
- Fix warnings that indicate real problems
|
|
285
|
+
|
|
286
|
+
3. **Validate local plugins** (if any):
|
|
287
|
+
- For each local plugin, run plugin validation
|
|
288
|
+
- Fix any issues found
|
|
289
|
+
|
|
290
|
+
4. **Check best practices**:
|
|
291
|
+
- All entries have version
|
|
292
|
+
- All entries have description
|
|
293
|
+
- README documents all plugins
|
|
294
|
+
- Owner information complete
|
|
295
|
+
|
|
296
|
+
5. **Present validation report**:
|
|
297
|
+
- Summary of marketplace validation
|
|
298
|
+
- Summary of each local plugin validation
|
|
299
|
+
- Overall quality assessment
|
|
300
|
+
|
|
301
|
+
6. **Ask user**: "Validation complete. Would you like me to fix any issues, or proceed to testing?"
|
|
302
|
+
|
|
303
|
+
**Output**: Marketplace validated and ready for testing
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
## Phase 8: Testing & Finalization
|
|
308
|
+
|
|
309
|
+
**Goal**: Test marketplace installation and finalize
|
|
310
|
+
|
|
311
|
+
**Actions**:
|
|
312
|
+
|
|
313
|
+
1. **Test locally**:
|
|
314
|
+
- Show user how to test:
|
|
315
|
+
|
|
316
|
+
```bash
|
|
317
|
+
/plugin marketplace add ./path/to/marketplace
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
- List marketplace:
|
|
321
|
+
|
|
322
|
+
```bash
|
|
323
|
+
/plugin marketplace list
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
- Install test plugin:
|
|
327
|
+
|
|
328
|
+
```bash
|
|
329
|
+
/plugin install plugin-name@marketplace-name
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
2. **Verification checklist**:
|
|
333
|
+
- [ ] Marketplace adds successfully
|
|
334
|
+
- [ ] All plugins appear in `/plugin` browser
|
|
335
|
+
- [ ] Local plugins install correctly
|
|
336
|
+
- [ ] External plugins accessible (if public)
|
|
337
|
+
|
|
338
|
+
3. **Create summary**:
|
|
339
|
+
- Mark all tasks complete
|
|
340
|
+
- List what was created:
|
|
341
|
+
- Marketplace name and purpose
|
|
342
|
+
- Number of plugins configured
|
|
343
|
+
- Distribution strategy
|
|
344
|
+
- Key files created
|
|
345
|
+
- Next steps:
|
|
346
|
+
- Push to GitHub/git hosting
|
|
347
|
+
- Share with team
|
|
348
|
+
- Add to project settings
|
|
349
|
+
|
|
350
|
+
4. **Suggest improvements** (optional):
|
|
351
|
+
- Additional plugins to consider
|
|
352
|
+
- CI/CD integration opportunities
|
|
353
|
+
- Version management strategies
|
|
354
|
+
|
|
355
|
+
**Output**: Complete, validated marketplace ready for distribution
|
|
356
|
+
|
|
357
|
+
---
|
|
358
|
+
|
|
359
|
+
## Important Notes
|
|
360
|
+
|
|
361
|
+
### Throughout All Phases
|
|
362
|
+
|
|
363
|
+
- **Use Task tools** to track progress at every phase (TaskCreate, TaskUpdate, TaskList)
|
|
364
|
+
- **Load marketplace-structure skill** for schema reference
|
|
365
|
+
- **Use plugin-validator agent** for validation
|
|
366
|
+
- **Ask for user confirmation** at key decision points
|
|
367
|
+
- **Follow this repository's marketplace.json** as reference
|
|
368
|
+
- **Apply best practices**:
|
|
369
|
+
- kebab-case names
|
|
370
|
+
- Complete owner information
|
|
371
|
+
- Version all entries
|
|
372
|
+
- Document all plugins in README
|
|
373
|
+
- ${CLAUDE_PLUGIN_ROOT} for local plugin paths
|
|
374
|
+
|
|
375
|
+
### Key Decision Points (Wait for User)
|
|
376
|
+
|
|
377
|
+
1. After Phase 1: Confirm marketplace purpose
|
|
378
|
+
2. After Phase 2: Approve plugin plan
|
|
379
|
+
3. After Phase 3: Confirm metadata
|
|
380
|
+
4. After Phase 5: Proceed to distribution setup
|
|
381
|
+
5. After Phase 7: Fix issues or proceed
|
|
382
|
+
|
|
383
|
+
### Skills to Load
|
|
384
|
+
|
|
385
|
+
- **Phase 2+**: marketplace-structure (for schema and patterns)
|
|
386
|
+
- **Phase 5**: plugin-structure (if creating local plugins)
|
|
387
|
+
|
|
388
|
+
### Quality Standards
|
|
389
|
+
|
|
390
|
+
Every marketplace must meet these standards:
|
|
391
|
+
|
|
392
|
+
- ✅ Valid JSON syntax
|
|
393
|
+
- ✅ All required fields present (name, owner, plugins)
|
|
394
|
+
- ✅ Plugin entries have name and source
|
|
395
|
+
- ✅ No duplicate plugin names
|
|
396
|
+
- ✅ Local source paths exist
|
|
397
|
+
- ✅ README documents marketplace and plugins
|
|
398
|
+
- ✅ Validated with plugin-validator agent
|
|
399
|
+
|
|
400
|
+
---
|
|
401
|
+
|
|
402
|
+
## Example Workflow
|
|
403
|
+
|
|
404
|
+
### User Request
|
|
405
|
+
|
|
406
|
+
"Create a marketplace for our team's internal tools"
|
|
407
|
+
|
|
408
|
+
### Phase 1: Discovery
|
|
409
|
+
|
|
410
|
+
- Understand: Internal team distribution
|
|
411
|
+
- Confirm: Team-only plugins, GitHub hosting
|
|
412
|
+
|
|
413
|
+
### Phase 2: Plugin Planning
|
|
414
|
+
|
|
415
|
+
- 3 plugins: linter-config (local), security-scanner (local), docs-generator (github)
|
|
416
|
+
|
|
417
|
+
### Phase 3: Metadata
|
|
418
|
+
|
|
419
|
+
- name: team-tools
|
|
420
|
+
- owner: Platform Team
|
|
421
|
+
- version: 1.0.0
|
|
422
|
+
|
|
423
|
+
### Phase 4-8: Structure, Entries, Distribution, Validation, Testing
|
|
424
|
+
|
|
425
|
+
---
|
|
426
|
+
|
|
427
|
+
Begin with Phase 1: Discovery.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Get an overview of plugin development capabilities and skill routing
|
|
3
|
+
argument-hint: [question or task]
|
|
4
|
+
allowed-tools: Skill, AskUserQuestion
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Invoke the plugin-dev:plugin-dev-guide skill to load plugin development guidance.
|
|
9
|
+
|
|
10
|
+
Then help with: $ARGUMENTS
|
|
11
|
+
|
|
12
|
+
If no arguments provided, summarize what plugin development capabilities are available and ask the user what they want to build or learn about.
|