Format numbers
A short contributor skill in the Ghost repository that applies whenever a TSX file is edited.
Was der Skill vermittelt
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.
Funktionen
- Format displayed numbers with Shade's helper
- Convert revenue from cents before formatting
- Use percentage and abbreviation helpers
- Avoid ad hoc number formatting
Überblick
- Herausgeber
- Ghost Foundation
- Tool
- Frontend-Design
Installation
Das Projekt dokumentiert keine Installationsschritte, die wir bestätigen konnten. Zur Anleitung des Projekts
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | Frontend-Design | |
| Herausgeber | Ghost Foundation | Quelle |
| Offizieller Status | In der Dokumentation nicht angegeben | |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | In der Dokumentation nicht angegeben | |
| Lizenz | MIT | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 11. Nov. 202655.770 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository Website |
Mehr von Ghost Foundation
4 Skills
Alle 4 von Ghost Foundation →Auch zu finden unter: Frontend-Design
Quellen
- Skill-Datei (SKILL.md)github.com/TryGhost/Ghost10. Nov. 2026
- GitHub-Repositorygithub.com/TryGhost/Ghost · Belegt: Herausgeber16. Nov. 2026
- GitHub-Repositorygithub.com/tryghost/ghost · Belegt: Aktivität, Lizenz11. Nov. 2026
- Ordner im Repository (format-number)github.com/TryGhost/Ghost · Belegt: Enthält Skripte10. Nov. 2026