Format numbers
A short contributor skill in the Ghost repository that applies whenever a TSX file is edited.
O que a skill ensina
A short contributor skill in the Ghost repository that applies whenever a TSX file is edited. Every number shown to users must go through the formatNumber helper from Ghost's Shade design-system utilities: member, visitor and subscriber counts, email opens, clicks and bounces, post views and link clicks, and revenue after converting cents to dollars. Percentages such as open rates use a separate percentage helper, and compact forms like 1.2M use an abbreviation helper. The skill lists what to avoid: calling toLocaleString directly, building a number formatter by hand, showing raw numbers, or inserting thousands separators with a regular expression.
O que faz
- Format displayed numbers with Shade's helper
- Convert revenue from cents before formatting
- Use percentage and abbreviation helpers
- Avoid ad hoc number formatting
Sobre
- Publicador
- Ghost Foundation
- Ferramenta
- Design de frontend
Instalação
O projeto não documenta passos de instalação que tenhamos conseguido confirmar. Veja as instruções do próprio projeto
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Design de frontend | |
| Publicador | Ghost Foundation | fonte |
| Status oficial | Não informado na documentação | |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | MIT | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 11 de nov. de 202655.770 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Mais de Ghost Foundation
4 skills
Todos os 4 de Ghost Foundation →Também listado em: Design de frontend
Fontes
- Arquivo da skill (SKILL.md)github.com/TryGhost/Ghost10 de nov. de 2026
- Repositório no GitHubgithub.com/TryGhost/Ghost · Comprova: Publicador16 de nov. de 2026
- Repositório no GitHubgithub.com/tryghost/ghost · Comprova: Atividade, Licença11 de nov. de 2026
- Pasta no repositório (format-number)github.com/TryGhost/Ghost · Comprova: Inclui scripts10 de nov. de 2026