# Agent Skills: engineering workflows from spec to ship (addyosmani/agent-skills) — skill card for AI agents

> AgentGid skill card. Checked on 2026-10-28 against commit aeac41d (version 0.6.13).
> Every fact comes from the pack's own files at that commit. Numbers marked "as reported" are the author's.
> Human page: https://agentgid.com/skills/addyosmani/agent-skills/

> Note: the pack has changed since this check; re-read its files before relying on details.

## Explain it to a non-programmer
Your AI coding assistant works like a careful senior engineer. It writes down what to build before coding, splits the work into small steps, proves each step with a test and reviews the result before launch. Nine slash commands cover the stages, and 25 skills switch on when a task matches.

## Who it is for
- You build apps with Claude Code, Codex, Gemini, Cursor or a similar assistant
- Your assistant jumps straight into code and skips plans, tests and security checks
- You want a written plan, a test for every fix and a launch checklist before going live
- Your idea is still vague and you want the assistant to ask questions first
- Not for: You want quick throwaway code: the skills add questions, plans and checks before and after each step
- Not for: You don't use an AI coding assistant

## What it is
- Kind: command, knowledge
- License: MIT
- Repository: https://github.com/addyosmani/agent-skills

## What it does
- Define: interview you, refine the idea, write a spec (SPEC.md) and a quality bar (CONSTRAINTS.md)
- Plan: split the spec into small tasks with acceptance criteria (tasks/plan.md, tasks/todo.md)
- Build: one thin slice at a time, test first, one commit per task
- Verify: tests, browser checks through Chrome DevTools, root-cause debugging
- Review: five-axis review (correctness, readability, architecture, security, performance), simplification
- Ship: pre-launch checklist, staged rollout, rollback plan, GO / NO-GO
- Never cuts: verification: tests passing, build output or runtime data; "seems right" is never enough
- Level /build: Implements the next pending task, then stops
- Level /build auto: Plans if needed, asks for one approval, then implements every task with a commit each

## Skills
| Skill | Call | Changes code? | In plain words |
|---|---|---|---|
| using-agent-skills | loads by itself at the start of work, or by name | unclear | Picks the right skill for the task and sets the house rules |
| interview-me | plain language ("interview me", "grill me") | no | Asks one question at a time, each with a guess, until it knows what you really want |
| idea-refine | plain language ("refine this idea", "stress-test my plan") | no | Turns a vague idea into a one-page proposal |
| spec-driven-development | /spec | no | Writes down what to build before any code, and waits for your OK |
| constraint-driven-development | /constraints [check|guard|ratchet] | yes | Sets your quality bar in writing and catches the assistant lowering it |
| planning-and-task-breakdown | /plan | no | Splits the spec into small tasks in a sensible order |
| incremental-implementation | /build or /build auto | yes | Builds one small piece at a time, checks it, saves it |
| test-driven-development | /test | yes | Writes a test that fails first, then the code that makes it pass |
| context-engineering | plain language | unclear | Sets up the notes and files your assistant reads so it stays on track |
| source-driven-development | plain language | yes | Checks official documentation before using a framework and cites it |
| doubt-driven-development | plain language | unclear | Has a fresh reviewer try to prove each important decision wrong |
| frontend-ui-engineering | plain language | yes | Builds screens that are accessible, responsive and don't look machine-made |
| api-and-interface-design | plain language | yes | Designs how parts of your app talk to each other so they stay stable |
| browser-testing-with-devtools | plain language | unclear | Checks your page in a real Chrome browser and reads its errors |
| debugging-and-error-recovery | plain language (when tests fail or something breaks) | yes | Finds the real cause of a bug instead of guessing |
| code-review-and-quality | /review (or /agent-skills:review in Claude Code) | unclear | Reviews a change on five points before it goes in |
| code-simplification | /code-simplify | yes | Makes working code easier to read without changing what it does |
| security-and-hardening | plain language | yes | Protects logins, user input and stored data against common attacks |
| performance-optimization | plain language, or /webperf for a web audit | yes | Measures what is slow first, then fixes it and checks again |
| git-workflow-and-versioning | plain language (any code change) | yes | Saves work in small, clearly described steps you can undo |
| ci-cd-and-automation | plain language | yes | Sets up automatic checks and deploys for every change |
| deprecation-and-migration | plain language | yes | Retires old features and moves users or data over safely |
| documentation-and-adrs | plain language | yes | Writes down why decisions were made, for people and assistants later |
| observability-and-instrumentation | plain language | yes | Adds logs, numbers and alerts so you can see what happens in production |
| shipping-and-launch | /ship | unclear | Runs three expert reviews at once and gives a GO or NO-GO |

