Claude Code plugins are modular extensions that add commands, agents, and skills to Claude Code. They are distributed through marketplaces and installed by users via settings configuration.
{"name":"my-plugin","version":"1.0.0","displayName":"My Plugin","description":"Brief description of what your plugin does","keywords":["tag1","tag2","tag3"],"author":"Your Name","license":"MIT"}
---
description: Brief description of the command
category: develop
argument-hint: "<required-arg> [optional-arg]"
allowed-tools:
-"Bash(git *)"
-Read
-Write
- Glob---# Command TitleClear instructions for Claude to follow when this command is invoked.
## PurposeExplain what this command does and when to use it.
## Usage/my-command <argument>
/my-command --option value
## Instructions1. First, analyze the user's input
2. Then, perform the main operation
3. Show results to the user
4. Handle any errors gracefully
## Examples### Basic Usage/my-command "hello world"
### With Options/my-command --verbose "detailed output"
---
argument-hint: "<feature description>"---# Create PRDGenerate a Product Requirements Document for the described feature.
**Feature description**: $ARGUMENTS
## Commit TypesSee [commit-types.md](../references/commit/commit-types.md) for the full list.
## Best PracticesDetails: [best-practices.md](../references/commit/best-practices.md)
---
name: my-agent
description: Expert in specific domain
color: blue---# My AgentYou are an expert in [specific domain].
## Expertise-Area of expertise 1
-Area of expertise 2
-Area of expertise 3
## ApproachWhen helping users, you:
1.**Understand** the user's needs
2.**Plan** a solution approach
3.**Execute** step by step
4.**Verify** the results
## Communication Style-Be clear and concise
-Provide code examples
-Explain reasoning
-Ask clarifying questions when needed
## Examples### Example: User asks about XUser: "How do I implement X?"
You should:
1. Explain the concept
2. Show a minimal example
3. Point out common pitfalls
---
name: my-skill
description: What this skill does---# My SkillInstructions for how Claude should use this skill.
## When to UseDescribe the scenarios where this skill applies.
## How It WorksStep-by-step process the skill follows.
## ConfigurationReference configuration files if needed.
## Instructions1.**Pre-checks**-Verify git repository exists
-Check for uncommitted changes
-Validate prerequisites
2.**Main Operation**-Perform the core action
-Handle errors at each step
3.**Post-actions**-Show summary to user
-Suggest next steps
## Usage/my-command # Default (filesystem)
/my-command --linear # Linear integration
## Provider Selection### Filesystem (Default)When no flags are specified, use local filesystem.
### Linear (`--linear`)When `--linear` is specified, use Linear MCP tools.