Format numbers
A short contributor skill in the Ghost repository that applies whenever a TSX file is edited.
スキルの内容
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.
できること
- Format displayed numbers with Shade's helper
- Convert revenue from cents before formatting
- Use percentage and abbreviation helpers
- Avoid ad hoc number formatting
概要
- 公開元
- Ghost Foundation
- ツール
- フロントエンドデザイン
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
| 項目 | 内容 | 出典 |
|---|---|---|
| 種類 | スキル | |
| ツール | フロントエンドデザイン | |
| 公開元 | Ghost Foundation | 出典 |
| 公式かどうか | ドキュメントに記載なし | |
| APIキーまたはサインインが必要 | ドキュメントに記載なし | |
| スクリプトを含む | いいえ | 出典 |
| プラットフォーム | ドキュメントに記載なし | |
| AIクライアント | ドキュメントに記載なし | |
| ライセンス | MIT | 出典 |
| 料金 | ドキュメントに記載なし | |
| 活動状況 | 最終コミット 2026年11月11日GitHubスター 55,770ダウンロード数のデータなし(npm・PyPIで未公開) | 出典 |
| リンク | リポジトリ Webサイト |
Ghost Foundationのほかの掲載
スキル4件
Ghost Foundationの掲載4件をすべて見る →こちらにも掲載: フロントエンドデザイン
出典
- スキルファイル(SKILL.md)github.com/TryGhost/Ghost2026年11月10日
- GitHubリポジトリgithub.com/TryGhost/Ghost · 根拠となる項目:公開元2026年11月16日
- GitHubリポジトリgithub.com/tryghost/ghost · 根拠となる項目:活動状況, ライセンス2026年11月11日
- リポジトリ内のフォルダ(format-number)github.com/TryGhost/Ghost · 根拠となる項目:スクリプトを含む2026年11月10日