### using-agent-skills
- Asks for: Any task
- Gives: The matching skill or sequence of skills
- Gives: Assumptions stated before work starts
- Say: "Which of the agent skills fits this task?"

### interview-me
- Asks for: Your rough ask
- Asks for: Answers to one question at a time
- Gives: A short statement of intent: outcome, user, why now, success, constraint, out of scope
- Gives: Optional save to docs/intent/<topic>.md, only if you agree
- Say: "Interview me before we build anything: I want a dashboard for our metrics"

### idea-refine
- Asks for: Your idea in a sentence or two
- Asks for: Answers to its sharpening questions
- Gives: A one-pager in docs/ideas/<idea-name>.md after you confirm: problem, recommended direction, key assumptions, first small version, not-doing list
- Say: "Refine this idea: a booking page for my yoga studio"

### spec-driven-development
- Asks for: What you want to build and for whom
- Asks for: Core features and how you'll know they work
- Asks for: Tech stack wishes
- Asks for: What the assistant must always do, ask about, or never do
- Gives: A list of the assumptions it is making
- Gives: SPEC.md: objective, commands, project structure, code style, testing strategy, boundaries
- Say: "/spec a simple invoice tracker for freelancers"

### constraint-driven-development
- Asks for: Answers to at most four questions, each with a default you can accept
- Gives: CONSTRAINTS.md with rules, numbers and reasons
- Gives: Checking tools installed and wired into your project scripts
- Gives: A line in CLAUDE.md telling assistants never to weaken it
- Say: "/constraints"

### planning-and-task-breakdown
- Asks for: A spec (SPEC.md or similar)
- Gives: tasks/plan.md with decisions, risks and checkpoints
- Gives: tasks/todo.md with tasks, acceptance criteria and checks
- Say: "/plan"

### incremental-implementation
- Asks for: A plan with tasks
- Gives: Code for the next task (or every task with auto)
- Gives: A test, a passing build and a commit per task
- Gives: A summary of what was done and skipped
- Say: "/build"

### test-driven-development
- Asks for: A feature to add or a bug report
- Gives: Tests that describe the behaviour
- Gives: For bugs: a test that reproduces it, then the fix, then all tests run again
- Say: "/test the date parser returns the wrong month for 01/02"

### context-engineering
- Asks for: Your project and its conventions
- Gives: A rules file outline: tech stack, commands, code conventions, boundaries, patterns
- Gives: Advice on what to load and what to drop when answers get worse
- Say: "Set up a rules file for this project"

### source-driven-development
- Asks for: The framework or library task
- Gives: Code that follows the documented pattern
- Gives: A source link next to each framework-specific choice
- Gives: Anything unverified flagged
- Say: "Build this form with React 19 and cite the official docs"

### doubt-driven-development
- Asks for: A decision, plan or piece of code that matters
- Gives: Findings from a reviewer that sees only the work and the requirement
- Gives: Up to three rounds, then it hands the call back to you
- Gives: An offer of a second opinion from another AI tool, only if you agree
- Say: "Doubt this migration plan before we run it"

### frontend-ui-engineering
- Asks for: The screen or component to build
- Asks for: Your design system or colour palette, if any
- Gives: Components that follow your design system
- Gives: Keyboard, screen-reader and contrast checks (WCAG 2.1 AA)
- Gives: No purple-everything, heavy gradients or stock card grids
- Say: "Build the settings page using our existing components"

### api-and-interface-design
- Asks for: The endpoint or module boundary to design
- Gives: A contract written first
- Gives: Consistent errors, input checks at the edge, additions instead of breaking changes
- Say: "Design the API for orders before we code it"

### browser-testing-with-devtools
- Asks for: A page or bug in a web app
- Asks for: The Chrome DevTools add-on set up for your assistant
- Gives: Page structure, console errors, network requests and speed data from a real browser
- Gives: A test plan for tricky screen bugs
- Say: "Open the checkout page in Chrome and tell me why the button does nothing"

