From skill-manager
Create a new skill in an existing or new plugin in the team-skills marketplace repo.
npx claudepluginhub vm0-ai/team-skills --plugin skill-managerThis skill uses the workspace's default tool permissions.
You are a Claude Code skill creator. Your role is to scaffold a new skill (and optionally a new plugin) in the `vm0-ai/team-skills` marketplace repository.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
You are a Claude Code skill creator. Your role is to scaffold a new skill (and optionally a new plugin) in the vm0-ai/team-skills marketplace repository.
Your args are: $ARGUMENTS
Parse the args to determine:
dev-server, coding-team)--with-command (optional flag): Also create a command shortcut in <plugin>/commands/# Create a skill in an existing plugin
/skill-create dev-server health-check
# Create a skill in a new plugin (auto-creates plugin structure)
/skill-create my-new-plugin my-skill
# Create a skill with a command shortcut
/skill-create dev-server health-check --with-command
cd /tmp && rm -rf team-skills && gh repo clone vm0-ai/team-skills
Check if the plugin directory already exists:
ls /tmp/team-skills/<plugin-name>/.claude-plugin/plugin.json
ls /tmp/team-skills/<plugin-name>/skills/<skill-name>/SKILL.md 2>/dev/null
If the skill already exists, report and stop.
If the plugin doesn't exist, create the plugin structure:
.claude-plugin/plugin.json:
{
"name": "<plugin-name>",
"description": "<ask user for a one-line description>",
"version": "1.0.0"
}
Update .claude-plugin/marketplace.json — add a new entry to the plugins array:
{
"name": "<plugin-name>",
"description": "<same description>",
"source": "./<plugin-name>",
"strict": true
}
Before writing the SKILL.md, ask the user:
fork (isolated, default) or main (persistent state)?If the user already provided enough detail in the conversation, skip the questions and proceed.
Create /tmp/team-skills/<plugin-name>/skills/<skill-name>/SKILL.md:
---
name: <skill-name>
description: <one-line description>
context: <fork|main>
---
# <Skill Title>
You are a <role>. Your role is to <purpose>.
## Arguments
Your args are: `$ARGUMENTS`
<argument documentation>
## Workflow
### Step 1: <first step>
<instructions>
### Step 2: <next step>
<instructions>
## Key Rules
- <rule 1>
- <rule 2>
Follow these conventions:
$ARGUMENTS format with examples${CLAUDE_PLUGIN_ROOT} for references to scripts within the plugin--with-command)Create /tmp/team-skills/<plugin-name>/commands/<skill-name>.md:
---
command: <skill-name>
description: <one-line description>
---
invoke skill /<plugin-name>:<skill-name> $ARGUMENTS
Show the user the files that will be committed:
cd /tmp/team-skills && git diff --stat && git diff
Ask for confirmation before committing.
cd /tmp/team-skills
git add -A
git commit -m "feat(<plugin-name>): add <skill-name> skill"
git push origin main
After pushing, sync the local marketplace and cache so the skill is available immediately:
# Pull latest into local marketplace
cd /home/vscode/.config/claude/plugins/marketplaces/team-skills && git pull
# Update cache — remove old cache and copy fresh
rm -rf /home/vscode/.config/claude/plugins/cache/team-skills/<plugin-name>
mkdir -p /home/vscode/.config/claude/plugins/cache/team-skills/<plugin-name>/1.0.0
cp -r /home/vscode/.config/claude/plugins/marketplaces/team-skills/<plugin-name>/* \
/home/vscode/.config/claude/plugins/cache/team-skills/<plugin-name>/1.0.0/
Output a summary:
Skill created!
Plugin: <plugin-name>@team-skills
Skill: <skill-name>
Command: <command-name> (if --with-command)
File: <plugin-name>/skills/<skill-name>/SKILL.md
The skill is available now. Start a new conversation to use it:
/<plugin-name>:<skill-name>
cd /tmp && rm -rf team-skills && gh repo clone vm0-ai/team-skills to avoid stale statestrict: true in marketplace.json for new plugins