Format Numbers
CheckedConverts numbers into various formats like currency, percentages, dates, and phone numbers according to specified rules.
Install on your platform
format-numbers. tryghost/ghost has no skill named "format-numbers" any more. It was renamed, moved or deleted upstream.We check each listing against its upstream repository with the rules the skills CLI uses, last on 2026-10-21. We don't show a command we know will fail.
What we know about this skill
Publisher
tryghost
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill passed all 6 checks. We read its files at one commit and looked for the things that make a skill dangerous to run — not for whether it works.
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: passed
Makes no network calls.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned tryghost/ghost at 5f7535aa0c.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 5f7535aa0c
- Scanned
- 1 file, 56 lines
About this skill
What it does
This skill, format-numbers, provides a utility for formatting numeric values displayed to users within .tsx files. It leverages the @tryghost/shade library to ensure consistent and correct number presentation. Instead of using raw JavaScript methods like toLocaleString() or manual regex replacements, this skill offers a standardized approach for displaying counts, metrics, revenue amounts, and other numerical data in user interfaces.
When to use it
Use this skill when:
- Displaying member counts, visitor counts, or subscriber numbers.
- Presenting email engagement metrics like opens, clicks, and bounces.
- Showing revenue amounts (in conjunction with
centsToDollars()). - Rendering post analytics data such as views or link clicks.
- Any time a numerical quantity is shown in a user interface within
.tsxfiles.
Key capabilities
- Provides the
formatNumber()utility function for number formatting. - Ensures consistent number presentation across applications using
@tryghost/shade. - Offers related utilities like
formatPercentage(),abbreviateNumber(), andcentsToDollars()(all from@tryghost/shade).
Example prompts
Since this is a utility function used within code, there are no direct user prompts. Instead, the skill is invoked directly in .tsx files using code such as:
<span >{ formatNumber( totalMembers ) }</span><span >{${ currencySymbol } ${ formatNumber ( centsToDollars ( mrr ) ) }}</span>
Tips & gotchas
- Prerequisite: This skill requires the
@tryghost/shadelibrary to be installed and imported. - Avoid Alternatives: Do not use methods like
.toLocaleString(),Intl.NumberFormat, raw numbers, or manual regex formatting for number presentation within.tsxfiles; rely onformatNumber()instead.