Compare commits

..

39 Commits

Author SHA1 Message Date
Tobin South
f48826bbfb Add elixir-ls-lsp to marketplace 2026-03-17 13:29:42 -07:00
Tobin South
121ca90c08 Remove external_plugins changes from staging
Moved to external-plugins-staging branch for separate review.
2026-03-16 18:46:20 -07:00
Tobin South
e1706ebd52 Merge pull request #669 from anthropics/add-plugin/intercom
add(plugin-json): intercom
2026-03-17 00:49:58 +00:00
Tobin South
6e4cf38fe2 Merge pull request #678 from anthropics/claude/merge-pr-669-d73N4
Resolve merge conflict in add-plugin/intercom vs staging
2026-03-17 00:49:43 +00:00
Tobin South
cc9555bb90 Merge latest staging to resolve conflict 2026-03-17 00:48:13 +00:00
Claude
79bed4d3b0 Merge remote-tracking branch 'origin/staging' into claude/merge-pr-669-d73N4
# Conflicts:
#	.claude-plugin/marketplace.json
2026-03-17 00:42:04 +00:00
Tobin South
fefdd738be Merge staging into add-plugin/intercom to resolve conflict 2026-03-17 00:40:45 +00:00
Tobin South
0c1407ea30 Merge pull request #676 from anthropics/tobin/qodo-patch-remove-sha 2026-03-17 00:34:05 +00:00
Tobin South
adeb0436c2 Merge pull request #670 from anthropics/add-plugin/neon 2026-03-17 00:31:07 +00:00
Tobin South
28ebfe4135 Merge pull request #664 from anthropics/claude/slack-replace-vercel-plugin-pointer-cadNe 2026-03-17 00:30:55 +00:00
Tobin South
3d0d05576d Remove qodo SHA 2026-03-16 23:05:02 +00:00
Tobin South
124fcfaa1e Add neon to marketplace 2026-03-16 13:49:40 -07:00
Tobin South
cccd8b3ea2 Add intercom to marketplace 2026-03-16 13:49:30 -07:00
Tobin South
478ea5b46a add(plugin): bonfire — session-context workflow tooling
Adapted from PR #108 by @vieko (Vercel).
Original: https://github.com/anthropics/claude-plugins-official/pull/108
2026-03-16 12:51:34 -07:00
Tobin South
fd805b5e4b add(plugin): microsoft-docs — official Microsoft documentation MCP
Adapted from PR #55 by @TianqiZhang (Microsoft).
Original: https://github.com/anthropics/claude-plugins-official/pull/55
2026-03-16 12:51:34 -07:00
Tobin South
fd8defbb34 add(plugin): atomic-agents — BrainBlend-AI framework
Adapted from PR #46 by @KennyVaneetvelde (BrainBlend-AI).
Original: https://github.com/anthropics/claude-plugins-official/pull/46
2026-03-16 12:51:34 -07:00
Tobin South
328a0a7190 add(plugin): stagehand — Browserbase browser automation
Adapted from PR #43 by @Kylejeong2 (Browserbase). PR's marketplace.json
had a syntax error (missing '},' before adjacent entry); entry
reconstructed from the diff.
Original: https://github.com/anthropics/claude-plugins-official/pull/43
2026-03-16 12:51:33 -07:00
Tobin South
3f3d3daeb8 add(plugin): autofix-bot — DeepSource automated code review
Adapted from PR #23 by @jai-deepsource (DeepSource).
Original: https://github.com/anthropics/claude-plugins-official/pull/23
2026-03-16 12:51:33 -07:00
Tobin South
f59c36423d add(plugin): terraform — HashiCorp infrastructure-as-code
Adapted from PR #14 by @gautambaghel (HashiCorp).
Original: https://github.com/anthropics/claude-plugins-official/pull/14
2026-03-16 12:51:33 -07:00
Tobin South
e97b983948 docs(ralph-loop): add Windows compatibility section
Retargeted from PR #124 (originally against plugins/ralph-wiggum/,
since renamed). Documents the Git Bash workaround for Windows users
hitting WSL bash resolution issues in the stop hook.

