agent-md-refactor
Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits…
Create and manage Claude Code plugins with proper structure, manifests, and marketplace integration. Use when creating plugins for a marketplace, adding plugin components (commands, agents, hooks), bumping plugin versions, or working with plugin.json/marketplace.json manifests.
Claude Code
$ npx -y skills add softaworks/agent-toolkit --skill plugin-forge --agent claude-code
Codex
$ npx skills add softaworks/agent-toolkit --skill plugin-forge -a codex -y
Cursor
$ npx skills add softaworks/agent-toolkit --skill plugin-forge -a cursor -y
Gemini CLI
$ npx skills add softaworks/agent-toolkit --skill plugin-forge -a gemini-cli -y
GitHub Copilot
$ npx skills add softaworks/agent-toolkit --skill plugin-forge -a github-copilot -y
OpenCode
$ npx skills add softaworks/agent-toolkit --skill plugin-forge -a opencode -y
Windsurf
$ npx skills add softaworks/agent-toolkit --skill plugin-forge -a windsurf -y
name: plugin-forge description: Create and manage Claude Code plugins with proper structure, manifests, and marketplace integration. Use when creating plugins for a marketplace, adding plugin components (commands, agents, hooks), bumping plugin versions, or working with plugin.json/marketplace.json manifests.
Build and manage Claude Code plugins with correct structure, manifests, and marketplace integration. Includes workflows, automation scripts, and reference docs.
Use `create_plugin.py` to generate plugin structure:
python scripts/create_plugin.py plugin-name \ --marketplace-root /path/to/marketplace \ --author-name "Your Name" \ --author-email "your.email@example.com" \ --description "Plugin description" \ --keywords "keyword1,keyword2" \ --category "productivity"
This automatically:
Use `bump_version.py` to update versions in both manifests:
python scripts/bump_version.py plugin-name major|minor|patch \ --marketplace-root /path/to/marketplace
Semantic versioning:
Manual approach (if not using script):
mkdir -p plugins/plugin-name/.claude-plugin mkdir -p plugins/plugin-name/commands mkdir -p plugins/plugin-name/skills
File: `plugins/plugin-name/.claude-plugin/plugin.json`
{
"name": "plugin-name",
"version": "0.1.0",
"description": "Plugin description",
"author": {
"name": "Your Name",
"email": "your.email@example.com"
},
"keywords": ["keyword1", "keyword2"]
}Update `.claude-plugin/marketplace.json`:
{
"name": "plugin-name",
"source": "./plugins/plugin-name",
"description": "Plugin description",
"version": "0.1.0",
"keywords": ["keyword1", "keyword2"],
"category": "productivity"
}Create in respective directories:
| Component | Location | Format | |-----------|----------|--------| | Commands | `commands/` | Markdown with frontmatter | | Skills | `skills/<name>/` | Directory with `SKILL.md` | | Agents | `agents/` | Markdown definitions | | Hooks | `hooks/hooks.json` | Event handlers | | MCP Servers | `.mcp.json` | External integrations |
# Add marketplace /plugin marketplace add /path/to/marketplace-root # Install plugin /plugin install plugin-name@marketplace-name # After changes: reinstall /plugin uninstall plugin-name@marketplace-name /plugin install plugin-name@marketplace-name
For framework-specific guidance (React, Vue, etc.):
plugins/framework-name/ ├── .claude-plugin/plugin.json ├── skills/ │ └── framework-name/ │ ├── SKILL.md │ └── references/ ├── commands/ │ └── prime/ │ ├── components.md │ └── framework.md └── README.md
For tools and commands:
plugins/utility-name/ ├── .claude-plugin/plugin.json ├── commands/ │ ├── action1.md │ └── action2.md └── README.md
For domain-specific knowledge:
plugins/domain-name/ ├── .claude-plugin/plugin.json ├── skills/ │ └── domain-name/ │ ├── SKILL.md │ ├── references/ │ └── scripts/ └── README.md
Subdirectory-based namespacing with `:` separator:
Examples:
**Important:** Update version in BOTH locations:
1. `plugins/<name>/.claude-plugin/plugin.json` 2. `.claude-plugin/marketplace.json`
Use `bump_version.py` to automate.
Use conventional commits:
git commit -m "feat: add new plugin" git commit -m "fix: correct plugin manifest" git commit -m "docs: update plugin README" git commit -m "feat!: breaking change"
Detailed documentation included:
| Reference | Content | |-----------|---------| | `references/plugin-structure.md` | Directory structure, manifest schema, components | | `references/marketplace-schema.md` | Marketplace format, plugin entries, distribution | | `references/workflows.md` | Step-by-step workflows, patterns, publishing |
| Script | Purpose | |--------|---------| | `scripts/create_plugin.py` | Scaffold new plugin | | `scripts/bump_version.py` | Update versions |
Opinionated skills shared by @leonardocouy for improving daily work efficiency with Claude Code. Skills are packaged instructions and scripts that extend agent capabilities across development, documentation, planning, and professional workflows.
Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits…
Create API handoff documentation for frontend developers. Use when backend work is complete and needs to be documented for…
Generate architecture documentation using C4 model Mermaid diagrams. Use when asked to create architecture diagrams, document…
Use when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex for code analysis, refactoring, or…
This skill should be used when creating a Claude Code slash command. Use when users ask to "create a command", "make a slash…
Create high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…