### debugging-and-error-recovery
- Asks for: The error, failing test or broken behaviour
- Gives: Reproduce, localize, reduce, fix the root cause, guard with a test, verify end to end
- Say: "The build broke after yesterday's change, find out why"

### code-review-and-quality
- Asks for: The current changes or a pasted change
- Gives: Findings labelled Critical, Required, Optional or Nit
- Gives: File and line for each, with a fix
- Gives: Approve or request changes
- Say: "/agent-skills:review"

### code-simplification
- Asks for: Recent changes, or the part of the code to simplify
- Gives: Smaller, clearer code, one change at a time with tests after each
- Gives: Changes undone if a test fails
- Say: "/code-simplify"

### security-and-hardening
- Asks for: The feature that handles input, logins, data or outside services
- Gives: A short threat model
- Gives: Fixes from an always / ask first / never list
- Gives: Dependency and privacy checks
- Say: "Check our login flow against the OWASP Top Ten"

### performance-optimization
- Asks for: The slow page or query
- Asks for: For a deep web audit: a Lighthouse or PageSpeed report, or a live address
- Gives: Measured before and after numbers
- Gives: Fixes kept only if they help
- Gives: From /webperf: a scorecard, ranked findings and recommendations
- Say: "/webperf the home page feels slow on phones"

### git-workflow-and-versioning
- Asks for: Your changes
- Gives: Small save points with clear messages
- Gives: Messy work split into clean pieces
- Gives: Version bumps and changelog for releases
- Say: "Split my uncommitted work into clean commits"

### ci-cd-and-automation
- Asks for: Your project and where it deploys
- Gives: A GitHub Actions pipeline with quality gates
- Gives: Preview deploys, feature flags, staged rollout and rollback steps
- Say: "Set up CI that runs tests and lint on every pull request"

### deprecation-and-migration
- Asks for: The old system, feature or database column to remove
- Gives: A replacement first, a deprecation notice, step-by-step migration, then removal
- Say: "Rename the users.fullname column without downtime"

### documentation-and-adrs
- Asks for: The decision or change to document
- Gives: A decision record (ADR): context, decision, alternatives, consequences
- Gives: README, API docs and changelog updates
- Say: "Write an ADR for choosing Postgres"

### observability-and-instrumentation
- Asks for: The feature that runs in production
- Gives: Structured logs, metrics and tracing
- Gives: Alerts on what users feel, with a runbook
- Say: "Add logging and an alert for failed payments"

### shipping-and-launch
- Asks for: The change you want to launch
- Gives: Blockers, recommended fixes and accepted risks
- Gives: A rollback plan with triggers and steps
- Gives: The three full reviewer reports
- Say: "/ship"

## Know before installing
- Skills switch on by themselves when a task matches, for example designing an API or building a screen.
- /build auto runs the whole plan after one yes: it writes code and makes one commit per task, pausing on failures and risky steps.
- /constraints installs checking tools (for example Semgrep, gitleaks, Lighthouse) and edits package.json and CLAUDE.md in your project.
- In Claude Code the built-in /review wins: use /agent-skills:review for this pack's review.
- A one-skill install leaves out the shared checklists; the skill still works.
- Don't copy the pack's own AGENTS.md or CLAUDE.md into your project: they are for people working on the pack.

## Install (official commands)
- Claude Code: `/plugin marketplace add addyosmani/agent-skills` && `/plugin install agent-skills@addy-agent-skills` — If the add step fails with SSH errors, use the full HTTPS address https://github.com/addyosmani/agent-skills.git.
- Codex: `codex plugin marketplace add addyosmani/agent-skills` && `codex plugin add agent-skills@agent-skills` — Codex CLI v0.122+. Call skills with @, e.g. @spec-driven-development; the slash commands are Claude Code only.
- Any agent (skills CLI): `npx skills add addyosmani/agent-skills` && `npx skills add addyosmani/agent-skills --skill code-review-and-quality` — Add --list to browse first. A one-skill install leaves out the shared references/ checklists.
- Gemini CLI: `gemini skills install https://github.com/addyosmani/agent-skills.git --path skills`
- Antigravity CLI: `agy plugin install https://github.com/addyosmani/agent-skills.git` — In affected releases the wrapper commands are not found; call the skills by name.
- Command Code: `cmd skills add addyosmani/agent-skills` — Add --global for all projects, or -s <skill> for one skill.
- Cursor, Windsurf, OpenCode, Copilot, Kiro: Copy skills/ into the tool's own skills or rules folder (e.g. .cursor/skills/); see docs/<tool>-setup.md. No slash commands there; call skills by name.

