Chuyển đến nội dung
Skillpedia
Agent48k · #5787

skeleton-first

Skill này làm gì

Công cụ này giúp xây dựng dự án dữ liệu và AI hiệu quả. Nó bắt đầu với một phiên bản nhỏ, rẻ để đảm bảo mọi thứ hoạt động, sau đó tăng dần quy mô và thêm tính năng, luôn kiểm tra chi phí.

Khi nào nên dùng

  • ✓Khi bạn có một dự án gồm nhiều giai đoạn cần hoạt động cùng nhau.
  • ✓Khi bạn làm việc với dữ liệu hoặc công cụ mới mà bạn chưa quen.
  • ✓Khi bạn muốn xây dựng một hệ thống xử lý dữ liệu hoặc AI hoàn chỉnh.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/skeleton-first/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi muốn xử lý tất cả tài liệu của mình bằng AI, bắt đầu với một bài thử nhỏ và rẻ.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Trước tiên, chúng ta tạo một phiên bản tối giản của dự án hoạt động với ít dữ liệu và cài đặt rẻ. Sau đó, chúng ta thử nghiệm và tăng dần quy mô, kiểm tra chi phí ở mỗi bước trước khi thêm tính năng.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

…

Câu hỏi thường gặp

Vì sao phải bắt đầu nhỏ?

Bắt đầu nhỏ giúp tránh tốn nhiều tiền và thời gian cho những dự án có thể gặp lỗi. Việc sửa lỗi sớm cũng dễ hơn.

“Skeleton” là gì?

“Skeleton” là phiên bản đầu tiên tối giản nhưng hoạt động, kết nối tất cả các phần với nhau nhưng dùng dữ liệu và cài đặt rất đơn giản, rẻ.

Chi phí được kiểm soát như thế nào?

Chi phí được kiểm soát bằng cách đặt ngân sách và theo dõi chi tiêu ở mỗi giai đoạn. Nếu chi phí tăng quá nhiều, chúng ta tìm cách làm việc rẻ hơn trước khi tiếp tục.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#5787
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự