Top 10 Agent skills prompts at a glance
24 Best Agent Skill Prompts for Claude Code and Codex: the top prompts and what you get from each
PromptWhat you get
Verify Before Done: Agent Skill (SKILL.md) for Claude Code, Codex and CursorProves a task is finished before claiming it: restates the acceptance criteria, runs tests, typecheck, lint and build, exercises the changed path for real, checks for leftover to-do markers, debug logs and skipped tests, and reports evidence per criterion plus what wasn't verified.
Systematic Debugging: Agent Skill (SKILL.md) for Claude Code, Codex and CursorHunts down bugs whose cause isn't obvious: flaky or intermittent failures, 'works locally but fails in CI', regressions nobody can place, or a fix that didn't stick.
Code Review Checklist: Agent Skill (SKILL.md) for Claude Code, Codex and CursorReviews a diff for correctness, security, performance and tests, and reports findings as file:line with a fix.
Test-First Bug Fix Skill: Reproduce, Fix, Prove (SKILL.md)A SKILL.md that forces your coding agent to reproduce a bug with a failing test before changing code, apply the smallest fix, and prove it with the test suite.
TDD In Vertical Slices: Agent Skill (SKILL.md) for Claude Code, Codex and CursorImplements a feature test-first, one small user-visible behavior at a time: write a failing test, confirm it fails for the right reason, write the least code to pass, refactor while green, checkpoint, and log each cycle.
Write An Implementation Plan: Agent Skill (SKILL.md) for Claude Code, Codex and CursorTurns an approved design or spec into an ordered plan another agent or developer can execute: small steps with files to touch, the test to write first, exact commands, done criteria, dependency order, parallel groups, risks and rollback.
Grill The Plan: Agent Skill (SKILL.md) for Claude Code, Codex and CursorInterviews you about a plan one question at a time, with a recommended answer for each, until every design decision is resolved, then writes a decision log and a one-page plan.
AGENTS.md Writer: Agent Skill (SKILL.md) for Claude Code, Codex and CursorWrites or refreshes a repo's AGENTS.md or CLAUDE.md from what's actually in the code: verified build, test and lint commands, a directory map, conventions, do and don't lists, and gotchas, kept under about 150 lines.
Session Handoff: Agent Skill (SKILL.md) for Claude Code, Codex and CursorCondenses the current session into a one-page handoff another agent or person can continue from with zero context: goal, current state, decisions and why, files touched, working commands, what was ruled out, open questions, the next 3 steps and gotchas.
Frontend Taste: Agent Skill (SKILL.md) for Claude Code, Codex and CursorBuilds pages and components that don't look AI-generated: picks a design direction first, uses real copy, sets hierarchy, covers empty, loading and error states, and avoids common tells like purple gradients and emoji icons.
  1. #1AI Coding AgentsClaude Code

    Verify Before Done: Agent Skill (SKILL.md) for Claude Code, Codex and Cursor

    Proves a task is finished before claiming it: restates the acceptance criteria, runs tests, typecheck, lint and build, exercises the changed path for real, checks for leftover to-do markers, debug logs and skipped tests, and reports evidence per criterion plus what wasn't verified.

    Preview prompt
    ---
    name: verify-before-done
    description: "Proves a task is finished before claiming it: restates the acceptance criteria, runs tests, typecheck, lint and build, exercises the changed path for real, checks for leftover to-do markers, debug logs and skipped tests, and reports evidence per criterion plus what wasn't verified. Use before saying a task is done, fixed or working, before committing or opening a PR, or when asked to 'double-check', 'verify' or 'make sure it works'."
    ---
    
    # Verify before done
    
    Before you say a task is done, fixed or working, prove it.
    
    ## Steps
    
    1. Restate the acceptance criteria as a numbered list. If none were given, write the ones the request implies and say that you inferred them.
    2. Run the project's checks with the commands the repo already defines (package scripts, Makefile, CI config), and paste the key lines of output (counts, failures, exit status), not the whole log:
       - tests: the affected ones, then the full suite if it's reasonable to run;
       - typecheck;
       - lint;
       - build.
    3. Exercise the changed path the way a user would: run the CLI with real arguments, call the endpoint and show the response, open the page and check the changed state, run the migration on a local database. Record what you saw.
    4. Map each criterion to the evidence that proves it. A criterion without evidence is not met.
    5. Search the diff (`git diff` against the base branch) for leftovers: to-do or FIXME markers you added, debug logging, commented-out code, skipped or focused tests (.skip, .only, xit, fit), hard-coded test values, temporary files.
    6. If a check fails and you think it was already failing, prove it: check out the base branch in a separate worktree (`git worktree add ../base-check <base-branch>`), run the same command there, then remove the worktree with `git worktree remove ../base-check`.
    7. Report: each criterion as met or not met with its evidence; the checks run and their results; what you did not verify and why (no credentials, no browser, slow end-to-end suite); anything the user should check themselves.
    
    ## Rules
    
    - Never write "should work", "should be fixed" or "I believe this works". Report the evidence or name the gap.
    - If a check fails because of your change, the task is not done. Fix it or report the failure plainly.
    - Don't weaken a test, skip a check or loosen a lint rule to get green unless the user agrees.
    - Only run commands that are safe here. No deploys and no writes to shared data.
    
    ## Example output
    
    ```
    1. Expired coupons rejected: met. "rejects expired" passes; POST /cart/coupon with code OLD10 returned 422 "error":"coupon_expired".
    2. Valid coupons still apply: met. 13/13 existing coupon tests pass.
    Checks: npm test 212 passed; tsc 0 errors; eslint 0 errors; build ok.
    Leftovers: none found.
    Not verified: receipt email wording (no mail sandbox in this environment).
    ```
  2. #2AI Coding AgentsClaude Code

    Systematic Debugging: Agent Skill (SKILL.md) for Claude Code, Codex and Cursor

    Hunts down bugs whose cause isn't obvious: flaky or intermittent failures, 'works locally but fails in CI', regressions nobody can place, or a fix that didn't stick.

    Preview prompt
    ---
    name: systematic-debugging
    description: "Hunts down bugs whose cause isn't obvious: flaky or intermittent failures, 'works locally but fails in CI', regressions nobody can place, or a fix that didn't stick. Makes the bug reproduce reliably, ranks hypotheses, narrows with git bisect or input halving, confirms the cause before changing code, and proves the fix with a regression test. Use when a test is flaky, it 'works on my machine', something broke after an upgrade or merge, a first fix didn't work, or when asked to find the root cause."
    ---
    
    # Systematic debugging
    
    For bugs where the cause isn't obvious. If the error message already points at the faulty line, write a failing test, fix it and skip the rest of this.
    
    ## Steps
    
    1. Write down observed vs expected, the exact error text, and the exact command, request or click path that shows it.
    2. Make it reproduce reliably.
       - Intermittent: run the failing test 20 times in a loop and record how many runs fail. Run it alone, then with the full suite, then in a different order, to expose shared state between tests.
       - Works locally, fails in CI (or the reverse): list the differences and check each one: runtime and dependency versions (is the lockfile used?), env vars, time zone and locale, OS and filesystem case sensitivity, CPU count and test parallelism, network access, seed data and secrets. Copy CI's setup locally (same versions, TZ=UTC, the same env vars) until it fails here too.
       - Can't reproduce at all: ask for logs, versions, the exact input and steps. Don't guess a fix.
    3. Shrink: cut the input and steps down to the smallest case that still fails.
    4. Hypothesize: list two to four possible causes, ranked by likelihood, each with the evidence for it and the check that would rule it out.
    5. Narrow, one check at a time, recording each result:
       - Regression with a known-good commit: `git bisect start <bad> <good>`, then `git bisect run <test command>` (the command must exit non-zero when the bug is present), then `git bisect reset`.
       - Large input or config: halve it and keep the half that still fails.
       - Otherwise: add targeted logging or inspect values in a debugger at the point the hypothesis predicts.
    6. Confirm the cause: you have it when you can explain the full chain from cause to symptom and predict a change that makes the bug go away.
    7. Write a regression test that fails on the current code every time. For flaky bugs, control the cause in the test (fixed clock, seeded randomness, forced ordering) so it fails reliably. Run it and watch it fail.
    8. Fix the root cause, not the symptom. A try/catch, a null check, a longer timeout or a retry that hides the error is not a fix unless the cause really is an expected condition.
    9. Verify: the regression test passes, the full suite passes, the original reproduction no longer fails. For an intermittent bug, rerun the loop with several times as many runs as it took to fail before. Remove temporary logging.
    10. Report: symptom, root cause, how you found it, the fix, the test added, and the command output that shows it passing.
    
    ## Rules
    
    - No fix before a confirmed cause.
    - Change one thing at a time.
    - After three hypotheses fail, stop guessing and re-gather data: reread the error, and check your assumptions about versions, environment, config and inputs.
    - Never say "fixed" without command output that shows it.
    - If the root cause is out of scope (a library bug, infrastructure), say so, apply a clearly labeled workaround, and note what the real fix would be.
    
    ## Example output
    
    ```
    Symptom: checkout.test.ts fails in CI 1 run in 6; never locally.
    Cause: test relies on local time; CI runs in UTC, so "today" flips at 00:00 UTC. Found by running locally with TZ=UTC (fails 20/20 between 00:00 and 01:00 local).
    Fix: compare dates in UTC in isExpired().
    Test: "treats a coupon ending today as valid in any time zone" with a fixed clock; failed before, passes now.
    Verified: 100 loop runs, 0 failures; full suite 212 passed.
    ```
  3. #3AI Coding AgentsClaude Code

    Code Review Checklist: Agent Skill (SKILL.md) for Claude Code, Codex and Cursor

    Reviews a diff for correctness, security, performance and tests, and reports findings as file:line with a fix.

    Preview prompt
    ---
    name: code-review-checklist
    description: Reviews a diff for correctness, security, performance and tests, and reports findings as file:line with a fix. Use when asked to review a PR, a diff or changes before merge.
    ---
    
    # Code review checklist
    
    ## Steps
    
    1. Read the whole diff once to understand the change and its intent.
    2. Check correctness: edge cases, null/empty inputs, error paths, off-by-one, concurrency.
    3. Check security: auth on new routes, input validation, injection, secrets, unsafe deserialization.
    4. Check performance: N+1 queries, unbounded loops or payloads, missing pagination or indexes.
    5. Check tests: new branches covered, failure cases tested, no flaky timing.
    6. Report each finding as `file:line — severity — what's wrong — the fix`, most severe first.
    
    ## Rules
    
    - Only report what you can point to in the diff. Drop speculation.
    - Say "no findings" when there are none; don't pad.
  4. #4CodingClaude Code

    Test-First Bug Fix Skill: Reproduce, Fix, Prove (SKILL.md)

    A SKILL.md that forces your coding agent to reproduce a bug with a failing test before changing code, apply the smallest fix, and prove it with the test suite.

    Preview prompt
    ---
    name: test-first-bugfix
    description: Fixes bugs by first writing a failing test that reproduces them, then making the smallest change that passes. Use when the user reports a bug, a wrong result, a crash or a failing behaviour and asks for a fix.
    ---
    
    # Test-first bug fix
    
    ## Steps
    1. Restate the bug as: given this input or state, expected X, got Y. If you cannot, ask for the missing detail.
    2. Find the code path. Read it; do not edit yet.
    3. Write a test that reproduces the bug in the project's existing test framework and style. Run it and confirm it fails for the right reason (the bug, not a typo or missing import). Show the failure output.
    4. Find the root cause. Explain it in two or three sentences.
    5. Make the smallest change that fixes the cause. No refactors and no unrelated cleanups.
    6. Run the new test (it must pass), then the related test files, then the full suite if it is quick.
    7. Look for the same bug pattern elsewhere with a search, and list matches without fixing them.
    
    ## Output format
    - Bug statement
    - Failing test output (before)
    - Root cause
    - Diff of the fix
    - Test results (after)
    - Similar code found elsewhere
    
    ## Stop and ask
    - The bug cannot be reproduced in a test after two attempts. Report what you tried.
    - The fix needs a change to a public interface, a database migration or a new dependency.
    - Existing tests fail before your change; report them rather than fixing them silently.
    
    ## Risks
    Fixing the symptom. If the fix is a special case for the test input, keep looking for the cause.
  5. #5AI Coding AgentsClaude Code

    TDD In Vertical Slices: Agent Skill (SKILL.md) for Claude Code, Codex and Cursor

    Implements a feature test-first, one small user-visible behavior at a time: write a failing test, confirm it fails for the right reason, write the least code to pass, refactor while green, checkpoint, and log each cycle.

    Preview prompt
    ---
    name: tdd-vertical-slices
    description: "Implements a feature test-first, one small user-visible behavior at a time: write a failing test, confirm it fails for the right reason, write the least code to pass, refactor while green, checkpoint, and log each cycle. Use when asked to do TDD, write tests first, red-green-refactor, or build a feature in small tested steps."
    ---
    
    # TDD in vertical slices
    
    ## Steps
    
    1. Find the test command and framework the repo already uses (package scripts, Makefile, CI config). Use them; don't add a new framework.
    2. List the behaviors the feature needs as short user-visible statements ("rejects an expired coupon"). Order them smallest and most central first. Show the list before starting.
    3. Pick the next behavior. Write one test for it at the highest seam that is still fast: a module's public API, an HTTP handler, a component as the user sees it.
    4. Run the test. Confirm it fails, and that it fails for the right reason: an assertion about the behavior, not a typo, import error or missing fixture. If it passes, the test is wrong or the behavior already exists; fix the test or move on.
    5. Write the least production code that makes it pass. Hard-coding is fine if a later test will force the general case.
    6. Run the test and the related test files. Everything is green.
    7. Refactor while green: names, duplication, structure. Run the tests after each change.
    8. Checkpoint: commit with a message naming the behavior if the user wants a commit per cycle; otherwise note the cycle as a checkpoint and leave committing to them.
    9. Add a row to the cycle log and go back to step 3.
    
    ## Rules
    
    - No production code without a failing test that needs it.
    - One behavior per cycle. If a test needs two things to change, split it.
    - Never change a test and the code in the same step to get to green.
    - Test through public interfaces. Don't mock your own internals; mock only at system edges (network, clock, randomness, paid APIs).
    - Don't use snapshot tests for logic; keep them for stable output formats.
    - Assert outcomes, not implementation details such as which function was called or in what order.
    - If two attempts don't get the test green, undo the production changes since the last green checkpoint and split the behavior into a smaller one.
    - Don't skip the run where you watch it fail, even when you're sure.
    
    ## Example output
    
    | # | Behavior | Test | Failed because | Change | Result |
    |---|---|---|---|---|---|
    | 1 | Applies a 10% coupon | `cart.test.ts: applies percent coupon` | total was 100, expected 90 | added `applyCoupon` | green, committed |
    | 2 | Rejects an expired coupon | `cart.test.ts: rejects expired` | no error thrown | date check in `applyCoupon` | green, extracted date helper, committed |
  6. #6AI Coding AgentsClaude Code

    Write An Implementation Plan: Agent Skill (SKILL.md) for Claude Code, Codex and Cursor

    Turns an approved design or spec into an ordered plan another agent or developer can execute: small steps with files to touch, the test to write first, exact commands, done criteria, dependency order, parallel groups, risks and rollback.

    Preview prompt
    ---
    name: write-implementation-plan
    description: "Turns an approved design or spec into an ordered plan another agent or developer can execute: small steps with files to touch, the test to write first, exact commands, done criteria, dependency order, parallel groups, risks and rollback. Use when asked to write an implementation plan, break a spec into steps or tickets, plan the build, or 'how should we implement this'."
    ---
    
    # Write an implementation plan
    
    Turn an approved design or spec into ordered steps that another agent or developer can execute without asking you.
    
    ## Steps
    
    1. Read the spec and the code it touches. List the files, modules and commands (test, lint, typecheck, build, migrate) that apply, taken from package scripts, the Makefile or CI config. If there is no spec, or it has open questions, stop and list them.
    2. Break the work into steps that are each one commit: one behavior or one mechanical change, leaving the code working and checkable on its own.
    3. For each step, write:
       - Goal: one sentence.
       - Files: paths to create or change.
       - Test first: the test name and what it asserts.
       - Commands: the exact commands to run.
       - Done when: an observable result (test passes, endpoint returns 201, page shows the empty state).
       - Depends on: earlier step numbers, or none.
    4. Order steps by dependency. Mark groups that can run in parallel ("Group B: steps 4 to 6, independent of each other, no shared files").
    5. Add a risks and rollback section: migrations, config or env changes, feature flags, and how to undo each risky step.
    6. End with an execution checklist.
    7. Save it where the repo keeps plans (look for docs/plans/ or similar), otherwise at `docs/plans/<feature>.md`, unless the user asked for it inline.
    
    ## Rules
    
    - No vague verbs: "handle", "improve", "clean up", "support", "refactor as needed". Say what changes and how you'll know.
    - Every step names at least one file and one check.
    - No step depends on a later step. Steps in a parallel group don't touch the same files.
    - Don't redesign. If the spec has a gap, list it under open questions instead of deciding silently.
    - Use real paths and commands from the repo. Mark anything you couldn't confirm as unverified.
    
    ## Example output
    
    ```
    ### Step 3: Reject expired coupons
    Goal: applyCoupon refuses coupons past their end date.
    Files: src/cart/coupon.ts, src/cart/coupon.test.ts
    Test first: "rejects a coupon past its end date" expects CouponExpiredError
    Commands: npm test -- coupon.test.ts
    Done when: the new test passes and existing coupon tests still pass
    Depends on: Step 2
    
    Execution checklist
    - [ ] Each step's test seen failing before code is written
    - [ ] Each step's done-when checked
    - [ ] Full suite, lint and typecheck pass after the last step
    - [ ] Rollback confirmed for every migration
    ```
  7. #7ResearchClaude Code

    Grill The Plan: Agent Skill (SKILL.md) for Claude Code, Codex and Cursor

    Interviews you about a plan one question at a time, with a recommended answer for each, until every design decision is resolved, then writes a decision log and a one-page plan.

    Preview prompt
    ---
    name: grill-the-plan
    description: Interviews you about a plan one question at a time, with a recommended answer for each, until every design decision is resolved, then writes a decision log and a one-page plan. Use when someone says 'grill me', 'poke holes in this plan', 'stress-test my idea', 'what am I missing', 'ask me questions first', or before starting a large build or feature.
    ---
    
    # Grill the plan
    
    Interview the user about a plan until every design decision has an answer. No code or build work starts during the interview.
    
    ## Steps
    
    1. If the user hasn't described the plan, ask for it in one message: what they want to build or change, and for whom. Then restate it in two sentences and ask them to confirm or correct it.
    2. If you're in a repo or have docs, read the relevant code and docs first. Don't ask anything the code or docs already answer. State what you found ("Auth already uses sessions in src/auth/") and move on.
    3. Build a decision tree with these branches: goal, users, scope, non-goals, data, edge cases, failure modes, rollout. Add branches this plan needs (pricing, security, migration, cost).
    4. Ask one question at a time, starting with the branch that blocks the most other decisions. With each question, give your recommended answer and one line on why, so the user can reply "yes" or correct it.
    5. After each answer, show the running list:
       - Resolved: branch, decision, one-line reason.
       - Open: branches still waiting, in the order you'll ask them.
    6. If an answer is vague ("it should be fast", "the usual users"), ask a follow-up that forces a number, a name or an example ("p95 under 300 ms?", "which three customers?"). Don't mark the branch resolved until it has one.
    7. When an answer raises new questions, add them as child branches under the branch they came from.
    8. Every 10 questions, say how many are still open and ask whether to continue, or to switch to your recommended answers for the low-risk ones.
    9. Stop when the open list is empty or the user says stop. If they stop early, list what's still open as risks.
    10. Finish with a decision log (every resolved branch, its decision and reason) and a one-page plan: goal, users, scope, non-goals, approach, edge cases handled, failure modes and responses, rollout steps, open risks.
    
    ## Rules
    
    - One question per message. Never send a batch.
    - Every question comes with a recommended answer.
    - Don't write code, files or tickets until the plan is finished and the user says go.
    - Don't accept "it depends" or "TBD" as resolved. Keep it open and note what it depends on.
    - Point out contradictions right away: quote both answers and ask which one wins.
    - Keep questions short. No preamble, no praise.
    
    ## Example output
    
    > **Q4 (failure modes):** If the payment webhook arrives twice, what happens?
    > Recommended: dedupe on the event ID and ignore repeats, because the provider retries on timeouts.
    >
    > Resolved: goal, users, scope, non-goals. Open: failure modes, data retention, rollout.
  8. #8AI Coding AgentsClaude Code

    AGENTS.md Writer: Agent Skill (SKILL.md) for Claude Code, Codex and Cursor

    Writes or refreshes a repo's AGENTS.md or CLAUDE.md from what's actually in the code: verified build, test and lint commands, a directory map, conventions, do and don't lists, and gotchas, kept under about 150 lines.

    Preview prompt
    ---
    name: agents-md-writer
    description: "Writes or refreshes a repo's AGENTS.md or CLAUDE.md from what's actually in the code: verified build, test and lint commands, a directory map, conventions, do and don't lists, and gotchas, kept under about 150 lines. Use when asked to create, write, update or clean up AGENTS.md, CLAUDE.md or agent instructions for a repo, or to 'set up this repo for Claude Code / Codex / Cursor'."
    ---
    
    # AGENTS.md writer
    
    ## Steps
    
    1. Survey the repo before writing anything:
       - package scripts or Makefile targets: install, dev, test, lint, typecheck, build;
       - directory layout (top two levels) and where the entry points live;
       - conventions visible in the code: naming, file placement, error handling, test layout, import style;
       - existing docs: README, CONTRIBUTING, an older AGENTS.md or CLAUDE.md, .cursor/rules, CI config.
    2. Check each command you plan to list by running it, or its cheapest safe form such as a single test file. Drop or fix any that fail. Don't run deploys, migrations against shared databases or anything destructive; list those with a warning instead.
    3. Write the file with these sections, in order:
       - Project: one or two lines on what this is.
       - Commands: install, dev, test (all and single file), lint, typecheck, build.
       - Layout: a short map of key directories, one line each.
       - Conventions: rules seen in the code, written as instructions.
       - Do and Don't: short lists of things agents get wrong in this repo.
       - Gotchas: env vars needed, generated files not to edit, slow or flaky tests.
    4. Point to docs instead of pasting them ("Schema rules: see docs/db.md").
    5. When refreshing an existing file, check every line against the repo as it is now. Remove stale lines, fix commands that changed, and keep notes the owner wrote unless they're wrong. Summarize what you changed and why.
    6. If the repo needs both files: Codex, Cursor and Copilot read AGENTS.md; Claude Code reads CLAUDE.md. Keep AGENTS.md as the source and make CLAUDE.md a line that imports it, `@AGENTS.md`, plus any Claude-only notes.
    
    ## Rules
    
    - Under about 150 lines. Cut generic advice like "write clean code" or "add tests".
    - Don't restate rules a linter, formatter or CI already enforces.
    - Every command listed must run. Mark any you couldn't verify.
    - Write rules as instructions ("Use the logger in src/log.ts, not console.log"), not descriptions.
    - No secrets, tokens or internal hostnames.
    
    ## Example output
    
    ```
    ## Commands
    - Install: pnpm install
    - Test one file: pnpm vitest run src/cart/coupon.test.ts
    - Typecheck: pnpm tsc --noEmit
    
    ## Don't
    - Edit files in src/generated/ (run pnpm codegen instead)
    ```
  9. #9WritingClaude Code

    Session Handoff: Agent Skill (SKILL.md) for Claude Code, Codex and Cursor

    Condenses the current session into a one-page handoff another agent or person can continue from with zero context: goal, current state, decisions and why, files touched, working commands, what was ruled out, open questions, the next 3 steps and gotchas.

    Preview prompt
    ---
    name: session-handoff
    description: "Condenses the current session into a one-page handoff another agent or person can continue from with zero context: goal, current state, decisions and why, files touched, working commands, what was ruled out, open questions, the next 3 steps and gotchas. Use when asked for a handoff, a summary to continue later, 'write this up for the next session', before clearing context, or when passing work to someone else."
    ---
    
    # Session handoff
    
    Write a document that lets someone with zero context pick up the work where you left it.
    
    ## Steps
    
    1. Review the session and the current state of the work. In a repo, run `git status`, `git log --oneline -5` and `git diff --stat` to get the branch, uncommitted changes and recent commits. Note the last command results and anything left half-done.
    2. Write the handoff with these sections, in order:
       - Goal: what the work is for and what done looks like, in two lines.
       - Current state: what works, what doesn't, what's half-done. Branch name and last commit if relevant.
       - Decisions: each decision made and the reason, one line each.
       - Files touched: paths, with one line on what changed in each.
       - Commands that work: exact commands to build, test, run or reproduce, copied verbatim.
       - Tried and ruled out: approaches that failed and why, so nobody repeats them.
       - Open questions: what's unknown and who or what can answer it.
       - Next 3 steps: concrete, ordered, each small enough to start right away.
       - Gotchas: env vars, flaky tests, slow steps, things that look wrong but aren't.
    3. Read it as a stranger would. Replace every "it", "the fix" and "that issue" with the actual name, path or error message.
    4. Save it where the user asked, or show it inline. If they want a file, suggest HANDOFF.md at the repo root and don't commit it unless they ask.
    
    ## Rules
    
    - Under one page, about 400 words. Cut anything the reader doesn't need to act.
    - No story of the conversation ("first we tried, then"). State facts.
    - Paths, commands, error messages and IDs go in verbatim, in code formatting.
    - Separate what you verified from what you believe; mark the latter "unverified".
    - No secrets or tokens. Name the env var instead of its value.
    
    ## Example output
    
    ```
    Goal: checkout rejects expired coupons; done when the #412 acceptance tests pass.
    State: API check done and tested; UI message not started. Branch fix/coupon-expiry, last commit a1b2c3d.
    Ruled out: checking expiry in the DB query (breaks the admin coupon list).
    Next: 1) add the message to src/checkout/CouponField.tsx 2) e2e test in e2e/coupon.spec.ts 3) open the PR
    Gotcha: tests need TZ=UTC or the boundary test fails.
    ```
  10. #10AI Coding AgentsClaude Code

    Frontend Taste: Agent Skill (SKILL.md) for Claude Code, Codex and Cursor

    Builds pages and components that don't look AI-generated: picks a design direction first, uses real copy, sets hierarchy, covers empty, loading and error states, and avoids common tells like purple gradients and emoji icons.

    Preview prompt
    ---
    name: frontend-taste
    description: "Builds pages and components that don't look AI-generated: picks a design direction first, uses real copy, sets hierarchy, covers empty, loading and error states, and avoids common tells like purple gradients and emoji icons. Use when asked to build or restyle a page, landing page, dashboard or component, make a UI look better or less generic, or 'make it look designed'."
    ---
    
    # Frontend taste
    
    Build pages and components that look designed by a person with a point of view, not generated.
    
    ## Steps
    
    1. Before writing code, pick a direction and write it down in five lines: two or three reference sites or products the UI should feel like, a type scale (font, sizes, weights), a palette (one neutral ramp, one accent, semantic colors for success, warning and error), a spacing scale (for example 4, 8, 12, 16, 24, 32, 48) and a corner radius. If the repo already has a design system, tokens or a Tailwind theme, use those instead and say so.
    2. Write real copy and realistic data for the user's own product: its actual features, plausible numbers, long and short names, a value that wraps. Ask for the product details if you don't have them. No placeholder Latin filler text, and no invented testimonials, customer logos or usage stats presented as real; mark any placeholder clearly.
    3. Set hierarchy first: one clear primary action per screen, one heading level per section, secondary info in muted text. Test it: name the first thing the eye lands on. If it isn't the most important thing, fix size, weight or contrast before adding anything.
    4. Choose density on purpose. Dashboards and tools can be dense; marketing pages need room. Align to a grid and take every spacing value from the scale.
    5. Build every state: empty, loading (a skeleton that matches the layout), error with a way to recover, and very long content.
    6. Check responsive layouts at 360px, 768px and 1280px, and check accessibility basics: contrast of at least 4.5:1 for body text and 3:1 for large text and UI controls, visible focus rings, labels on inputs, alt text, a sensible keyboard order.
    7. Self-review against the tells below. If you can take screenshots (a browser tool or Playwright), take them at each width and look at them before saying done. If you can't, say the visual check is still needed.
    
    ## Avoid these tells
    
    - Purple-to-blue gradients, glowing blobs, glassmorphism by default.
    - Emoji as icons; mixed icon sets.
    - Everything centered; a hero with a headline, a subline, two buttons and nothing else.
    - Identical cards in a three-column grid, each with an icon, a title and two lines.
    - Every element with a shadow, large rounded corners and a border at once.
    - Vague copy: big promises and buzzwords ("Unlock your potential", "Revolutionize") instead of what the product does.
    
    ## Rules
    
    - No colors, font sizes or spacing values outside the chosen scale.
    - Don't add decoration to hide weak hierarchy.
    - Use the codebase's existing components and styles before inventing new ones.
    
    ## Example output
    
    A short design-decisions note (direction, references, type scale, palette, which tells you avoided and why), then the code.
  11. #11CodingClaude Code

    Release Notes From Git Log Skill for Users and Developers (SKILL.md)

    A SKILL.md that writes release notes from the commits between two tags, split into a plain-language section for users and a technical changelog for developers.

    Preview prompt
    ---
    name: release-notes-from-git
    description: Writes release notes and a changelog entry from git history between two tags or refs. Use when the user asks for release notes, a changelog, what changed since the last release, or a version announcement.
    ---
    
    # Release notes from git
    
    ## Steps
    1. Find the range. Default: the latest tag to HEAD (`git describe --tags --abbrev=0`). Confirm the range with the user if there are no tags.
    2. Run `git log --no-merges --pretty=format:"%h %s" FROM..TO`, and read merged PR titles and bodies if the gh CLI is available.
    3. Group commits: Breaking changes, New features, Improvements, Fixes, Security, Internal. Use Conventional Commit types when present; otherwise judge from the diff.
    4. Drop noise: typo fixes, merge commits, version bumps, CI-only changes. List them as a count under Internal.
    5. Read the diff for anything marked breaking or unclear. Never describe a change you have not confirmed.
    6. Suggest the next version number using semantic versioning and say why.
    
    ## Output format
    1. User-facing notes: plain language, benefit first, no commit hashes, under 200 words.
    2. Developer changelog in Keep a Changelog style, with short hashes and PR numbers.
    3. Upgrade notes for each breaking change: what breaks and the exact steps to migrate.
    4. Suggested version number.
    
    ## Stop and ask
    - The range contains more than 200 commits; ask whether to summarise by area.
    - A commit message mentions a security fix; check whether it can be disclosed yet.
    
    ## Risks
    Over-promising. Describe what shipped, not what was planned, and leave out features behind flags that are off.
  12. Write a SKILL.md From a Workflow You Keep Repeating

    Interviews you about a task you do over and over, then writes a complete, save-ready SKILL.md with a trigger description, steps, output format and stop conditions.

    Preview prompt
    Act as an author of agent skills for Claude Code and other agents that read SKILL.md files. I keep repeating this workflow: {describe the task you repeat}
    
    First interview me with up to five short questions, one at a time: when the task starts, the exact steps I take, the tools or commands I use, what a finished result looks like, and the mistakes I want to prevent.
    
    Then write the skill.
    
    Rules:
    1. Frontmatter with a kebab-case name and a description that says what the skill does and the phrases or situations that should trigger it. The description is what the agent matches on, so make it specific.
    2. Body under 300 lines: numbered steps, the exact commands, an output format, and a "Stop and ask" section for situations where the agent must check with me.
    3. Put long reference material in separate files the skill links to, not in SKILL.md.
    4. No vague rules such as "write good code"; every rule must be something the agent can check.
    
    Output format: the full SKILL.md in one code block, the folder path to save it in, any extra reference files as separate code blocks, and three test requests I can use to check that it triggers. List assumptions and risks, such as overlapping with an existing skill.
  13. #13AI Coding AgentsClaude Code

    Find the Right Agent Skill to Install, With a Trust Check

    A SKILL.md that searches for existing agent skills that fit your task, reads every file in each one for risky scripts and permissions, and recommends at most three.

    Preview prompt
    ---
    name: skill-scout
    description: Finds existing agent skills that fit a task in this repository, checks each one for risk before anything is installed, and recommends at most three. Use when someone asks "is there a skill for this", "find me a skill", "what skills should I install" or "recommend skills for this repo". Not for writing a new skill.
    ---
    
    # Skill scout
    
    ## Steps
    
    1. Pin down the job. Read the request and the repo (package files, README, AGENTS.md or CLAUDE.md). Write one line: the task, the stack and the agent in use. If the task is vague, ask one question.
    2. Check what is installed first. List `.claude/skills`, `.agents/skills`, `~/.claude/skills` and `~/.agents/skills`. If an installed skill already covers the job, stop and point to it.
    3. Search. Run `npx skills find` with two or three different phrasings of the job, and search GitHub for SKILL.md files that name the stack. Collect up to eight candidates with their source repository.
    4. Trust-check each candidate before recommending it. Read the full SKILL.md and every file in its folder, and record:
       - Scripts: does it ship shell, Python or JavaScript that runs? What does each one do?
       - Network and secrets: curl, wget, fetch, package installs, or reads of `.env`, `~/.ssh`, tokens or credentials.
       - Instructions that widen access: skip confirmations, disable hooks, or an `allowed-tools` list broader than the job needs.
       - Provenance: publisher, last commit date, open issues about the skill, and whether the repository is a copy of another.
       - Fit: does the description match the job, or would it load on unrelated requests?
    5. Rate each one: Safe to install, Install after review, or Do not install. A script that sends data out or reads credentials when the job does not need it is always Do not install.
    6. Recommend at most three. Install nothing until the user picks one, then show the exact install command and the folder it will write to.
    
    ## Output
    
    A one-line job statement; a table with skill, source, what it does, trust rating and reason; the top pick with its install command; and each rejected candidate with one line on why.
    
    ## Stop and ask
    
    - Nothing fits: say so and offer to write a new skill instead.
    - A candidate asks for secrets, or for a global install, for a one-project job.
    - The user wants it installed globally or for every agent: confirm the scope first.
  14. Use Your Claude Skills in Gemini CLI, Codex and Cursor

    A SKILL.md that makes one skill folder load in Gemini CLI, Codex, Cursor and Claude Code: one shared location, portable frontmatter, tool-neutral steps and a load check in each agent.

    Preview prompt
    ---
    name: skill-porter
    description: Makes an existing agent skill work in Gemini CLI, Codex, Cursor and Claude Code from one shared folder, by fixing its location, frontmatter and tool-specific wording, then checking each agent can load it. Use when someone asks to "use my Claude skill in Gemini CLI", "share skills across agents", "make this SKILL.md portable" or "why doesn't Codex see my skill".
    ---
    
    # Skill porter
    
    ## Steps
    
    1. Read the skill folder in full: SKILL.md, scripts and reference files. Note which agents the user runs.
    2. Location. Move the folder to `.agents/skills/SKILL-NAME/` in the project (or `~/.agents/skills/` for personal skills). Gemini CLI, Codex and Cursor read that path. Claude Code reads `.claude/skills/`, so add a relative symlink there pointing at the shared folder. On Windows, or where symlinks are not allowed, copy it and add a check that the two copies match.
    3. Avoid duplicates. Cursor also reads `.claude/skills/`, and Gemini CLI reads `.gemini/skills/`; make sure the same name does not end up loaded twice with different content.
    4. Frontmatter. Keep `name` and `description` as the shared core. The name is lowercase letters, digits and hyphens and matches the folder. Keep the description under 1024 characters, with the phrases users type. List agent-specific keys (`allowed-tools`, `disable-model-invocation`, `paths`) and say which agents ignore each one.
    5. Body. Replace tool names that exist in one agent only (Bash tool, Task tool, activate_skill, slash commands) with plain actions: "run this command", "read this file". Reference scripts by paths relative to the skill folder. Remove plugin-only variables.
    6. Scripts. Use POSIX shell or Node, set the executable bit, and avoid tools that are not installed by default without saying so in the steps.
    7. Check each agent:
       - Gemini CLI: `gemini skills list`, then a plain request; approve the activation prompt.
       - Codex: `codex exec` with a plain request, and confirm the skill was used.
       - Cursor: type `/` in the agent and find the skill, then try a plain request.
       - Claude Code: a plain request in a new session.
    
    ## Output
    
    The before and after folder tree, a frontmatter diff, a list of wording changes, and a table (agent, listed yes or no, triggered yes or no, notes).
    
    ## Stop and ask
    
    - The skill depends on a feature only one agent has (hooks, subagents, MCP tools).
    - Moving the folder would break a plugin or a shared repository that links to it.
  15. #15WritingClaude Code

    Brand Voice Guard Skill That Checks Drafts Against VOICE.md (SKILL.md)

    A SKILL.md that makes Claude write and edit in your brand's voice: it reads a VOICE.md in the project, or builds one from samples, then checks every draft against it.

    Preview prompt
    ---
    name: brand-voice-guard
    description: Writes and edits marketing, product and support copy in the brand's voice using VOICE.md. Use when the user asks for copy, a post, an email, a landing page or an edit "in our voice" or "on brand".
    ---
    
    # Brand voice guard
    
    ## Setup
    1. Look for VOICE.md at the project root or in docs/. If it exists, read it fully before writing.
    2. If it does not exist, ask for three to five samples of writing the brand is happy with. Draft a VOICE.md from them with these sections: who we write for, tone in three adjectives with "this, not that" examples, words we use, words we never use, sentence length, punctuation habits, and how we handle claims. Show it and wait for approval before saving it.
    
    ## Writing or editing
    1. Write the draft to the brief.
    2. Check it line by line against VOICE.md: banned words, tone, sentence length, reading level and claims.
    3. Remove claims that cannot be backed up (best, fastest, guaranteed) unless the brief supplies proof.
    4. Read it as the audience in VOICE.md. Cut anything that audience would skip.
    
    ## Output format
    - The final copy.
    - A short voice report as a table: Rule, Pass or fix, Line changed.
    - Any claims needing proof, listed separately.
    
    ## Stop and ask
    - The brief conflicts with VOICE.md (for example, a formal legal notice for a casual brand).
    - A legal, medical or financial claim appears.
    
    ## Risks
    Voice drift across long pieces. Re-check the final third of long drafts against VOICE.md separately.
  16. Conventional Commit and PR Description Writer Skill (SKILL.md)

    A ready-to-save SKILL.md that makes your coding agent write Conventional Commits messages and pull request descriptions from the staged diff, never from guesses.

    Preview prompt
    ---
    name: commit-and-pr-writer
    description: Writes Conventional Commits messages and pull request descriptions from the actual diff. Use when the user asks to commit, write a commit message, open or describe a pull request, or summarise staged changes.
    ---
    
    # Commit and PR writer
    
    ## Commit message
    1. Run `git status` and `git diff --staged`. If nothing is staged, show the unstaged files and ask what to stage. Never stage everything without asking.
    2. If the diff mixes unrelated changes, propose splitting it into separate commits and list which files go in each.
    3. Pick the type: feat, fix, refactor, perf, test, docs, build, ci or chore. Add a scope when one package or area is touched.
    4. Subject: imperative mood, under 72 characters, no trailing period.
    5. Body: why the change was needed, then what changed, wrapped at 72 characters. Add `BREAKING CHANGE:` with migration notes when a public interface changes.
    6. Footer: issue references found in the branch name or diff, such as `Closes #123`.
    
    ## Pull request description
    1. Run `git log --oneline` and `git diff` against the base branch.
    2. Fill in the repo's pull request template if one exists.
    3. Sections: Summary, Changes (grouped by purpose), How to test (numbered commands), Risks and rollback.
    
    ## Output format
    Show the message or description in a code block and wait for approval before running `git commit` or creating the PR.
    
    ## Stop and ask
    - The reason for the change is not clear from the diff or commits.
    - The diff contains secrets, credentials or large generated files.
    - Hooks fail. Report the failure; never bypass hooks with --no-verify.
    
    ## Risks
    Describing changes that are not in the diff. Re-read the diff before finalising.
  17. #17ProductivityClaude

    Meeting Notes to Decisions and Action Items Skill (SKILL.md)

    A SKILL.md that turns any meeting transcript or rough notes into a decision log, owner-and-date action items, open questions and a ready-to-send recap email.

    Preview prompt
    ---
    name: meeting-to-actions
    description: Turns a meeting transcript or rough notes into decisions, action items with owners and dates, open questions and a recap message. Use when the user pastes or attaches meeting notes or a transcript, or asks for minutes, a recap or follow-ups.
    ---
    
    # Meeting to actions
    
    ## Steps
    1. Read the whole transcript before writing. Identify attendees and the meeting's purpose.
    2. Extract decisions: only what was actually agreed. A suggestion nobody confirmed is an open question, not a decision.
    3. Extract action items. Each needs an owner and a due date. If either was not said, write "Owner needed" or "Date needed". Never invent them.
    4. Capture open questions, risks raised and items parked for later.
    5. Keep names, numbers and dates exactly as said. Mark anything unclear in the transcript as [unclear] with the timestamp if there is one.
    6. Leave out small talk and repeated discussion.
    
    ## Output format
    1. Summary: three sentences maximum.
    2. Decisions: numbered, each with who decided and why in one line.
    3. Action items table: Action, Owner, Due date, Depends on.
    4. Open questions and risks.
    5. Recap message: under 150 words, ready to paste into email or chat, with the action items at the top.
    
    ## Stop and ask
    - The transcript has two speakers with the same name, or no speaker labels at all and owners cannot be inferred.
    - The notes include sensitive HR, legal or personal information; ask before including it in the recap.
    
    ## Risks
    Turning loose ideas into commitments. When unsure whether something was agreed, list it as an open question.
  18. Pre-Merge Code Review Checklist Skill (SKILL.md)

    A save-ready SKILL.md that has your coding agent review a branch before merge: correctness, security, tests and migrations, with findings ranked by severity and no style nitpicks.

    Preview prompt
    ---
    name: pre-merge-review
    description: Reviews the current branch against its base before merge, ranking findings by severity. Use when the user asks for a review, asks whether a branch is ready to merge, or says "check my changes".
    ---
    
    # Pre-merge review
    
    ## Steps
    1. Find the base branch (main or master unless told otherwise) and run `git diff base...HEAD`. Read the full files around each change, not just the hunks.
    2. Run the project's test, typecheck and lint commands (look in package.json, Makefile, pyproject.toml or the CI config). Record pass or fail.
    3. Check, in this order:
       - Correctness: wrong conditions, off-by-one errors, unhandled null or empty values, broken error paths, race conditions.
       - Security: unvalidated input, injection, missing auth checks, secrets in code or logs, unsafe deserialisation.
       - Data: migrations that lock tables or lose data, missing backfills, irreversible changes.
       - Tests: changed behaviour without a test, tests that cannot fail.
       - Performance: queries in loops, unbounded lists, work on the hot path.
    4. For each finding, describe the concrete input or state that triggers the failure. Drop any finding you cannot make concrete.
    5. Skip formatting and naming issues that a linter or formatter already covers.
    
    ## Output format
    Verdict: ready, ready after fixes, or not ready.
    Table: Severity (blocking, should fix, nit), File:line, Problem, Failure scenario, Suggested fix.
    Then: check results, and questions for the author.
    
    ## Stop and ask
    - No base branch can be found.
    - Checks need credentials or services that are not available; report this instead of skipping silently.
    
    ## Risks
    False confidence from a clean review. State what was not checked, such as untested paths or missing integration tests.
  19. #19AI Business WorkflowsClaude Code

    Spreadsheet and CSV Cleanup Report Skill (SKILL.md)

    A SKILL.md that has your agent profile a messy CSV or spreadsheet, fix it in a copy with a script, and report every change so the cleaned data can be trusted.

    Preview prompt
    ---
    name: csv-cleanup-report
    description: Profiles and cleans a CSV or spreadsheet export into a new file, with a report of every change. Use when the user shares a CSV, Excel or Google Sheets export and asks to clean, fix, dedupe, standardise or prepare it for analysis or import.
    ---
    
    # CSV cleanup report
    
    ## Steps
    1. Never edit the original. Write all changes to a new file named with a -clean suffix.
    2. Profile first: row and column counts, column types, empty values per column, duplicate rows, and unusual values (outliers, mixed formats, stray whitespace, encoding problems).
    3. Show the profile and the proposed fixes, then wait for approval. Typical fixes:
       - Trim whitespace and normalise case in category columns.
       - Standardise dates to ISO 8601 and phone numbers to one format.
       - Split or merge columns that hold more than one value.
       - Remove exact duplicates; flag near-duplicates for review instead of deleting them.
       - Convert numbers stored as text, keeping currency and units in a separate column.
    4. Do the cleaning with a script (Python with pandas, or the tool the user prefers) saved next to the data, so it can be re-run on next month's export.
    5. Recount rows after cleaning and explain any difference.
    
    ## Output format
    - Profile table: Column, Type, Empty, Distinct, Problems.
    - Change log table: Fix, Column, Rows affected, Example before and after.
    - Rows needing human review, with the reason.
    - Paths to the cleaned file and the script.
    
    ## Stop and ask
    - A fix would delete rows or overwrite values that cannot be recovered.
    - The file contains personal data such as emails or ID numbers; confirm how it may be handled.
    
    ## Risks
    Silent data loss. The row count before and after must reconcile exactly.
  20. #20CodingClaude Code

    Supabase RLS and Postgres Migration Review: Indexes, Locks

    A SKILL.md that reviews Supabase or Postgres migrations and queries for missing row level security, leaky policies, unindexed foreign keys and table-locking changes, with fix SQL.

    Preview prompt
    ---
    name: postgres-supabase-review
    description: Reviews Postgres and Supabase schema changes, migrations, policies and queries for security holes, missing indexes and locking risks before they reach production, and writes fix SQL. Use when asked to "review this migration", "check my RLS policies", "is my Supabase schema secure", "why is this query slow" or "review the database changes in this PR".
    ---
    
    # Postgres and Supabase review
    
    ## Scope
    
    1. List the changed SQL: `git diff --name-only main...HEAD` filtered to `supabase/migrations/`, other migration folders and `.sql` files. Also collect client code that calls the database (supabase-js queries, ORM calls) in the same diff.
    2. If a local stack is running, use it read-only: `supabase db lint` and `EXPLAIN` on the queries you flag. Never connect to production.
    
    ## Checks
    
    Security (Supabase)
    - Every new table in an exposed schema (usually public) has row level security enabled and at least one policy per operation it needs.
    - Policies use `using` for rows read and `with check` for rows written; an update policy without `with check` lets users move rows to other owners.
    - No policy is `using (true)` on user data unless the table is meant to be public.
    - Policies call `(select auth.uid())` rather than `auth.uid()` so it is evaluated once per query.
    - Security definer functions set `search_path` and live outside exposed schemas; views over protected tables use `security_invoker`.
    - The service role key never appears in browser or mobile code.
    
    Performance
    - Every foreign key column and every column used in a policy or frequent filter has an index.
    - New queries do not select `*` across joins or page with large OFFSET values.
    
    Locking and safety
    - Index creation on large tables uses `create index concurrently` in its own migration outside a transaction.
    - Type changes, new NOT NULL columns without a constant default, and new foreign keys on big tables are flagged as blocking; suggest the add-nullable, backfill, validate pattern.
    - Destructive changes (drop column, drop table, rename) have a rollback plan and no code still reading the old name.
    
    ## Output
    
    A findings table: severity (Blocker, Should fix, Note), file:line, the problem in one sentence, and the fix SQL. Then a list of checks that passed, and anything you could not verify without data volumes.
    
    ## Stop and ask
    
    - A fix needs table sizes or production statistics you do not have.
    - A migration has already run in production: propose a new migration, never edit the old one.
  21. #21AI MarketingClaude Code

    Image Prompt: Agent Skill (SKILL.md) for Claude Code, Codex and Cursor

    Writes image-generation prompts (subject, setting, light, lens, style, aspect ratio) for product shots, portraits and ads.

    Preview prompt
    ---
    name: prompts-gpt-image-prompt
    description: Writes image-generation prompts (subject, setting, light, lens, style, aspect ratio) for product shots, portraits and ads. Use when asked for an image prompt or to describe a photo for an image model.
    ---
    
    # Image prompt
    
    ## Steps
    
    1. Get the brief: what the image is for (ad, thumbnail, product page, portrait), the subject, the target model (ChatGPT image, Gemini / Nano Banana, Midjourney, Flux) and the aspect ratio. If the subject or purpose is missing, ask one short question; otherwise assume and say what you assumed.
    2. Describe the subject precisely: materials, colours, shape, scale, angle. For an edit of an uploaded photo, say what must stay exactly the same (face, logo, product shape) before what changes.
    3. Set the scene and light: location, time of day, light source and softness, background.
    4. Pick the camera: lens length, depth of field, framing and camera height.
    5. Add style and mood in at most five words. For text in the image, give the exact words in quotes and where they go.
    6. Adapt to the model: Midjourney takes parameters at the end (for example --ar 4:5); ChatGPT and Gemini read plain sentences.
    
    ## Output format
    
    A numbered list with one prompt per requested style or variant, each under 80 words, then one line per prompt saying what to change if the result misses (light, angle or crop).
    
    ## Rules
    
    - Concrete nouns over adjectives. No artist names or living photographers' styles.
    - Never ask for a real person's likeness, a brand's logo or trademarked characters unless the user owns them.
    - State any assumption in one line at the end.
  22. #22WritingClaude Code

    Prompt Improver: Agent Skill (SKILL.md) for Claude Code, Codex and Cursor

    Rewrites a rough prompt into a clear, testable one: role, task, inputs, constraints, output format and a quality check.

    Preview prompt
    ---
    name: prompt-improver
    description: "Rewrites a rough prompt into a clear, testable one: role, task, inputs, constraints, output format and a quality check. Use when asked to improve, fix or tighten a prompt."
    ---
    
    # Prompt improver
    
    ## Steps
    
    1. Read the prompt and name, in one line, what the person wants back.
    2. List what's missing: audience, inputs, length, format, tone, a definition of done.
    3. Ask at most two questions if something essential is unknowable. Otherwise assume and say what you assumed.
    4. Rewrite the prompt with these parts, in order: context, task, inputs as placeholders, rules, output format, a short self-check.
    5. Show the rewrite in one code block, then three bullets on what changed and why.
    
    ## Rules
    
    - Keep the person's intent; don't add goals they didn't ask for.
    - Prefer concrete numbers ("under 150 words") to adjectives ("concise").
    - One task per prompt. If there are two, split them and say so.
  23. #23AI MarketingClaude Code

    Text-to-Video Prompt Skill (SKILL.md) With Shot Timing

    A SKILL.md that has your coding agent write text-to-video and image-to-video prompts for Gemini Omni, Kling or Seedance, with a timing table and sound.

    Preview prompt
    ---
    name: prompts-gpt-video-prompt
    description: Writes short text-to-video or image-to-video prompts with shot, motion, timing and sound. Use when asked for a Gemini Omni, Veo, Kling or Seedance prompt or a short video idea.
    ---
    
    # Video prompt
    
    ## Steps
    
    1. Get the brief: purpose (ad, social clip, explainer), the subject, the target model (Gemini Omni, Veo, Kling, Seedance or Runway), clip length (default 8 seconds; check the model's current limit) and aspect ratio (9:16 for Shorts, Reels and TikTok; 16:9 otherwise). Ask one short question only if the subject is missing.
    2. Write the shot: framing, lens and one camera move (push-in, pan, orbit or static). One continuous shot unless cuts are asked for.
    3. Describe the action second by second for the clip length, with the key moment by the third second.
    4. Add light, mood and sound: ambient sound, effects and any spoken line in quotes (Gemini Omni, Veo, Kling 4.0 and Seedance 2.0 generate audio; for models that don't, put sound in a separate note).
    5. For image-to-video, say what must not change from the source image and what moves.
    
    ## Output format
    
    The prompt (under 120 words), then a timing table (second, action, sound), then one line on what to change for the other aspect ratio.
    
    ## Rules
    
    - No real people's likeness, logos or copyrighted characters unless the user owns them.
    - Physical actions only; no on-screen text longer than four words.
    - State any assumption in one line at the end.
  24. Block Dangerous Bash Commands: PreToolUse Hook With Tests

    A SKILL.md that installs a Claude Code PreToolUse hook blocking rm -rf, force pushes, hard resets and DROP TABLE, plus a test script that proves each pattern blocks or allows.

    Preview prompt
    ---
    name: destructive-command-guard
    description: Installs and tests a Claude Code PreToolUse hook that blocks destructive shell commands (rm -rf, git push --force, git reset --hard, git clean -f, DROP or TRUNCATE) before they run. Use when someone asks to "block rm -rf", "stop Claude force pushing", "add a safety hook" or "test my PreToolUse hook".
    ---
    
    # Destructive command guard
    
    Exit codes for PreToolUse command hooks: 0 means no decision (normal permission rules apply), 2 blocks the call and shows stderr to Claude, any other code is a non-blocking error and the call still runs. So the guard must use exit 2, including when it cannot read its input.
    
    ## Steps
    
    1. Check `jq` is installed. Read `.claude/settings.json` and list any PreToolUse hooks already there.
    2. Write `.claude/hooks/blocked-patterns.txt`, one extended regex per line:
       - `rm +-[a-zA-Z]*([rR][a-zA-Z]*f|f[a-zA-Z]*[rR])`
       - `git +push .*(--force( |$)|-f( |$))`
       - `git +reset +--hard`
       - `git +clean +-[a-zA-Z]*f`
       - `(drop|truncate) +(table|database|schema)`
    3. Write `.claude/hooks/destructive-guard.sh` and make it executable:
    
    ```bash
    #!/usr/bin/env bash
    command -v jq >/dev/null || exit 2
    cmd=$(jq -r '.tool_input.command // ""') || exit 2
    list="$CLAUDE_PROJECT_DIR/.claude/hooks/blocked-patterns.txt"
    [ -r "$list" ] || exit 2
    while IFS= read -r p; do
      [ -z "$p" ] && continue
      if printf '%s' "$cmd" | grep -Eiq -- "$p"; then
        echo "Blocked by destructive-command guard (pattern: $p). Explain why it is needed and ask the user to run it." >&2
        exit 2
      fi
    done < "$list"
    exit 0
    ```
    
    4. Register it in `.claude/settings.json` under `hooks`, `PreToolUse`, with matcher `Bash` and a `command` hook pointing at the script. Merge with existing hooks; never overwrite them.
    5. Write `.claude/hooks/guard-cases.tsv`, one case per line: `block` or `allow`, a tab, a command. Include each pattern, and near-misses that must pass: `rm -r build`, `git push --force-with-lease`, `git reset --soft HEAD~1`, `grep -r drop src`.
    6. Write `.claude/hooks/test-guard.sh` that sets `CLAUDE_PROJECT_DIR` to `git rev-parse --show-toplevel` when it is unset (it is only set for real hook runs), pipes each command through the hook, building the input with `jq -n --arg c "$cmd" '.tool_input.command = $c'`, and compares the exit code (2 for block, 0 for allow). Print PASS or FAIL per case and exit 1 on any failure. Run it.
    
    ## Output
    
    The files written, the settings change as a diff, and the test table with a final pass count.
    
    ## Stop and ask
    
    - A test fails after two fixes to a pattern.
    - The user wants patterns that would block their normal workflow (deploy scripts, migrations).

About this list

Each skill has a description that tells the agent when to load it and steps it can follow, and most add a check it runs before reporting and moments when it must stop and ask you. Save one in your project's skills folder, ask for the job in plain words, and the agent picks it up.

The list starts with the skills that prevent the most wasted work, such as checking before calling a task done and debugging from a reproduction. Further down are skills for writing and grilling a plan, writing an AGENTS.md, handing a session over, frontend taste and release notes from the git log, plus a few outside coding, such as a research brief, meeting notes to action items and a brand voice check.

Where do I save a SKILL.md file?

For one project, save it in the repository under .claude/skills with a folder named after the skill, and commit it so the whole team shares it. For every project on your machine, use the skills folder in your home directory instead. Codex looks in .agents/skills, so many teams keep one copy and point the other folder at it.

Do these skills work in Codex and Cursor as well as Claude Code?

Yes. SKILL.md is a plain Markdown file with a short header, and Claude Code, Codex, Cursor and Gemini CLI all read the format. Only the folder differs between agents. A few steps name tools such as your test runner or the GitHub CLI, so check that those are installed where a skill says it needs them.

How does the agent know when to use a skill?

It reads the description line in the header of every installed skill and loads the full file when your request matches. That is why each description here lists the phrases people actually type, such as review this diff or write release notes. If a skill never triggers, add your own wording to its description.

Will a skill change my code or data without asking?

The review skills on this list report findings rather than editing code, and many skills name moments when the agent must stop and ask, such as deleting data, touching security rules or using a real customer account. Read the steps before you install a skill, and add your own limits where your project needs them.