10 Claude Skill Examples (Copyable SKILL.md Templates)
Ten complete Claude skill examples you can copy: commit messages, Stripe webhooks, SEO meta tags, launch posts, blog editing, CSV cleaning, SQL review, design tokens, meeting notes and Dockerfiles.
Last updated: 2026-11-27
Each example below is a complete SKILL.md: valid frontmatter, a description that says when to use it, step-by-step instructions and an output format. Use them as templates. Copy one, save it as ~/.claude/skills/<name>/SKILL.md, then change the steps to match how you work.
What they have in common, and what to copy into your own skills:
- The description names the triggers. Each one ends with "Use when…" and the words a user would really type.
- Steps are ordered and concrete. Limits, formats and commands, not adjectives.
- The output is defined. Claude knows what a finished answer looks like.
New to the format? Read What is SKILL.md? or the step-by-step guide How to create a Claude skill.
Generate a SKILL.md from a URL
Paste a docs page, a guide or a chat log. Free, no signup.
1. conventional-commits
Coding · Generated from https://www.conventionalcommits.org/en/v1.0.0/
--- name: conventional-commits description: Writes git commit messages that follow the Conventional Commits 1.0 spec (type(scope)!: subject, body, footers). Use when the user asks to commit, write a commit message, squash, or prepare a changelog-friendly history. --- # Conventional Commits ## Format ``` <type>[optional scope][!]: <description> [optional body] [optional footer(s)] ``` ## Rules 1. Pick the type from what the diff does, not from the file names: - `feat` adds behaviour users can see; `fix` corrects a bug. - `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore` for everything else. 2. Scope is optional: a noun for the area touched (`feat(auth): …`). 3. Description: imperative mood, lowercase, no trailing period, ≤ 72 characters. 4. Breaking changes: add `!` after the type/scope **and** a `BREAKING CHANGE: <what to do>` footer. 5. Body explains *why*, wrapped at 72 columns. Leave it out for trivial changes. 6. Reference issues in footers: `Refs: #123`, `Closes: #45`. ## Workflow 1. Run `git diff --staged`. If nothing is staged, ask before staging. 2. If the diff mixes unrelated changes, suggest splitting it into several commits. 3. Draft the message, show it, then commit with `git commit -F -` so newlines survive. ## Examples ``` feat(api)!: return 404 for unknown skill slugs Previously the endpoint returned 200 with an empty body, which clients cached as a valid skill. BREAKING CHANGE: clients must handle 404 from GET /api/skills/:slug ``` ``` fix(parser): accept CRLF line endings in frontmatter ```
2. stripe-webhook-handler
Coding · Generated from https://docs.stripe.com/webhooks
---
name: stripe-webhook-handler
description: Builds and reviews Stripe webhook endpoints - signature verification, idempotency, event routing and retries. Use when the user adds a Stripe webhook, debugs "No signatures found matching the expected signature", or handles checkout.session.completed / invoice events.
---
# Stripe Webhook Handler
## Non-negotiables
- Verify the signature against the **raw** request body with the endpoint secret (`whsec_…`). Never parse JSON first.
- Return `2xx` quickly; do slow work after acknowledging, or in a queue.
- Make every handler idempotent: store `event.id` (or the object id + state) under a unique key and skip repeats. Stripe retries for up to 3 days.
- Events can arrive out of order. Re-fetch the object from the API when the order matters.
- Check `livemode` and the account so test events never touch production data.
## Steps
1. Read the raw body (`await request.text()` in fetch handlers; `express.raw({ type: 'application/json' })` in Express).
2. `stripe.webhooks.constructEvent(body, sigHeader, secret)`; on failure return 400.
3. `switch (event.type)` over only the events the app needs; return 200 for the rest.
4. Within one database transaction: claim the event id, apply the change.
5. Log `event.id` and `event.type`, never the payload's personal data.
## Events most apps need
| Event | Do |
|---|---|
| `checkout.session.completed` | Mark the order paid (check `payment_status === 'paid'`) |
| `invoice.paid` | Extend the subscription period |
| `invoice.payment_failed` | Flag the account, email the customer |
| `customer.subscription.deleted` | End access at `current_period_end` |
| `charge.refunded` | Revoke what the payment granted |
## Testing
`stripe listen --forward-to localhost:3000/api/stripe/webhook`, then `stripe trigger checkout.session.completed`.
3. seo-meta-writer
Marketing · Generated from https://developers.google.com/search/docs/appearance/title-link
---
name: seo-meta-writer
description: Writes page titles and meta descriptions that match search intent and fit in search results. Use when the user asks for SEO titles, meta descriptions, snippets, or to fix duplicate/missing metadata across pages.
---
# SEO Meta Writer
## Inputs to collect
- The page URL or content, and its single primary keyword.
- What the searcher wants on landing (learn, compare, do, buy).
- The brand name and whether it goes in titles.
## Title
- 50–60 characters; put the primary keyword near the start.
- Describe this page, not the site. Every page gets a unique title.
- Pattern: `Primary keyword – specific benefit | Brand`.
- No keyword stuffing, no ALL CAPS, no clickbait the page can't deliver.
## Meta description
- 140–160 characters, written as a promise of what's on the page.
- Include the keyword once, naturally; add a concrete detail (number, format, price, "free").
- End with a light call to action when it fits ("See 10 examples").
## Output
Return a table: URL · title (with character count) · description (with character count) · note. Flag pages whose content does not support the target keyword instead of forcing it.
## Example
| URL | Title | Description |
|---|---|---|
| /what-is-skill-md | What Is SKILL.md? Format, Fields & a Full Example (58) | SKILL.md is the file that teaches an AI agent a skill. Learn its five parts, copy a complete example and avoid the common mistakes. (147) |
4. launch-announcement
Marketing · Generated from Chat log: planning a Product Hunt launch with the team
--- name: launch-announcement description: Drafts product launch posts for Product Hunt, X/Twitter, LinkedIn and Hacker News from one feature brief, each in the channel's native format. Use when the user is launching or announcing a product, feature or release. --- # Launch Announcement ## 1. Get the brief (ask if missing) - What shipped, in one sentence, and who it is for. - The one problem it removes; a number or before/after if available. - Link, price/free tier, and launch date. ## 2. Write per channel **Product Hunt** – tagline ≤ 60 chars (no "revolutionary"), description ≤ 260 chars, and a maker comment: why you built it → what it does → what's next → ask for feedback. **X / Twitter** – a 3–5 post thread. Post 1 is the hook plus the outcome and works alone; one idea per post; link in the last post; a GIF or screenshot cue for post 2. **LinkedIn** – first two lines must earn the "see more" click; short paragraphs; end with a question. **Hacker News (Show HN)** – `Show HN: <Name> – <what it does>`; plain, technical first comment: how it works, what's hard, limitations. No marketing language. ## 3. Check - Every claim is true today (no roadmap promises as features). - Same core message on every channel; tone adapted, facts unchanged. - Return all drafts in one reply under channel headings.
5. technical-blog-editor
Writing · Generated from https://developers.google.com/style
---
name: technical-blog-editor
description: Edits technical articles and docs for clarity, accuracy and scannability using a developer-docs style guide. Use when the user asks to edit, proofread, tighten or restructure a blog post, tutorial, README or documentation page.
---
# Technical Blog Editor
## Pass 1 – Structure
- One idea per section; headings say what the reader learns ("Configure retries", not "Configuration").
- Put prerequisites and the end result at the top.
- Steps the reader performs are numbered lists; options are bullet lists; comparisons are tables.
## Pass 2 – Sentences
- Second person, active voice, present tense: "Run the command", not "The command should be run".
- Cut filler: *simply, just, easily, obviously, basically, in order to*.
- One term per concept; define it on first use.
- Sentences ≤ 25 words where possible.
## Pass 3 – Code and facts
- Every code block has a language tag and runs as shown (no undefined variables, no `...` in required parts).
- Commands and their output are separate blocks.
- Version numbers, flags and links are checked; mark anything unverifiable with `[CHECK]`.
## Output
Return the edited article, then a short list of the substantive changes (not every comma) and any `[CHECK]` items. Keep the author's voice; don't add new claims.
6. csv-data-cleaner
Data · Generated from Pasted doc: internal data-cleaning checklist
---
name: csv-data-cleaner
description: Profiles and cleans CSV/Excel data with pandas - types, missing values, duplicates, inconsistent categories and outliers - and reports every change. Use when the user shares a CSV or spreadsheet and asks to clean, normalise, dedupe or prepare it for analysis.
---
# CSV Data Cleaner
## 1. Profile first, change nothing
```python
import pandas as pd
df = pd.read_csv(path, dtype=str, keep_default_na=False)
print(df.shape); print(df.head(10))
for col in df.columns:
print(col, df[col].nunique(), (df[col] == '').sum())
```
Report: rows, columns, empty counts, columns that look like dates/numbers/IDs, and suspected duplicates.
## 2. Clean (ask before dropping data)
1. Trim whitespace; normalise empty strings, `N/A`, `null`, `-` to missing.
2. Convert types explicitly: `pd.to_numeric(errors='coerce')`, `pd.to_datetime(errors='coerce', utc=True)`; list the values that failed to convert.
3. Standardise categories (case, spelling variants) through an explicit mapping table shown to the user.
4. Duplicates: exact first; near-duplicates only on a key the user confirms.
5. Outliers: flag with IQR, don't delete.
## 3. Deliver
- `cleaned.csv` plus a change log: step → rows affected → example before/after.
- Never overwrite the original file.
7. sql-query-reviewer
Data · Generated from https://use-the-index-luke.com/
--- name: sql-query-reviewer description: Reviews SQL queries for correctness, performance and safety - index use, N+1 patterns, injection risks and locking. Use when the user asks to review, optimise or explain a SQL query, a slow endpoint, or an EXPLAIN plan. --- # SQL Query Reviewer ## Correctness - `NULL` handling: `NOT IN` with a nullable subquery, `=` vs `IS NULL`, outer joins filtered in `WHERE` (turns them inner). - Aggregates: every non-aggregated column is grouped; `COUNT(col)` vs `COUNT(*)`. - Time zones and half-open ranges: `created_at >= :start AND created_at < :end`. ## Performance 1. Ask for `EXPLAIN (ANALYZE, BUFFERS)` (Postgres) or `EXPLAIN ANALYZE` (MySQL) when available. 2. Look for sequential scans on large tables, sorts spilling to disk, and nested loops with high row estimates. 3. Index advice: equality columns first, then range; no functions on indexed columns in `WHERE`; covering indexes for hot reads. 4. Pagination: keyset (`WHERE id > :last ORDER BY id LIMIT n`) instead of large `OFFSET`. 5. Spot N+1 queries in the calling code and suggest one query with `IN`/join. ## Safety - Parameters, never string concatenation. - `UPDATE`/`DELETE` without a selective `WHERE` → stop and warn. - Long transactions holding locks; migrations that rewrite big tables. ## Output Findings ordered by impact, each with the problem, the fix as SQL, and how to verify.
8. design-tokens-auditor
Design · Generated from https://www.w3.org/WAI/WCAG22/quickref/
--- name: design-tokens-auditor description: Audits UI code for design-token consistency and WCAG 2.2 AA basics - hard-coded colors, spacing and font sizes, contrast, focus states and touch targets. Use when the user asks for a UI/design review, accessibility check, or to migrate styles onto tokens. --- # Design Tokens Auditor ## Scan 1. Find hard-coded values: hex/rgb/hsl colors, px spacing, font sizes, radii, shadows outside the token files. 2. Map each to the nearest existing token; list values with no close token as candidates for a new one (don't invent them silently). ## Accessibility checks (WCAG 2.2 AA) - Text contrast ≥ 4.5:1 (≥ 3:1 for ≥ 24px or ≥ 19px bold); UI component borders/icons ≥ 3:1. Check both light and dark themes. - Every interactive element has a visible `:focus-visible` style. - Touch targets ≥ 24×24 CSS px. - Don't convey state by color alone; inputs have labels. ## Output | File:line | Issue | Current | Suggested token / fix | Severity | Then a short summary: how many hard-coded values, how many contrast failures, and the three changes with the most impact.
9. meeting-notes-to-actions
Productivity · Generated from Chat log: weekly product sync transcript
--- name: meeting-notes-to-actions description: Turns raw meeting transcripts or notes into decisions, action items with owners and dates, and open questions. Use when the user pastes a transcript, call recording text, or messy notes and wants a summary or follow-ups. --- # Meeting Notes to Actions ## Extract 1. **Decisions** – things agreed; quote the deciding line when ambiguous. 2. **Action items** – verb-first task, one owner, a due date. If no owner or date was said, write `owner: ?` / `due: ?` rather than guessing. 3. **Open questions** – raised but not resolved, with who should answer. 4. **Risks / blockers** mentioned. ## Rules - Attribute by name as spoken; don't infer who "we" is. - Drop small talk and repeated points. - Keep numbers, dates and names exactly as said. ## Output format ```markdown ## Summary Two or three sentences. ## Decisions - … ## Action items - [ ] Ship pricing page copy — @Dana — due Fri 6 Dec ## Open questions - … ``` Offer a version formatted as a follow-up email when asked.
10. dockerfile-optimizer
DevOps · Generated from https://docs.docker.com/build/building/best-practices/
--- name: dockerfile-optimizer description: Reviews and rewrites Dockerfiles for smaller, faster, safer images - multi-stage builds, layer caching, non-root users and pinned bases. Use when the user asks to optimise, review or write a Dockerfile, or complains about slow builds or large images. --- # Dockerfile Optimizer ## Checklist 1. **Base image** – pinned tag (and digest for production); slim/distroless where possible. 2. **Multi-stage** – build tools only in the builder stage; copy just the artifacts. 3. **Cache order** – copy lockfiles and install deps before copying source. 4. **Layers** – combine `apt-get update && apt-get install --no-install-recommends … && rm -rf /var/lib/apt/lists/*` in one `RUN`. 5. **.dockerignore** – exclude `.git`, `node_modules`, env files, build output. 6. **Security** – `USER` non-root; no secrets in `ENV`/`ARG` (use build secrets); `HEALTHCHECK` for services. 7. **Runtime** – exec-form `CMD ["node", "server.js"]` so signals reach the process. ## Node example ```dockerfile FROM node:22-slim AS deps WORKDIR /app COPY package.json pnpm-lock.yaml ./ RUN corepack enable && pnpm install --frozen-lockfile FROM deps AS build COPY . . RUN pnpm build && pnpm prune --prod FROM node:22-slim WORKDIR /app ENV NODE_ENV=production COPY --from=build --chown=node:node /app/node_modules ./node_modules COPY --from=build --chown=node:node /app/.output ./.output USER node CMD ["node", ".output/server/index.mjs"] ``` ## Output The rewritten Dockerfile, then a before/after list of what changed and the expected effect (size, build time, security).
Make your own
None of these fit? Paste the docs, a guide or a conversation about your task into the Claude skill builder to get a first draft, check it with the validator, and browse more in the skill directory.
Generate a SKILL.md from a URL
Paste a docs page, a guide or a chat log. Free, no signup.