Original author: @stefanzvonar
2026-03-16 12:49:52 -07:00
Tobin South
db1e313270 Merge PR #77: Update Context7 plugin with Skills, Agents and v2 2026-03-16 12:49:31 -07:00
Tobin South
c91a334747 Merge PR #119: Add README and setup documentation for Greptile plugin 2026-03-16 12:49:30 -07:00
Tobin South
4f0a09875b Merge PR #497: Fix empty array crash on bash 3.2 in setup-ralph-loop.sh 2026-03-16 12:49:30 -07:00
Tobin South
f3f13c4499 Merge PR #116: fix(plugin-dev): add missing .claude-plugin/plugin.json 2026-03-16 12:49:30 -07:00
Tobin South
a5bd1097e8 Merge PR #311: Change Notion name to lowercase in marketplace.json 2026-03-16 12:49:30 -07:00
Tobin South
8a25030d01 Merge PR #102: Fix README typo 2026-03-16 12:49:29 -07:00
Tobin South
1086e0cc1a vercel-labs to vercel 2026-03-16 17:58:57 +00:00
Claude
c554ce45e3 Update Vercel plugin to point to vercel-labs/vercel-plugin
Replace the marketplace pointer for the Vercel plugin from
vercel/vercel-deploy-claude-code-plugin to vercel-labs/vercel-plugin.
2026-03-16 17:26:15 +00:00
LuciferDono
acd3701274 Fix empty array crash on bash 3.2 in setup-ralph-loop.sh 2026-03-04 00:26:10 +05:30
Matt Kotsenas
cd89e41cf4 Change Notion name to lowercase in marketplace.json
According to the SKILLS spec (see https://agentskills.io/specification#:~:text=Max%2064%20characters.%20Lowercase%20letters%2C%20numbers%2C%20and%20hyphens%20only.%20Must%20not%20start%20or%20end%20with%20a%20hyphen.) names should not contain uppercase letters. This prevents loading the marketplace in spec-compliant agents.

Update the name to be in lowercase.
2026-01-30 16:47:12 -08:00
Fahreddin Özcan
42d7afb1f0 fix: installation guide 2026-01-16 11:10:54 +03:00
Fahreddin Özcan
085871e8e7 fmt 2026-01-16 11:10:54 +03:00
Fahreddin Özcan
32f2cdbe0c feat: update tools with better skill/agent format prompt 2026-01-16 11:10:53 +03:00
Fahreddin Özcan
24cec23cf1 Switch Context7 MCP to remote HTTP server 2026-01-16 11:10:53 +03:00
Fahreddin Özcan
c7ba9d4c43 Update Context7 plugin for v2 API
- Update skill/agent/command to use new query-docs tool (replaces get-library-docs)
- Add query parameter usage for intelligent reranking
- Add version pinning support (e.g., /vercel/next.js/v15.1.8)
- Add tools and model metadata to agent
- Simplify docs to focus on workflow, not parameter details
- Add README.md with usage examples
2026-01-16 11:10:53 +03:00
Fahreddin Özcan
72fa7b63ed feat: add c7 agent 2026-01-16 11:10:53 +03:00
Daksh Gupta
a5604c1355 Add README and setup documentation for Greptile plugin
- Add README.md with setup instructions for getting API key
- Document the GREPTILE_API_KEY environment variable requirement
- Add homepage, author URL, and keywords to plugin.json
- Update description to reflect Greptile as AI code review agent

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-05 12:43:54 -08:00
Julien Tavernier
8e7c0615e6 fix(plugin-dev): add missing .claude-plugin/plugin.json
The plugin-dev plugin was missing its required plugin.json manifest file,
causing the plugin to fail loading. This adds the missing configuration
file following the same format as other official plugins.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 17:10:46 +04:00
Han T.
aab3f1ba3f fix readme typo 2026-01-02 11:56:46 -08:00
6 changed files with 71 additions and 193 deletions

View File

@@ -397,7 +397,7 @@
}, },
{ {
"name": "playground", "name": "playground",
"description": "Creates interactive HTML playgrounds \u2014 self-contained single-file explorers with visual controls, live preview, and prompt output with copy button. Includes templates for design playgrounds, data explorers, concept maps, and document critique.", "description": "Creates interactive HTML playgrounds self-contained single-file explorers with visual controls, live preview, and prompt output with copy button. Includes templates for design playgrounds, data explorers, concept maps, and document critique.",
"author": { "author": {
"name": "Anthropic", "name": "Anthropic",
"email": "support@anthropic.com" "email": "support@anthropic.com"
@@ -675,7 +675,7 @@
}, },
{ {
"name": "coderabbit", "name": "coderabbit",
"description": "Your code review partner. CodeRabbit provides external validation using a specialized AI architecture and 40+ integrated static analyzers\u2014offering a different perspective that catches bugs, security vulnerabilities, logic errors, and edge cases. Context-aware analysis via AST parsing and codegraph relationships. Automatically incorporates CLAUDE.md and project coding guidelines into reviews. Useful after writing or modifying code, before commits, when implementing complex or security-sensitive logic, or when a second opinion would increase confidence in the changes. Returns specific findings with suggested fixes that can be applied immediately. Free to use.", "description": "Your code review partner. CodeRabbit provides external validation using a specialized AI architecture and 40+ integrated static analyzersoffering a different perspective that catches bugs, security vulnerabilities, logic errors, and edge cases. Context-aware analysis via AST parsing and codegraph relationships. Automatically incorporates CLAUDE.md and project coding guidelines into reviews. Useful after writing or modifying code, before commits, when implementing complex or security-sensitive logic, or when a second opinion would increase confidence in the changes. Returns specific findings with suggested fixes that can be applied immediately. Free to use.",
"category": "productivity", "category": "productivity",
"source": { "source": {
"source": "url", "source": "url",
@@ -705,7 +705,7 @@
}, },
{ {
"name": "qodo-skills", "name": "qodo-skills",
"description": "Qodo Skills provides a curated library of reusable AI agent capabilities that extend Claude's functionality for software development workflows. Each skill is designed to integrate seamlessly into your development process, enabling tasks like code quality checks, automated testing, security scanning, and compliance validation. Skills operate across your entire SDLC\u2014from IDE to CI/CD\u2014ensuring consistent standards and catching issues early.", "description": "Qodo Skills provides a curated library of reusable AI agent capabilities that extend Claude's functionality for software development workflows. Each skill is designed to integrate seamlessly into your development process, enabling tasks like code quality checks, automated testing, security scanning, and compliance validation. Skills operate across your entire SDLCfrom IDE to CI/CDensuring consistent standards and catching issues early.",
"category": "development", "category": "development",
"source": { "source": {
"source": "url", "source": "url",
@@ -1038,6 +1038,16 @@
"sha": "eeef353eead2e3dc5f33f64dbaae54e1309e0d45" "sha": "eeef353eead2e3dc5f33f64dbaae54e1309e0d45"
}, },
"homepage": "https://github.com/intercom/claude-plugin-external" "homepage": "https://github.com/intercom/claude-plugin-external"
},
{
"name": "elixir-ls-lsp",
"description": "Elixir language server (ElixirLS) for Claude Code — provides code intelligence and diagnostics for .ex, .exs, and .heex files.",
"source": {
"source": "url",
"url": "https://github.com/MikaelFangel/claude-elixir-ls-lsp.git",
"sha": "806a6eeeb88b9a306a59b3212a1d5d88aa5c70af"
},
"homepage": "https://elixir-lsp.github.io/elixir-ls/"
} }
] ]
} }

View File

