Borrowing it
Nothing to install: this file belongs to geekfujiwara/CodeAppsDevelopmentStandard. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/geekfujiwara/CodeAppsDevelopmentStandard/main/.github/skills/data-migration/SKILL.mdgit clone --depth 1 https://github.com/geekfujiwara/CodeAppsDevelopmentStandardWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/geekfujiwara/codeappsdevelopmentstandard/data-migration)<a href="https://agentmods.dev/skills/geekfujiwara/codeappsdevelopmentstandard/data-migration"><img src="https://agentmods.dev/badge/skills/geekfujiwara/codeappsdevelopmentstandard/data-migration/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/geekfujiwara/codeappsdevelopmentstandard/data-migration"><img src="https://agentmods.dev/badge/skills/geekfujiwara/codeappsdevelopmentstandard/data-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00114 | $0.01698 |
| Opus 5.5 | $0.00046 | $0.00679 |
| Sonnet 5.5 | $0.00023 | $0.00340 |
| Haiku 4.5 | $0.00011 | $0.00170 |
Grade A, and why
data-migration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
データ移行スキル
既存データを、選定済みのデータ基盤へ 安全に・何度実行しても同じ結果になるように投入する。
| 原則 | 内容 |
|---|---|
| 契約を正とする | 列・型・業務キー・参照関係を mapping.json に固定し、スクリプトはそれだけを読む |
| 業務キー必須 | 各テーブルに一意の業務キーを持たせ、upsert / MERGE で冪等に投入する |
| 先に全件検証 | キー重複・必須 NULL・型変換・長さ・参照整合性を投入前にすべて検出する |
| 変更は hash 承認 | plan の planHash を利用者が承認してから apply。ソースが変われば hash も変わる |
| 読み戻して照合 | 件数・キー集合・列値を投入先から読み戻して比較する。削除は行わない |
| パラメーター化 | SQL・URL に値を埋め込まない。識別子は正規表現で検証する |
サブリファレンス
| リファレンス | 内容 |
|---|---|
| 設計 | 責務分担、処理の流れ、投入方式、安全モデル |
| マッピング契約 | mapping.json の仕様と型対応 |
| テスト計画 | Unit / Live の ID と合格基準 |
| サンプル(cold-chain) | 4 表・22 行。data-platform の基準質問の正解が 1 行に決まる |
| .env サンプル | 本スキルのパラメータ |
| 異常系・トラブルシュート | 実際に踏んだ失敗と恒久対策 |
ワークフロー(正常系)
$dm = ".github/skills/data-migration/scripts"
Step 1: 投入先と権限を確認する
Code Apps 開発で SharePoint URL を受け取った場合、直接接続・継続利用の明示がなければ 投入先は Dataverse とする。移行か直接接続かを毎回聞き直さず、URL は移行元の参照情報として扱う。 URL を渡されたことだけを読み取り・書き込みの承認とせず、取得範囲と読み取り権限を確認する。 既存の承認済みエクスポートを再利用するか、読み取り権限内で CSV / JSON を取得し、Step 2 に渡す。 取得できなければ所有者へエクスポートを依頼し、SharePoint 直接接続へ黙って切り替えない。 元の SharePoint データは変更・削除せず、移行後の常時同期も明示依頼なしには構築しない。
それ以外は選定済みの投入先(Dataverse / Databricks / Fabric Lakehouse)を再利用する。 AskUserQuestion では不足している書き込み承認、個人情報の扱い、既存データの上書き可否だけを確認する。 投入先が未作成なら先に作るが、Code Apps の初回 push は移行完了を待たせない。 全件検証・hash 承認・投入後の照合は省略しない。
| 投入先 | 事前に必要なもの | 担当 |
|---|---|---|
| Dataverse | テーブル・列・Lookup・業務キー列の代替キー | dataverse |
| Databricks | workspace・SQL warehouse・catalog(schema は自動作成) | data-platform |
| Fabric Lakehouse | capacity(Active)・workspace・Lakehouse | data-platform |
Step 2: ソースをプロファイルする
python $dm/profile_source.py --source-dir data/ --out spec/profile.json
型・NULL 数・一意性・キー候補・外部キー候補を確認する。キー候補が無いテーブルは、業務キーを利用者と決める。
What ships with it
16 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/.env.example 814 B
- references/design.md 4.3 KB
- references/mapping-contract.md 2.8 KB
- references/samples/cold-chain/freezers.csv 149 B
- references/samples/cold-chain/stores.csv 117 B
- references/samples/cold-chain/telemetry.csv 610 B
- references/samples/cold-chain/work_orders.csv 187 B
- references/test-plan.md 4.6 KB
- references/troubleshooting.md 3.1 KB
- scripts/build_mapping.py 6.5 KB runs code
- scripts/migrate_data.py 21 KB runs code
- scripts/profile_source.py 3.5 KB runs code
- scripts/source_reader.py 4.7 KB runs code
- tests/test_build_mapping.py 2.4 KB runs code
- tests/test_migrate_data.py 9.9 KB runs code
- tests/test_profile_source.py 2.6 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 17d ago Changed · +9 lines 69ad89ca5b4d
- 1mo ago First seen · 102 lines · 114 tokens per session scan A 4b5926e40077
data-migration is a skill published in the GitHub repository geekfujiwara/CodeAppsDevelopmentStandard (78 stars, last pushed yesterday), licensed MIT. It adds 114 tokens to every session and 1,698 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-26.
data-migration compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| data-migrationgeekfujiwara/CodeAppsDevelopmentStandard | Skill | 78 | yesterday | MIT | A | 114 | Claude Code, Codex |
| build-with-tinybasetinyplex/tinybase | Skill | 5.2k | 15d ago | MIT | A | 90 | Claude Code, Codex |
| databasebug-ops/zeph | Skill | 66 | 3d ago | MIT | A | 76 | Claude Code, Codex |
| qdrantbug-ops/zeph | Skill | 66 | 3d ago | MIT | A | 88 | Claude Code, Codex |
| dataframe-performancemakifbaysal/tasktrooper | Skill | 120 | 16d ago | Apache-2.0 | A | 60 | Claude Code, Codex |
| malloy-lookml-reviewmalloydata/publisher | Skill | 130 | today | MIT | A | 58 | Claude Code, Codex |
| data-data-warehousej4flmao/agent-skills | Skill | 38 | 3d ago | MIT | A | 96 | Claude Code, Codex |