スキル一覧に戻る
Bestra

regenerate-data

by Bestra

Printable sheets to help manage counters for GCACW

0🍴 0📅 2026年1月19日
GitHubで見るManusで実行

SKILL.md


name: regenerate-data description: Regenerate web JSON data after parser changes. Use after modifying parse_raw_tables.py, game_configs.json, or convert_to_web.py, or when data needs refreshing.

Regenerate Data

Run the parser and converter to refresh all game data after making changes.

Quick Regenerate (All Games)

cd parser
uv run python pipeline/parse_raw_tables.py --all
uv run python pipeline/convert_to_web.py

Single Game

cd parser
uv run python pipeline/parse_raw_tables.py <game_id>
uv run python pipeline/convert_to_web.py

Re-extract from PDF (if raw tables need updating)

cd parser
uv run python pipeline/raw_table_extractor.py <game_id>  # Uses {GAME_ID}_RULES_PATH from .env
uv run python pipeline/parse_raw_tables.py <game_id>
uv run python pipeline/convert_to_web.py

Validate

After regenerating:

  1. Check parser output for reasonable unit counts
  2. Run make build to catch any type errors
  3. Visually inspect in browser with make dev if needed

Data Flow

PDF → pipeline/raw_table_extractor.py → raw/{game}_raw_tables.json
                                       ↓
                              game_configs.json (column mappings)
                                       ↓
                              pipeline/parse_raw_tables.py → parsed/{game}_parsed.json
                                       ↓
                              pipeline/convert_to_web.py → web/public/data/{game}.json

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

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

レビュー

💬

レビュー機能は近日公開予定です