Skip to content
cccskills
FreePublished on GitHub

db-import

抽出済みJSONファイル(馬・血統・レース出走データ)をSQLiteデータベースにインポートする。「DBインポート」「データベースに保存」「JSONをDBに登録」といった依頼で発動する。

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

DBインポート

抽出済みJSONファイルをデータベースにインポートします。

引数

  • ユーザーが指定したJSONファイルのパス(未指定の場合はデフォルトで data/horse-extracted-data.json を使用、または確認する)

実行コマンド

bun start import-url "<JSONファイルのパス>"

使用例

DBインポートして data/horse-extracted-data.json

処理内容

  1. JSONファイルを読み込み
  2. 血統情報(父・母・母父)を登録
  3. 馬情報をUPSERT(既存なら更新、なければ新規)
  4. レース・出走情報を登録
  5. 前走データから過去レース結果を登録

出力例

🏁 レース登録: 有馬記念
🐎 馬: 新規10頭, 更新6頭
📊 エントリー: 16件

ワークフロー

  1. fetch-data スキルでURLからHTML取得・抽出
  2. db-import スキルで data/horse-extracted-data.json をDB保存
  3. race-list スキルで確認
  4. score-calc スキルでレースIDを指定して分析

蓄積状況の確認

取り込み後の蓄積量・主要特徴量の欠損率は次のコマンドで確認できます。

bun start data-status

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

会場別のコース適性を分析する。会場を省略すると全会場の成績を表示する。「コース分析」「会場別の適性を見たい」といった依頼で発動する。

The English summary is being prepared. Showing the original description.

sogengineer/arima-analy4Updated Sep 21, 2026

実装前に参照する設計原則。理解容易性 = 読み手の思考量の少なさを基準に、AI が作りがちな失敗4パターン(引数・依存5個以上、コマンド層肥大・ドメイン貧血症、ポリモーフィズム機会の見逃し、トリッキーな実装)と、実装後セルフチェックの7観点(名称・役割・参照・状態・面積・階層・秩序)を言語化。Use when starting any implementation task, when user says '設計原則', 'design principles', or before writing new entities/commands/repositories.

The English summary is being prepared. Showing the original description.

sogengineer/arima-analy4Updated Sep 21, 2026

agent 向けテキスト指示(skill / slash command / task プロンプト / コード生成プロンプト)を、バイアスを排した実行者に動かしてもらい、両面(実行者の自己申告 + 指示側メトリクス)で評価して反復改善する手法。改善が頭打ちになるまで回す。Use when user says 'プロンプトを改善して', 'スキルをチューニング', 'empirical-prompt-tuning', or after creating/heavily revising a skill or prompt.

The English summary is being prepared. Showing the original description.

sogengineer/arima-analy4Updated Sep 21, 2026

JRA公式サイトから特定レースの出馬表HTMLを取得して馬データを抽出する。「データ取得」「JRAからデータを取ってきて」「出馬表を取得して」といった依頼で発動する。

The English summary is being prepared. Showing the original description.

sogengineer/arima-analy4Updated Sep 21, 2026

help

Free

有馬記念分析システムで利用可能なスキル一覧と使い方、スコア配分、基本ワークフローを表示する。「ヘルプ」「使い方を教えて」「何ができるの」といった依頼で発動する。

The English summary is being prepared. Showing the original description.

sogengineer/arima-analy4Updated Sep 21, 2026

登録済みの競走馬を血統情報(父・母・母父)、調教師、馬主付きで一覧表示する。「馬一覧」「登録されている馬を見せて」といった依頼で発動する。

The English summary is being prepared. Showing the original description.

sogengineer/arima-analy4Updated Sep 21, 2026

See all skills by sogengineer

Report a problem with this skill