Compare commits

..

1 Commits

Author SHA1 Message Date
Claude
fc15bd9403 Add CI workflow to validate marketplace.json is valid JSON
Adds a GitHub Actions workflow that runs on PRs when .claude-plugin/marketplace.json
is modified. The workflow uses jq to validate the JSON structure.

Related Slack thread: https://anthropic.slack.com/archives/C09KU300P7F/p1769756203361729
2026-01-30 06:57:57 +00:00
5 changed files with 134 additions and 116 deletions

View File

@@ -0,0 +1,23 @@
name: Validate Marketplace JSON
on:
pull_request:
paths:
- '.claude-plugin/marketplace.json'
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate marketplace.json
run: |
echo "Validating .claude-plugin/marketplace.json..."
if jq empty .claude-plugin/marketplace.json 2>&1; then
echo "Valid JSON"
else
echo "Invalid JSON in .claude-plugin/marketplace.json"
exit 1
fi

View File

@@ -1,7 +1,6 @@
--- ---
name: agent-creator name: agent-creator
description: | description: Use this agent when the user asks to "create an agent", "generate an agent", "build a new agent", "make me an agent that...", or describes agent functionality they need. Trigger when user wants to create autonomous agents for plugins. Examples:
Use this agent when the user asks to "create an agent", "generate an agent", "build a new agent", "make me an agent that...", or describes agent functionality they need. Trigger when user wants to create autonomous agents for plugins. Examples:
<example> <example>
Context: User wants to create a code review agent Context: User wants to create a code review agent
@@ -29,6 +28,7 @@ description: |
Plugin development with agent addition, trigger agent-creator. Plugin development with agent addition, trigger agent-creator.
</commentary> </commentary>
</example> </example>
model: sonnet model: sonnet
color: magenta color: magenta
tools: ["Write", "Read"] tools: ["Write", "Read"]

View File

@@ -1,7 +1,6 @@
--- ---
name: plugin-validator name: plugin-validator
description: | description: Use this agent when the user asks to "validate my plugin", "check plugin structure", "verify plugin is correct", "validate plugin.json", "check plugin files", or mentions plugin validation. Also trigger proactively after user creates or modifies plugin components. Examples:
Use this agent when the user asks to "validate my plugin", "check plugin structure", "verify plugin is correct", "validate plugin.json", "check plugin files", or mentions plugin validation. Also trigger proactively after user creates or modifies plugin components. Examples:
<example> <example>
Context: User finished creating a new plugin Context: User finished creating a new plugin
@@ -31,6 +30,7 @@ description: |
</commentary> </commentary>
assistant: "I'll use the plugin-validator agent to check the manifest." assistant: "I'll use the plugin-validator agent to check the manifest."
</example> </example>
model: inherit model: inherit
color: yellow color: yellow
tools: ["Read", "Grep", "Glob", "Bash"] tools: ["Read", "Grep", "Glob", "Bash"]

View File

@@ -1,7 +1,6 @@
--- ---
name: skill-reviewer name: skill-reviewer
description: | description: Use this agent when the user has created or modified a skill and needs quality review, asks to "review my skill", "check skill quality", "improve skill description", or wants to ensure skill follows best practices. Trigger proactively after skill creation. Examples:
Use this agent when the user has created or modified a skill and needs quality review, asks to "review my skill", "check skill quality", "improve skill description", or wants to ensure skill follows best practices. Trigger proactively after skill creation. Examples:
<example> <example>
Context: User just created a new skill Context: User just created a new skill
@@ -30,6 +29,7 @@ description: |
Skill description modified, review for triggering effectiveness. Skill description modified, review for triggering effectiveness.
</commentary> </commentary>
</example> </example>
model: inherit model: inherit
color: cyan color: cyan
tools: ["Read", "Grep", "Glob"] tools: ["Read", "Grep", "Glob"]

View File

@@ -1,11 +1,6 @@
--- ---
name: code-simplifier name: code-simplifier
description: | description: Use this agent when code has been written or modified and needs to be simplified for clarity, consistency, and maintainability while preserving all functionality. This agent should be triggered automatically after completing a coding task or writing a logical chunk of code. It simplifies code by following project best practices while retaining all functionality. The agent focuses only on recently modified code unless instructed otherwise.\n\nExamples:\n\n<example>
Use this agent when code has been written or modified and needs to be simplified for clarity, consistency, and maintainability while preserving all functionality. This agent should be triggered automatically after completing a coding task or writing a logical chunk of code. It simplifies code by following project best practices while retaining all functionality. The agent focuses only on recently modified code unless instructed otherwise.
Examples:
<example>
Context: The assistant has just implemented a new feature that adds user authentication to an API endpoint. Context: The assistant has just implemented a new feature that adds user authentication to an API endpoint.
user: "Please add authentication to the /api/users endpoint" user: "Please add authentication to the /api/users endpoint"
assistant: "I've implemented the authentication for the /api/users endpoint. Here's the code:" assistant: "I've implemented the authentication for the /api/users endpoint. Here's the code:"