prompt-generator
Generate or convert Claude Code prompt files — command orchestrators, skill files, agent role definitions, or style conversion of existing files. Follows GSD-style content separation with built-in quality gates. Triggers on "create command", "new command", "create skill", "new skill", "create agent", "new agent", "convert command", "convert skill", "convert agent", "prompt generator", "优化".
npx skills add majiayu000/claude-skill-registry --skill prompt-generator-catlog22-claude-code-workflow --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
<purpose> Generate or convert Claude Code prompt files with concrete, domain-specific content. Four modes: - **Create command** — new orchestration workflow at `.claude/commands/` or `~/.claude/commands/` - **Create skill** — new skill file at `.claude/skills/*/SKILL.md` (progressive loading, no @ refs) - **Create agent** — new role + expertise file at `.claude/agents/` - **Convert** — restyle existing command/skill/agent to GSD conventions with zero content loss Content separation principle (from GSD): commands/skills own orchestration flow; agents own domain knowledge. Skills are a variant of commands but loaded progressively inline — they CANNOT use `@` file references. Invoked when user requests "create command", "new command", "create skill", "new skill", "create agent", "new agent", "convert command", "convert skill", "convert agent", "prompt generator", or "优化". </purpose> <required_reading> - @.claude/skills/prompt-generator/specs/command-design-spec.md - @.claude/skills/prompt-generator/specs/agent-design-spec.md - @.claude/skills/prompt-generator/specs/conversion-spec.md - @.claude/skills/prompt-generator/templates/command-md.md - @.claude/skills/prompt-generator/template
- 1. Determine Artifact Type
- 2. Validate Parameters
- 3. Resolve Target Path
- 4. Gather Requirements
- 5. Generate Content
- 5a. Command Generation
- 5a-skill. Skill Generation (variant of command)
- 5b. Agent Generation
- 5c. Convert Mode (Restyle Existing File)
- Content quality rules (both types):
- 6. Quality Gate
- 6a. Structural Validation (both types)
- 6b. Command-Specific Checks
- 6b-skill. Skill-Specific Checks
For commands: scan existing commands ls .claude/commands/**/*.md 2>/dev/null | head -5 For agents: scan existing agents ls .claude/agents/*.md 2>/dev/null | head -5 mkdir -p "$(dirname "$TARGET_PATH")"
What does the prompt-generator skill do?
Generate or convert Claude Code prompt files — command orchestrators, skill files, agent role definitions, or style conversion of existing files. Follows GSD-style content separation with built-in quality gates. Triggers on "create command", "new command", "create skill", "new skill", "create agent", "new agent", "convert command", "convert skill", "convert agent", "prompt generator", "优化".
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill prompt-generator-catlog22-claude-code-workflow --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
