← Back to list

data-generator
by takahere
⭐ 0🍴 0📅 Jan 18, 2026
SKILL.md
name: data-generator description: PRESIDENT CARDのダミーデータを生成する。テーブルデータ、決済履歴、ユーザー情報が必要な時に使用。
Data Generator Skill
PRESIDENT CARDの業務ドメインに適したダミーデータを生成します。
対応データ種別
| 種別 | 説明 |
|---|---|
transactions | 決済データ |
cards | カードデータ |
approvals | 承認申請データ |
invoices | 請求データ |
vouchers | 証憑データ |
users | ユーザーデータ |
基本ルール
金額レンジ
PRESIDENT CARDはハイエンド企業向け。少額決済は不自然。
// ❌ 悪い例
{ amount: 500 } // 少額すぎる
{ amount: 3000 } // 消費者向け
// ✅ 良い例
{ amount: 45200000 } // AWS月額
{ amount: 12500000 } // Meta広告費
{ amount: 3800000 } // Salesforce年額
{ amount: 150000 } // エグゼクティブホテル
金額の目安
| カテゴリ | 最小 | 最大 |
|---|---|---|
| SaaS/クラウド | 500万円 | 5000万円 |
| 広告費 | 1000万円 | 1億円 |
| 出張/交通費 | 10万円 | 500万円 |
| 宿泊 | 5万円 | 50万円 |
データ生成例
transactions(決済)
interface Transaction {
id: number;
date: string; // ISO 8601
merchant: string; // 加盟店名
amount: number; // 金額(円)
category: string; // カテゴリ
cardName: string; // カード名
userName: string; // 利用者名
status: 'confirmed' | 'pending' | 'cancelled';
}
const transactions: Transaction[] = [
{
id: 1,
date: '2024-01-15T10:30:00',
merchant: 'AWS Web Services',
amount: 45200000,
category: 'SaaS',
cardName: '開発部カード',
userName: '田中太郎',
status: 'confirmed',
},
{
id: 2,
date: '2024-01-14T15:45:00',
merchant: 'Meta Ads',
amount: 12500000,
category: '広告',
cardName: 'マーケティング部カード',
userName: '佐藤花子',
status: 'confirmed',
},
];
cards(カード)
interface Card {
id: number;
name: string; // カード名
lastFour: string; // 下4桁
holder: string; // 所有者
monthlyLimit: number; // 月間利用上限
currentUsage: number; // 当月利用額
status: 'active' | 'frozen' | 'admin_locked';
createdAt: string;
}
const cards: Card[] = [
{
id: 1,
name: '代表取締役カード',
lastFour: '1234',
holder: '山田一郎',
monthlyLimit: 100000000,
currentUsage: 45000000,
status: 'active',
createdAt: '2024-01-01',
},
];
approvals(承認)
interface Approval {
id: number;
title: string; // 申請タイトル
amount: number; // 申請金額
applicant: string; // 申請者
approver: string; // 承認者
category: string; // カテゴリ
status: 'pending' | 'approved' | 'rejected';
createdAt: string;
updatedAt: string;
}
ドメイン仕様
詳細は schemas/domain-specs.md を参照。
日本語フォーマット
// 金額
`¥${amount.toLocaleString()}` // → ¥45,200,000
// 日付
`${year}年${month}月${day}日` // → 2024年1月15日
// 短縮日付
`${month}/${day}` // → 1/15
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon