Skill 与 AgentSKILLS & AGENTS
primer/react
GitHub设计系统的React实现,帮开发者快速搭建符合GitHub风格的界面。Primer React lets React developers build interfaces that match GitHub's design language using official, reusable components.
根据公开文档整理,未运行实测;费用以项目官网为准。Based on public documentation, without runtime testing. Check the project site for pricing.
能力CAPABILITIES
安装GitHub风格的React组件
查阅组件文档和示例
快速搭建原型页面
参与组件库的改进
提交新组件提案
Build buttons, forms, navigation, and other standard UI components
Use GitHub's official design tokens and styling conventions
Rely on accessible components tested across GitHub products
Install via npm or yarn directly from the registry
Contribute to the library through GitHub issues and pull requests
上手GET STARTED
npm install @primer/react选择与你的环境对应的方式。命令来自项目文档,未运行实测。Choose the option for your environment. Commands come from project documentation and have not been run-tested.
使用限制LIMITATIONS
以下要求与风险来自文档静态检查,未执行项目代码;扫描没有命中,不代表使用安全。Risk here is evidence, not an alarm. These findings come from static scanning of the docs; we never execute a project’s code.
限制LIMITS
需检查Needs review
静态扫描STATIC SCAN
01控制浏览器Controls a browser.agents/skills/component-testing/SKILL.md
environment setup, and commands. Keep Node/SSR tests and the separate Playwright
02读取 API KeyReads an API key.agents/skills/feature-flags/SKILL.md
To enable a flag globally via environment, add its exact flag name (for example, `primer_react_my_feature`) to the `featureFlagEnvList` set
03读取 API KeyReads an API key.agents/skills/turborepo/SKILL.md
Turbo does NOT load `.env` files - your framework does. But Turbo needs to know about changes:
静态扫描发现中等风险,涉及读取 API Key(环境变量中的 feature flag 列表和 Turbo 构建工具对 .env 文件的处理),需注意环境变量管理。The static scan found two medium-severity items related to reading API keys—one about environment flag configuration and another about Turbo's handling of .env files. Both are part of normal development tooling, not a direct vulnerability in the library itself, but you should review how your project manages environment variables.
项目动态PROJECT ACTIVITY
首次发现FIRST SEEN
03 OCT 202603 OCT 2026
增长GROWTH
+0.8%+0.8%
3.9k → 3.9k stars · 50 个快照3.9k → 3.9k stars · 50 snapshots
讨论DISCUSSION
1 SOURCES1 SOURCES
6 条外部提及6 external mentions
状态STATUS
持续活跃Active
质量 AQuality A
项目已有3910颗星,社区认可度高。3910 stars and 689 forks show strong community adoption
HN_STORY · 2 points · 0 comments
HN_STORY · 128 points · 67 comments
HN_STORY · 2 points · 0 comments
{
"agents": [
{
"agent": "vscode",
"evidence": ".agents/skills/storybook/SKILL.md: …ybook` MCP is configured in `.vscode/mcp.json` as an HTTP server a…"
}
],
"apiKey": "```json // If CI scripts need GITHUB_TOKEN but it's not in env: { \"globalPassThr",
"docker": null,
"taxonomy": {
"scores": {
"design": 6,
"ai-tools": 0,
"dev-tools": 1,
"indie-web": 0,
"skill-agent": 0,
"productivity": 0
},
"primary": "skill-agent",
"secondary": null
},
"localRuntime": null,
"skillMdTotal": 24,
"skillMdErrors": [],
"treeTruncated": false,
"categoryScores": {
"data": 0,
"agent": 0,
"media": 0,
"design": 6,
"browser": 0,
"devtool": 1,
"security": 0,
"marketing": 0,
"productivity": 0
},
"classification": [
{
"signal": "24 SKILL.md with name + description",
"weight": 0.95
},
{
"signal": ".mcp.json (configures servers it uses)",
"weight": 0.3
}
],
"scannedSources": [
"readme",
".agents/skills/a11y-debugging/SKILL.md",
".agents/skills/agentic-workflows/SKILL.md",
".agents/skills/changesets/SKILL.md",
".agents/skills/chrome-devtools-cli/SKILL.md",
".agents/skills/chrome-devtools/SKILL.md",
".agents/skills/component-testing/SKILL.md",
".agents/skills/create-adr-migrator/SKILL.md",
".agents/skills/debug-optimize-lcp/SKILL.md",
".agents/skills/deprecations/SKILL.md",
".agents/skills/feature-flags/SKILL.md",
".agents/skills/memory-leak-debugging/SKILL.md",
".agents/skills/modular-ds-accessibility-contract/SKILL.md",
".agents/skills/modular-ds-base-components/SKILL.md",
".agents/skills/modular-ds-config-components/SKILL.md",
".agents/skills/modular-ds-presentational-components/SKILL.md",
".agents/skills/modular-ds-spectrum-model/SKILL.md",
".agents/skills/modular-ds-utilities/SKILL.md",
".agents/skills/performance/SKILL.md",
".agents/skills/pull-request-description/SKILL.md",
".agents/skills/skill/SKILL.md",
".agents/skills/slots/SKILL.md",
".agents/skills/storybook/SKILL.md",
".agents/skills/style-guide/SKILL.md",
".agents/skills/turborepo/SKILL.md"
],
"skillMdFetched": 24
}