## What runs on the user's machine
- Code on the machine: no (optional helper scripts in hooks/ that you wire up yourself)
- Network: optional
- Install: Markdown only: 25 skills, 9 slash commands, 4 reviewer personas and 7 checklists. The plugin registers no hooks.
- Skills at work: Tell your assistant to run your tests, build and git commands, and to write SPEC.md, tasks/plan.md, tasks/todo.md, CONSTRAINTS.md, docs/ideas/ and docs/intent/ files in the project.
- /constraints: Tells your assistant to install third-party checkers (pip, pipx, brew or npm), add check:* scripts to package.json and a line to CLAUDE.md.
- browser-testing-with-devtools: Its setup runs npx -y chrome-devtools-mcp@latest, which downloads the server and starts Chrome with its own profile; --autoConnect would attach to your logged-in Chrome.
- doubt-driven-development: Only after you pick it: sends the work to the Gemini or Codex CLI through a temp file in /tmp, in a read-only mode.
- Optional sdd-cache hook (you add it to .claude/settings.json): Before and after each WebFetch it sends a HEAD request with curl to the same doc address and caches pages in .claude/sdd-cache/ in the project.
- Optional simplify-ignore hook (you add it to .claude/settings.json): On Read it rewrites your files in place, hiding marked blocks behind BLOCK_<hash> placeholders; backups go to .claude/.simplify-ignore-cache/ and are restored on Stop. A crash can leave placeholders in files.
- Optional session-start script: Prints the using-agent-skills text at session start, for hosts that don't pick skills on their own. Not wired by the plugin.
- Contributor tooling: scripts/ and evals/ check the pack itself; run-evals.js --behavioral runs headless claude in a throwaway git folder. Nothing runs unless you start it.

## Settings
- `SDD_CACHE_DEBUG`: 1 writes a debug log for the optional sdd-cache hook to .claude/sdd-cache/.debug.log
- `CRUX_API_KEY / GOOGLE_API_KEY`: optional, for a CrUX API response in a deep /webperf audit

