Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
0c960d6
feat(skills): add constraint-driven-development
addyosmani Aug 8, 2026
7cfb06d
feat(commands): add /constraints across all three command dirs
addyosmani Aug 8, 2026
217feb2
docs: route to constraint-driven-development and refresh skill counts
addyosmani Aug 8, 2026
127bd99
feat(skills): give each dimension a tool, not just a number
addyosmani Aug 8, 2026
dc469a9
docs(shipping): add SLOs and Error Budgets section
HMAKT99 Jul 18, 2026
f0550d8
fix(shipping): trim SLO section to release-gate only; cross-ref obser…
HMAKT99 Jul 21, 2026
cca4df5
fix(shipping): soften observability cross-refs; add to See Also
HMAKT99 Aug 2, 2026
a1c8fa9
docs(context): add Context Budget Management section
HMAKT99 Aug 2, 2026
cd33117
docs(observability): expand runbook guidance in alerting section
HMAKT99 Jul 21, 2026
cf0ba3f
fix(context): address nucliweb review — merge duplicate red flag, wir…
HMAKT99 Aug 5, 2026
8714f2b
fix(observability): address federicobartoli review — nest runbooks as…
HMAKT99 Aug 9, 2026
cc48b69
fix(context): correct lost-in-the-middle mechanism per federicobartol…
HMAKT99 Aug 9, 2026
c59c4b4
fix(validator): allowlisted skills only, not Object.prototype keys
abhisheksharma2411 Aug 21, 2026
5a5ea45
Merge pull request #505 from abhisheksharma2411/fix/skill-lint-frontm…
addyosmani Aug 21, 2026
b61213f
Add pull-request vocabulary to git-workflow-and-versioning description
Aug 23, 2026
75af8bc
docs(opencode): clarify skill installation and AGENTS.md scope
alexsyntonize Aug 25, 2026
7cb7a20
fix(agents): align code-reviewer severity labels with the code-review…
addyosmani Aug 27, 2026
0ce0107
feat(performance): deepen backend and database substance
nucliweb Aug 27, 2026
9f2db93
Merge #516: clarify OpenCode skill installation (#515)
addyosmani Aug 27, 2026
36fc35c
Merge #508: add pull-request vocabulary to git-workflow-and-versioning
addyosmani Aug 27, 2026
bfc9e32
fix(performance): scope low-selectivity caveat, make coalescing snipp…
nucliweb Aug 27, 2026
f63ec56
Merge pull request #521 from nucliweb/feat/perf-backend-database-depth
nucliweb Aug 27, 2026
aca2f9e
docs: add advanced per-agent configuration guide
nucliweb Jun 22, 2026
34da7eb
docs: mark per-agent config as canonical and add thinking_level example
nucliweb Jun 23, 2026
58a37a0
docs: refine per-agent config guide (agent field, spec link, #35)
nucliweb Jul 8, 2026
485cd8e
docs: correct allowed-tools semantics, document disallowed-tools
nucliweb Aug 27, 2026
6a268d7
fix(performance): document the missing guard step
Aug 28, 2026
8300e1b
fix(planning): never overwrite an incomplete plan without asking (#518)
ayobamiseun Aug 28, 2026
4be4bb7
feat(constraints): ship a reference floor-guard, address review feedback
addyosmani Aug 28, 2026
2ce8d47
Merge pull request #472 from addyosmani/feat/constraint-driven-develo…
addyosmani Aug 28, 2026
4db8835
Merge #525: document the Guard step and enforce workflow-step coverage
addyosmani Aug 28, 2026
fac0b18
Merge #526: never overwrite an incomplete plan
addyosmani Aug 28, 2026
d2c37ef
chore(release): bump plugin manifests to 0.6.8
addyosmani Aug 28, 2026
78970d5
fix(commands): mirror incomplete-plan guard across tools
ayobamiseun Aug 29, 2026
cd8922b
docs(antigravity): document the command-wrapper discoverability limit…
ayobamiseun Aug 29, 2026
1458305
docs(security): rate limiting must count in a shared store across ins…
CahidArda Aug 31, 2026
1483fc1
fix(skills): add database-migration and dependency-audit vocabulary t…
notbucki Aug 31, 2026
125b1f8
docs: add a rejected skill-change ledger
mvanhorn Sep 2, 2026
2f036a0
Merge #537: add database-migration and dependency vocabulary
addyosmani Sep 3, 2026
b2ad72d
Merge #544: add a rejected skill-change ledger (#535)
addyosmani Sep 3, 2026
632aa0b
Merge #532: document the Antigravity command-wrapper difference
addyosmani Sep 3, 2026
020ec10
Merge #536: rate limiting must count in a shared store
addyosmani Sep 3, 2026
1c760d6
Merge pull request #316 from nucliweb/docs/advanced-per-agent-configu…
federicobartoli Sep 4, 2026
6a9f2eb
docs(observability): name the entry point when several write to one log
notbucki Sep 4, 2026
45fd4a0
docs(security): destructive path targets need an allowlist, a depth f…
notbucki Sep 4, 2026
878d5d4
docs: explain lifecycle session handoffs (#513)
DEOWL-kan Sep 5, 2026
f7fe1a4
docs(copilot): clarify CLI installation and VS Code commands
DEOWL-kan Sep 5, 2026
8c8cfd1
Merge #546: name the entry point when several write to one log
addyosmani Sep 5, 2026
85ea8fb
Merge #547: destructive path operations need an allowlisted root
addyosmani Sep 5, 2026
4d10bcb
Merge #549: explain lifecycle session handoffs (#513)
addyosmani Sep 5, 2026
858c1ae
Merge #550: clarify Copilot CLI vs VS Code installation
addyosmani Sep 5, 2026
84ee506
chore(release): bump plugin manifests to 0.6.9
addyosmani Sep 5, 2026
469d00f
Merge pull request #415 from HMAKT99/feat/slo-error-budgets
federicobartoli Sep 5, 2026
48cb116
Merge #447: add Context Budget Management to context-engineering
addyosmani Sep 6, 2026
cda4542
fix(skills): close description-vocabulary gaps, raise rank-1 floor to 95
ayobamiseun Jul 30, 2026
38e2a4a
Merge pull request #434 from ayobamiseun/fix/rank1-description-vocab
federicobartoli Sep 8, 2026
fe6f081
Merge pull request #422 from HMAKT99/feat/runbooks-observability
federicobartoli Sep 8, 2026
6ca0cd7
Merge pull request #531 from ayobamiseun/fix/518-plan-clobber-guard
federicobartoli Sep 8, 2026
3289750
Merge remote-tracking branch 'origin/main' into chore/sync-upstream-3
aleksaToljic Sep 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .agents/plugins/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"plugins": [
{
"name": "agent-skills",
"version": "0.6.7",
"version": "0.6.9",
"description": "Production-grade engineering skills covering every phase of software development: spec, plan, build, verify, review, and ship.",
"source": {
"source": "local",
Expand Down
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"plugins": [
{
"name": "highway-skills",
"version": "0.6.7",
"version": "0.6.9",
"source": {
"source": "github",
"repo": "Project-Highway/agent-skills"
Expand Down
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "highway-skills",
"version": "0.6.7",
"version": "0.6.9",
"description": "Production-grade engineering skills for AI coding agents — covering the full software development lifecycle from spec to ship.",
"author": {
"name": "Addy Osmani"
Expand Down
32 changes: 32 additions & 0 deletions .claude/commands/constraints.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
description: Define and enforce this project's quality bar — interview, sane defaults, CONSTRAINTS.md
---

Invoke the agent-skills:constraint-driven-development skill.

$ARGUMENTS

Default behaviour with no arguments: set up constraints for this repository.

1. **Detect first.** Read package.json / pyproject.toml / go.mod, the test runner, existing lint configs, current coverage output, CI workflows, and the agent harness in use. Report what you found in two lines. Never ask for anything you can read.

2. **Interview, at most four questions.** One at a time, each with your best guess and a usable default so "I don't know" still produces a working config:
- Which dimensions beyond the floor (coverage, security, performance, accessibility, architecture)
- Block or warn when a check fails mid-task
- Target numbers, or measure today's values and hold them
- Slowest check tolerated before handing work back

3. **Write CONSTRAINTS.md** at the repo root with a Floor section, enforced numbers, measured-only metrics with today's values, and an exceptions table with owners and expiry dates. Every number needs a stated reason.

4. **Install what each picked dimension needs.** A dimension with a number and no tool behind it is an aspiration. Use the de facto tool so existing config keeps working: Semgrep for code scanning, gitleaks (always `--redact`) for secrets, osv-scanner for dependencies, axe-core for accessibility, Lighthouse for web vitals, size-limit for bundles, dependency-cruiser for boundaries, Stryker for assertion quality. Record the exact command next to each rule in CONSTRAINTS.md. Accessibility and performance need a running URL; if the project has none, say so and drop the dimension rather than inventing a check. Add the commands to package.json as check:fast / check:task / check:full.

5. **Place each check by cost.** Types, lint and secrets in the edit loop (seconds). Related tests and changed-line coverage at task end (under 90s). Everything else at review or in CI. Scope checks to the diff, not the whole repo.

6. **Point the agent at it.** Add a line to CLAUDE.md telling agents to read CONSTRAINTS.md and never weaken it to make a change pass.

7. **Verify.** Run the constraints against the current branch. If anything fails that the user disagrees with, fix the constraint now rather than leaving a gate people will learn to ignore.

Sub-commands:
- `/constraints check` — run the current constraints against this branch and report
- `/constraints guard` — inspect the diff for a weakened bar: lowered thresholds, skipped or deleted tests, new suppression comments, unfinished stubs, new exceptions
- `/constraints ratchet` — record today's measured values as the floor that must not fall
2 changes: 2 additions & 0 deletions .claude/commands/plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ Read the existing spec (SPEC.md or equivalent) and the relevant codebase section
6. Present the plan for human review

Save the plan to tasks/plan.md and task list to tasks/todo.md.

If tasks/plan.md or tasks/todo.md already exists with unchecked tasks for different work, stop and ask before writing — never silently overwrite an incomplete plan.
2 changes: 1 addition & 1 deletion .codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "agent-skills",
"version": "0.6.7",
"version": "0.6.9",
"description": "Production-grade engineering skills for AI coding agents covering the full software development lifecycle from spec to ship.",
"author": {
"name": "Addy Osmani",
Expand Down
32 changes: 32 additions & 0 deletions .gemini/commands/constraints.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
description = "Define and enforce this project's quality bar — interview, sane defaults, CONSTRAINTS.md"

prompt = """
Invoke the constraint-driven-development skill.

$ARGUMENTS

Default behaviour with no arguments: set up constraints for this repository.

1. **Detect first.** Read package.json / pyproject.toml / go.mod, the test runner, existing lint configs, current coverage output, CI workflows, and the agent harness in use. Report what you found in two lines. Never ask for anything you can read.

2. **Interview, at most four questions.** One at a time, each with your best guess and a usable default so "I don't know" still produces a working config:
- Which dimensions beyond the floor (coverage, security, performance, accessibility, architecture)
- Block or warn when a check fails mid-task
- Target numbers, or measure today's values and hold them
- Slowest check tolerated before handing work back

3. **Write CONSTRAINTS.md** at the repo root with a Floor section, enforced numbers, measured-only metrics with today's values, and an exceptions table with owners and expiry dates. Every number needs a stated reason.

4. **Install what each picked dimension needs.** A dimension with a number and no tool behind it is an aspiration. Use the de facto tool so existing config keeps working: Semgrep for code scanning, gitleaks (always `--redact`) for secrets, osv-scanner for dependencies, axe-core for accessibility, Lighthouse for web vitals, size-limit for bundles, dependency-cruiser for boundaries, Stryker for assertion quality. Record the exact command next to each rule in CONSTRAINTS.md. Accessibility and performance need a running URL; if the project has none, say so and drop the dimension rather than inventing a check. Add the commands to package.json as check:fast / check:task / check:full.

5. **Place each check by cost.** Types, lint and secrets in the edit loop (seconds). Related tests and changed-line coverage at task end (under 90s). Everything else at review or in CI. Scope checks to the diff, not the whole repo.

6. **Point the agent at it.** Add a line to AGENTS.md and GEMINI.md telling agents to read CONSTRAINTS.md and never weaken it to make a change pass.

7. **Verify.** Run the constraints against the current branch. If anything fails that the user disagrees with, fix the constraint now rather than leaving a gate people will learn to ignore.

Sub-commands:
- `/constraints check` — run the current constraints against this branch and report
- `/constraints guard` — inspect the diff for a weakened bar: lowered thresholds, skipped or deleted tests, new suppression comments, unfinished stubs, new exceptions
- `/constraints ratchet` — record today's measured values as the floor that must not fall
"""
4 changes: 3 additions & 1 deletion .gemini/commands/planning.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ Read the existing spec (SPEC.md or equivalent) and the relevant codebase section
6. Present the plan for human review

Save the plan to tasks/plan.md and task list to tasks/todo.md.
"""

If tasks/plan.md or tasks/todo.md already exists with unchecked tasks for different work, stop and ask before writing — never silently overwrite an incomplete plan.
"""
2 changes: 1 addition & 1 deletion .github/workflows/test-plugin-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: node --test scripts/run-evals-test.js

- name: Run skill evals (trigger + routing)
run: node scripts/run-evals.js --min-rank1 80
run: node scripts/run-evals.js --min-rank1 95

- name: Validate references/ links in skills
run: node scripts/validate-reference-links.js
Expand Down
9 changes: 7 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ This pack already covers most of the development lifecycle, and many proposals o

1. **Search the catalog.** Browse [the skill list in the README](README.md) and skim `skills/` for an existing skill that covers your idea, whole or in part.
2. **Check open PRs.** Run `gh pr list --state open` (or browse the PRs tab) and look for proposals on the same topic. Clusters of near-duplicate skills already exist; don't add to them.
3. **Read the anatomy.** Confirm your idea fits the format in [docs/skill-anatomy.md](docs/skill-anatomy.md), an actionable workflow with verification, not vague advice.
4. **Justify the gap in your PR description.** State explicitly why this isn't covered by an existing skill or open PR. If it overlaps, propose extending the existing skill instead of adding a new one.
3. **Check rejected proposals.** Search the [skill-change rejection ledger](evals/skill-impact.md) for earlier proposals that overlap with your idea and review their eval evidence before repeating the work.
4. **Read the anatomy.** Confirm your idea fits the format in [docs/skill-anatomy.md](docs/skill-anatomy.md), an actionable workflow with verification, not vague advice.
5. **Justify the gap in your PR description.** State explicitly why this isn't covered by an existing skill, open PR, or previously rejected proposal. If it overlaps, propose extending the existing skill instead of adding a new one.

If your idea is a refinement of an existing skill, prefer a focused edit to that skill over a new directory.

Expand Down Expand Up @@ -62,10 +63,14 @@ The frontmatter fields above are required. The section anatomy is a recommended

## Modifying Existing Skills

Before proposing a change, search the [skill-change rejection ledger](evals/skill-impact.md) for previous attempts affecting the same skill and review their eval evidence.

- Keep changes focused and minimal
- Preserve the existing structure and tone
- Test that YAML frontmatter remains valid after edits

If a skill or description change is rejected based on eval results, add one row to the ledger with the date, affected skill, concise attempted change, before-to-after rank-1 score, and rejected PR link and outcome. Land that ledger-only update separately on the default branch; do not leave it only on the rejected proposal branch, where closing or force-pushing the proposal could discard the record.

## Repo-scoped files

`AGENTS.md` and `CLAUDE.md` at the repo root configure agents working on the [`addyosmani/agent-skills`](https://github.com/addyosmani/agent-skills) repository itself. When writing setup guides or docs, do not instruct users to copy these files into their own projects or into a global agent configuration; the reusable assets are the skills in `skills/`.
Expand Down
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@ Skills encode the workflows, quality gates, and best practices that senior engin

## Commands

8 slash commands that map to the development lifecycle. Each one activates the right skills automatically.
9 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 |
| Set the quality bar | `/constraints` | Decide it once, enforce it everywhere |
| Review before merge | `/review` | Improve code health |
| Audit web performance | `/webperf` | Measure before you optimize |
| Simplify the code | `/code-simplify` | Clarity over cleverness |
Expand All @@ -45,7 +46,7 @@ Skills also activate automatically based on what you're doing — designing an A
**Fastest path — any agent, one command.** The open [skills CLI](https://github.com/vercel-labs/skills) installs into 70+ agents (Claude Code, Cursor, Codex, Copilot, Cline, and more):

```bash
npx skills add addyosmani/agent-skills # install all 24 skills
npx skills add addyosmani/agent-skills # install all 25 skills
npx skills add addyosmani/agent-skills --list # browse before installing
```

Expand Down Expand Up @@ -106,7 +107,7 @@ Put workflow skills under `.cursor/skills/` (sync from `agent-skills/skills/`) a
<details>
<summary><b>Antigravity CLI</b></summary>

Install as a native plugin for skills, subagents, and slash commands. See [docs/antigravity-setup.md](docs/antigravity-setup.md).
Install as a native plugin for skills and subagents. In affected Antigravity CLI releases, legacy command TOMLs are reported as converted but their wrapper commands are not discoverable; invoke the underlying namespaced skills directly. See [docs/antigravity-setup.md](docs/antigravity-setup.md#lifecycle-workflows-and-command-compatibility).

**Install from the repo:**

Expand Down Expand Up @@ -152,7 +153,7 @@ Add skill contents to your Windsurf rules configuration. See [docs/windsurf-setu
<details>
<summary><b>OpenCode</b></summary>

Uses agent-driven skill execution via AGENTS.md and the `skill` tool.
Copy skills to `.opencode/skills/` (or `~/.config/opencode/skills/`), add a project-local `AGENTS.md`, and use the built-in `skill` tool for agent-driven execution. Optional slash commands can be added under `.opencode/commands/`.

See [docs/opencode-setup.md](docs/opencode-setup.md).

Expand All @@ -163,6 +164,8 @@ See [docs/opencode-setup.md](docs/opencode-setup.md).

Use agent definitions from `agents/` as Copilot personas and skill content in `.github/copilot-instructions.md`. See [docs/copilot-setup.md](docs/copilot-setup.md).

Using the standalone `copilot` CLI? Install it as a plugin — see [docs/copilot-cli-setup.md](docs/copilot-cli-setup.md).

</details>

<details>
Expand Down Expand Up @@ -218,7 +221,7 @@ Already installed? How you roll the pack out depends on your codebase. The **[Ad

## 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.
The commands above are entry points. The pack includes 25 skills total — 24 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

Expand All @@ -233,6 +236,7 @@ The commands above are entry points. The pack includes 24 skills total — 23 li
| [interview-me](skills/interview-me/SKILL.md) | 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](skills/idea-refine/SKILL.md) | Structured divergent/convergent thinking to turn vague ideas into concrete proposals | You have a rough concept that needs exploration |
| [spec-driven-development](skills/spec-driven-development/SKILL.md) | Write a PRD covering objectives, commands, structure, code style, testing, and boundaries before any code | Starting a new project, feature, or significant change |
| [constraint-driven-development](skills/constraint-driven-development/SKILL.md) | Interviews you for a quality bar with sane default thresholds, writes CONSTRAINTS.md, places each check by cost, and catches agents silencing checks or skipping tests to get green | No standards are written down, or an agent is producing more than anyone reads |

### Plan - Break it down

Expand Down Expand Up @@ -349,10 +353,11 @@ Every skill follows a consistent anatomy:

```
agent-skills/
├── skills/ # 24 skills (23 lifecycle + 1 meta)
├── skills/ # 25 skills (24 lifecycle + 1 meta)
│ ├── interview-me/ # Define
│ ├── idea-refine/ # Define
│ ├── spec-driven-development/ # Define
│ ├── constraint-driven-development/ # Define
│ ├── planning-and-task-breakdown/ # Plan
│ ├── incremental-implementation/ # Build
│ ├── context-engineering/ # Build
Expand Down
19 changes: 12 additions & 7 deletions agents/code-reviewer.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@ Evaluate every change across these five dimensions:

## Output Format

Categorize every finding:
Categorize every finding, using the same severity labels as the `code-review-and-quality` skill:

**Critical** — Must fix before merge (security vulnerability, data loss risk, broken functionality)
**Critical** — Blocks merge (security vulnerability, data loss risk, broken functionality)

**Important** — Should fix before merge (missing test, wrong abstraction, poor error handling)
**Required** — Must address before merge (missing test, wrong abstraction, poor error handling)

**Suggestion** — Consider for improvement (naming, code style, optional optimization)
**Optional** — Worth considering but not required (a simpler design, a useful refactor)

**Nit** — Minor and optional; the author may ignore (formatting, naming, style preferences)

## Review Output Template

Expand All @@ -66,10 +68,13 @@ Categorize every finding:
### Critical Issues
- [File:line] [Description and recommended fix]

### Important Issues
### Required Changes
- [File:line] [Description and recommended fix]

### Suggestions
### Optional
- [File:line] [Description]

### Nits
- [File:line] [Description]

### What's Done Well
Expand All @@ -85,7 +90,7 @@ Categorize every finding:

1. Review the tests first — they reveal intent and coverage
2. Read the spec or task description before reviewing code
3. Every Critical and Important finding should include a specific fix recommendation
3. Every Critical and Required finding should include a specific fix recommendation
4. Don't approve code with Critical issues
5. Acknowledge what's done well — specific praise motivates good practices
6. If you're uncertain about something, say so and suggest investigation rather than guessing
Expand Down
Loading