ClaudeHack
0

Turn recurring prompts into skills you invoke with /name

Terminal / Productivity / Cost Optimization·13 hours ago·verified 13 hours ago·medium·~15 min setup·verified

Save repeatable workflows as SKILL.md (or .claude/commands) so you slash-invoke consistent PR reviews, releases, or checklists.

The problem

Re-typing the same long prompt every time drifts and wastes tokens explaining the process again.

The hack

Create `.claude/skills/<name>/SKILL.md` with frontmatter and steps; invoke it as `/name` whenever needed.

Why it works

Skills are the modern home for reusable commands. They keep CLAUDE.md small and standardize team workflows.

Setup

1. Create `.claude/skills/ship-check/SKILL.md`. 2. Add description frontmatter and numbered steps (tests, changelog, risk notes). 3. Restart or refresh so `/ship-check` appears. 4. Run it before every release PR.

Code

---
name: ship-check
description: Pre-PR release checklist for this repo
---
1. Run the test suite and summarize failures.
2. Diff against main and list user-facing changes.
3. Flag missing tests or docs.

Additional details

Existing .claude/commands/*.md files still work as slash commands.

Source

anthropic·View original →·by Anthropic Docs

Does this still work?

0 said it works · 0 said it's broken

Discussion

No comments yet. Be the first to say whether this worked for you.