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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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:
- Make the whole path work on the smallest possible input with the cheapest settings.
- Prove it with a test.
- Scale up in cost-gated rungs, measuring and projecting cost before each one.
- 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:
- Run on the rung's input size.
- Record: records in/out, errors, wall time, cost (tokens, credits, API calls).
- Project the next rung: cost per record x next size, time per record x next size.
- 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.
Độ 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
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.