CtrlK
BlogDocsLog inGet started
Tessl Logo

react

github.com/primer/react

SkillAddedReview
a11y-debugging

.agents/skills/a11y-debugging/SKILL.md

Uses Chrome DevTools MCP for accessibility (a11y) debugging and auditing based on web.dev guidelines. Use when testing semantic HTML, ARIA labels, focus states, keyboard navigation, tap targets, and color contrast.

70

agentic-workflows

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

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

54

changesets

.agents/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

chrome-devtools

.agents/skills/chrome-devtools/SKILL.md

Uses Chrome DevTools via MCP for efficient debugging, troubleshooting and browser automation. Use when debugging web pages, automating browser interactions, analyzing performance, or inspecting network requests. This skill does not apply to `--slim` mode (MCP configuration).

70

chrome-devtools-cli

.agents/skills/chrome-devtools-cli/SKILL.md

Use this skill to write shell scripts or run shell commands to automate tasks in the browser or otherwise use Chrome DevTools via CLI.

57

component-testing

.agents/skills/component-testing/SKILL.md

Use when authoring, modifying, reviewing, or debugging Primer React component and hook tests in Vitest browser mode. Do not use for Node/SSR tests, standalone Playwright visual or accessibility tests, or component implementation without test changes.

66

create-adr-migrator

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

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

51

debug-optimize-lcp

.agents/skills/debug-optimize-lcp/SKILL.md

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions "largest contentful paint", "page load speed", "CWV", or wants to improve how fast their hero image or main content renders.

68

deprecations

.agents/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.

71

feature-flags

.agents/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.

70

memory-leak-debugging

.agents/skills/memory-leak-debugging/SKILL.md

Diagnoses and resolves memory leaks in JavaScript/Node.js applications. Use when a user reports high memory usage, OOM errors, or wants to capture, compare, or inspect heap snapshots with Chrome DevTools MCP memory tools.

68

modular-ds-accessibility-contract

.agents/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.

69

modular-ds-base-components

.agents/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.

68

modular-ds-config-components

.agents/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.

72

modular-ds-presentational-components

.agents/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.

64

modular-ds-spectrum-model

.agents/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.

68

modular-ds-utilities

.agents/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

.agents/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.

70

storybook

.agents/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

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

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

59