Skip to main content

style-guide

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

ソース情報

リポジトリ
primer/react
ソースの最終更新活動
2026年8月31日 19:23
検出された SKILL.md の言語
英語
スター
3,915
フォーク
696

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

ファイルエクスプローラー
2 ファイル

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
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) |
GitHubで見る