Skills prompts
--- name: writing-documentation description: Write or update documentation from the code. Use when the user asks for a README, API reference, guide, docstrings, or says the docs are out of date. --- # Writing Documentation Documentation is a claim about behavior. Every claim must be checked against the code before it ships, because a wrSKILL.md
Documentation Skill
A skill that documents what the code does rather than what it should do: read first, examples from tests, unverifiable claims marked.
--- name: security-review description: Review code for security defects. Use before merging changes that touch authentication, authorization, user input, file handling, secrets, or external requests, or when the user asks for a security review. --- # Security Review Find defects an attacker could actually use. A finding without an attacSKILL.md
Security Review Skill
A skill that reviews changes for exploitable defects, follows untrusted input to where it lands, and reports only findings with an attack path.
--- name: accessibility-review description: Audit UI code for accessibility defects against WCAG. Use when building or changing components, forms, modals, or navigation, or when the user asks about accessibility, a11y, screen readers, or keyboard support. --- # Accessibility Review Judge the interface by whether a person can complete thSKILL.md
Accessibility Skill
A skill that audits UI against WCAG by keyboard, semantics, and state, reporting who is blocked rather than listing rule numbers.
--- name: performance-optimization description: Diagnose and fix performance problems. Use when something is slow, when the user mentions latency, memory, load time, or throughput, or when asked to optimize code. --- # Performance Optimization No optimization without measurement. An intuition about what is slow is a hypothesis, and in pSKILL.md
Performance Skill
A skill that forces measurement before optimization: a baseline, a profile, one change at a time, and the number that proves it worked.
--- name: dependency-upgrade description: Upgrade a dependency or framework version safely. Use when the user asks to upgrade, bump, or migrate a package, resolve a security advisory, or when a major version is involved. --- # Dependency Upgrade The dangerous part of an upgrade is never the compile errors. It is the behavior that changeSKILL.md
Dependency Upgrade Skill
A skill for upgrading packages safely: read the changelog against your own usage, stage the work, and watch for silent behavior changes.
--- name: web-research description: Research a question using the web and report findings with sources. Use when the user asks you to research, look up, compare, verify, or find current information about something. --- # Web Research The output of research is not a summary of pages. It is an answer to a question, with the evidence attacSKILL.md
Web Research Skill
A skill for research that separates what sources say from what you concluded: primary sources, conflicts kept, and confidence stated.
--- name: writing-evals description: Build evaluations for an LLM feature or prompt. Use when the user wants to test a prompt, measure output quality, catch regressions in an AI feature, or asks how to know whether a prompt change made things better. --- # Writing Evals A prompt without an eval is not engineered, it is guessed at. FormaSKILL.md
Writing Evals Skill
A skill for building evaluations of LLM features: cases from real failures, deterministic grading where possible, and a defined pass bar.
--- name: prompt-engineering description: Write, review, or fix a prompt. Use when the user asks for a prompt, wants better output from a model, says the model is ignoring instructions, or is building a system prompt for an app or agent. --- # Prompt Engineering There is no perfect prompt, only a perfect process. The highest-leverage moSKILL.md
Prompt Engineering Skill
A skill for writing and fixing prompts: diagnose the model and task first, strip anti-patterns, and finish with a way to measure the result.
--- name: brainstorming description: "You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation." --- # Brainstorming Ideas Into Designs Help turn ideas into fully formed designs and specs through nSKILL.md
Brainstorming Skill
The Superpowers entry gate: no implementation until a design exists, questions one at a time, 2-3 approaches, a committed spec, and user approval.
--- name: writing-plans description: Use when you have a spec or requirements for a multi-step task, before touching code --- # Writing Plans ## Overview Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste. Document everything they need to know: which files to touch foSKILL.md
Writing Plans Skill
Write implementation plans for a skilled engineer with zero codebase context and questionable taste: bite-sized TDD tasks, exact files, no placeholders.
--- name: grilling description: Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases. --- Interview me relentlessly about every aspect of this until we reach a shared understanding. Walk down each branch of the decision tree, resolving depeSKILL.md
Grilling Skill
The interview primitive: one question at a time until shared understanding, a recommended answer each turn, facts looked up, decisions left to you.
--- name: to-spec description: Turn the current conversation into a spec and publish it to the project issue tracker, no interview, just synthesis of what you've already discussed. disable-model-invocation: true --- This skill takes the current conversation context and codebase understanding and produces a spec (you may know this documenSKILL.md
To-Spec Skill
Turn the current conversation into a PRD-style spec (no interview, pure synthesis) with user stories, implementation decisions, and agreed test seams.
--- name: to-tickets description: Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker; edges as text in one file per ticket locally, or native blocking links on a real tracker. disable-model-invocation: true --- # To Tickets Break a pSKILL.md
To-Tickets Skill
Break a spec into tracer-bullet tickets (complete vertical slices with explicit blocking edges) approved by you, then published to your tracker.
--- name: triage description: Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs. disable-model-invocation: true --- # Triage Move issues on the project issue tracker through a small state machine of triage roles. If this repo treats external pull requSKILL.md
Triage Skill
Move incoming issues and external PRs through a triage state machine: categorise, verify the claim by reproducing it, grill if needed, write agent-ready briefs.
--- name: wayfinder description: Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear. disable-model-invocation: true --- A loose idea has arrived, too big for one agent session, and wrapped in fSKILL.md
Wayfinder Skill
Plan work too big for one session as a shared map of decision tickets with a fog-of-war frontier: decisions, not deliverables, one per session.
--- name: codebase-design description: Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary. --- # Codebase Design Design **deSKILL.md
Codebase Design Skill
The deep-module design vocabulary (module, interface, depth, seam, adapter, leverage, locality) plus principles like the deletion test, as a loadable skill.
--- name: domain-modeling description: Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model. --- # Domain Modeling Actively build and sharpen the project's domain model as youSKILL.md
Domain Modeling Skill
Build a project's ubiquitous language live: challenge fuzzy terms, keep CONTEXT.md a pure glossary, and record ADRs only for real trade-offs.
--- name: improve-codebase-architecture description: Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick. disable-model-invocation: true --- # Improve Codebase Architecture Surface architectural friction and propose **deepening opportunities**: refactors that turnSKILL.md
Improve Codebase Architecture Skill
Scan a codebase for deepening opportunities weighted by commit-history hot spots, render them as a visual HTML report, then grill through your pick.
--- name: prototype description: Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like. --- # Prototype A prototype is **throwaway code that answers a question**. The question decides the shape. ## Pick a branchSKILL.md
Prototype Skill
Build a throwaway prototype scoped to one design question: a terminal harness for state and logic, or radically different UI variations on one route.
--- name: tdd description: Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests. --- # Test-Driven Development TDD is the red → green loop. This skill is the reference that makes that loop produce tests worth keeping: what a good test is, wheSKILL.md
TDD Skill
Red-green TDD with tests worth keeping: seams agreed before any test, vertical slices, a sharp anti-pattern list, and the rules of the loop.
--- name: test-driven-development description: Use when implementing any feature or bugfix, before writing implementation code --- # Test-Driven Development (TDD) ## Overview Write the test first. Watch it fail. Write minimal code to pass. **Core principle:** If you didn't watch the test fail, you don't know if it tests the right thinSKILL.md
Superpowers TDD Skill
TDD with teeth, the Iron Law: no production code without a failing test first; code written before its test gets deleted, plus the rationalization table.
--- name: migrate-to-shoehorn description: Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data. --- # Migrate to Shoehorn ## Why shoehorn? `shoehorn` lets you pass partial data in tests while keeping TypeScript happy. ItSKILL.md
Migrate to Shoehorn Skill
Migrate test files from 'as' type assertions to @total-typescript/shoehorn: fromPartial and fromAny for type-safe partial test data.
--- name: diagnosing-bugs description: Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow. --- # Diagnosing Bugs A discipline for hard bugs. Skip phases only when explicitly justified. When exploring the codebase, read `CONTEXT.md`SKILL.md
Diagnosing Bugs Skill
A six-phase discipline for hard bugs: build a tight, red-capable feedback loop before any hypothesis, then reproduce, minimise, instrument, and fix.
--- name: systematic-debugging description: Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes --- # Systematic Debugging ## Overview **Core principle:** ALWAYS find root cause before attempting fixes. Symptom fixes are failure. **Violating the letter of this process is violating the spirit ofSKILL.md
Systematic Debugging Skill
The Iron Law of debugging as a skill: no fixes without root-cause investigation first, four phases, a red-flags table, and named rationalizations.
--- name: code-review description: Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes; Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/PRD asked for?). Runs both reviews in parallel sub-agents and reports them side bySKILL.md
Code Review Skill
Review a diff along two axes in parallel subagents (repo standards plus a Fowler code-smell baseline, and spec fidelity) reported side by side.
--- name: requesting-code-review description: Use when completing tasks, implementing major features, or before merging to verify work meets requirements --- # Requesting Code Review Dispatch a code reviewer subagent to catch issues before they cascade. The reviewer gets precisely crafted context for evaluation, never your session's hisSKILL.md
Requesting Code Review Skill
Request review by dispatching a reviewer subagent with SHAs, requirements, and crafted context (never your session history) then triage findings by severity.
--- name: receiving-code-review description: Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation --- # Code Review Reception ## Overview Code review requiSKILL.md
Receiving Code Review Skill
Handle review feedback with technical rigor: 'You're absolutely right!' is forbidden: verify claims against the codebase, push back with reasoning when wrong.
--- name: git-guardrails-claude-code description: Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code. --- # Setup Git Guardrails Sets up a PreToolSKILL.md
Git Guardrails Skill
Install a Claude Code PreToolUse hook that blocks destructive git commands (push, reset --hard, clean -f, branch -D) before they ever execute.
--- name: using-git-worktrees description: Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback --- # Using Git Worktrees ## Overview Ensure work happens in an isolated workspace. Prefer your pSKILL.md
Git Worktrees Skill
Ensure work happens in an isolated workspace: detect existing isolation first, prefer the harness's native tools, fall back to git worktree, with consent.
--- name: finishing-a-development-branch description: Use when implementation is complete, all tests pass, and you need to decide how to integrate the work --- # Finishing a Development Branch ## Overview **Core principle:** Verify tests → Detect environment → Present options → Execute choice → Clean up. **Announce at start:** "I'm usSKILL.md
Finishing a Branch Skill
The end-of-branch ritual: verify the full test suite is green, detect the worktree situation, then present integration options instead of assuming a merge.
--- name: resolving-merge-conflicts description: "Use when you need to resolve an in-progress git merge/rebase conflict." --- 1. **See the current state** of the merge/rebase. Check git history, and the conflicting files. 2. **Find the primary sources** for each conflict. Understand deeply why each change was made, and what the originalSKILL.md
Resolving Merge Conflicts Skill
Resolve merge and rebase conflicts by intent: trace each side to its commits, PRs, and tickets, preserve both goals, and never invent new behaviour.
--- name: setup-pre-commit description: Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing. --- # Setup Pre-Commit Hooks ## What This Sets Up - **HuskSKILL.md
Setup Pre-Commit Skill
Set up Husky pre-commit hooks with lint-staged and Prettier, plus typecheck and test steps, adapted to whichever package manager the repo uses.
--- name: dispatching-parallel-agents description: Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies --- # Dispatching Parallel Agents ## Overview You delegate tasks to specialized agents with isolated context. By precisely crafting their instructions and context, you ensure theySKILL.md
Parallel Agents Skill
Dispatch one subagent per independent failure domain with precisely crafted context (never your session history) and let them work concurrently.
--- name: subagent-driven-development description: Use when executing implementation plans with independent tasks in the current session --- # Subagent-Driven Development Execute plan by dispatching a fresh implementer subagent per task, a task review (spec compliance + code quality) after each, and a broad whole-branch review at the enSKILL.md
Subagent-Driven Development Skill
Execute a plan by dispatching a fresh implementer subagent per task, reviewing each for spec compliance and quality, then a whole-branch final review.
--- name: using-superpowers description: Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions --- <SUBAGENT-STOP> If you were dispatched as a subagent to execute a specific task, ignore this skill. </SUBAGENT-STOP> <EXTREMELY-IMPORTANT>SKILL.md
Using Superpowers Skill
The bootstrap skill that forces skill usage: invoke relevant skills before ANY response, with a red-flags table that closes every rationalization loophole.
--- name: verification-before-completion description: Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always --- # Verification Before Completion ## Overview **Core pSKILL.md
Verification Before Completion Skill
The gate that forbids 'tests pass', 'fixed', or even 'Done!' without fresh command output proving it: claim-to-evidence table and rationalization counters.
--- name: handoff description: Compact the current conversation into a handoff document for another agent to pick up. argument-hint: "What will the next session be used for?" disable-model-invocation: true --- Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save to the temporary direcSKILL.md
Handoff Skill
Compact the current conversation into a redacted handoff document a fresh agent can pick up: the bridge between context windows, in either direction.
--- name: edit-article description: Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft. disable-model-invocation: true --- 1. First, divide the article into sections based on its headings. Think about the main points you want to maSKILL.md
Edit Article Skill
Edit an article by treating information as a dependency graph: order sections so ideas build, confirm the structure, then tighten prose section by section.
--- name: research description: Investigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo. Use when the user wants a topic researched, docs or API facts gathered, or reading legwork delegated to a background agent. --- Spin up a **background agent** to do the research, so you keep wSKILL.md
Research Skill
Delegate reading legwork to a background agent that investigates against primary sources (official docs, source code, specs) and leaves a cited file.
--- name: teach description: Teach the user a new skill or concept, within this workspace. disable-model-invocation: true argument-hint: "What would you like to learn about?" --- The user has asked you to teach them something. This is a stateful request - they intend to learn the topic over multiple sessions. ## Teaching Workspace TreaSKILL.md
Teach Skill
Turn a directory into a stateful multi-session teaching workspace: a mission file, resources, learning records, and HTML lessons built on retrieval and spacing.
--- name: scaffold-exercises description: Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section. --- # Scaffold Exercises Create exercise directory structures that pass `pnpm ai-hero-cli iSKILL.md
Scaffold Exercises Skill
Scaffold course exercise directories (numbered sections, problem/solution/explainer variants, stub readmes) validated against a linter until green.
--- name: obsidian-vault description: Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian. --- # Obsidian Vault ## Vault location `/mnt/d/Obsidian Vault/AI Research/` Mostly flat at root level. ## Naming conventions - **Index notes*SKILL.md
Obsidian Vault Skill
Give an agent working rules for an Obsidian vault: naming conventions, wikilink discipline, index notes, and shell workflows for search and backlinks.
--- name: [skill-name-in-kebab-case] description: > [What the skill does in third person, then WHEN to use it, including the exact words users type. E.g.: "Generates release notes from merged PRs. Use when the user asks for release notes, a changelog, or 'what shipped', or before tagging a release."] --- # [Skill Name] [2-3 sentSKILL.md
SKILL.md Template
A spec-correct SKILL.md template with trigger-rich description, workflow steps, and progressive disclosure: works across Claude Code, Codex, and Cursor.
--- name: writing-great-skills description: Reference for writing and editing skills well, the vocabulary and principles that make a skill predictable. disable-model-invocation: true --- A skill exists to wrangle determinism out of a stochastic system. **Predictability**: the agent taking the same _process_ every run, not producing the sSKILL.md
Writing Great Skills
Matt Pocock's reference for writing skills that behave predictably: invocation trade-offs, the information hierarchy, pruning, and leading words.
--- name: writing-skills description: Use when creating new skills, editing existing skills, or verifying skills work before deployment --- # Writing Skills ## Overview **Writing skills IS Test-Driven Development applied to process documentation.** **Personal skills live in your runtime's skills directory** (`~/.claude/skills/` on ClaSKILL.md
Writing Skills With TDD
Jesse Vincent's meta-skill: skill writing IS test-driven development, baseline a subagent failing without the skill, write it, watch compliance, close loopholes.