1. Project Overview & Quickstart (addyosmani/agent-skills)
File: README.md
Agent Skills
Production-grade engineering skills for AI coding agents.
Skills encode the workflows, quality gates, and best practices that senior engineers use when building software. These ones are packaged so AI agents follow them consistently across every phase of development.
DEFINE PLAN BUILD VERIFY REVIEW SHIP
ββββββββ ββββββββ ββββββββ ββββββββ ββββββββ ββββββββ
β Idea β ββββΆ β Spec β ββββΆ β Code β ββββΆ β Test β ββββΆ β QA β ββββΆ β Go β
βRefineβ β PRD β β Impl β βDebug β β Gate β β Live β
ββββββββ ββββββββ ββββββββ ββββββββ ββββββββ ββββββββ
/spec /plan /build /test /review /shipCommands
8 slash commands that map to the development lifecycle. Each one activates the right skills automatically.
| What you're doing | Command | Key principle |
|---|---|---|
| Define what to build | /spec |
Spec before code |
| Plan how to build it | /plan |
Small, atomic tasks |
| Build incrementally | /build |
One slice at a time |
| Prove it works | /test |
Tests are proof |
| Review before merge | /review |
Improve code health |
| Audit web performance | /webperf |
Measure before you optimize |
| Simplify the code | /code-simplify |
Clarity over cleverness |
| Ship to production | /ship |
Faster is safer |
Want fewer manual steps once the spec exists? /build auto generates the plan and implements every task in a single approved pass β you approve the plan once, then it runs autonomously. It removes the human stepping between tasks, not the verification: every task is still test-driven and committed individually, and it pauses on failures or risky steps.
Skills also activate automatically based on what you're doing β designing an API triggers api-and-interface-design, building UI triggers frontend-ui-engineering, and so on.
Quick Start
Fastest path β any agent, one command. The open skills CLI installs into 70+ agents (Claude Code, Cursor, Codex, Copilot, Cline, and more):
npx skills add addyosmani/agent-skills # install all 24 skills
npx skills add addyosmani/agent-skills --list # browse before installingOr grab individual skills:
npx skills add addyosmani/agent-skills --skill code-review-and-quality # five-axis review before merge
npx skills add addyosmani/agent-skills --skill interview-me # requirements interrogation, one question at a time
npx skills add addyosmani/agent-skills --skill test-driven-development # red-green-refactor, enforcedInstalling one skill? A per-skill
npxinstall copies onlyskills/<name>/, not the repo-levelreferences/directory. The skill still
works, but paths to supplementary shared checklists are unavailable. Use a
whole-repo integration, clone the repository, or copy the needed checklist into
areferences/directory inside the installed skill. This portability gap is
tracked in #361.
Prefer a native integration? Pick your tool below.
Claude Code (recommended)
Marketplace install:
/plugin marketplace add addyosmani/agent-skills
/plugin install agent-skills@addy-agent-skillsSSH errors? The marketplace clones repos via SSH. If you don't have SSH keys set up on GitHub, either add your SSH key or use the full HTTPS URL to force HTTPS cloning during the marketplace-add step:
bash/plugin marketplace add https://github.com/addyosmani/agent-skills.git /plugin install agent-skills@addy-agent-skillsIf
/plugin installstill fails with[email protected]: Permission denied (publickey)on Windows or macOS, the recommended workaround is to configure Git once to rewrite GitHub SSH URLs to HTTPS for subprocess clones:bashgit config --global url."https://github.com/".insteadOf [email protected]:
Local / development:
git clone https://github.com/addyosmani/agent-skills.git
claude --plugin-dir /path/to/agent-skillsCursor
Put workflow skills under .cursor/skills/ (sync from agent-skills/skills/) and short policies in .cursor/rules/*.mdc β do not paste full skills into rules. See docs/cursor-setup.md.
Antigravity CLI
Install as a native plugin for skills, subagents, and slash commands. See docs/antigravity-setup.md.
Install from the repo:
agy plugin install https://github.com/addyosmani/agent-skills.gitInstall from a local clone:
git clone https://github.com/addyosmani/agent-skills.git
agy plugin install ./agent-skillsGemini CLI
Install as native skills for auto-discovery, or add to GEMINI.md for persistent context. See docs/gemini-cli-setup.md.
Install from the repo:
gemini skills install https://github.com/addyosmani/agent-skills.git --path skillsInstall from a local clone:
gemini skills install ./agent-skills/skills/Windsurf
Add skill contents to your Windsurf rules configuration. See docs/windsurf-setup.md.
OpenCode
Uses agent-driven skill execution via AGENTS.md and the skill tool.
GitHub Copilot
Use agent definitions from agents/ as Copilot personas and skill content in .github/copilot-instructions.md. See docs/copilot-setup.md.
**Kiro IDE & CLI **
Skills for Kiro reside under ".kiro/skills/" and can be stored under Project or Global level. Kiro also supports Agents.md. See Kiro docs at https://kiro.dev/docs/skills/
Codex
Install as a native Codex plugin (Codex CLI v0.122+):
codex plugin marketplace add addyosmani/agent-skills
codex plugin add agent-skills@agent-skillsThe first command registers the marketplace; the second installs the plugin. Codex reads the root skills/ directory directly through .codex-plugin/plugin.json. Once installed, invoke skills in chat using @ (e.g., @spec-driven-development). See docs/codex-setup.md for local installation and troubleshooting.
Command Code
Install natively with the built-in cmd skills command. Command Code clones the repo, discovers every SKILL.md, and installs into .commandcode/skills/:
cmd skills add addyosmani/agent-skills # pick skills to install (project)
cmd skills add addyosmani/agent-skills --global # install for all projects (~/.commandcode/skills/)
cmd skills add addyosmani/agent-skills -s spec-driven-development # install a specific skillInstalled skills show up in the TUI slash menu, e.g. /spec-driven-development. See docs/commandcode-setup.md.
Other Agents
Skills are plain Markdown - they work with any agent that accepts system prompts or instruction files. See docs/getting-started.md.
Adoption
Already installed? How you roll the pack out depends on your codebase. The Adoption Guide covers two paths: the full lifecycle from day one for a greenfield project, or an incremental, verification-first rollout for an established codebase.
All 24 Skills
The commands above are entry points. The pack includes 24 skills total β 23 lifecycle skills plus the using-agent-skills meta-skill. Each skill is a structured workflow with steps, verification gates, and anti-rationalization tables. You can also reference any skill directly.
Meta - Discover which skill applies
| Skill | What It Does | Use When |
|---|---|---|
| using-agent-skills | Maps incoming work to the right skill workflow and defines shared operating rules | Starting a session or deciding which skill applies |
Define - Clarify what to build
| Skill | What It Does | Use When |
|---|---|---|
| interview-me | One-question-at-a-time interview that extracts what the user actually wants instead of what they think they should want, until ~95% confidence | The ask is underspecified, or the user invokes "interview me" / "grill me" |
| idea-refine | Structured divergent/convergent thinking to turn vague ideas into concrete proposals | You have a rough concept that needs exploration |
| spec-driven-development | Write a PRD covering objectives, commands, structure, code style, testing, and boundaries before any code | Starting a new project, feature, or significant change |
Plan - Break it down
| Skill | What It Does | Use When |
|---|---|---|
| planning-and-task-breakdown | Decompose specs into small, verifiable tasks with acceptance criteria and dependency ordering | You have a spec and need implementable units |
Build - Write the code
| Skill | What It Does | Use When |
|---|---|---|
| incremental-implementation | Thin vertical slices - implement, test, verify, commit. Feature flags, safe defaults, rollback-friendly changes | Any change touching more than one file |
| test-driven-development | Red-Green-Refactor, test pyramid (80/15/5), test sizes, DAMP over DRY, Beyonce Rule, browser testing | Implementing logic, fixing bugs, or changing behavior |
| context-engineering | Feed agents the right information at the right time - rules files, context packing, MCP integrations | Starting a session, switching tasks, or when output quality drops |
| source-driven-development | Ground every framework decision in official documentation - verify, cite sources, flag what's unverified | You want authoritative, source-cited code for any framework or library |
| doubt-driven-development | Adversarial fresh-context review of every non-trivial decision in-flight - CLAIM β EXTRACT β DOUBT β RECONCILE β STOP, with optional user-authorized cross-model escalation | Stakes are high (production, security, irreversible), working in unfamiliar code, or a confident output is cheaper to verify now than to debug later |
| frontend-ui-engineering | Component architecture, design systems, state management, responsive design, WCAG 2.1 AA accessibility | Building or modifying user-facing interfaces |
| api-and-interface-design | Contract-first design, Hyrum's Law, One-Version Rule, error semantics, boundary validation | Designing APIs, module boundaries, or public interfaces |
Verify - Prove it works
| Skill | What It Does | Use When |
|---|---|---|
| browser-testing-with-devtools | Chrome DevTools MCP for live runtime data - DOM inspection, console logs, network traces, performance profiling | Building or debugging anything that runs in a browser |
| debugging-and-error-recovery | Five-step triage: reproduce, localize, reduce, fix, guard. Stop-the-line rule, safe fallbacks | Tests fail, builds break, or behavior is unexpected |
Review - Quality gates before merge
| Skill | What It Does | Use When |
|---|---|---|
| code-review-and-quality | Five-axis review, change sizing (~100 lines), severity labels (Nit/Optional/FYI), review speed norms, splitting strategies | Before merging any change |
| code-simplification | Chesterton's Fence, Rule of 500, reduce complexity while preserving exact behavior | Code works but is harder to read or maintain than it should be |
| security-and-hardening | OWASP Top 10 prevention, auth patterns, secrets management, dependency auditing, three-tier boundary system | Handling user input, auth, data storage, or external integrations |
| performance-optimization | Measure-first approach - Core Web Vitals targets, profiling workflows, bundle analysis, anti-pattern detection | Performance requirements exist or you suspect regressions |
Ship - Deploy with confidence
| Skill | What It Does | Use When |
|---|---|---|
| git-workflow-and-versioning | Trunk-based development, atomic commits, change sizing (~100 lines), the commit-as-save-point pattern | Making any code change (always) |
| ci-cd-and-automation | Shift Left, Faster is Safer, feature flags, quality gate pipelines, failure feedback loops | Setting up or modifying build and deploy pipelines |
| deprecation-and-migration | Code-as-liability mindset, compulsory vs advisory deprecation, migration patterns, zombie code removal | Removing old systems, migrating users, or sunsetting features |
| documentation-and-adrs | Architecture Decision Records, API docs, inline documentation standards - document the why | Making architectural decisions, changing APIs, or shipping features |
| observability-and-instrumentation | Structured logging, RED metrics, OpenTelemetry tracing, symptom-based alerting - instrument as you build | Adding telemetry, or shipping anything that runs in production |
| shipping-and-launch | Pre-launch checklists, feature flag lifecycle, staged rollouts, rollback procedures, monitoring setup | Preparing to deploy to production |
Agent Personas
Pre-configured specialist personas for targeted reviews:
| Agent | Role | Perspective |
|---|---|---|
| code-reviewer | Senior Staff Engineer | Five-axis code review with "would a staff engineer approve this?" standard |
| test-engineer | QA Specialist | Test strategy, coverage analysis, and the Prove-It pattern |
| security-auditor | Security Engineer | Vulnerability detection, threat modeling, OWASP assessment |
| web-performance-auditor | Web Performance Engineer | Core Web Vitals audit with Quick/Deep modes and a metric-honesty rule; run it via /webperf |
See docs/agents.md for the decision matrix, orchestration rules, and how personas compose with skills and slash commands.
Reference Checklists
Quick-reference material that skills pull in when needed:
| Reference | Covers |
|---|---|
| definition-of-done.md | Project-wide standing bar every change clears, contrasted with per-task acceptance criteria |
| testing-patterns.md | Test structure, naming, mocking, React/API/E2E examples, anti-patterns (JavaScript/TypeScript) |
| security-checklist.md | Pre-commit checks, auth, input validation, headers, CORS, OWASP Top 10 |
| performance-checklist.md | Core Web Vitals targets, frontend/backend checklists, measurement commands |
| accessibility-checklist.md | Keyboard nav, screen readers, visual design, ARIA, testing tools |
| observability-checklist.md | On-call questions, structured logging, RED/USE metrics, tracing, symptom-based alerting, pre-launch gate |
| orchestration-patterns.md | Endorsed multi-persona orchestration patterns, anti-patterns, and the "personas don't invoke personas" rule |
How Skills Work
Every skill follows a consistent anatomy:
βββββββββββββββββββββββββββββββββββββββββββββββββββ
β SKILL.md β
β β
β ββ Frontmatter ββββββββββββββββββββββββββββββ β
β β name: lowercase-hyphen-name β β
β β description: Guides agents through [task].β β
β β Use whenβ¦ β β
β βββββββββββββββββββββββββββββββββββββββββββββ β
β Overview β What this skill does β
β When to Use β Triggering conditions β
β Process β Step-by-step workflow β
β Rationalizations β Excuses + rebuttals β
β Red Flags β Signs something's wrong β
β Verification β Evidence requirements β
βββββββββββββββββββββββββββββββββββββββββββββββββββKey design choices:
- Process, not prose. Skills are workflows agents follow, not reference docs they read. Each has steps, checkpoints, and exit criteria.
- Anti-rationalization. Every skill includes a table of common excuses agents use to skip steps (e.g., "I'll add tests later") with documented counter-arguments.
- Verification is non-negotiable. Every skill ends with evidence requirements - tests passing, build output, runtime data. "Seems right" is never sufficient.
- Progressive disclosure. The
SKILL.mdis the entry point. Supporting references load only when needed, keeping token usage minimal.
Project Structure
/* Detailed source-code truncated for AI context efficiency. */Why Agent Skills?
AI coding agents default to the shortest path - which often means skipping specs, tests, security reviews, and the practices that make software reliable. Agent Skills gives agents structured workflows that enforce the same discipline senior engineers bring to production code.
Each skill encodes hard-won engineering judgment: when to write a spec, what to test, how to review, and when to ship. These aren't generic prompts - they're the kind of opinionated, process-driven workflows that separate production-quality work from prototype-quality work.
Skills bake in best practices from Google's engineering culture β including concepts from Software Engineering at Google and Google's engineering practices guide. You'll find Hyrum's Law in API design, the Beyonce Rule and test pyramid in testing, change sizing and review speed norms in code review, Chesterton's Fence in simplification, trunk-based development in git workflow, Shift Left and feature flags in CI/CD, and a dedicated deprecation skill treating code as a liability. These aren't abstract principles β they're embedded directly into the step-by-step workflows agents follow.
How it compares
Wondering how this stacks up against Superpowers or Matt Pocock's skills? See docs/comparison.md for an honest, side-by-side look at how the three are shaped differently and when to reach for each β including a link to a controlled head-to-head experiment.
Contributing
Skills should be specific (actionable steps, not vague advice), verifiable (clear exit criteria with evidence requirements), battle-tested (based on real workflows), and minimal (only what's needed to guide the agent).
See docs/skill-anatomy.md for the format specification and CONTRIBUTING.md for guidelines.
Team
agent-skills is built and maintained by:
| Name | GitHub | Role | |
|---|---|---|---|
| Addy Osmani | @addyosmani | Creator | |
| Federico Bartoli | @federicobartoli | Collaborator | |
| Joan LeΓ³n | @nucliweb | Collaborator |
License
MIT - use these skills in your projects, teams, and tools.
File: docs/copilot-setup.md
Using agent-skills with GitHub Copilot
Setup
Copilot Instructions
Copilot supports creating agent skills using a .github/skills, .claude/skills, or .agents/skills directory in your repository.
mkdir -p .github/skills/test-driven-development .github/skills/code-review-and-quality
# Create files for essential skills
cat /path/to/agent-skills/skills/test-driven-development/SKILL.md > .github/skills/test-driven-development/SKILL.md
cat /path/to/agent-skills/skills/code-review-and-quality/SKILL.md > .github/skills/code-review-and-quality/SKILL.mdFor more details, refer Creating agent skills for GitHub Copilot.
Agent Personas (*.agent.md)
Copilot supports specialized agent personas. Use the agent-skills agents:
Important: GitHub Copilot requires custom agent files to be named
*.agent.md.
Files named*.mdare silently ignored by Copilot.
See VS Code custom agents docs for details.
# Create the agents directory and copy agent definitions
mkdir -p .github/agents
cp /path/to/agent-skills/agents/code-reviewer.md .github/agents/code-reviewer.agent.md
cp /path/to/agent-skills/agents/test-engineer.md .github/agents/test-engineer.agent.md
cp /path/to/agent-skills/agents/security-auditor.md .github/agents/security-auditor.agent.mdInvoke agents in Copilot Chat:
@code-reviewer Review this PR@test-engineer Analyze test coverage for this module@security-auditor Check this endpoint for vulnerabilities
Custom Instructions (User Level)
For skills you want across all repositories:
- Open VS Code β Settings β GitHub Copilot β Custom Instructions
- Add your most-used skill summaries
Recommended Configuration
.github/copilot-instructions.md
GitHub Copilot supports project-level instructions via .github/copilot-instructions.md.
# Project Coding Standards
## Testing
- Write tests before code (TDD)
- For bugs: write a failing test first, then fix (Prove-It pattern)
- Test hierarchy: unit > integration > e2e (use the lowest level that captures the behavior)
- Run `npm test` after every change
## Code Quality
- Review across five axes: correctness, readability, architecture, security, performance
- Every PR must pass: lint, type check, tests, build
- No secrets in code or version control
## Implementation
- Build in small, verifiable increments
- Each increment: implement β test β verify β commit
- Never mix formatting changes with behavior changes
## Boundaries
- Always: Run tests before commits, validate user input
- Ask first: Database schema changes, new dependencies
- Never: Commit secrets, remove failing tests, skip verificationSpecialized Agents
Use the agents for targeted review workflows in Copilot Chat.
Usage Tips
- Keep instructions concise β Copilot instructions work best when focused. Summarize the key rules rather than including full skill files.
- Use agents for review β The code-reviewer, test-engineer, and security-auditor agents are designed for Copilot's agent model.
- Reference in chat β When working on a specific phase, paste the relevant skill content into Copilot Chat for context.
- Combine with PR reviews β Set up Copilot to review PRs using the code-reviewer agent persona.
File: docs/cursor-setup.md
Using agent-skills with Cursor
How to wire agent-skills into Cursor using current, supported project context β not legacy monolith files or Kaizen-specific layouts.
What Cursor supports today
Cursor combines rules (short policies) and skills (full workflows):
| Layer | Path | Role |
|---|---|---|
| Project rules | .cursor/rules/*.mdc |
Always-on or file-scoped instructions (alwaysApply, globs) |
| Project skills | .cursor/skills/<skill-name>/SKILL.md |
Agent-discovered workflows; read when the task matches the skill description |
| User rules | Cursor Settings β Rules | Account-wide policies |
| User skills (optional) | ~/.cursor/skills/ |
Global skills available in every workspace |
Docs: Rules Β· Skills (URLs may redirect as Cursor updates docs).
Rules vs skills
- Rules β concise, stable (βuse conventional commitsβ, βtype-annotate public Python APIsβ). Prefer one concern per file; avoid large pasted guides.
- Skills β step-by-step processes from this repo (
test-driven-development,code-review-and-quality, etc.). Do not copy entireSKILL.mdbodies into rules; that duplicates.cursor/skills/and wastes context.
Legacy (avoid for new setups)
| Legacy | Prefer |
|---|---|
Root .cursorrules |
.cursor/rules/*.mdc |
Copying SKILL.md β .cursor/rules/ |
.cursor/skills/<name>/SKILL.md |
| βLoad 10 skills as always-on rulesβ | 1β2 thin alwaysApply rules + skills on demand |
Recommended project layout
your-project/
βββ .cursor/
β βββ rules/ # Short .mdc policies (yours)
β β βββ agent-skills.mdc # Optional: βuse project skillsβ pointer
β βββ skills/ # What Cursor Agent loads
β βββ using-agent-skills/
β βββ test-driven-development/
β βββ code-review-and-quality/
β βββ β¦ # Synced from agent-skills + your own skills
βββ agent-skills/ # Optional: git submodule or vendor clone
βββ skills/ # Upstream source onlySource of truth for the agent: .cursor/skills/.
Treat agent-skills/skills/ (or a cloned addyosmani/agent-skills) as upstream β sync into .cursor/skills/, do not edit only upstream and expect Cursor to see it.
Setup (any repository)
1. Install skills into `.cursor/skills/`
From a local clone of agent-skills (at project root or elsewhere):
mkdir -p .cursor/skills
rsync -a /path/to/agent-skills/skills/ .cursor/skills/First-time copy without overwriting your custom skills:
rsync -a --ignore-existing /path/to/agent-skills/skills/ .cursor/skills/After upstream updates:
rsync -a /path/to/agent-skills/skills/ .cursor/skills/Each skill folder must contain SKILL.md with YAML frontmatter, at minimum:
---
name: test-driven-development
---Cursor uses description (and related metadata) to decide when to apply a skill.
2. Add minimal project rules (optional but useful)
Create .cursor/rules/agent-skills.mdc:
---
alwaysApply: true
---
Before non-trivial technical work:
1. Route via `.cursor/skills/using-agent-skills/SKILL.md`.
2. Read and follow the matching skill under `.cursor/skills/<name>/SKILL.md`.
3. Open `reference.md` in that folder when the skill links to it.
4. Prefer project skills over guessing; user does not need to say "read skill" each time.Add separate .mdc files for repo-specific standards (style, language, stack), keeping each file focused.
Rule file format:
---
alwaysApply: false
globs: "**/*.{ts,tsx}"
---
# Your rule content| Field | Use |
|---|---|
alwaysApply: true |
Every chat in this project |
globs |
When matching files are in context |
alwaysApply: false + no globs |
Agent-request / manual rule (Cursor UI) |
3. User-level skills (optional)
Copy or install skills you want everywhere under ~/.cursor/skills/. Use for stack-wide guides (e.g. language patterns) that are not part of agent-skills.
Project skills in .cursor/skills/ take precedence for this repoβs workflows.
4. Verify
- Settings β Rules β project
.mdcfiles listed. - Agent chat β skills from
.cursor/skills/appear in the skill list (if your Cursor build exposes it). - Run a task that maps to a skill (e.g. βadd a feature with tests firstβ) without naming the file β agent should open
test-driven-developmentwhen routing works.
How agents should use skills
- Discover β
using-agent-skillsmaps task phase β skill name. - Read β full process in
.cursor/skills/<name>/SKILL.md. - Deep dive β
reference.md,references/*.md, or linked checklists when the skill says so. - Combine β e.g.
incremental-implementation+api-and-interface-designfor an API slice.
Explicit user phrases (βfollow TDDβ, βuse code-review-and-qualityβ) still help if the agent drifts.
Phase β skill (quick map)
| You are⦠| Skill |
|---|---|
| Clarifying requirements | interview-me, idea-refine, spec-driven-development |
| Planning tasks | planning-and-task-breakdown |
| Implementing | incremental-implementation, frontend-ui-engineering, api-and-interface-design |
| Testing | test-driven-development, browser-testing-with-devtools |
| Debugging | debugging-and-error-recovery |
| Reviewing | code-review-and-quality, code-simplification |
| Security / performance | security-and-hardening, performance-optimization |
| Git / CI / ship | git-workflow-and-versioning, ci-cd-and-automation, shipping-and-launch |
Full tree: skills/using-agent-skills/SKILL.md in the repo.
What not to do
| Avoid | Do instead |
|---|---|
| Paste all skills into one rule | Sync to .cursor/skills/ |
| Maintain two diverging copies | rsync from upstream; commit .cursor/skills/ |
Many alwaysApply: true rules |
One routing rule + focused globs rules |
Rely on .cursorrules only |
Migrate to .mdc + skills |
Expect agent-skills/agents/*.md to auto-load |
Paste in chat, or distill a short rule |
Context tips
- Keep always-on rules small (routing + 1β2 non-negotiables).
- Let skills carry long checklists and rationalization tables.
- Add phase-specific globs rules only when needed (e.g.
**/*.py,**/components/**). - Nudge by skill name if verification steps are skipped.
`agents/` directory
Files under agent-skills/agents/ (e.g. code reviewer persona) are not loaded automatically by Cursor. Options:
- Reference the skill equivalent (
code-review-and-quality). - Paste agent markdown into the chat for one review.
- Extract a short checklist into a
.mdcrule.
Troubleshooting
| Symptom | Check |
|---|---|
| Skill never used | SKILL.md under .cursor/skills/<name>/? Valid frontmatter description? |
| Rules ignored | Extension .mdc? Correct alwaysApply / globs? |
| Stale workflow | Re-rsync from agent-skills/skills/ |
| Duplicate instructions | Remove skill content from rules; keep one source |
| Wrong skill picked | Narrow description in custom skills; nudge in chat |
Checklist (new project)
-
mkdir -p .cursor/skillsand sync fromagent-skills/skills/ - Optional:
.cursor/rules/agent-skills.mdcwith routing hint - Add repo-specific rules as separate small
.mdcfiles - Commit
.cursor/skills/and.cursor/rules/(team shares behavior) - Skip giant
.cursorrulesunless required by legacy tooling
See also
- getting-started.md
- ../README.md β Cursor quick blurb
- Upstream: github.com/addyosmani/agent-skills
File: docs/gemini-cli-setup.md
Using agent-skills with Gemini CLI
Setup
Option 1: Install as Skills (Recommended)
Gemini CLI has a native skills system that auto-discovers SKILL.md files in .gemini/skills/ or .agents/skills/ directories. Each skill activates on demand when it matches your task.
Install from the repo:
gemini skills install https://github.com/addyosmani/agent-skills.git --path skillsOr install from a local clone:
git clone https://github.com/addyosmani/agent-skills.git
gemini skills install /path/to/agent-skills/skills/Install for a specific workspace only:
gemini skills install /path/to/agent-skills/skills/ --scope workspaceSkills installed at workspace scope go into .gemini/skills/ (or .agents/skills/). User-level skills go into ~/.gemini/skills/.
Once installed, verify with:
/skills listGemini CLI injects skill names and descriptions into the prompt automatically. When it recognizes a matching task, it asks permission to activate the skill before loading its full instructions.
Option 2: GEMINI.md (Persistent Context)
For skills you want always loaded as persistent project context (rather than on-demand activation), add them to your project's GEMINI.md:
# Create GEMINI.md with core skills as persistent context
cat /path/to/agent-skills/skills/incremental-implementation/SKILL.md > GEMINI.md
echo -e "\n---\n" >> GEMINI.md
cat /path/to/agent-skills/skills/code-review-and-quality/SKILL.md >> GEMINI.mdYou can also modularize by importing from separate files:
# Project Instructions
@skills/test-driven-development/SKILL.md
@skills/incremental-implementation/SKILL.mdUse /memory show to verify loaded context, and /memory reload to refresh after changes.
Skills vs GEMINI.md: Skills are on-demand expertise that activate only when relevant, keeping your context window clean. GEMINI.md provides persistent context loaded for every prompt. Use skills for phase-specific workflows and GEMINI.md for always-on project conventions.
Recommended Configuration
Always-On (GEMINI.md)
Add these as persistent context for every session:
incremental-implementationβ Build in small verifiable slicescode-review-and-qualityβ Five-axis review
On-Demand (Skills)
Install these as skills so they activate only when relevant:
test-driven-developmentβ Activates when implementing logic or fixing bugsspec-driven-developmentβ Activates when starting a new project or featurefrontend-ui-engineeringβ Activates when building UIsecurity-and-hardeningβ Activates during security reviewsperformance-optimizationβ Activates during performance work
Advanced Configuration
MCP Integration
Many skills in this pack leverage Model Context Protocol (MCP) tools to interact with the environment. For example:
browser-testing-with-devtoolsuses thechrome-devtoolsMCP extension.performance-optimizationcan benefit from performance-related MCP tools.
To enable these, ensure you have the relevant MCP extensions installed in your Gemini CLI configuration (~/.gemini/config.json).
Session Hooks
Gemini CLI supports session lifecycle hooks. You can use these to automatically inject context or run validation scripts at the start of a session.
To replicate the agent-skills experience from other tools, you can configure a SessionStart hook that reminds you of the available skills or loads a meta-skill.
Explicit Context Loading
You can explicitly load any skill into your current session by referencing it with the @ symbol in your prompt:
Use the @skills/test-driven-development/SKILL.md skill to implement this fix.This is useful when you want to ensure a specific workflow is followed without waiting for auto-discovery.
Slash Commands
The repo ships 8 slash commands under .gemini/commands/: 7 lifecycle commands plus the /webperf specialist audit. Gemini CLI auto-discovers them when you run from the project root.
| Command | What it does |
|---|---|
/spec |
Write a structured spec before writing code |
/planning |
Break work into small, verifiable tasks |
/build |
Implement the next task incrementally |
/test |
Run TDD workflow β red, green, refactor |
/review |
Five-axis code review |
/code-simplify |
Reduce complexity without changing behavior |
/ship |
Pre-launch checklist via parallel persona fan-out |
/webperf |
Audit browser-facing apps for Core Web Vitals and performance issues |
Each command invokes the corresponding skill automatically β no manual skill loading required.
Note: Use
/planninginstead of/planβ/planconflicts with a Gemini CLI internal command name.
Usage Tips
- Prefer skills over GEMINI.md β Skills activate on demand and keep your context window focused. Only put skills in GEMINI.md if you want them always loaded.
- Skill descriptions matter β Each SKILL.md has a
descriptionfield in its frontmatter that tells agents when to activate it. The descriptions in this repo are optimized for auto-discovery across all supported tools (Claude Code, Gemini CLI, etc.) by clearly stating both what the skill does and when it should be triggered. - Use agents for review β Copy
agents/code-reviewer.mdcontent when requesting structured code reviews. - Combine with references β Reference checklists from
references/when working on specific quality areas like testing or performance.
File: docs/getting-started.md
Getting Started with agent-skills
agent-skills works with any AI coding agent that accepts Markdown instructions. This guide covers the universal approach. For tool-specific setup, see the dedicated guides.
How Skills Work
Each skill is a Markdown file (SKILL.md) that describes a specific engineering workflow. When loaded into an agent's context, the agent follows the workflow β including verification steps, anti-patterns to avoid, and exit criteria.
Skills are not reference docs. They're step-by-step processes the agent follows.
Quick Start (Any Agent)
1. Clone the repository
git clone https://github.com/addyosmani/agent-skills.git2. Choose a skill
Browse the skills/ directory. Each subdirectory contains a SKILL.md with:
- When to use β triggers that indicate this skill applies
- Process β step-by-step workflow
- Verification β how to confirm the work is done
- Common rationalizations β excuses the agent might use to skip steps
- Red flags β signs the skill is being violated
3. Load the skill into your agent
Copy the relevant SKILL.md content into your agent's system prompt, rules file, or conversation. The most common approaches:
System prompt: Paste the skill content at the start of the session.
Rules file: Add skill content to your project's rules file (CLAUDE.md, .cursorrules, etc.).
Conversation: Reference the skill when giving instructions: "Follow the test-driven-development process for this change."
4. Use the meta-skill for discovery
Start with the using-agent-skills skill loaded. It contains a flowchart that maps task types to the appropriate skill.
Recommended Setup
Rolling out to a real project? The Adoption Guide covers two end-to-end paths: the full lifecycle from day one for a greenfield project, and an incremental, verification-first rollout for an established codebase. The setup below is the quick version.
Minimal (Start here)
Load three essential skills into your rules file:
- spec-driven-development β For defining what to build
- test-driven-development β For proving it works
- code-review-and-quality β For verifying quality before merge
These three cover the most critical quality gaps in AI-assisted development.
Full Lifecycle
For comprehensive coverage, load skills by phase:
Starting a project: spec-driven-development β planning-and-task-breakdown
During development: incremental-implementation + test-driven-development
Before merge: code-review-and-quality + security-and-hardening
Before deploy: shipping-and-launchContext-Aware Loading
Don't load all skills at once β it wastes context. Load skills relevant to the current task:
- Working on UI? Load
frontend-ui-engineering - Debugging? Load
debugging-and-error-recovery - Setting up CI? Load
ci-cd-and-automation
Skill Anatomy
Every skill follows the same structure:
YAML frontmatter (name, description)
βββ Overview β What this skill does
βββ When to Use β Triggers and conditions
βββ Core Process β Step-by-step workflow
βββ Examples β Code samples and patterns
βββ Common Rationalizations β Excuses and rebuttals
βββ Red Flags β Signs the skill is being violated
βββ Verification β Exit criteria checklistSee skill-anatomy.md for the full specification.
Using Agents
The agents/ directory contains pre-configured agent personas:
| Agent | Purpose |
|---|---|
code-reviewer.md |
Five-axis code review |
test-engineer.md |
Test strategy and writing |
security-auditor.md |
Vulnerability detection |
web-performance-auditor.md |
Core Web Vitals & performance audit (via /webperf) |
Load an agent definition when you need specialized review. For example, ask your coding agent to "review this change using the code-reviewer agent persona" and provide the agent definition.
Using Commands
The .claude/commands/ directory contains slash commands for Claude Code:
| Command | Skill Invoked |
|---|---|
/spec |
spec-driven-development |
/plan |
planning-and-task-breakdown |
/build |
incremental-implementation + test-driven-development |
/build auto |
planning-and-task-breakdown β incremental-implementation + test-driven-development (whole plan, one approval) |
/test |
test-driven-development |
/review |
code-review-and-quality |
/code-simplify |
code-simplification |
/ship |
shipping-and-launch |
/webperf |
web-performance-auditor (specialist agent, web apps only) |
Note: When installed as a Claude Code plugin you may see a warning like
"Default commands/ folder is ignored because the manifest sets 'commands'".
This is expected. The rootcommands/directory belongs to the Antigravity CLI
and is intentionally separate from.claude/commands/. All Claude Code slash
commands load correctly from.claude/commands/; the warning is cosmetic.
Using References
The references/ directory contains supplementary checklists:
| Reference | Use With |
|---|---|
testing-patterns.md |
test-driven-development |
performance-checklist.md |
performance-optimization |
security-checklist.md |
security-and-hardening |
accessibility-checklist.md |
frontend-ui-engineering |
definition-of-done.md |
all skills / every change |
observability-checklist.md |
observability-and-instrumentation |
orchestration-patterns.md |
doubt-driven-development |
Load a reference when you need detailed patterns beyond what the skill covers.
If you install one skill with npx skills add ... --skill <name>, only the
selected skills/<name>/ directory is copied. The skill still works, but paths
to supplementary checklists in the repo-level references/ directory are
unavailable. Use a whole-repo integration, clone the repository, or copy the
needed checklist into a references/ directory inside the installed skill.
This portability gap is tracked in
addyosmani/agent-skills#361.
Spec and task artifacts
The /spec and /plan commands create working artifacts (SPEC.md, tasks/plan.md, tasks/todo.md). Treat them as living documents while the work is in progress:
- Keep them in version control during development so the human and the agent have a shared source of truth.
- Update them when scope or decisions change.
- If your repo doesnβt want these files longβterm, delete them before merge or add the folder to
.gitignoreβ the workflow doesnβt require them to be permanent.
Tips
- Start with spec-driven-development for any non-trivial work
- Always load test-driven-development when writing code
- Don't skip verification steps β they're the whole point
- Load skills selectively β more context isn't always better
- Use the agents for review β different perspectives catch different issues
File: docs/opencode-setup.md
OpenCode Setup
This guide explains how to use Agent Skills with OpenCode in a way that closely mirrors the Claude Code experience (automatic skill selection, lifecycle-driven workflows, and strict process enforcement).
Overview
OpenCode supports custom /commands, but does not have a native plugin system or automatic skill routing like Claude Code.
Instead, we achieve parity through:
- A strong system prompt (
AGENTS.md) - The built-in
skilltool - Consistent skill discovery from the
/skillsdirectory
This creates an agent-driven workflow where skills are selected and executed automatically.
While it is possible to recreate /spec, /plan, and other commands in OpenCode, this integration intentionally uses an agent-driven approach instead:
- Skills are selected automatically based on intent
- Workflows are enforced via
AGENTS.md - No manual command invocation is required
This more closely matches how Claude Code behaves in practice, where skills are triggered automatically rather than manually.
Installation
- Clone the repository:
git clone https://github.com/addyosmani/agent-skills.gitOpen the project in OpenCode.
Ensure the following files are present in your workspace:
AGENTS.md(root)skills/directory
No additional installation is required.
How It Works
1. Skill Discovery
All skills live in:
skills/<skill-name>/SKILL.mdOpenCode agents are instructed (via AGENTS.md) to:
- Detect when a skill applies
- Invoke the
skilltool - Follow the skill exactly
2. Automatic Skill Invocation
The agent evaluates every request and maps it to the appropriate skill.
Examples:
- "build a feature" β
incremental-implementation+test-driven-development - "design a system" β
spec-driven-development - "fix a bug" β
debugging-and-error-recovery - "review this code" β
code-review-and-quality
The user does not need to explicitly request skills.
3. Lifecycle Mapping (Implicit Commands)
The development lifecycle is encoded implicitly:
- DEFINE β
spec-driven-development - PLAN β
planning-and-task-breakdown - BUILD β
incremental-implementation+test-driven-development - VERIFY β
debugging-and-error-recovery - REVIEW β
code-review-and-quality - SHIP β
shipping-and-launch
This replaces slash commands like /spec, /plan, etc.
Usage Examples
Example 1: Feature Development
User:
Add authentication to this appAgent behavior:
- Detects feature work
- Invokes
spec-driven-development - Produces a spec before writing code
- Moves to planning and implementation skills
Example 2: Bug Fix
User:
This endpoint is returning 500 errorsAgent behavior:
- Invokes
debugging-and-error-recovery - Reproduces β localizes β fixes β adds guards
Example 3: Code Review
User:
Review this PRAgent behavior:
- Invokes
code-review-and-quality - Applies structured review (correctness, design, readability, etc.)
Agent Expectations (Critical)
For OpenCode to work correctly, the agent must follow these rules:
- Always check if a skill applies before acting
- If a skill applies, it MUST be used
- Never skip required workflows (spec, plan, test, etc.)
- Do not jump directly to implementation
These rules are enforced via AGENTS.md.
Limitations
- No native slash commands (handled via intent mapping instead)
- No plugin system (handled via prompt + structure)
- Skill invocation depends on model compliance
Despite these, the workflow closely matches Claude Code in practice.
Recommended Workflow
Just use natural language:
- "Design a feature"
- "Plan this change"
- "Implement this"
- "Fix this bug"
- "Review this"
The agent will automatically select and execute the correct skills.
Summary
OpenCode integration works by combining:
- Structured skills (this repo)
- Strong agent rules (
AGENTS.md) - Automatic skill invocation via reasoning
This results in a fully agent-driven, production-grade engineering workflow without requiring plugins or manual commands.
File: docs/skill-anatomy.md
Skill Anatomy
This document describes the structure and format of agent-skills skill files. Use this as a guide when contributing new skills or understanding existing ones.
File Location
Every skill lives in its own directory under skills/:
skills/
skill-name/
SKILL.md # Required: The skill definition
scripts/ # Optional: Runnable helpers used by the skill workflow
references/ # Optional: Skill-specific reference documentation
supporting-file.md # Optional: Reference material loaded on demandSKILL.md is the only required file. Add scripts/ or references/ only when the skill actually needs them, and omit them entirely for simpler skills.
SKILL.md Format
Frontmatter (Required)
---
name: skill-name-with-hyphens
---Rules:
name: Lowercase, hyphen-separated. Must match the directory name.description: Start with what the skill does in third person, then include one or more clear "Use when" trigger conditions. Include both what and when. Maximum 1024 characters.
Why this matters: Agents discover skills by reading descriptions. The description is injected into the system prompt, so it must tell the agent both what the skill provides and when to activate it. Do not summarize the workflow β if the description contains process steps, the agent may follow the summary instead of reading the full skill.
Standard Sections (Recommended Pattern)
The frontmatter contract above is required. The section layout below is a recommended pattern, not a rigid template: equivalent headings are acceptable when they serve the same purpose clearly.
# Skill Title
## Overview
One-two sentences explaining what this skill does and why it matters.
## When to Use
- Bullet list of triggering conditions (symptoms, task types)
- When NOT to use (exclusions)
## [Core Process / The Workflow / Steps]
The main workflow, broken into numbered steps or phases.
Include code examples where they help.
Use flowcharts (ASCII) where decision points exist.
## [Specific Techniques / Patterns]
Detailed guidance for specific scenarios.
Code examples, templates, configuration.
## Common Rationalizations
| Rationalization | Reality |
|---|---|
| Excuse agents use to skip steps | Why the excuse is wrong |
## Red Flags
- Behavioral patterns indicating the skill is being violated
- Things to watch for during review
## Verification
After completing the skill's process, confirm:
- [ ] Checklist of exit criteria
- [ ] Evidence requirementsSection Purposes
Overview
The "elevator pitch" for the skill. Should answer: What does this skill do, and why should an agent follow it?
When to Use
Helps agents and humans decide if this skill applies to the current task. Include both positive triggers ("Use when X") and negative exclusions ("NOT for Y").
Core Process
The heart of the skill. This is the step-by-step workflow the agent follows. Must be specific and actionable β not vague advice.
Good: "Run npm test and verify all tests pass"
Bad: "Make sure the tests work"
Common Rationalizations
The most distinctive feature of well-crafted skills. These are excuses agents use to skip important steps, paired with rebuttals. They prevent the agent from rationalizing its way out of following the process.
Think of every time an agent has said "I'll add tests later" or "This is simple enough to skip the spec" β those go here with a factual counter-argument.
Red Flags
Observable signs that the skill is being violated. Useful during code review and self-monitoring.
Verification
The exit criteria. A checklist the agent uses to confirm the skill's process is complete. Every checkbox should be verifiable with evidence (test output, build result, screenshot, etc.).
Supporting Files
Create supporting files only when:
- Reference material exceeds 100 lines (keep the main SKILL.md focused)
- Code tools or scripts are needed
- Checklists are long enough to justify separate files
Keep patterns and principles inline when under 50 lines.
If a skill does not need runnable helpers, do not create an empty scripts/ directory just to mirror other skills. Empty directories add noise without changing how the skill works.
Shared References
Checklists used by more than one skill β testing, security, performance, accessibility, definition-of-done β live in references/ at the repository root, deliberately not inside any skill directory.
This is a pack-level design choice. The Agent Skills spec describes a skill as a self-contained directory, but several skills here point at the same checklists. Colocating those would force one of two options: copy the checklist into every skill that uses it, or pick one skill to "own" it and have the others reach into that directory. Both drift over time. A single repo-root copy stays the source of truth.
The tradeoff is portability: a whole-repo install (such as the Claude Code marketplace plugin) carries references/ along, but a per-skill install that copies only skills/<name>/ leaves the repo-root sibling behind, and those links resolve to nothing. That gap is tracked in #361.
Current convention: material used by exactly one skill is a supporting file inside that skill's directory; material shared across skills goes in references/.
Context Efficiency
Skills load on demand: only the skill name and description sit in context at startup. The full SKILL.md loads only when an agent decides the skill is relevant. To keep that load cheap:
- Keep
SKILL.mdunder 500 lines. Move detailed reference material into supporting files. - Write specific descriptions. A precise description helps the agent activate the skill at the right moment and skip it otherwise.
- Use progressive disclosure. Reference supporting files that are read only when the workflow reaches them.
- Prefer scripts over inline code. Executing a script consumes no context; only its output does. Inline code blocks are paid for on every load.
- Keep file references one level deep. Link directly from
SKILL.mdto supporting files rather than chaining through intermediate documents.
Script Requirements
When a skill ships runnable helpers under scripts/, each script follows these conventions:
- Use a
#!/bin/bashshebang. - Use
set -efor fail-fast behavior. - Write status messages to stderr:
echo "Message" >&2. - Write machine-readable output (JSON) to stdout.
- Include a cleanup trap for temporary files.
- Reference the script path as
skills/<skill-name>/scripts/<script>.sh(repo-relative).
Writing Principles
- Process over knowledge. Skills are workflows, not reference docs. Steps, not facts.
- Specific over general. "Run
npm test" beats "verify the tests". - Evidence over assumption. Every verification checkbox requires proof.
- Anti-rationalization. Every skip-worthy step needs a counter-argument in the rationalizations table.
- Progressive disclosure. Main SKILL.md is the entry point. Supporting files are loaded only when needed.
- Token-conscious. Every section must justify its inclusion. If removing it wouldn't change agent behavior, remove it.
Naming Conventions
- Skill directories:
lowercase-hyphen-separated - Skill files:
SKILL.md(always uppercase) - Supporting files:
lowercase-hyphen-separated.md - Shared references: stored in the root
references/directory, not inside skill directories (see Shared References for why). - Skill-specific references: a single supporting doc can stay as a loose file in the skill directory (the
Supporting filesentry above); when several related docs travel with the skill, the emerging convention for self-contained, distributable skills is to group them in areferences/directory inside the skill directory, so the skill carries its own supporting docs.
Cross-Skill References
Reference other skills by name:
Follow the `test-driven-development` skill for writing tests.
If the build breaks, use the `debugging-and-error-recovery` skill.Don't duplicate content between skills β reference and link instead.
Required vs Recommended
Required:
- A
skills/<skill-name>/SKILL.mdfile - Valid YAML frontmatter with
nameanddescription - A description that includes both what the skill does and when to use it
Recommended:
- The standard section flow shown above
- Equivalent headings such as
How It Works,Core Process, orWorkflowwhen they read more naturally for the skill - Supporting files only when they keep the main
SKILL.mdfocused
File: docs/windsurf-setup.md
Using agent-skills with Windsurf
Setup
Project Rules
Windsurf uses .windsurfrules for project-specific agent instructions:
# Create a combined rules file from your most important skills
cat /path/to/agent-skills/skills/test-driven-development/SKILL.md > .windsurfrules
echo "\n---\n" >> .windsurfrules
cat /path/to/agent-skills/skills/incremental-implementation/SKILL.md >> .windsurfrules
echo "\n---\n" >> .windsurfrules
cat /path/to/agent-skills/skills/code-review-and-quality/SKILL.md >> .windsurfrulesGlobal Rules
For skills you want across all projects, add them to Windsurf's global rules:
- Open Windsurf β Settings β AI β Global Rules
- Paste the content of your most-used skills
Recommended Configuration
Keep .windsurfrules focused on 2-3 essential skills to stay within context limits:
# .windsurfrules
# Essential agent-skills for this project
[Paste test-driven-development SKILL.md]
---
[Paste incremental-implementation SKILL.md]
---
[Paste code-review-and-quality SKILL.md]Usage Tips
- Be selective β Windsurf's context is limited. Choose skills that address your biggest quality gaps.
- Reference in conversation β Paste additional skill content into the chat when working on specific phases (e.g., paste
security-and-hardeningwhen building auth). - Use references as checklists β Paste
references/security-checklist.mdand ask Windsurf to verify each item.
2. Official Technical Reference & Guides (addyosmani/docs)
Polymer docs are mostly in Markdown with some HTML. Jekyll is used to generate the static HTML for the site. The output is generated into a folder called _site and served from Google App Engine.
Prereqs and installation requirements
We use Jekyll 1.4.2+ and Grunt to generate the documentation. You'll need to install the requirements before working on the docs (these instructions assume NPM is already installed):
sudo gem install jekyll
sudo gem install kramdown
sudo npm install grunt-cli
npm installYou'll also need the App Engine SDK to run the dev_appserver and preview the docs locally. Download the SDK.
Check out the documentation
Checkout this repo:
git clone https://github.com/Polymer/docs.git --recursiveCreate a directory polymer-all/projects and run the pull-all-projects.sh script in that directory:
cd docs/polymer-all
mkdir projects; cd projects
../tools/bin/pull-all-projects.shThis populates projects with a bunch of repositories. You'll periodically need to re-run pull-all-projects.sh whenever the site is released.
Next, create a components folder in the top level docs directory and run pull-all-polymer.sh and pull-all-elements.sh in it:
cd ../..
mkdir components; cd components
../polymer-all/tools/bin/pull-all-polymer.sh
../polymer-all/tools/bin/pull-all-elements.shNote: these scripts can take some time to download.
You should now be able to build the docs successfully. Run this in the main folder:
grunt docsMaking edits and previewing changes
This repo (Polymer/docs) is where the documentation source files live. To make a change:
- First, up the App Engine dev server in this folder (
dev_appserver.py .) to preview the docs. - Make your edits.
- To build the docs, run
gruntin base of the docs diretory you checked out. This starts up jekyll and watches for changes as you make edits. Be sure to runnpm installin your docs directory if it's a new checkout. It can take some time for the docs to fully regenerate and be copied to the output folder...keep refreshing!
Jekyll generates the static site in a folder named _site. Note: If you're not running jekyll to rebuild the site, you won't see your changes in the dev server.
Once your changes look good, git commit them and push.
Building and pushing the docs
Note: only project owners can publish the documentation.
If you have things checked out correctly in components and polymer-all, you should be able to generate the prodcution documentation using:
grunt docsIt's a good idea to do this before pushing the docs, as it runs a number of grunt tasks. Verify things went well.
Last step is to push the docs to App Engine. In your Polymer/docs directory, run:
./scripts/deploy_site.shThis script builds the site, api docs, runs Vulcanizer over the imports, and deploys to App Engine.
Polymer release
When we push a new version of Polymer, the site should be updated to use it. In addition,
the element reference and other projects will need updating.
First, update the submodules in /docs:
git submodule foreach git pull origin master
git submodule updateUpdate the projects:
cd polymer-all/projects
../tools/bin/pull-all-projects.shThen, update the elements and polyfills:
cd components
../polymer-all/tools/bin/pull-all-polymer.sh
../polymer-all/tools/bin/pull-all-elements.shOnce these are updated, you need to update some versions for the docs:
- Increment the version in
app.yaml; - Update the Polymer release version in
_config.yml. - Add a link point link to the release notes in
changelog.md.
Build the docs:
grunt docsAt this point, run the dev server and preview things locally to make sure nothing is terribly
broken after Polymer and the elements have been updated.
Lastly, run the deploy script:
./scripts/deploy_site.shLast thing is to switch the app version in the App Engine admin console. To make the docs live, hit up https://appengine.google.com/deployment?&app_id=s~polymer-project and select the version you just deployed.