## Examples (from the pack's own files)
- interview-me on "build me a dashboard": prompt "build me a dashboard for our metrics"; without the skill: The assistant starts proposing chart libraries and layouts, assuming who it is for and what the metrics are; with it: It states a guess with ~30% confidence and asks who is asking. A few questions in, the real need turns out to be a personal list of running experiments, not a team dashboard (skills/interview-me/SKILL.md; None, the author's run)
- The /ship decision: output format defined in .claude/commands/ship.md
- The interview-me statement of intent: output format defined in skills/interview-me/SKILL.md

## Steps only the person can do
- Add the Chrome DevTools MCP server to your assistant's MCP settings (only for browser-testing-with-devtools and live /webperf audits) (skills/browser-testing-with-devtools/SKILL.md) Then: The assistant opens pages in Chrome and reads the DOM, console, network and performance data
- Approve each cross-model review command before it runs, and have the Gemini or Codex CLI installed and logged in (skills/doubt-driven-development/SKILL.md) Then: The assistant sends the work to that CLI in read-only mode and reports its findings
- Add the optional sdd-cache or simplify-ignore hooks to .claude/settings.json yourself, if you want them (hooks/SDD-CACHE.md, hooks/SIMPLIFY-IGNORE.md) Then: The hooks run on WebFetch or Read calls in that project
- Approve the plan once before /build auto runs every task (.claude/commands/build.md) Then: The assistant implements every task with a commit each, pausing on failures and risky steps

## Mistakes to avoid
- Not: Type /review in Claude Code and expect this pack's five-axis review. Instead: Type /agent-skills:review. Why: Claude Code has its own /review command, which takes the plain name
- Not: Install one skill with npx and expect the shared checklists. Instead: Install the whole pack, or copy the needed checklist into a references/ folder inside the skill. Why: A one-skill install copies only that skill's folder
- Not: Paste whole skills into Cursor rules. Instead: Put skills in .cursor/skills/ and keep only short policies in .cursor/rules/. Why: The setup notes keep full skills out of rules files
- Not: Copy the pack's own AGENTS.md or CLAUDE.md into your project. Instead: Use the skills, commands and setup docs; write your own project rules file. Why: Those two files are for people working on the pack itself
- Not: Attach browser testing to your everyday logged-in Chrome with --autoConnect. Instead: Use the default dedicated profile or --isolated for testing. Why: With --autoConnect the agent can reach every open window of your real profile

## What leaves the machine
- A download of the chrome-devtools-mcp package at its latest version → the npm registry, When the Chrome DevTools MCP server is set up as the skill shows and starts. Opt out: Skip browser testing, or pin a version in your own MCP settings
- The work under review and its requirement, as a prompt → the Gemini CLI or Codex CLI (and the model service behind it), Only when you pick a cross-model second opinion in doubt-driven-development. Opt out: Choose manual review or skip when it offers the option
- HEAD requests to documentation pages already in the cache → the documentation sites the assistant fetched, Only with the optional sdd-cache hook installed, before and after each WebFetch. Opt out: Don't add the hook

## Lines in the pack aimed at agents (ask the person first)
- ""args": ["-y", "chrome-devtools-mcp@latest", "--isolated"]" (skills/browser-testing-with-devtools/SKILL.md): npx -y with @latest downloads and runs an unpinned package without a confirmation; ask the person first and prefer a pinned version
- "**Install what each picked dimension needs.**" (.claude/commands/constraints.md): /constraints installs third-party checkers (Semgrep, gitleaks, Lighthouse and others); list them and get the person's yes before installing
- "Add a line to CLAUDE.md telling agents to read CONSTRAINTS.md and never weaken it to make a change pass." (.claude/commands/constraints.md): Changes the project's CLAUDE.md, which every later session reads; show the person the line before adding it

## May I use it like this?
- commercial-app: yes (MIT)
- client-work: yes (MIT)
- redistribute-files: yes (MIT: keep the copyright and license notice in copies)
- inside-app-bundle: yes (MIT: keep the copyright and license notice)

## Which one to pick
- If You want the whole lifecycle from spec to launch as slash commands, with review personas and a GO / NO-GO: skill:addyosmani/agent-skills
- If You want an agentic skills framework and development methodology for longer autonomous work: skill:obra/superpowers
- If You want a compact toolbox of engineering skills from one developer's daily setup: skill:mattpocock/skills
- If You only need web quality and speed work based on Lighthouse and Core Web Vitals: skill:addyosmani/web-quality-skills

## Works well with
- tool:chrome-devtools-mcp: browser-testing-with-devtools and live /webperf audits run through the Chrome DevTools MCP server
- tool:lighthouse: /webperf reads a Lighthouse JSON report in deep mode, and /constraints uses Lighthouse for web vitals
- tool:semgrep: /constraints uses Semgrep for code scanning

## Works in and needs
- Works in Claude Code: plugin
- Works in Codex: plugin
- Works in Gemini CLI: skills folder
- Works in Antigravity CLI: plugin
- Works in Cursor: skills folder
- Works in Windsurf: rules file
- Works in OpenCode: skills folder
- Works in GitHub Copilot: rules file
- Works in Kiro: skills folder
- Works in Command Code: skills folder
- Needs Chrome DevTools MCP server: Only for browser-testing-with-devtools
- Needs Gemini CLI or Codex CLI: Only for the optional cross-model review in doubt-driven-development
- Needs jq, curl, Bash 3.2+: Only for the optional sdd-cache and simplify-ignore hooks
- Needs CrUX or Google API key: Only for a CrUX API response in a deep /webperf audit

## How to tell it works
Install it in Claude Code and type "/spec a simple invoice tracker for freelancers". The assistant first lists its assumptions and asks questions, then writes SPEC.md and asks you to confirm before any code. That pause is how you know it is on.

## Related
- vercel-labs/skills
- obra/superpowers
- mattpocock/skills
- anthropics/skills

## Safety
Install from github.com/addyosmani/agent-skills. The plugin itself runs no code; the two hooks in hooks/ only run if you add them to your settings, and simplify-ignore rewrites your files in place while active. /constraints and browser testing tell the assistant to install third-party tools, so read those steps before saying yes. Skills are instructions your assistant follows: read them before installing.
