Agent skill
manifest-generator
Generate and validate plugin manifest files (plugin.json, marketplace.json). Use when creating new plugins, updating manifests, adding plugins to marketplaces, or preparing for distribution.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/manifest-generator
SKILL.md
Manifest Generator
This skill provides knowledge for generating and managing Claude Code plugin manifests.
plugin.json Generation
Template
{
"name": "[plugin-name]",
"version": "1.0.0",
"description": "[brief description]",
"author": {
"name": "[author name]",
"email": "[optional email]"
},
"license": "MIT",
"keywords": ["[keyword1]", "[keyword2]"],
"repository": "[optional repo URL]",
"homepage": "[optional docs URL]"
}
Auto-Discovery Patterns
Scan for components using these patterns:
| Component | Pattern | Example |
|---|---|---|
| Skills | skills/*/SKILL.md |
skills/my-skill/SKILL.md |
| Commands | commands/**/*.md |
commands/pb/validate.md |
| Agents | agents/*.md |
agents/validator.md |
| Hooks | hooks/hooks.json |
- |
| MCP | .mcp.json |
- |
Generation Process
- Read existing manifest (if any)
- Scan plugin directory for components
- Extract metadata from discovered files
- Generate keywords from skill/command names
- Prompt user for missing required fields
- Write manifest to
.claude-plugin/plugin.json
marketplace.json Generation
Template
{
"name": "[marketplace-name]",
"owner": {
"name": "[owner name]",
"email": "[optional email]"
},
"plugins": [
{
"name": "[plugin-name]",
"source": "./plugins/[plugin-name]",
"description": "[plugin description]",
"version": "[version]",
"keywords": ["[keyword1]"]
}
]
}
Adding Plugin to Marketplace
- Read existing
marketplace.json - Check if plugin already exists (update vs add)
- Extract plugin metadata from its
plugin.json - Add/update entry in plugins array
- Write updated
marketplace.json
Version Management
Semantic Versioning
Format: MAJOR.MINOR.PATCH
- MAJOR: Breaking changes
- MINOR: New features (backwards compatible)
- PATCH: Bug fixes
Version Bumping
1.0.0 → 1.0.1 (patch: fix)
1.0.1 → 1.1.0 (minor: feature)
1.1.0 → 2.0.0 (major: breaking)
Auto-Increment
When updating an existing manifest:
- Default: increment PATCH
- User can specify:
--major,--minor,--patch
Validation Rules
Before writing manifests, validate:
plugin.json
-
nameis lowercase, alphanumeric, hyphens -
versionfollows semver -
descriptionis present and meaningful -
author.nameis present - JSON is valid
marketplace.json
-
nameis present -
owner.nameis present -
pluginsis an array - Each plugin has
nameandsource - Source paths exist
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?