SolidMITOriginal

Prompt to Skill

Extracts a recurring prompt from your chat history and scaffolds it as a new slash command.

Entry verified April 21, 2026

The short answer

The rule of three: if you’ve typed the same instructions three times, it’s a skill. This one catches that tripwire — you paste the repeated prompt, it scaffolds the SKILL.md with purpose, when-to-use, steps, and failure modes pre-filled from your prompt.

When to use it

You catch yourself retyping a block of instructions. Don’t let the fourth time happen.

Setup

  1. 1

    Save as ~/.claude/commands/prompt-to-skill.md. Argument: a file path or pasted prompt block.

  2. 2

    Skill reads the prompt, identifies the implied purpose / steps / output format, and generates a SKILL.md scaffold using the template in /claude-code-skills/build-your-own.

  3. 3

    Outputs to ~/.claude/commands/<proposed-slug>.md — you edit before saving.

Example

You: /prompt-to-skill "Run git status, check branch, if dirty stage, then commit with conventional message..."
Claude: Detected pattern: commit workflow. Proposed slug: commit-helper (collision — already exists).
       Proposed slug 2: commit-strict (variant).
       Scaffolded ~/.claude/commands/commit-strict.md with frontmatter + 4-step body + failure-modes section.
       Review before saving.

Source & attribution

Licence
MIT (author's own work)
Type
Original

Original pattern published under MIT — attribution preserved by convention, not licence requirement.

Caveats

The scaffold is a starting point, not a finished skill — always review the failure-modes section before trusting it with mutating actions (git push, deploy, delete).

New skills, explained plainly.

One short email when a new Claude Code skill is worth installing — and when to skip the hype. No spam.

56 skills across 10 categories, all licence-verified.