primer-design
Skill1 starsChanged 4 months agoMITView on GitHub
Design no padrão GitHub Primer: interface para desenvolvedores, escala de cinzas precisa, azul de acento #0969DA, tipografia system + mono, densidade de código, Octicons e acessibilidade. Use quando o usuário mencionar: "Primer", "GitHub", "estilo GitHub", "UI de ferramenta dev", "code review UI", "repositório", "dev tool", "design GitHub". Consulta ../_shared/design-resources.md.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- patoangolano/bio-stacktheir own version, first seen Oct 15, 2026
- TbusOS/sky-skillstheir own version, first seen Oct 11, 2026
- TbusOS/proofmarktheir own version, first seen Sep 4, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- TbusOS/sky-skills★ 3same name
- patoangolano/bio-stack★ 0same name
- TbusOS/proofmark★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository70 other files it gives its agents.
- agent-creationSkill
- handoffSkill
- task-distributorSkill
- task-plannerSkill
- accessibilitySkill
- airbnb-designSkill
- airtable-designSkill
- atlassian-designSkill
- carbon-designSkill
- cloudscape-designSkill
- coinbase-designSkill
- discord-designSkill
- duolingo-designSkill
- figma-designSkill
- fluent-designSkill
- linear-designSkill
- material-designSkill
- meta-designSkill
- netflix-designSkill
- notion-designSkill
- nubank-designSkill
- one-ui-designSkill
- pinterest-designSkill
- polaris-designSkill
- premium-web-designSkill
- reddit-designSkill
- revolut-designSkill
- robinhood-designSkill
- salesforce-lightning-designSkill
- slack-designSkill
- spectrum-designSkill
- spotify-designSkill
- stripe-designSkill
- tiktok-designSkill
- twitch-designSkill
- uber-base-designSkill
- vercel-geist-designSkill
- visionos-designSkill
- whatsapp-designSkill
- economicsSkill
- legal-basicsSkill
- negotiationSkill
- politicalSkill
- api-designSkill
- architectureSkill
- caching-strategiesSkill
- ci-cdSkill
- database-designSkill
- event-drivenSkill
- observabilitySkill
- payment-systemsSkill
- performanceSkill
- qaSkill
- refactoringSkill
- securitySkill
- system-designSkill
- testingSkill
- clone-websiteSkill
- graphifySkill
- remotionSkill
- The first 60 shown.
The file
Files
GitHub Primer
Você atua como designer que domina o Primer — o design system do GitHub. É funcional, denso e feito para devs: cinzas calibrados, azul discreto, tipografia de sistema e mono, tudo servindo à leitura de código e colaboração.
Princípios
- Feito para devs — densidade de informação alta (diffs, listas de issues, árvores de arquivo) com legibilidade impecável.
- Neutro + azul de ação — base cinza-clara;
#0969DApara links e ação primária; verde para merge/sucesso, vermelho para destrutivo. - Mono onde há código — números, hashes, código em fonte monoespaçada; texto em system font.
- Tokens e temas — Primer Primitives definem cor/espaço/tipografia; múltiplos temas (light, dark, dark dimmed, high contrast).
Design tokens (Primer)
:root { /* Light */
--fgColor-default: #1f2328;
--fgColor-muted: #59636e;
--bgColor-default: #ffffff;
--bgColor-muted: #f6f8fa; /* canvas subtle */
--borderColor-default: #d1d9e0;
--fgColor-accent: #0969da; /* links */
--bgColor-accent-emphasis: #0969da;
--bgColor-success-emphasis: #1a7f37; /* botão verde de merge */
--bgColor-danger-emphasis: #cf222e;
--radius: 6px;
}
:root[data-theme="dark"] {
--fgColor-default: #e6edf3;
--fgColor-muted: #8b949e;
--bgColor-default: #0d1117;
--bgColor-muted: #151b23;
--borderColor-default: #3d444d;
--fgColor-accent: #4493f8;
--bgColor-accent-emphasis: #1f6feb;
}Tipografia (system + mono)
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
--fontStack-monospace: ui-monospace, 'SFMono-Regular', 'SF Mono', Menlo, Consolas, monospace;
--text-title-large: 600 32px/1.25;
--text-title-medium: 600 20px/1.3;
--text-body: 400 14px/1.5; /* padrão */
--text-small: 400 12px/1.4;Componentes-chave
.prc-btn-primary { /* botão verde de ação (ex: merge) */
background: var(--bgColor-success-emphasis); color: #fff; border: 1px solid rgba(31,35,40,.15);
border-radius: var(--radius); padding: 5px 16px; font: 500 14px/20px inherit; transition: background .1s;
}
.prc-btn { /* botão padrão */
background: var(--bgColor-muted); color: var(--fgColor-default);
border: 1px solid var(--borderColor-default); border-radius: var(--radius); padding: 5px 16px; font-weight: 500;
}
.prc-btn:hover { background: #eff2f5; }
.prc-btn-danger { background: var(--bgColor-default); color: var(--bgColor-danger-emphasis);
border: 1px solid var(--borderColor-default); border-radius: var(--radius); padding: 5px 16px; }
.prc-label { /* label de issue/PR (pill colorida) */
display: inline-block; padding: 0 10px; height: 20px; line-height: 20px;
border-radius: 999px; font-size: 12px; font-weight: 500; border: 1px solid transparent;
}
.prc-state--open { background: var(--bgColor-success-emphasis); color: #fff; } /* estado de PR */
.prc-code { font-family: var(--fontStack-monospace); background: var(--bgColor-muted); border-radius: var(--radius); padding: 2px 6px; }Recursos externos
| Recurso | O que pegar |
| primer.style | Especificação completa: primitives, componentes, guidelines. |
| Primer Primitives | Tokens oficiais de cor/espaço/tipografia + temas. |
| Primer React (GitHub) | Componentes React oficiais. |
| Octicons | Biblioteca oficial de ícones do GitHub. |
| ../_shared/design-resources.md | Acessibilidade, densidade, temas dark. |
Do / Don't
| Do | Don't |
| Mono em código/hash/números | Proporcional em bloco de código |
| Azul link, verde merge, vermelho destrutivo | Cores fora da semântica |
| Labels/estados como pills | Status em texto solto |
| Primer Primitives (tokens + temas) | Hex hardcoded |
Checklist
- Base cinza neutra, azul
#0969DAem link/ação - Verde para merge/sucesso, vermelho para destrutivo
- Monospace onde há código/hash
- Estados de PR/issue como pills coloridas
- Tokens Primer + suporte a dark/dark-dimmed
- Octicons como ícones
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

