本文へスキップ
Skillpedia
エージェント48k · #5787

skeleton-first

できること

データやAIのプロジェクトを効率よく構築するためのツールです。まずは小さく安価なバージョンで全体が動くことを確認し、その後、規模を少しずつ大きくして機能を追加します。その間、常にコストを確認します。

使う場面

  • ✓連携して動く必要がある複数の段階を持つプロジェクトがあるとき。
  • ✓新しいデータや、よく知らないツールを扱うとき。
  • ✓データ処理やAIの完全なシステムを作りたいとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/skeleton-first/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/skeleton-first/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ドキュメントをすべてAIで処理したいです。まずは小規模で低コストなテストから始めてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

まず、少量のデータと安価な設定で動く最小限のバージョンを作ります。その後、テストしながら少しずつ規模を広げ、機能を追加する前に各段階でコストを確認します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Skeleton first: prove the workflow cheaply, then scale

Agents tend to build every stage at full size before anything has run end to end. In data and AI work that fails expensively: a wrong prompt runs over a whole table, a wrong grain is discovered after twenty models exist, a big warehouse burns credits on a query that returns the wrong answer.

This skill changes the order of work:

  1. Make the whole path work on the smallest possible input with the cheapest settings.
  2. Prove it with a test.
  3. Scale up in cost-gated rungs, measuring and projecting cost before each one.
  4. Only then add features, one at a time, re-running the tests after each.

When to Use

  • A workflow with 2+ stages (ingest -> transform -> model/LLM -> output), or anything that touches paid compute: warehouse credits, LLM tokens, embeddings, API calls.
  • New or unfamiliar data, a new tool or SDK, an architecture that has not run in this environment before.
  • The user asks to "build X end to end", "set up the pipeline", "process all the documents", "create the models".

Skip it for: one-file fixes, a single query, work already proven at full scale, or when the user explicitly says to go straight to full scale (then still state the projected cost first).

Step 0 - Define "it works" before building

Write down, and show the user in 3-5 lines:

  • The thinnest end-to-end path: every stage present, the minimum of each. Example: 1 source table -> 1 transform -> 1 LLM call -> 1 output row.
  • One pass/fail test a person can check, e.g. "for these 3 sample rows the output has columns A, B, C and the value for row 2 is X". Prefer tests with a known right answer.
  • A budget: maximum spend and time for the whole job, and for the skeleton (the skeleton should cost almost nothing).

If the user has not given a budget, propose one and say so.

Step 1 - Write the ladder

Plan the work as rungs. Each rung adds exactly one thing and has a gate.

Rung Adds Input size Gate to pass
L0 skeleton every stage, stubbed or minimal 1 record test passes end to end
L1 real logic in the weakest stage 10 records test passes, cost per record measured
L2 scale ~1% or 100 records quality spot-check, projected full cost under budget
L3 full run 100% totals reconcile, test still passes
L4+ one feature each as needed all previous tests still pass

Show the ladder to the user before building unless the task is small. Keep it short.

Step 2 - Build L0, the walking skeleton

  • Every stage exists and is connected; none is polished.
  • Hardcode or stub anything that is not on the critical path (config, retries, UI, logging beyond a print).
  • Use the cheapest settings everywhere (see Cost levers).
  • Run it. If it fails, fix the path; do not start adding features.
  • Look at the sample before scaling it. Read a few raw records and measure what you are paying for. Most cheap wins hide here: duplicate records (cache by content hash), boilerplate repeated in every record (headers, footers, legal notices, signatures, templated sections), empty or invalid inputs that the API still bills. Count how much of the cost each one accounts for; stripping a footer that is 70% of every document is worth more than any tuning later.

Not allowed until L0 passes: a second source, a second model or table, parallelism, tuning, UI, abstractions, handling edge cases that have not been seen yet.

Step 3 - Scale up in cost-gated rungs

At every rung:

  1. Run on the rung's input size.
  2. Record: records in/out, errors, wall time, cost (tokens, credits, API calls).
  3. Project the next rung: cost per record x next size, time per record x next size.
  4. Gate: continue only if the test passes, errors are understood, and the projection is under budget.

…

よくある質問

なぜ小さく始めるのですか?

小さく始めると、エラーがあるかもしれないプロジェクトに多くのお金や時間を使わずに済みます。問題を早い段階で直しやすくなります。

「スケルトン」とは何ですか?

「スケルトン」とは、プロジェクトの最初の最小限の動くバージョンのことです。すべての部分をつなぎますが、データや設定はとてもシンプルで安価なものを使います。

コストはどのように管理しますか?

予算を決め、各段階で支出を確認することでコストを管理します。コストが増えすぎた場合は、先に進む前により安く作業する方法を探します。

詳細

作者による元の説明

Prove a data/AI/agent workflow end to end on a tiny sample, find cheap wins, then scale in cost-gated steps within budget.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#5787
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル