Compare commits

..

50 Commits

Author SHA1 Message Date
Tobin South
6b70f99f76 docs(plugin-dev): deprecate commands/ in favor of skills/<name>/SKILL.md (#717)
P0 follow-up for EA-471. Updates plugin-dev teaching materials to stop
recommending the commands/ directory layout for new plugins:

- command-development/SKILL.md: add legacy banner at top pointing to
  skills/ format
- create-plugin.md: update scaffolding to create skills/<name>/SKILL.md
  instead of commands/; mark commands/ as acceptable legacy alternative;
  update all examples, tables, and testing instructions
- example-plugin: migrate example-command to skills/example-command/SKILL.md;
  keep commands/example-command.md with a legacy-format note; update README
  to reflect new preferred structure

Both formats remain loaded identically — this is a documentation change only.

Refs: anthropics/apps#26827

Co-authored-by: Henry Shi <henrys@anthropic.com>
2026-03-17 22:45:25 +00:00
Tobin South
78497c524d updates(staging): merge staging additions into main (#677)
* fix readme typo

* 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>

* 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>

* feat: add c7 agent

* 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

* Switch Context7 MCP to remote HTTP server

* feat: update tools with better skill/agent format prompt

* fmt

* fix: installation guide

* 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.

* Fix empty array crash on bash 3.2 in setup-ralph-loop.sh

* 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.

* vercel-labs to vercel

* 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

* add(plugin): terraform — HashiCorp infrastructure-as-code

Adapted from PR #14 by @gautambaghel (HashiCorp).
Original: https://github.com/anthropics/claude-plugins-official/pull/14

* 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

* 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

* 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

* 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

* add(plugin): bonfire — session-context workflow tooling

Adapted from PR #108 by @vieko (Vercel).
Original: https://github.com/anthropics/claude-plugins-official/pull/108

* Add intercom to marketplace

* Add neon to marketplace

* Remove qodo SHA

* Merge staging into add-plugin/intercom to resolve conflict

* Merge latest staging to resolve conflict

* Remove external_plugins changes from staging

Moved to external-plugins-staging branch for separate review.

---------

Co-authored-by: Han T. <han.tan@shopify.com>
Co-authored-by: Julien Tavernier <jtavernier@Juliens-MacBook-Pro.local>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Daksh Gupta <daksh510@gmail.com>
Co-authored-by: Fahreddin Özcan <ozcanfahrettinn@gmail.com>
Co-authored-by: Matt Kotsenas <Matt.Kotsenas@gmail.com>
Co-authored-by: LuciferDono <pranavj821@gmail.com>
2026-03-17 02:00:28 +00:00
Tobin South
d5c15b861c Merge pull request #628 from anthropics/staging
Plugin batch: 17 new plugins + posthog update
2026-03-13 21:51:01 +00:00
Tobin South
bf6270071e Merge pull request #613 from anthropics/add-license-ruby-lsp
Add Apache 2.0 LICENSE to ruby-lsp plugin
2026-03-13 21:30:00 +00:00
Tobin South
50ebf6df3b Merge pull request #626 from anthropics/add-ruby-lsp-license
Add Apache 2.0 LICENSE to ruby-lsp plugin
2026-03-13 21:29:39 +00:00
Tobin South
ad61a54061 Merge pull request #517 from anthropics/claude/slack-update-webhook-link-wikTM
Update webhook closed PR message link to clau.de
2026-03-13 21:26:34 +00:00
Tobin South
95327347c3 Merge PR #583: add-plugin/zapier 2026-03-13 21:17:45 +00:00
Tobin South
64ce1721a4 Merge PR #579: add-plugin/deploy-on-aws 2026-03-13 21:17:45 +00:00
Tobin South
9febf87cdb Merge PR #578: add-plugin/migration-to-aws 2026-03-13 21:17:45 +00:00
Tobin South
fbe0386df6 Merge PR #577: add-plugin/aws-serverless 2026-03-13 21:17:44 +00:00
Tobin South
1f25b55ae3 Merge PR #576: add-plugin/amazon-location-service 2026-03-13 21:17:44 +00:00
Tobin South
616512c59d Merge PR #536: add-plugin/wix 2026-03-13 21:17:43 +00:00
Tobin South
80d85e8f9c Merge PR #535: add-plugin/sumup 2026-03-13 21:17:43 +00:00
Tobin South
b4178e809b Merge PR #534: add-plugin/mintlify 2026-03-13 21:17:43 +00:00
Tobin South
57fe2068ec Merge PR #533: add-plugin/legalzoom 2026-03-13 21:17:42 +00:00
Tobin South
a8e8f7e89f Merge PR #532: add-plugin/data 2026-03-13 21:17:42 +00:00
Tobin South
e0b2429899 Merge PR #531: add-plugin/sanity-plugin 2026-03-13 21:17:41 +00:00
Tobin South
159db463ec Merge PR #530: add-plugin/sourcegraph 2026-03-13 21:17:41 +00:00
Tobin South
1d1f304807 Merge PR #529: add-plugin/railway 2026-03-13 21:17:40 +00:00
Tobin South
5a5fc148df Merge PR #528: add-plugin/adspirer-ads-agent 2026-03-13 21:17:40 +00:00
Tobin South
92e9c49f3e Merge PR #527: add-plugin/rc 2026-03-13 21:17:40 +00:00
Tobin South
9750826583 Merge PR #526: add-plugin/planetscale 2026-03-13 21:17:39 +00:00
Tobin South
d726c5ea42 Merge PR #525: add-plugin/chrome-devtools-mcp 2026-03-13 21:17:39 +00:00
Tobin South
61ff000c60 Merge PR #542: update(plugin-json): posthog — point at consolidated repo 2026-03-13 21:17:10 +00:00
Claude
c96abc73df Add Apache 2.0 LICENSE to ruby-lsp plugin 2026-03-13 17:06:01 +00:00
Claude
aeb25ced03 Add Apache 2.0 LICENSE to ruby-lsp plugin 2026-03-12 17:05:58 +00:00
Tobin South
b36fd4b753 Add pagerduty to marketplace (#566) 2026-03-11 16:37:54 -07:00
Noah Zweben
bd041495bd update(plugin-json): point to the correct Semgrep plugin directory (#584)
The Semgrep plugin currently does not work correctly when used through
Claude because it is located within a subdirectory of the Semgrep
Marketplace repository. This issue was reported in:
https://github.com/anthropics/claude-plugins-official/issues/450

Previously, this could not be fixed due to a limitation in Claude Code's
handling of plugins located in subdirectories. Support for this was added
with the git-subdir feature, released in v2.1.69:
https://github.com/anthropics/claude-code/issues/30593

A fix for the Semgrep plugin was proposed once this version became the
latest release. Now that v2.1.69+ is available as latest, this PR
implements that fix.

https://claude.ai/code/cse_01RtW9KS12VZNFfWmWY6z9Pu

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-10 15:59:33 -07:00
Daisy S. Hollman
00f13a5f46 Merge pull request #106 from obahareth/main
Add Ruby LSP plugin with inline lspServers configuration
2026-03-10 13:21:32 -07:00
Tobin South
7e94c732f6 Merge pull request #540 from anthropics/add-plugin/postman
add(plugin-json): postman
2026-03-10 17:12:50 +00:00
Tobin South
b90a056130 Add deploy-on-aws to marketplace 2026-03-10 06:19:37 +00:00
Tobin South
038e989ee4 Add migration-to-aws to marketplace 2026-03-10 06:19:06 +00:00
Tobin South
8fda75ce49 Add aws-serverless to marketplace 2026-03-10 06:19:04 +00:00
Tobin South
f71d2d9925 Add amazon-location-service to marketplace 2026-03-10 06:18:59 +00:00
Tobin South
7c626d26bb Point posthog at consolidated PostHog/ai-plugin repo
Updates source URL from posthog-for-claude to ai-plugin per PostHog's
repo consolidation. Adds SHA pin and fixes homepage to proper docs URL.
2026-03-06 16:08:55 -08:00
Tobin South
4fa27586e5 Add postman to marketplace 2026-03-06 10:48:54 -08:00
Tobin South
cdbe8cbe74 Add wix to marketplace 2026-03-05 20:09:03 -08:00
Tobin South
b3b3549c12 Add sumup to marketplace 2026-03-05 19:55:08 -08:00
Tobin South
7b67d48001 Add mintlify to marketplace 2026-03-05 19:54:59 -08:00
Tobin South
7b7e85568b Add legalzoom to marketplace 2026-03-05 19:54:24 -08:00
Tobin South
8a89ca31e1 Add data to marketplace 2026-03-05 19:51:07 -08:00
Tobin South
9c11aed2b7 Add sanity-plugin to marketplace 2026-03-05 19:50:30 -08:00
Tobin South
2a6b21dabc Add sourcegraph to marketplace 2026-03-05 19:50:00 -08:00
Tobin South
41ac3012b6 Add railway to marketplace 2026-03-05 19:48:26 -08:00
Tobin South
934cc3b4e9 Add adspirer-ads-agent to marketplace 2026-03-05 19:44:27 -08:00
Tobin South
7657ed1025 Add rc to marketplace 2026-03-05 19:43:40 -08:00
Tobin South
954edbd88b Add planetscale to marketplace 2026-03-05 19:35:15 -08:00
Tobin South
8249477529 Add chrome-devtools-mcp to marketplace 2026-03-05 18:27:07 -08:00
Claude
fe41d329d5 Update webhook closed PR message link to clau.de
Replace the Google Forms link with the new plugin directory
submission link (https://clau.de/plugin-directory-submission).

https://claude.ai/code/session_01NxRDJKDvFR2d4wC4ppDEDT
2026-03-04 00:51:16 +00:00
Omar Bahareth
80a2049c5d Add Ruby LSP plugin with inline lspServers configuration 2026-01-04 15:27:02 +03:00
12 changed files with 814 additions and 82 deletions

View File

@@ -21,7 +21,9 @@
"lspServers": { "lspServers": {
"typescript": { "typescript": {
"command": "typescript-language-server", "command": "typescript-language-server",
"args": ["--stdio"], "args": [
"--stdio"
],
"extensionToLanguage": { "extensionToLanguage": {
".ts": "typescript", ".ts": "typescript",
".tsx": "typescriptreact", ".tsx": "typescriptreact",
@@ -49,7 +51,9 @@
"lspServers": { "lspServers": {
"pyright": { "pyright": {
"command": "pyright-langserver", "command": "pyright-langserver",
"args": ["--stdio"], "args": [
"--stdio"
],
"extensionToLanguage": { "extensionToLanguage": {
".py": "python", ".py": "python",
".pyi": "python" ".pyi": "python"
@@ -111,7 +115,9 @@
"lspServers": { "lspServers": {
"clangd": { "clangd": {
"command": "clangd", "command": "clangd",
"args": ["--background-index"], "args": [
"--background-index"
],
"extensionToLanguage": { "extensionToLanguage": {
".c": "c", ".c": "c",
".h": "c", ".h": "c",
@@ -140,7 +146,9 @@
"lspServers": { "lspServers": {
"intelephense": { "intelephense": {
"command": "intelephense", "command": "intelephense",
"args": ["--stdio"], "args": [
"--stdio"
],
"extensionToLanguage": { "extensionToLanguage": {
".php": "php" ".php": "php"
} }
@@ -181,12 +189,14 @@
"lspServers": { "lspServers": {
"kotlin-lsp": { "kotlin-lsp": {
"command": "kotlin-lsp", "command": "kotlin-lsp",
"args": ["--stdio"], "args": [
"--stdio"
],
"extensionToLanguage": { "extensionToLanguage": {
".kt": "kotlin", ".kt": "kotlin",
".kts": "kotlin" ".kts": "kotlin"
}, },
"startupTimeout" : 120000 "startupTimeout": 120000
} }
} }
}, },
@@ -251,6 +261,30 @@
} }
} }
}, },
{
"name": "ruby-lsp",
"description": "Ruby language server for code intelligence and analysis",
"version": "1.0.0",
"author": {
"name": "Anthropic",
"email": "support@anthropic.com"
},
"source": "./plugins/ruby-lsp",
"category": "development",
"strict": false,
"lspServers": {
"ruby-lsp": {
"command": "ruby-lsp",
"extensionToLanguage": {
".rb": "ruby",
".rake": "ruby",
".gemspec": "ruby",
".ru": "ruby",
".erb": "erb"
}
}
}
},
{ {
"name": "agent-sdk-dev", "name": "agent-sdk-dev",
"description": "Development kit for working with the Claude Agent SDK", "description": "Development kit for working with the Claude Agent SDK",
@@ -363,7 +397,7 @@
}, },
{ {
"name": "playground", "name": "playground",
"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.", "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.",
"author": { "author": {
"name": "Anthropic", "name": "Anthropic",
"email": "support@anthropic.com" "email": "support@anthropic.com"
@@ -451,7 +485,9 @@
"category": "development", "category": "development",
"source": "./external_plugins/serena", "source": "./external_plugins/serena",
"homepage": "https://github.com/anthropics/claude-plugins-public/tree/main/external_plugins/serena", "homepage": "https://github.com/anthropics/claude-plugins-public/tree/main/external_plugins/serena",
"tags": ["community-managed"] "tags": [
"community-managed"
]
}, },
{ {
"name": "playwright", "name": "playwright",
@@ -516,7 +552,7 @@
"homepage": "https://github.com/anthropics/claude-plugins-public/tree/main/external_plugins/linear" "homepage": "https://github.com/anthropics/claude-plugins-public/tree/main/external_plugins/linear"
}, },
{ {
"name": "Notion", "name": "notion",
"description": "Notion workspace integration. Search pages, create and update documents, manage databases, and access your team's knowledge base directly from Claude Code for seamless documentation workflows.", "description": "Notion workspace integration. Search pages, create and update documents, manage databases, and access your team's knowledge base directly from Claude Code for seamless documentation workflows.",
"category": "productivity", "category": "productivity",
"source": { "source": {
@@ -558,11 +594,11 @@
"category": "deployment", "category": "deployment",
"source": { "source": {
"source": "url", "source": "url",
"url": "https://github.com/vercel/vercel-deploy-claude-code-plugin.git" "url": "https://github.com/vercel/vercel-plugin.git"
}, },
"homepage": "https://github.com/vercel/vercel-deploy-claude-code-plugin" "homepage": "https://github.com/vercel/vercel-plugin"
}, },
{ {
"name": "stripe", "name": "stripe",
"description": "Stripe development plugin for Claude", "description": "Stripe development plugin for Claude",
"category": "development", "category": "development",
@@ -582,7 +618,9 @@
"category": "development", "category": "development",
"source": "./external_plugins/context7", "source": "./external_plugins/context7",
"homepage": "https://github.com/anthropics/claude-plugins-public/tree/main/external_plugins/context7", "homepage": "https://github.com/anthropics/claude-plugins-public/tree/main/external_plugins/context7",
"tags": ["community-managed"] "tags": [
"community-managed"
]
}, },
{ {
"name": "pinecone", "name": "pinecone",
@@ -626,17 +664,18 @@
}, },
{ {
"name": "posthog", "name": "posthog",
"description": "Connect Claude Code to your PostHog analytics platform. Query insights, manage feature flags, run A/B experiments, track errors, and analyze LLM costs all through natural language. The plugin provides 10 slash commands for common workflows and full access to PostHog's MCP tools. Ask questions like \"What are my top errors?\" or \"Create a feature flag for 50% of users\" and Claude handles the API calls. Supports OAuth authentication, EU and US cloud regions, and self-hosted instances.", "description": "Access PostHog analytics, feature flags, experiments, error tracking, and insights directly from Claude Code.",
"category": "monitoring", "category": "monitoring",
"source": { "source": {
"source": "url", "source": "url",
"url": "https://github.com/PostHog/posthog-for-claude.git" "url": "https://github.com/PostHog/ai-plugin.git",
"sha": "f2f37954ecef9f1afce4fa81b6a612454a96c410"
}, },
"homepage": "https://github.com/PostHog/posthog-for-claude.git" "homepage": "https://posthog.com/docs/model-context-protocol"
}, },
{ {
"name": "coderabbit", "name": "coderabbit",
"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.", "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.",
"category": "productivity", "category": "productivity",
"source": { "source": {
"source": "url", "source": "url",
@@ -666,12 +705,11 @@
}, },
{ {
"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 SDLCfrom IDE to CI/CDensuring 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 SDLC\u2014from IDE to CI/CD\u2014ensuring consistent standards and catching issues early.",
"category": "development", "category": "development",
"source": { "source": {
"source": "url", "source": "url",
"url": "https://github.com/qodo-ai/qodo-skills.git", "url": "https://github.com/qodo-ai/qodo-skills.git"
"sha": "623eb4ed4364d8111f9a9132a791d7497d814b6a"
}, },
"homepage": "https://github.com/qodo-ai/qodo-skills.git" "homepage": "https://github.com/qodo-ai/qodo-skills.git"
}, },
@@ -680,11 +718,221 @@
"description": "Semgrep catches security vulnerabilities in real-time and guides Claude to write secure code from the start.", "description": "Semgrep catches security vulnerabilities in real-time and guides Claude to write secure code from the start.",
"category": "security", "category": "security",
"source": { "source": {
"source": "url", "source": "git-subdir",
"url": "https://github.com/semgrep/mcp-marketplace.git" "url": "https://github.com/semgrep/mcp-marketplace.git",
"path": "plugin"
}, },
"homepage": "https://github.com/semgrep/mcp-marketplace.git" "homepage": "https://github.com/semgrep/mcp-marketplace.git"
}, },
{
"name": "pagerduty",
"description": "Enhance code quality and security through PagerDuty risk scoring and incident correlation. Score pre-commit diffs against historical incident data and surface deployment risk before you ship.",
"category": "monitoring",
"source": {
"source": "url",
"url": "https://github.com/PagerDuty/claude-code-plugins.git",
"sha": "b16c23e0d790deceaa7a6182616d0e36673f2eae"
},
"homepage": "https://github.com/PagerDuty/claude-code-plugins"
},
{
"name": "postman",
"description": "Full API lifecycle management for Claude Code. Sync collections, generate client code, discover APIs, run tests, create mocks, publish docs, and audit security. Powered by the Postman MCP Server.",
"category": "development",
"source": {
"source": "url",
"url": "https://github.com/Postman-Devrel/postman-claude-code-plugin.git",
"sha": "0714280351c1a137e79aad465a66730511ffbd57"
},
"homepage": "https://learning.postman.com/docs/developer/postman-mcp-server/"
},
{
"name": "chrome-devtools-mcp",
"description": "Control and inspect a live Chrome browser from your coding agent. Record performance traces, analyze network requests, check console messages with source-mapped stack traces, and automate browser actions with Puppeteer.",
"category": "development",
"source": {
"source": "url",
"url": "https://github.com/ChromeDevTools/chrome-devtools-mcp.git",
"sha": "c2d8009ff75f76bce1ec4cf79c2467b50d81725e"
},
"homepage": "https://github.com/ChromeDevTools/chrome-devtools-mcp"
},
{
"name": "planetscale",
"description": "An authenticated hosted MCP server that accesses your PlanetScale organizations, databases, branches, schema, and Insights data. Query against your data, surface slow queries, and get organizational and account information.",
"category": "database",
"source": {
"source": "url",
"url": "https://github.com/planetscale/claude-plugin.git",
"sha": "f1066cac5bb956bbbb05918f5b07fe0e873d44ea"
},
"homepage": "https://planetscale.com/"
},
{
"name": "rc",
"description": "Configure RevenueCat projects, apps, products, entitlements, and offerings directly from Claude Code. Manage your in-app purchase backend without leaving your development workflow.",
"category": "development",
"source": {
"source": "url",
"url": "https://github.com/RevenueCat/rc-claude-code-plugin.git",
"sha": "af7cb77996aee4e7e3c109c5afec81f716139032"
},
"homepage": "https://www.revenuecat.com"
},
{
"name": "adspirer-ads-agent",
"description": "Cross-platform ad management for Google Ads, Meta Ads, TikTok Ads, and LinkedIn Ads. 91 tools for keyword research, campaign creation, performance analysis, and budget optimization.",
"category": "productivity",
"source": {
"source": "url",
"url": "https://github.com/amekala/adspirer-mcp-plugin.git",
"sha": "aa70dbdbbbb843e94a794c10c2b13f5dd66b5e40"
},
"homepage": "https://www.adspirer.com"
},
{
"name": "railway",
"description": "Deploy and manage apps, databases, and infrastructure on Railway. Covers project setup, deploys, environment configuration, networking, troubleshooting, and monitoring.",
"category": "deployment",
"source": {
"source": "git-subdir",
"url": "railwayapp/railway-skills",
"path": "plugins/railway",
"ref": "main",
"sha": "d52f3741a6a33a3191d6138eb3d6c3355cb970d1"
},
"homepage": "https://docs.railway.com/ai/claude-code-plugin"
},
{
"name": "sourcegraph",
"description": "Code search and understanding across codebases. Search, read, and trace references across repositories; analyze refactor impact; investigate incidents via commit and diff search; run targeted security sweeps.",
"category": "development",
"source": {
"source": "url",
"url": "https://github.com/sourcegraph-community/sourcegraph-claudecode-plugin.git",
"sha": "cfe3d44476957b16d1575261bef6b2dc7cb1e0b7"
},
"homepage": "https://sourcegraph.com"
},
{
"name": "sanity-plugin",
"description": "Sanity content platform integration with MCP server, agent skills, and slash commands. Query and author content, build and optimize GROQ queries, design schemas, and set up Visual Editing.",
"category": "development",
"author": {
"name": "Sanity"
},
"source": {
"source": "url",
"url": "https://github.com/sanity-io/agent-toolkit.git",
"sha": "4b1fb10bd707a22cf0cdfad5374ffc885f2ffa8d"
},
"homepage": "https://www.sanity.io"
},
{
"name": "data",
"description": "Data engineering for Apache Airflow and Astronomer. Author DAGs with best practices, debug pipeline failures, trace data lineage, profile tables, migrate Airflow 2 to 3, and manage local and cloud deployments.",
"category": "development",
"source": {
"source": "url",
"url": "https://github.com/astronomer/agents.git",
"sha": "7ef022b02f5296b5ecc52ba0db3ba9345ec03c9e"
},
"homepage": "https://github.com/astronomer/agents"
},
{
"name": "legalzoom",
"description": "Attorney guidance and legal tools for business and personal needs. AI-powered document review identifies critical risks and important clauses, advises when to engage an attorney, and routes to LegalZoom's network when professional expertise is needed.",
"category": "productivity",
"source": {
"source": "git-subdir",
"url": "legalzoom/claude-plugins",
"path": "plugins/legalzoom",
"ref": "main",
"sha": "f9fd8a0ca6e1421bc1aacb113a109663a7a6f6d8"
},
"homepage": "https://www.legalzoom.com/"
},
{
"name": "mintlify",
"description": "Build beautiful documentation sites with Mintlify. Convert non-markdown files into properly formatted MDX pages, add and modify content with correct component use, and automate documentation updates.",
"category": "development",
"source": {
"source": "url",
"url": "https://github.com/mintlify/mintlify-claude-plugin.git",
"sha": "ce435be18a700dc849d6a63a80da4816d1e2128c"
},
"homepage": "https://www.mintlify.com/"
},
{
"name": "sumup",
"description": "SumUp payment integrations across terminal and online checkout flows. Build Android and iOS POS apps with SumUp card readers, online checkout with server SDKs and the checkout widget, and control card readers remotely via Cloud API.",
"category": "development",
"source": {
"source": "url",
"url": "https://github.com/sumup/sumup-skills.git",
"sha": "802476c39a0422d3277e37288b03968ad731bc30"
},
"homepage": "https://www.sumup.com/"
},
{
"name": "wix",
"description": "Build, manage, and deploy Wix sites and apps. CLI development skills for dashboard extensions, backend APIs, site widgets, and service plugins with the Wix Design System, plus MCP server for site management.",
"category": "development",
"source": {
"source": "url",
"url": "https://github.com/wix/skills.git",
"sha": "15dda227e34959b1340e33bb9aede7e23a273f42"
},
"homepage": "https://dev.wix.com/docs/wix-cli/guides/development/about-wix-skills"
},
{
"name": "amazon-location-service",
"description": "Guide developers through adding maps, places search, geocoding, routing, and other geospatial features with Amazon Location Service, including authentication setup, SDK integration, and best practices.",
"category": "location",
"source": {
"source": "git-subdir",
"url": "https://github.com/awslabs/agent-plugins.git",
"path": "plugins/amazon-location-service",
"ref": "main"
},
"homepage": "https://github.com/awslabs/agent-plugins"
},
{
"name": "aws-serverless",
"description": "Design, build, deploy, test, and debug serverless applications with AWS Serverless services.",
"category": "development",
"source": {
"source": "git-subdir",
"url": "https://github.com/awslabs/agent-plugins.git",
"path": "plugins/aws-serverless",
"ref": "main"
},
"homepage": "https://github.com/awslabs/agent-plugins"
},
{
"name": "migration-to-aws",
"description": "Assess current cloud provider usage and billing to estimate and compare AWS services and pricing, with recommendations for migration or continued use of current provider.",
"category": "migration",
"source": {
"source": "git-subdir",
"url": "https://github.com/awslabs/agent-plugins.git",
"path": "plugins/migration-to-aws",
"ref": "main"
},
"homepage": "https://github.com/awslabs/agent-plugins"
},
{
"name": "deploy-on-aws",
"description": "Deploy applications to AWS with architecture recommendations, cost estimates, and IaC deployment.",
"category": "deployment",
"source": {
"source": "git-subdir",
"url": "https://github.com/awslabs/agent-plugins.git",
"path": "plugins/deploy-on-aws",
"ref": "main"
},
"homepage": "https://github.com/awslabs/agent-plugins"
},
{ {
"name": "zapier", "name": "zapier",
"description": "Connect 8,000+ apps to your AI workflow. Discover, enable, and execute Zapier actions directly from your client.", "description": "Connect 8,000+ apps to your AI workflow. Discover, enable, and execute Zapier actions directly from your client.",
@@ -697,6 +945,99 @@
"sha": "b93007e9a726c6ee93c57a949e732744ef5acbfd" "sha": "b93007e9a726c6ee93c57a949e732744ef5acbfd"
}, },
"homepage": "https://github.com/zapier/zapier-mcp/tree/main/plugins/zapier" "homepage": "https://github.com/zapier/zapier-mcp/tree/main/plugins/zapier"
},
{
"name": "terraform",
"description": "The Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.",
"author": {
"name": "HashiCorp",
"email": "support@hashicorp.com"
},
"category": "development",
"source": "./external_plugins/terraform",
"homepage": "https://github.com/anthropics/claude-plugins-public/tree/main/external_plugins/terraform"
},
{
"name": "autofix-bot",
"description": "Code review agent that detects security vulnerabilities, code quality issues, and hardcoded secrets. Combines 5,000+ static analyzers to scan your code and dependencies for CVEs.",
"author": {
"name": "DeepSource Corp"
},
"category": "security",
"source": "./external_plugins/autofix-bot",
"homepage": "https://github.com/anthropics/claude-plugins-public/tree/main/external_plugins/autofix-bot"
},
{
"name": "stagehand",
"description": "Browser automation skill for Claude Code using Stagehand. Automate web interactions, extract data, and navigate websites using natural language.",
"version": "0.1.0",
"author": {
"name": "Browserbase"
},
"source": {
"source": "github",
"repo": "browserbase/agent-browse"
},
"category": "automation",
"keywords": [
"browser",
"automation",
"stagehand",
"web-scraping"
],
"homepage": "https://github.com/browserbase/agent-browse",
"strict": false,
"skills": [
"./.claude/skills/browser-automation"
]
},
{
"name": "atomic-agents",
"description": "Comprehensive development workflow for building AI agents with the Atomic Agents framework. Includes specialized agents for schema design, architecture planning, code review, and tool development. Features guided workflows, progressive-disclosure skills, and best practice validation.",
"category": "development",
"source": {
"source": "url",
"url": "https://github.com/BrainBlend-AI/atomic-agents.git",
"path": "claude-plugin/atomic-agents"
},
"homepage": "https://github.com/BrainBlend-AI/atomic-agents",
"tags": [
"community-managed"
]
},
{
"name": "microsoft-docs",
"description": "Access official Microsoft documentation, API references, and code samples for Azure, .NET, Windows, and more.",
"category": "development",
"source": {
"source": "url",
"url": "https://github.com/MicrosoftDocs/mcp.git"
},
"homepage": "https://github.com/microsoftdocs/mcp"
},
{
"name": "neon",
"description": "Manage your Neon projects and databases with the neon-postgres agent skill and the Neon MCP Server.",
"category": "database",
"source": {
"source": "git-subdir",
"url": "neondatabase/agent-skills",
"path": "plugins/neon-postgres",
"ref": "main",
"sha": "54d7a9db2ddd476f84d5d1fd7bac323907858a8b"
},
"homepage": "https://github.com/neondatabase/agent-skills/tree/main/plugins/neon-postgres"
},
{
"name": "intercom",
"description": "Intercom integration for Claude Code. Search conversations, analyze customer support patterns, look up contacts and companies, and install the Intercom Messenger. Connect your Intercom workspace to get real-time insights from customer data.",
"category": "productivity",
"source": {
"source": "url",
"url": "https://github.com/intercom/claude-plugin-external.git",
"sha": "eeef353eead2e3dc5f33f64dbaae54e1309e0d45"
},
"homepage": "https://github.com/intercom/claude-plugin-external"
} }
] ]
} }

View File

@@ -13,7 +13,7 @@ A curated directory of high-quality plugins for Claude Code.
Plugins can be installed directly from this marketplace via Claude Code's plugin system. Plugins can be installed directly from this marketplace via Claude Code's plugin system.
To install, run `/plugin install {plugin-name}@claude-plugin-directory` To install, run `/plugin install {plugin-name}@claude-plugins-official`
or browse for the plugin in `/plugin > Discover` or browse for the plugin in `/plugin > Discover`

View File

@@ -7,32 +7,24 @@ A comprehensive example plugin demonstrating Claude Code extension options.
``` ```
example-plugin/ example-plugin/
├── .claude-plugin/ ├── .claude-plugin/
│ └── plugin.json # Plugin metadata │ └── plugin.json # Plugin metadata
├── .mcp.json # MCP server configuration ├── .mcp.json # MCP server configuration
├── commands/ ├── skills/
── example-command.md # Slash command definition ── example-skill/
└── skills/ │ │ └── SKILL.md # Model-invoked skill (contextual guidance)
└── example-skill/ └── example-command/
└── SKILL.md # Skill definition └── SKILL.md # User-invoked skill (slash command)
└── 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 model-invoked capabilities. Create a `SKILL.md` in a subdirectory: Skills are the preferred format for both model-invoked capabilities and user-invoked slash commands. Create a `SKILL.md` in a subdirectory:
**Model-invoked skill** (activated by task context):
```yaml ```yaml
--- ---
@@ -42,6 +34,21 @@ 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,10 +1,12 @@
--- ---
description: An example slash command that demonstrates command frontmatter options description: An example slash command that demonstrates command frontmatter options (legacy format)
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 # Example Command (Legacy `commands/` Format)
> **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

@@ -0,0 +1,39 @@
---
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

@@ -0,0 +1,8 @@
{
"name": "plugin-dev",
"description": "Plugin development toolkit with skills for creating agents, commands, hooks, MCP integrations, and comprehensive plugin structure guidance",
"author": {
"name": "Anthropic",
"email": "support@anthropic.com"
}
}

View File

@@ -1,7 +1,18 @@
--- ---
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: ["Read", "Write", "Grep", "Glob", "Bash", "TodoWrite", "AskUserQuestion", "Skill", "Task"] allowed-tools:
[
"Read",
"Write",
"Grep",
"Glob",
"Bash",
"TodoWrite",
"AskUserQuestion",
"Skill",
"Task",
]
--- ---
# Plugin Creation Workflow # Plugin Creation Workflow
@@ -26,6 +37,7 @@ 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
@@ -48,14 +60,17 @@ 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**: Does it need specialized knowledge? (hooks API, MCP patterns, etc.) - **Skills**: Specialized knowledge OR user-initiated actions (deploy, configure, analyze). Skills are the preferred format for both — see note below.
- **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
@@ -64,8 +79,7 @@ Guide the user through creating a complete, high-quality Claude Code plugin from
``` ```
| Component Type | Count | Purpose | | Component Type | Count | Purpose |
|----------------|-------|---------| |----------------|-------|---------|
| Skills | 2 | Hook patterns, MCP usage | | Skills | 5 | Hook patterns, MCP usage, deploy, configure, validate |
| 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 |
@@ -83,9 +97,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? - **Skills**: What triggers them? What knowledge do they provide? How detailed? For user-invoked skills: what arguments, what tools, interactive or automated?
- **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?
@@ -98,12 +112,14 @@ 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?
@@ -118,6 +134,7 @@ 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?"
@@ -125,10 +142,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 # if needed mkdir -p plugin-name/skills/<skill-name> # one dir per skill, each with a SKILL.md
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
@@ -143,7 +160,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
@@ -155,8 +172,9 @@ 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
- Commands: Load command-development skill - Legacy `commands/` format (only if user explicitly requests): 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
@@ -165,21 +183,26 @@ 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 structure - Create skill directory: `skills/<skill-name>/`
- 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 Commands: ### For legacy `commands/` format (only if user explicitly requests):
> 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
@@ -190,6 +213,7 @@ 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
@@ -199,6 +223,7 @@ 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
@@ -208,6 +233,7 @@ 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)
@@ -218,6 +244,7 @@ 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)
@@ -235,6 +262,7 @@ 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
@@ -275,6 +303,7 @@ 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
@@ -284,7 +313,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)
- [ ] Commands appear in `/help` and execute correctly - [ ] User-invoked skills 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)
@@ -292,7 +321,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 commands: Run `/plugin-name:command-name` with various arguments - For user-invoked skills: Run `/plugin-name:skill-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
@@ -310,6 +339,7 @@ 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
@@ -325,7 +355,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 commands, Z agents, etc.) - Components created (X skills, Y 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:
@@ -354,7 +384,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
- Commands written FOR Claude - Skill instructions written FOR Claude (not TO user)
- Strong trigger phrases - Strong trigger phrases
- ${CLAUDE_PLUGIN_ROOT} for portability - ${CLAUDE_PLUGIN_ROOT} for portability
- Progressive disclosure - Progressive disclosure
@@ -371,12 +401,13 @@ 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, command-development, agent-development, hook-development, mcp-integration, plugin-settings (as needed) - **Phase 5**: skill-development, agent-development, hook-development, mcp-integration, plugin-settings (as needed); command-development only for legacy `commands/` layout
- **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)
@@ -390,19 +421,22 @@ 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)
- Commands: 3 (create-migration, run-migrations, rollback) - Skills: 4 (migration best practices, 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,11 +6,14 @@ 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
@@ -22,6 +25,7 @@ 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
@@ -34,8 +38,10 @@ 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
@@ -44,6 +50,7 @@ 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.
@@ -54,18 +61,21 @@ 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`
@@ -85,8 +95,10 @@ 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
@@ -138,6 +150,7 @@ 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)
@@ -157,6 +170,7 @@ 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
@@ -174,6 +188,7 @@ 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
@@ -208,12 +223,14 @@ 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...
@@ -234,11 +251,13 @@ 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.
@@ -253,11 +272,13 @@ 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
``` ```
@@ -275,12 +296,14 @@ 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
``` ```
@@ -295,6 +318,7 @@ 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
@@ -308,6 +332,7 @@ 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
@@ -318,6 +343,7 @@ 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
@@ -361,6 +387,7 @@ 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
@@ -390,8 +417,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]
) )
``` ```
@@ -444,6 +471,7 @@ 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
@@ -475,6 +503,7 @@ 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
@@ -502,23 +531,27 @@ 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
@@ -531,6 +564,7 @@ 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
@@ -553,19 +587,24 @@ 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
@@ -586,12 +625,14 @@ 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
@@ -661,17 +702,20 @@ 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
@@ -690,6 +734,7 @@ 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
@@ -699,6 +744,7 @@ 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
@@ -707,6 +753,7 @@ 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
@@ -743,6 +790,7 @@ 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
@@ -763,10 +811,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
@@ -780,11 +828,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
@@ -796,6 +844,7 @@ 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 "✗"`
@@ -814,14 +863,15 @@ 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

View File

@@ -169,6 +169,24 @@ Keep trying until success. The loop handles retry logic automatically.
- One $50k contract completed for $297 in API costs - One $50k contract completed for $297 in API costs
- Created entire programming language ("cursed") over 3 months using this approach - Created entire programming language ("cursed") over 3 months using this approach
## Windows Compatibility
The stop hook uses a bash script that requires Git for Windows to run properly.
**Issue**: On Windows, the `bash` command may resolve to WSL bash (often misconfigured) instead of Git Bash, causing the hook to fail with errors like:
- `wsl: Unknown key 'automount.crossDistro'`
- `execvpe(/bin/bash) failed: No such file or directory`
**Workaround**: Edit the cached plugin's `hooks/hooks.json` to use Git Bash explicitly:
```json
"command": "\"C:/Program Files/Git/bin/bash.exe\" ${CLAUDE_PLUGIN_ROOT}/hooks/stop-hook.sh"
```
**Location**: `~/.claude/plugins/cache/claude-plugins-official/ralph-wiggum/<hash>/hooks/hooks.json`
**Note**: Use `Git/bin/bash.exe` (the wrapper with proper PATH), not `Git/usr/bin/bash.exe` (raw MinGW bash without utilities in PATH).
## Learn More ## Learn More
- Original technique: https://ghuntley.com/ralph/ - Original technique: https://ghuntley.com/ralph/

View File

@@ -110,7 +110,7 @@ HELP_EOF
done done
# Join all prompt parts with spaces # Join all prompt parts with spaces
PROMPT="${PROMPT_PARTS[*]}" PROMPT="${PROMPT_PARTS[*]:-}"
# Validate prompt is non-empty # Validate prompt is non-empty
if [[ -z "$PROMPT" ]]; then if [[ -z "$PROMPT" ]]; then

202
plugins/ruby-lsp/LICENSE Normal file
View File

@@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@@ -0,0 +1,31 @@
# ruby-lsp
Ruby language server for Claude Code, providing code intelligence and analysis.
## Supported Extensions
`.rb`, `.rake`, `.gemspec`, `.ru`, `.erb`
## Installation
### Via gem (recommended)
```bash
gem install ruby-lsp
```
### Via Bundler
Add to your Gemfile:
```ruby
gem 'ruby-lsp', group: :development
```
Then run:
```bash
bundle install
```
## Requirements
- Ruby 3.0 or later
## More Information
- [Ruby LSP Website](https://shopify.github.io/ruby-lsp/)
- [GitHub Repository](https://github.com/Shopify/ruby-lsp)