Format numbers
A short contributor skill in the Ghost repository that applies whenever a TSX file is edited.
What the skill teaches
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.
Capabilities
- Format displayed numbers with Shade's helper
- Convert revenue from cents before formatting
- Use percentage and abbreviation helpers
- Avoid ad hoc number formatting
About
- Publisher
- Ghost Foundation
- Tool
- Frontend design
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Frontend design | |
| Publisher | Ghost Foundation | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 202655,770 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
More from Ghost Foundation
4 skills
All 4 from Ghost Foundation →Also listed under: Frontend design
Sources
- Skill file (SKILL.md)github.com/TryGhost/GhostNov 10, 2026
- GitHub repositorygithub.com/TryGhost/Ghost · Backs: PublisherNov 16, 2026
- GitHub repositorygithub.com/tryghost/ghost · Backs: Activity, LicenceNov 11, 2026
- Folder in the repository (format-number)github.com/TryGhost/Ghost · Backs: Includes scriptsNov 10, 2026