Skip to main content

style-guide

Use when: authoring, modifying, or reviewing Primer React components, hooks, utilities, or component APIs.

Quellinformationen

Repository
primer/react
Letzte Quellaktivität
31. August 2026 um 19:23
Erkannte Sprache von SKILL.md
Englisch
Sterne
3.915
Forks
696

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
2 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
style-guide
description
Use when: authoring, modifying, or reviewing Primer React components, hooks, utilities, or component APIs.
# 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. In addition, there are a set of topics below that may be used for guidance on a specific topic. Consult this to see if any apply to the task at hand. | Topic | Description | Link | | :-------------------- | :------------------------------------------------------------------------ | :------------------------------------------------------- | | Component prop naming | Use when deciding or evaluating the name for a prop in a React component. | [component-prop-naming](./docs/component-prop-naming.md) |
Auf GitHub ansehen