CtrlK
BlogDocsLog inGet started
Tessl Logo

react

github.com/primer/react

SkillAddedReview
agentic-workflows

.github/skills/agentic-workflows/SKILL.md

Route gh-aw workflow design/create/debug/upgrade requests to the right prompts.

58

changesets

.github/skills/changesets/SKILL.md

Use when: adding changesets to pull requests, determining semver bump types, versioning packages, or preparing releases. Covers changeset file format, semver guidance, when changesets are required, and the release pipeline.

72

create-adr-migrator

.github/skills/create-adr-migrator/SKILL.md

Use when planning an ADR-driven migration from adoption tooling through stacked batch implementation and cleanup.

56

deprecations

.github/skills/deprecations/SKILL.md

Use when: deprecating Primer React components or hooks. Covers source annotations, docs metadata, changesets, docs page updates, and validation for deprecations.

70

feature-flags

.github/skills/feature-flags/SKILL.md

Use when: implementing, creating, testing, or debugging feature flags in Primer React. Covers useFeatureFlag hook, FeatureFlags provider, DefaultFeatureFlags, FeatureFlagScope, Storybook integration, and the feature flag lifecycle at GitHub.

72

modular-ds-accessibility-contract

.github/skills/modular-ds-accessibility-contract/SKILL.md

Use when: determining which Primer React API type (config, presentational, base, or utility) should own a specific accessibility responsibility, or documenting that ownership for a new component. Covers a responsibility matrix mapping ARIA requirements to API types, worked examples for Dialog and Tabs, and how to build a matrix for a new ARIA pattern.

65

modular-ds-base-components

.github/skills/modular-ds-base-components/SKILL.md

Use when: building or evaluating unstyled Primer React primitives, especially accessibility primitives or low-level behavior that other components should build on. Covers when to create a base component instead of baking behavior into a styled component, the unstyled CSS-reset convention, deciding which parts need a base equivalent, and consolidating ARIA Authoring Practices Guide patterns.

65

modular-ds-config-components

.github/skills/modular-ds-config-components/SKILL.md

Use when: building or evaluating a props-based, "all-in-one" Primer React component for an established, stable pattern. Covers when config components are appropriate, opinionated defaults, the props-driven customization surface, escape hatches to presentational components, and composing rather than duplicating behavior.

67

modular-ds-presentational-components

.github/skills/modular-ds-presentational-components/SKILL.md

Use when: building or evaluating flexible, composable Primer React parts that consumers assemble directly, or deciding whether a pattern is ready to become a config component. Covers structure-first composition, pairing presentational components with behavior hooks, data-component attributes, sub-component export conventions, and when to promote a pattern up the spectrum.

65

modular-ds-spectrum-model

.github/skills/modular-ds-spectrum-model/SKILL.md

Use when: deciding how to structure a new Primer React component, evaluating whether an existing component's API is at the right level of abstraction, or orienting on the modular design system approach before using a more specific modular-ds-* skill. Covers how the four API types (config, presentational, base, utilities) relate and compose, and how to decide which ones a component needs. The model itself is defined in contributor-docs/style.md.

65

modular-ds-utilities

.github/skills/modular-ds-utilities/SKILL.md

Use when: extracting, reusing, or naming hooks, state management, or other component-agnostic behavior in Primer React, or when a component's behavior hook wraps a native element with built-in behavior such as `<dialog>`. Covers the compound behavior-hook pattern (prop-getters), the controlled component contract for wrapping native elements, the difference between a component's own hook and a generic reusable utility, naming conventions, and where utilities live in the package.

72

slots

.github/skills/slots/SKILL.md

Use when: building, modifying, or wrapping compound components that use child-component "slots" in Primer React. Covers when to add a `__SLOT__` marker, the `useSlots` hook, the `isSlot` helper, the `asSlot` wrapper helper, naming conventions for slot symbols, and common pitfalls.

72

storybook

.github/skills/storybook/SKILL.md

Use when: starting, checking, or using the Storybook dev server; looking up Primer React component stories, props, or documentation; previewing component variants; writing or verifying Storybook stories; using the primer-storybook MCP to explore components. Covers starting Storybook, checking if it is running, and using MCP tools (list-all-documentation, get-documentation, get-storybook-story-instructions, preview-stories) to look up components.

73

style-guide

.github/skills/style-guide/SKILL.md

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

64

turborepo

.github/skills/turborepo/SKILL.md

Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment variables, internal packages, monorepo structure/best practices, and boundaries. Use when user: configures tasks/workflows/pipelines, creates packages, sets up monorepo, shares code between apps, runs changed/affected packages, debugs cache, or has apps/packages directories.

72