@@ -9,22 +9,30 @@ example-plugin/
├── .claude-plugin/ ├── .claude-plugin/
│ └── plugin.json # Plugin metadata │ └── plugin.json # Plugin metadata
├── .mcp.json # MCP server configuration ├── .mcp.json # MCP server configuration
├── skills/ ├── commands/
── example-skill/ ── example-command.md # Slash command definition
│ │ └── SKILL.md # Model-invoked skill (contextual guidance) └── skills/
└── example-command/ └── example-skill/
└── SKILL.md # User-invoked skill (slash command) └── SKILL.md # Skill definition
└── commands/
└── example-command.md # Legacy slash command format (see note below)
``` ```
## Extension Options ## Extension Options
### Commands (`commands/`)
Slash commands are user-invoked via `/command-name`. Define them as markdown files with frontmatter:
```yaml
---
description: Short description for /help
argument-hint: <arg1> [optional-arg]
allowed-tools: [Read, Glob, Grep]
---
```
### Skills (`skills/`) ### Skills (`skills/`)
Skills are the preferred format for both model-invoked capabilities and user-invoked slash commands. Create a `SKILL.md` in a subdirectory: Skills are model-invoked capabilities. Create a `SKILL.md` in a subdirectory:
**Model-invoked skill** (activated by task context):
```yaml ```yaml
--- ---
@@ -34,21 +42,6 @@ version: 1.0.0
--- ---
``` ```
**User-invoked skill** (slash command — `/skill-name`):
```yaml
---
name: skill-name
description: Short description for /help
argument-hint: <arg1> [optional-arg]
allowed-tools: [Read, Glob, Grep]
---
```
### Commands (`commands/`) — legacy
> **Note:** The `commands/*.md` layout is a legacy format. It is loaded identically to `skills/<name>/SKILL.md` — the only difference is file layout. For new plugins, prefer the `skills/` directory format. This plugin keeps `commands/example-command.md` as a reference for the legacy layout.
### MCP Servers (`.mcp.json`) ### MCP Servers (`.mcp.json`)
Configure external tool integration via Model Context Protocol: Configure external tool integration via Model Context Protocol:

View File

@@ -1,12 +1,10 @@
--- ---
description: An example slash command that demonstrates command frontmatter options (legacy format) description: An example slash command that demonstrates command frontmatter options
argument-hint: <required-arg> [optional-arg] argument-hint: <required-arg> [optional-arg]
allowed-tools: [Read, Glob, Grep, Bash] allowed-tools: [Read, Glob, Grep, Bash]
--- ---
# Example Command (Legacy `commands/` Format) # Example Command
> **Note:** This demonstrates the legacy `commands/*.md` layout. For new plugins, prefer the `skills/<name>/SKILL.md` directory format (see `skills/example-command/SKILL.md` in this plugin). Both are loaded identically — the only difference is file layout.
This command demonstrates slash command structure and frontmatter options. This command demonstrates slash command structure and frontmatter options.

View File

@@ -1,39 +0,0 @@
---
name: example-command
description: An example user-invoked skill that demonstrates frontmatter options and the skills/<name>/SKILL.md layout
argument-hint: <required-arg> [optional-arg]
allowed-tools: [Read, Glob, Grep, Bash]
---
# Example Command (Skill Format)
This demonstrates the `skills/<name>/SKILL.md` layout for user-invoked slash commands. It is functionally identical to the legacy `commands/example-command.md` format — both are loaded the same way; only the file layout differs.
## Arguments
The user invoked this with: $ARGUMENTS
## Instructions
When this skill is invoked:
1. Parse the arguments provided by the user
2. Perform the requested action using allowed tools
3. Report results back to the user
## Frontmatter Options Reference
Skills in this layout support these frontmatter fields:
- **name**: Skill identifier (matches directory name)
- **description**: Short description shown in /help
- **argument-hint**: Hints for command arguments shown to user
- **allowed-tools**: Pre-approved tools for this skill (reduces permission prompts)
- **model**: Override the model (e.g., "haiku", "sonnet", "opus")
## Example Usage
```
/example-command my-argument
/example-command arg1 arg2
```

View File

