# Style Guide

> Style Guide is an Agent Skill for development published in the primer/react repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Use when: authoring, modifying, or reviewing Primer React components, hooks, utilities, or component APIs. Covers applying contributor-docs/style.md, including the spectrum of abstraction, presentational components, behavior hooks, config components, accessibility primitives, props, hooks, SSR, and CSS conventions.

- Skill name: `style-guide`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/primer/react/blob/HEAD/.github/skills/style-guide/SKILL.md
- Repository: primer/react (3,879 GitHub stars when collected)

## SKILL.md

# Primer React Style Guide

Use this skill when creating, modifying, or reviewing Primer React components,
hooks, utilities, or component APIs.

Before authoring component code, read `contributor-docs/style.md` and apply the
guidelines that are relevant to the change. The style guide is the source of
truth for component API design and implementation conventions in this
repository.

When proposing, implementing, or reviewing a component change, explicitly apply
the relevant style-guide principles to the design. If a change intentionally
deviates from the style guide, call out the reason.

---

Source: https://www.openparable.com/skill/development/style-guide (OpenParable). Cite the canonical URL above.
