api-and-interface-desi…
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating…
Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch.
Claude Code
$ npx -y skills add kevinnft/ai-agent-skills --skill code-review-and-quality --agent claude-code
Codex
$ npx skills add kevinnft/ai-agent-skills --skill code-review-and-quality -a codex -y
Cursor
$ npx skills add kevinnft/ai-agent-skills --skill code-review-and-quality -a cursor -y
Gemini CLI
$ npx skills add kevinnft/ai-agent-skills --skill code-review-and-quality -a gemini-cli -y
GitHub Copilot
$ npx skills add kevinnft/ai-agent-skills --skill code-review-and-quality -a github-copilot -y
OpenCode
$ npx skills add kevinnft/ai-agent-skills --skill code-review-and-quality -a opencode -y
Windsurf
$ npx skills add kevinnft/ai-agent-skills --skill code-review-and-quality -a windsurf -y
name: code-review-and-quality description: Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch. source_repo: "addyosmani/agent-skills" source_url: "https://github.com/addyosmani/agent-skills" source_license: "MIT" origin: aggregated language: en
Multi-dimensional code review with quality gates. Every change gets reviewed before merge — no exceptions. Review covers five axes: correctness, readability, architecture, security, and performance.
**The approval standard:** Approve a change when it definitely improves overall code health, even if it isn't perfect. Perfect code doesn't exist — the goal is continuous improvement. Don't block a change because it isn't exactly how you would have written it. If it improves the codebase and follows the project's conventions, approve it.
Every review evaluates code across these dimensions:
Does the code do what it claims to do?
Can another engineer (or agent) understand this code without the author explaining it?
Does the change fit the system's design?
For detailed security guidance, see `security-and-hardening`. Does the change introduce vulnerabilities?
For detailed profiling and optimization, see `performance-optimization`. Does the change introduce performance problems?
Small, focused changes are easier to review, faster to merge, and safer to deploy. Target these sizes:
~100 lines changed → Good. Reviewable in one sitting. ~300 lines changed → Acceptable if it's a single logical change. ~1000 lines changed → Too large. Split it.
**What counts as "one change":** A single self-contained modification that addresses one thing, includes related tests, and keeps the system functional after submission. One part of a feature — not the whole feature.
**Splitting strategies when a change is too large:**
| Strategy | How | When | |----------|-----|------| | **Stack** | Submit a small change, start the next one based on it | Sequential dependencies | | **By file group** | Separate changes for groups needing different reviewers | Cross-cutting concerns | | **Horizontal** | Create shared code/stubs first, then consumers | Layered architecture | | **Vertical** | Break into smaller full-stack slices of the feature | Feature work |
**When large changes are acceptable:** Complete file deletions and automated refactoring where the reviewer only needs to verify intent, not every line.
**Separate refactoring from feature work.** A change that refactors existing code and adds new behavior is two changes — submit them separately. Small cleanups (variable renaming) can be included at reviewer discretion.
Every change needs a description that stands alone in version control history.
**First line:** Short, imperative, standalone. "Delete the FizzBuzz RPC" not "Deleting the FizzBuzz RPC." Must be informative enough that someone searching history can understand the change without reading the diff.
**Body:** What is changing and why. Include context, decisions, and reasoning not visible in the code itself. Link to bug numbers, benchmark results, or design docs where relevant. Acknowledge approach shortcomings when they exist.
**Anti-patterns:** "Fix bug," "Fix build," "Add patch," "Moving code from
191 attribution-first agent skills for Hermes Agent, Claude Code, Cursor — one installer, 28 categories, searchable catalog. See NOTICE for upstream attribution.
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating…
Tests in real browsers. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM,…
Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate…
Simplifies code for clarity. Use when refactoring code for clarity without changing behavior. Use when code works but is harder…
Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks,…
Guides systematic root-cause debugging. Use when tests fail, builds break, behavior doesn't match expectations, or you encounter…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.