@@ -1,18 +1,7 @@
--- ---
description: Guided end-to-end plugin creation workflow with component design, implementation, and validation description: Guided end-to-end plugin creation workflow with component design, implementation, and validation
argument-hint: Optional plugin description argument-hint: Optional plugin description
allowed-tools: allowed-tools: ["Read", "Write", "Grep", "Glob", "Bash", "TodoWrite", "AskUserQuestion", "Skill", "Task"]
[
"Read",
"Write",
"Grep",
"Glob",
"Bash",
"TodoWrite",
"AskUserQuestion",
"Skill",
"Task",
]
--- ---
# Plugin Creation Workflow # Plugin Creation Workflow
@@ -37,7 +26,6 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
**Goal**: Understand what plugin needs to be built and what problem it solves **Goal**: Understand what plugin needs to be built and what problem it solves
**Actions**: **Actions**:
1. Create todo list with all 7 phases 1. Create todo list with all 7 phases
2. If plugin purpose is clear from arguments: 2. If plugin purpose is clear from arguments:
- Summarize understanding - Summarize understanding
@@ -60,17 +48,14 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
**MUST load plugin-structure skill** using Skill tool before this phase. **MUST load plugin-structure skill** using Skill tool before this phase.
**Actions**: **Actions**:
1. Load plugin-structure skill to understand component types 1. Load plugin-structure skill to understand component types
2. Analyze plugin requirements and determine needed components: 2. Analyze plugin requirements and determine needed components:
- **Skills**: Specialized knowledge OR user-initiated actions (deploy, configure, analyze). Skills are the preferred format for both — see note below. - **Skills**: Does it need specialized knowledge? (hooks API, MCP patterns, etc.)
- **Commands**: User-initiated actions? (deploy, configure, analyze)
- **Agents**: Autonomous tasks? (validation, generation, analysis) - **Agents**: Autonomous tasks? (validation, generation, analysis)
- **Hooks**: Event-driven automation? (validation, notifications) - **Hooks**: Event-driven automation? (validation, notifications)
- **MCP**: External service integration? (databases, APIs) - **MCP**: External service integration? (databases, APIs)
- **Settings**: User configuration? (.local.md files) - **Settings**: User configuration? (.local.md files)
> **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.
3. For each component type needed, identify: 3. For each component type needed, identify:
- How many of each type - How many of each type
- What each one does - What each one does
@@ -79,7 +64,8 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
``` ```
| Component Type | Count | Purpose | | Component Type | Count | Purpose |
|----------------|-------|---------| |----------------|-------|---------|
| Skills | 5 | Hook patterns, MCP usage, deploy, configure, validate | | Skills | 2 | Hook patterns, MCP usage |
| Commands | 3 | Deploy, configure, validate |
| Agents | 1 | Autonomous validation | | Agents | 1 | Autonomous validation |
| Hooks | 0 | Not needed | | Hooks | 0 | Not needed |
| MCP | 1 | Database integration | | MCP | 1 | Database integration |
@@ -97,9 +83,9 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
**CRITICAL**: This is one of the most important phases. DO NOT SKIP. **CRITICAL**: This is one of the most important phases. DO NOT SKIP.
**Actions**: **Actions**:
1. For each component in the plan, identify underspecified aspects: 1. For each component in the plan, identify underspecified aspects:
- **Skills**: What triggers them? What knowledge do they provide? How detailed? For user-invoked skills: what arguments, what tools, interactive or automated? - **Skills**: What triggers them? What knowledge do they provide? How detailed?
- **Commands**: What arguments? What tools? Interactive or automated?
- **Agents**: When to trigger (proactive/reactive)? What tools? Output format? - **Agents**: When to trigger (proactive/reactive)? What tools? Output format?
- **Hooks**: Which events? Prompt or command based? Validation criteria? - **Hooks**: Which events? Prompt or command based? Validation criteria?
- **MCP**: What server type? Authentication? Which tools? - **MCP**: What server type? Authentication? Which tools?
@@ -112,14 +98,12 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
4. If user says "whatever you think is best", provide specific recommendations and get explicit confirmation 4. If user says "whatever you think is best", provide specific recommendations and get explicit confirmation
**Example questions for a skill**: **Example questions for a skill**:
- What specific user queries should trigger this skill? - What specific user queries should trigger this skill?
- Should it include utility scripts? What functionality? - Should it include utility scripts? What functionality?
- How detailed should the core SKILL.md be vs references/? - How detailed should the core SKILL.md be vs references/?
- Any real-world examples to include? - Any real-world examples to include?
**Example questions for an agent**: **Example questions for an agent**:
- Should this agent trigger proactively after certain actions, or only when explicitly requested? - Should this agent trigger proactively after certain actions, or only when explicitly requested?
- What tools does it need (Read, Write, Bash, etc.)? - What tools does it need (Read, Write, Bash, etc.)?
- What should the output format be? - What should the output format be?
@@ -134,7 +118,6 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
**Goal**: Create plugin directory structure and manifest **Goal**: Create plugin directory structure and manifest
**Actions**: **Actions**:
1. Determine plugin name (kebab-case, descriptive) 1. Determine plugin name (kebab-case, descriptive)
2. Choose plugin location: 2. Choose plugin location:
- Ask user: "Where should I create the plugin?" - Ask user: "Where should I create the plugin?"
@@ -142,10 +125,10 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
3. Create directory structure using bash: 3. Create directory structure using bash:
```bash ```bash
mkdir -p plugin-name/.claude-plugin mkdir -p plugin-name/.claude-plugin
mkdir -p plugin-name/skills/<skill-name> # one dir per skill, each with a SKILL.md mkdir -p plugin-name/skills # if needed
mkdir -p plugin-name/commands # if needed
mkdir -p plugin-name/agents # if needed mkdir -p plugin-name/agents # if needed
mkdir -p plugin-name/hooks # if needed mkdir -p plugin-name/hooks # if needed
# Note: plugin-name/commands/ is a legacy alternative to skills/ — prefer skills/
``` ```
4. Create plugin.json manifest using Write tool: 4. Create plugin.json manifest using Write tool:
```json ```json
@@ -160,7 +143,7 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
} }
``` ```
5. Create README.md template 5. Create README.md template
6. Create .gitignore if needed (for .claude/\*.local.md, etc.) 6. Create .gitignore if needed (for .claude/*.local.md, etc.)
7. Initialize git repo if creating new directory 7. Initialize git repo if creating new directory
**Output**: Plugin directory structure created and ready for components **Output**: Plugin directory structure created and ready for components
@@ -172,9 +155,8 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
**Goal**: Create each component following best practices **Goal**: Create each component following best practices
**LOAD RELEVANT SKILLS** before implementing each component type: **LOAD RELEVANT SKILLS** before implementing each component type:
- Skills: Load skill-development skill - Skills: Load skill-development skill
- Legacy `commands/` format (only if user explicitly requests): Load command-development skill - Commands: Load command-development skill
- Agents: Load agent-development skill - Agents: Load agent-development skill
- Hooks: Load hook-development skill - Hooks: Load hook-development skill
- MCP: Load mcp-integration skill - MCP: Load mcp-integration skill
@@ -183,26 +165,21 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
**Actions for each component**: **Actions for each component**:
### For Skills: ### For Skills:
1. Load skill-development skill using Skill tool 1. Load skill-development skill using Skill tool
2. For each skill: 2. For each skill:
- Ask user for concrete usage examples (or use from Phase 3) - Ask user for concrete usage examples (or use from Phase 3)
- Plan resources (scripts/, references/, examples/) - Plan resources (scripts/, references/, examples/)
- Create skill directory: `skills/<skill-name>/` - Create skill directory structure
- Write `SKILL.md` with: - Write SKILL.md with:
- Third-person description with specific trigger phrases - Third-person description with specific trigger phrases
- Lean body (1,500-2,000 words) in imperative form - Lean body (1,500-2,000 words) in imperative form
- References to supporting files - References to supporting files
- For user-invoked skills (slash commands): include `description`, `argument-hint`, and `allowed-tools` frontmatter; write instructions FOR Claude (not TO user)
- Create reference files for detailed content - Create reference files for detailed content
- Create example files for working code - Create example files for working code
- Create utility scripts if needed - Create utility scripts if needed
3. Use skill-reviewer agent to validate each skill 3. Use skill-reviewer agent to validate each skill
### For legacy `commands/` format (only if user explicitly requests): ### For Commands:
> Prefer `skills/<name>/SKILL.md` for new plugins. Use `commands/` only when maintaining an existing plugin that already uses this layout.
1. Load command-development skill using Skill tool 1. Load command-development skill using Skill tool
2. For each command: 2. For each command:
- Write command markdown with frontmatter - Write command markdown with frontmatter
@@ -213,7 +190,6 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
- Reference relevant skills if applicable - Reference relevant skills if applicable
### For Agents: ### For Agents:
1. Load agent-development skill using Skill tool 1. Load agent-development skill using Skill tool
2. For each agent, use agent-creator agent: 2. For each agent, use agent-creator agent:
- Provide description of what agent should do - Provide description of what agent should do
@@ -223,7 +199,6 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
- Validate with validate-agent.sh script - Validate with validate-agent.sh script
### For Hooks: ### For Hooks:
1. Load hook-development skill using Skill tool 1. Load hook-development skill using Skill tool
2. For each hook: 2. For each hook:
- Create hooks/hooks.json with hook configuration - Create hooks/hooks.json with hook configuration
@@ -233,7 +208,6 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
- Test with validate-hook-schema.sh and test-hook.sh utilities - Test with validate-hook-schema.sh and test-hook.sh utilities
### For MCP: ### For MCP:
1. Load mcp-integration skill using Skill tool 1. Load mcp-integration skill using Skill tool
2. Create .mcp.json configuration with: 2. Create .mcp.json configuration with:
- Server type (stdio for local, SSE for hosted) - Server type (stdio for local, SSE for hosted)
@@ -244,7 +218,6 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
4. Provide setup instructions 4. Provide setup instructions
### For Settings: ### For Settings:
1. Load plugin-settings skill using Skill tool 1. Load plugin-settings skill using Skill tool
2. Create settings template in README 2. Create settings template in README
3. Create example .claude/plugin-name.local.md file (as documentation) 3. Create example .claude/plugin-name.local.md file (as documentation)
@@ -262,7 +235,6 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
**Goal**: Ensure plugin meets quality standards and works correctly **Goal**: Ensure plugin meets quality standards and works correctly
**Actions**: **Actions**:
1. **Run plugin-validator agent**: 1. **Run plugin-validator agent**:
- Use plugin-validator agent to comprehensively validate plugin - Use plugin-validator agent to comprehensively validate plugin
- Check: manifest, structure, naming, components, security - Check: manifest, structure, naming, components, security
@@ -303,7 +275,6 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
**Goal**: Test that plugin works correctly in Claude Code **Goal**: Test that plugin works correctly in Claude Code
**Actions**: **Actions**:
1. **Installation instructions**: 1. **Installation instructions**:
- Show user how to test locally: - Show user how to test locally:
```bash ```bash
@@ -313,7 +284,7 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
2. **Verification checklist** for user to perform: 2. **Verification checklist** for user to perform:
- [ ] Skills load when triggered (ask questions with trigger phrases) - [ ] Skills load when triggered (ask questions with trigger phrases)
- [ ] User-invoked skills appear in `/help` and execute correctly - [ ] Commands appear in `/help` and execute correctly
- [ ] Agents trigger on appropriate scenarios - [ ] Agents trigger on appropriate scenarios
- [ ] Hooks activate on events (if applicable) - [ ] Hooks activate on events (if applicable)
- [ ] MCP servers connect (if applicable) - [ ] MCP servers connect (if applicable)
@@ -321,7 +292,7 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
3. **Testing recommendations**: 3. **Testing recommendations**:
- For skills: Ask questions using trigger phrases from descriptions - For skills: Ask questions using trigger phrases from descriptions
- For user-invoked skills: Run `/plugin-name:skill-name` with various arguments - For commands: Run `/plugin-name:command-name` with various arguments
- For agents: Create scenarios matching agent examples - For agents: Create scenarios matching agent examples
- For hooks: Use `claude --debug` to see hook execution - For hooks: Use `claude --debug` to see hook execution
- For MCP: Use `/mcp` to verify servers and tools - For MCP: Use `/mcp` to verify servers and tools
@@ -339,7 +310,6 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
**Goal**: Ensure plugin is well-documented and ready for distribution **Goal**: Ensure plugin is well-documented and ready for distribution
**Actions**: **Actions**:
1. **Verify README completeness**: 1. **Verify README completeness**:
- Check README has: overview, features, installation, prerequisites, usage - Check README has: overview, features, installation, prerequisites, usage
- For MCP plugins: Document required environment variables - For MCP plugins: Document required environment variables
@@ -355,7 +325,7 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
- Mark all todos complete - Mark all todos complete
- List what was created: - List what was created:
- Plugin name and purpose - Plugin name and purpose
- Components created (X skills, Y agents, etc.) - Components created (X skills, Y commands, Z agents, etc.)
- Key files and their purposes - Key files and their purposes
- Total file count and structure - Total file count and structure
- Next steps: - Next steps:
@@ -384,7 +354,7 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
- **Apply best practices**: - **Apply best practices**:
- Third-person descriptions for skills - Third-person descriptions for skills
- Imperative form in skill bodies - Imperative form in skill bodies
- Skill instructions written FOR Claude (not TO user) - Commands written FOR Claude
- Strong trigger phrases - Strong trigger phrases
- ${CLAUDE_PLUGIN_ROOT} for portability - ${CLAUDE_PLUGIN_ROOT} for portability
- Progressive disclosure - Progressive disclosure
@@ -401,13 +371,12 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
### Skills to Load by Phase ### Skills to Load by Phase
- **Phase 2**: plugin-structure - **Phase 2**: plugin-structure
- **Phase 5**: skill-development, agent-development, hook-development, mcp-integration, plugin-settings (as needed); command-development only for legacy `commands/` layout - **Phase 5**: skill-development, command-development, agent-development, hook-development, mcp-integration, plugin-settings (as needed)
- **Phase 6**: (agents will use skills automatically) - **Phase 6**: (agents will use skills automatically)
### Quality Standards ### Quality Standards
Every component must meet these standards: Every component must meet these standards:
- ✅ Follows plugin-dev's proven patterns - ✅ Follows plugin-dev's proven patterns
- ✅ Uses correct naming conventions - ✅ Uses correct naming conventions
- ✅ Has strong trigger conditions (skills/agents) - ✅ Has strong trigger conditions (skills/agents)
@@ -421,22 +390,19 @@ Every component must meet these standards:
## Example Workflow ## Example Workflow
### User Request ### User Request
"Create a plugin for managing database migrations" "Create a plugin for managing database migrations"
### Phase 1: Discovery ### Phase 1: Discovery
- Understand: Migration management, database schema versioning - Understand: Migration management, database schema versioning
- Confirm: User wants to create, run, rollback migrations - Confirm: User wants to create, run, rollback migrations
### Phase 2: Component Planning ### Phase 2: Component Planning
- Skills: 1 (migration best practices)
- Skills: 4 (migration best practices, create-migration, run-migrations, rollback) - Commands: 3 (create-migration, run-migrations, rollback)
- Agents: 1 (migration-validator) - Agents: 1 (migration-validator)
- MCP: 1 (database connection) - MCP: 1 (database connection)
### Phase 3: Clarifying Questions ### Phase 3: Clarifying Questions
- Which databases? (PostgreSQL, MySQL, etc.) - Which databases? (PostgreSQL, MySQL, etc.)
- Migration file format? (SQL, code-based?) - Migration file format? (SQL, code-based?)
- Should agent validate before applying? - Should agent validate before applying?

View File

@@ -6,14 +6,11 @@ version: 0.2.0
# Command Development for Claude Code # Command Development for Claude Code
> **Note:** The `.claude/commands/` directory is a legacy format. For new skills, use the `.claude/skills/<name>/SKILL.md` directory format. Both are loaded identically — the only difference is file layout. See the `skill-development` skill for the preferred format.
## Overview ## Overview
Slash commands are frequently-used prompts defined as Markdown files that Claude executes during interactive sessions. Understanding command structure, frontmatter options, and dynamic features enables creating powerful, reusable workflows. Slash commands are frequently-used prompts defined as Markdown files that Claude executes during interactive sessions. Understanding command structure, frontmatter options, and dynamic features enables creating powerful, reusable workflows.
**Key concepts:** **Key concepts:**
- Markdown file format for commands - Markdown file format for commands
- YAML frontmatter for configuration - YAML frontmatter for configuration
- Dynamic arguments and file references - Dynamic arguments and file references
@@ -25,7 +22,6 @@ Slash commands are frequently-used prompts defined as Markdown files that Claude
### What is a Slash Command? ### What is a Slash Command?
A slash command is a Markdown file containing a prompt that Claude executes when invoked. Commands provide: A slash command is a Markdown file containing a prompt that Claude executes when invoked. Commands provide:
- **Reusability**: Define once, use repeatedly - **Reusability**: Define once, use repeatedly
- **Consistency**: Standardize common workflows - **Consistency**: Standardize common workflows
- **Sharing**: Distribute across team or projects - **Sharing**: Distribute across team or projects
@@ -38,10 +34,8 @@ A slash command is a Markdown file containing a prompt that Claude executes when
When a user invokes `/command-name`, the command content becomes Claude's instructions. Write commands as directives TO Claude about what to do, not as messages TO the user. When a user invokes `/command-name`, the command content becomes Claude's instructions. Write commands as directives TO Claude about what to do, not as messages TO the user.
**Correct approach (instructions for Claude):** **Correct approach (instructions for Claude):**
```markdown ```markdown
Review this code for security vulnerabilities including: Review this code for security vulnerabilities including:
- SQL injection - SQL injection
- XSS attacks - XSS attacks
- Authentication issues - Authentication issues
@@ -50,7 +44,6 @@ Provide specific line numbers and severity ratings.
``` ```
**Incorrect approach (messages to user):** **Incorrect approach (messages to user):**
```markdown ```markdown
This command will review your code for security issues. This command will review your code for security issues.
You'll receive a report with vulnerability details. You'll receive a report with vulnerability details.
@@ -61,21 +54,18 @@ The first example tells Claude what to do. The second tells the user what will h
### Command Locations ### Command Locations
**Project commands** (shared with team): **Project commands** (shared with team):
- Location: `.claude/commands/` - Location: `.claude/commands/`
- Scope: Available in specific project - Scope: Available in specific project
- Label: Shown as "(project)" in `/help` - Label: Shown as "(project)" in `/help`
- Use for: Team workflows, project-specific tasks - Use for: Team workflows, project-specific tasks
**Personal commands** (available everywhere): **Personal commands** (available everywhere):
- Location: `~/.claude/commands/` - Location: `~/.claude/commands/`
- Scope: Available in all projects - Scope: Available in all projects
- Label: Shown as "(user)" in `/help` - Label: Shown as "(user)" in `/help`
- Use for: Personal workflows, cross-project utilities - Use for: Personal workflows, cross-project utilities
**Plugin commands** (bundled with plugins): **Plugin commands** (bundled with plugins):
- Location: `plugin-name/commands/` - Location: `plugin-name/commands/`
- Scope: Available when plugin installed - Scope: Available when plugin installed
- Label: Shown as "(plugin-name)" in `/help` - Label: Shown as "(plugin-name)" in `/help`
@@ -95,10 +85,8 @@ Commands are Markdown files with `.md` extension:
``` ```
**Simple command:** **Simple command:**
```markdown ```markdown
Review this code for security vulnerabilities including: Review this code for security vulnerabilities including:
- SQL injection - SQL injection
- XSS attacks - XSS attacks
- Authentication bypass - Authentication bypass
@@ -150,7 +138,6 @@ allowed-tools: Read, Write, Edit, Bash(git:*)
``` ```
**Patterns:** **Patterns:**
- `Read, Write, Edit` - Specific tools - `Read, Write, Edit` - Specific tools
- `Bash(git:*)` - Bash with git commands only - `Bash(git:*)` - Bash with git commands only
- `*` - All tools (rarely needed) - `*` - All tools (rarely needed)
@@ -170,7 +157,6 @@ model: haiku
``` ```
**Use cases:** **Use cases:**
- `haiku` - Fast, simple commands - `haiku` - Fast, simple commands
- `sonnet` - Standard workflows - `sonnet` - Standard workflows
- `opus` - Complex analysis - `opus` - Complex analysis
@@ -188,7 +174,6 @@ argument-hint: [pr-number] [priority] [assignee]
``` ```
**Benefits:** **Benefits:**
- Helps users understand command arguments - Helps users understand command arguments
- Improves command discovery - Improves command discovery
- Documents command interface - Documents command interface
@@ -223,14 +208,12 @@ Fix issue #$ARGUMENTS following our coding standards and best practices.
``` ```
**Usage:** **Usage:**
``` ```
> /fix-issue 123 > /fix-issue 123
> /fix-issue 456 > /fix-issue 456
``` ```
**Expands to:** **Expands to:**
``` ```
Fix issue #123 following our coding standards... Fix issue #123 following our coding standards...
Fix issue #456 following our coding standards... Fix issue #456 following our coding standards...
@@ -251,13 +234,11 @@ After review, assign to $3 for follow-up.
``` ```
**Usage:** **Usage:**
``` ```
> /review-pr 123 high alice > /review-pr 123 high alice
``` ```
**Expands to:** **Expands to:**
``` ```
Review pull request #123 with priority level high. Review pull request #123 with priority level high.
After review, assign to alice for follow-up. After review, assign to alice for follow-up.
@@ -272,13 +253,11 @@ Deploy $1 to $2 environment with options: $3
``` ```
**Usage:** **Usage:**
``` ```
> /deploy api staging --force --skip-tests > /deploy api staging --force --skip-tests
``` ```
**Expands to:** **Expands to:**
``` ```
Deploy api to staging environment with options: --force --skip-tests Deploy api to staging environment with options: --force --skip-tests
``` ```
@@ -296,14 +275,12 @@ argument-hint: [file-path]
--- ---
Review @$1 for: Review @$1 for:
- Code quality - Code quality
- Best practices - Best practices
- Potential bugs - Potential bugs
``` ```
**Usage:** **Usage:**
``` ```
> /review-file src/api/users.ts > /review-file src/api/users.ts
``` ```
@@ -318,7 +295,6 @@ Reference multiple files:
Compare @src/old-version.js with @src/new-version.js Compare @src/old-version.js with @src/new-version.js
Identify: Identify:
- Breaking changes - Breaking changes
- New features - New features
- Bug fixes - Bug fixes
@@ -332,7 +308,6 @@ Reference known files without arguments:
Review @package.json and @tsconfig.json for consistency Review @package.json and @tsconfig.json for consistency
Ensure: Ensure:
- TypeScript version matches - TypeScript version matches
- Dependencies are aligned - Dependencies are aligned
- Build configuration is correct - Build configuration is correct
@@ -343,7 +318,6 @@ Ensure:
Commands can execute bash commands inline to dynamically gather context before Claude processes the command. This is useful for including repository state, environment information, or project-specific context. Commands can execute bash commands inline to dynamically gather context before Claude processes the command. This is useful for including repository state, environment information, or project-specific context.
**When to use:** **When to use:**
- Include dynamic context (git status, environment vars, etc.) - Include dynamic context (git status, environment vars, etc.)
- Gather project/repository state - Gather project/repository state
- Build context-aware workflows - Build context-aware workflows
@@ -387,7 +361,6 @@ Organize commands in subdirectories:
``` ```
**Benefits:** **Benefits:**
- Logical grouping by category - Logical grouping by category
- Namespace shown in `/help` - Namespace shown in `/help`
- Easier to find related commands - Easier to find related commands
@@ -417,8 +390,8 @@ argument-hint: [pr-number]
--- ---
$IF($1, $IF($1,
Review PR #$1, Review PR #$1,
Please provide a PR number. Usage: /review-pr [number] Please provide a PR number. Usage: /review-pr [number]
) )
``` ```
@@ -471,7 +444,6 @@ allowed-tools: Read, Bash(git:*)
Files changed: !`git diff --name-only` Files changed: !`git diff --name-only`
Review each file for: Review each file for:
1. Code quality and style 1. Code quality and style
2. Potential bugs or issues 2. Potential bugs or issues
3. Test coverage 3. Test coverage
@@ -503,7 +475,6 @@ argument-hint: [source-file]
--- ---
Generate comprehensive documentation for @$1 including: Generate comprehensive documentation for @$1 including:
- Function/class descriptions - Function/class descriptions
- Parameter documentation - Parameter documentation
- Return value descriptions - Return value descriptions
@@ -531,27 +502,23 @@ PR #$1 Workflow:
## Troubleshooting ## Troubleshooting
**Command not appearing:** **Command not appearing:**
- Check file is in correct directory - Check file is in correct directory
- Verify `.md` extension present - Verify `.md` extension present
- Ensure valid Markdown format - Ensure valid Markdown format
- Restart Claude Code - Restart Claude Code
**Arguments not working:** **Arguments not working:**
- Verify `$1`, `$2` syntax correct - Verify `$1`, `$2` syntax correct
- Check `argument-hint` matches usage - Check `argument-hint` matches usage
- Ensure no extra spaces - Ensure no extra spaces
**Bash execution failing:** **Bash execution failing:**
- Check `allowed-tools` includes Bash - Check `allowed-tools` includes Bash
- Verify command syntax in backticks - Verify command syntax in backticks
- Test command in terminal first - Test command in terminal first
- Check for required permissions - Check for required permissions
**File references not working:** **File references not working:**
- Verify `@` syntax correct - Verify `@` syntax correct
- Check file path is valid - Check file path is valid
- Ensure Read tool allowed - Ensure Read tool allowed
@@ -564,7 +531,6 @@ PR #$1 Workflow:
Plugin commands have access to `${CLAUDE_PLUGIN_ROOT}`, an environment variable that resolves to the plugin's absolute path. Plugin commands have access to `${CLAUDE_PLUGIN_ROOT}`, an environment variable that resolves to the plugin's absolute path.
**Purpose:** **Purpose:**
- Reference plugin files portably - Reference plugin files portably
- Execute plugin scripts - Execute plugin scripts
- Load plugin configuration - Load plugin configuration
@@ -587,24 +553,19 @@ Review results and report findings.
```markdown ```markdown
# Execute plugin script # Execute plugin script
!`bash ${CLAUDE_PLUGIN_ROOT}/scripts/script.sh` !`bash ${CLAUDE_PLUGIN_ROOT}/scripts/script.sh`
# Load plugin configuration # Load plugin configuration
@${CLAUDE_PLUGIN_ROOT}/config/settings.json @${CLAUDE_PLUGIN_ROOT}/config/settings.json
# Use plugin template # Use plugin template
@${CLAUDE_PLUGIN_ROOT}/templates/report.md @${CLAUDE_PLUGIN_ROOT}/templates/report.md
# Access plugin resources # Access plugin resources
@${CLAUDE_PLUGIN_ROOT}/docs/reference.md @${CLAUDE_PLUGIN_ROOT}/docs/reference.md
``` ```
**Why use it:** **Why use it:**
- Works across all installations - Works across all installations
- Portable between systems - Portable between systems
- No hardcoded paths needed - No hardcoded paths needed
@@ -625,14 +586,12 @@ plugin-name/
``` ```
**Namespace benefits:** **Namespace benefits:**
- Logical command grouping - Logical command grouping
- Shown in `/help` output - Shown in `/help` output
- Avoid name conflicts - Avoid name conflicts
- Organize related commands - Organize related commands
**Naming conventions:** **Naming conventions:**
- Use descriptive action names - Use descriptive action names
- Avoid generic names (test, run) - Avoid generic names (test, run)
- Consider plugin-specific prefix - Consider plugin-specific prefix
@@ -702,20 +661,17 @@ argument-hint: [file-path]
Initiate comprehensive review of @$1 using the code-reviewer agent. Initiate comprehensive review of @$1 using the code-reviewer agent.
The agent will analyze: The agent will analyze:
- Code structure - Code structure
- Security issues - Security issues
- Performance - Performance
- Best practices - Best practices
Agent uses plugin resources: Agent uses plugin resources:
- ${CLAUDE_PLUGIN_ROOT}/config/rules.json - ${CLAUDE_PLUGIN_ROOT}/config/rules.json
- ${CLAUDE_PLUGIN_ROOT}/checklists/review.md - ${CLAUDE_PLUGIN_ROOT}/checklists/review.md
``` ```
**Key points:** **Key points:**
- Agent must exist in `plugin/agents/` directory - Agent must exist in `plugin/agents/` directory
- Claude uses Task tool to launch agent - Claude uses Task tool to launch agent
- Document agent capabilities - Document agent capabilities
@@ -734,7 +690,6 @@ argument-hint: [api-file]
Document API in @$1 following plugin standards. Document API in @$1 following plugin standards.
Use the api-docs-standards skill to ensure: Use the api-docs-standards skill to ensure:
- Complete endpoint documentation - Complete endpoint documentation
- Consistent formatting - Consistent formatting
- Example quality - Example quality
@@ -744,7 +699,6 @@ Generate production-ready API docs.
``` ```
**Key points:** **Key points:**
- Skill must exist in `plugin/skills/` directory - Skill must exist in `plugin/skills/` directory
- Mention skill name to trigger invocation - Mention skill name to trigger invocation
- Document skill purpose - Document skill purpose
@@ -753,7 +707,6 @@ Generate production-ready API docs.
### Hook Coordination ### Hook Coordination
Design commands that work with plugin hooks: Design commands that work with plugin hooks:
- Commands can prepare state for hooks to process - Commands can prepare state for hooks to process
- Hooks execute automatically on tool events - Hooks execute automatically on tool events
- Commands should document expected hook behavior - Commands should document expected hook behavior
@@ -790,7 +743,6 @@ Compile findings into report following template.
``` ```
**When to use:** **When to use:**
- Complex multi-step workflows - Complex multi-step workflows
- Leverage multiple plugin capabilities - Leverage multiple plugin capabilities
- Require specialized analysis - Require specialized analysis
@@ -811,10 +763,10 @@ argument-hint: [environment]
Validate environment: !`echo "$1" | grep -E "^(dev|staging|prod)$" || echo "INVALID"` Validate environment: !`echo "$1" | grep -E "^(dev|staging|prod)$" || echo "INVALID"`
If $1 is valid environment: If $1 is valid environment:
Deploy to $1 Deploy to $1
Otherwise: Otherwise:
Explain valid environments: dev, staging, prod Explain valid environments: dev, staging, prod
Show usage: /deploy [environment] Show usage: /deploy [environment]
``` ```
### File Existence Checks ### File Existence Checks
@@ -828,11 +780,11 @@ argument-hint: [config-file]
Check file exists: !`test -f $1 && echo "EXISTS" || echo "MISSING"` Check file exists: !`test -f $1 && echo "EXISTS" || echo "MISSING"`
If file exists: If file exists:
Process configuration: @$1 Process configuration: @$1
Otherwise: Otherwise:
Explain where to place config file Explain where to place config file
Show expected format Show expected format
Provide example configuration Provide example configuration
``` ```
### Plugin Resource Validation ### Plugin Resource Validation
@@ -844,7 +796,6 @@ allowed-tools: Bash(test:*)
--- ---
Validate plugin setup: Validate plugin setup:
- Script: !`test -x ${CLAUDE_PLUGIN_ROOT}/bin/analyze && echo "✓" || echo "✗"` - Script: !`test -x ${CLAUDE_PLUGIN_ROOT}/bin/analyze && echo "✓" || echo "✗"`
- Config: !`test -f ${CLAUDE_PLUGIN_ROOT}/config.json && echo "✓" || echo "✗"` - Config: !`test -f ${CLAUDE_PLUGIN_ROOT}/config.json && echo "✓" || echo "✗"`
@@ -863,15 +814,14 @@ allowed-tools: Bash(*)
Execute build: !`bash ${CLAUDE_PLUGIN_ROOT}/scripts/build.sh 2>&1 || echo "BUILD_FAILED"` Execute build: !`bash ${CLAUDE_PLUGIN_ROOT}/scripts/build.sh 2>&1 || echo "BUILD_FAILED"`
If build succeeded: If build succeeded:
Report success and output location Report success and output location
If build failed: If build failed:
Analyze error output Analyze error output
Suggest likely causes Suggest likely causes
Provide troubleshooting steps Provide troubleshooting steps
``` ```
**Best practices:** **Best practices:**
- Validate early in command - Validate early in command
- Provide helpful error messages - Provide helpful error messages
- Suggest corrective actions - Suggest corrective actions