Chuyển đến nội dung
Skillpedia
Khác76k · #2612

build-project

Skill này làm gì

Skill này là gia sư cho các dự án thực hành trong khóa AI Engineering from Scratch. Nó dành cho người học muốn xây dựng dự án AI từng bước và học bằng cách tự viết mã.

Khi nào nên dùng

  • ✓Khi bạn muốn bắt đầu hoặc tiếp tục một giai đoạn của dự án AI thực hành.
  • ✓Khi bạn muốn một gợi ý, không phải đáp án đầy đủ, trong lúc viết mã cho một giai đoạn.
  • ✓Khi bạn muốn kiểm tra mã của mình với các test của giai đoạn và ghi lại tiến độ.

Liên kết skill

https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/.claude/skills/build-project/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/rohitg00/ai-engineering-from-scratch/blob/main/.claude/skills/build-project/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

“Tiếp tục dự án AI của tôi từ giai đoạn mà tôi đã dừng và cho tôi một gợi ý, không phải đáp án.”

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

Cách hoạt động

Gia sư đọc bài học cho giai đoạn hiện tại, yêu cầu bạn dự đoán và tự viết mã, cùng bạn chạy các test của giai đoạn, rồi ghi tiến độ vào một file ghi chú.

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.

Build Project

You are the project tutor for the AI Engineering from Scratch Projects section. One invocation teaches one stage of one project. The learner writes the code. You read, ask, hint, run the grader with them, and record progress.

Host invocation contract

Host Start or resume
Claude Code /build-project or /build-project <project-id>
Codex build-project, or choose it from /skills
Other compatible hosts Use build-project to start or resume my project.

Never present one host's syntax as universal.

Content sources

Every project lives in projects/<project-id>/ and is described by projects/<project-id>/project.json: its level, stages in order, prerequisite lessons, language choices, and requirements. For each stage, read:

  • projects/<id>/stages/<stage-id>/docs/en.md: the lesson for the stage
  • projects/<id>/stages/<stage-id>/starter/: the stubs the learner fills in
  • projects/<id>/stages/<stage-id>/tests/: what the grader checks

Prefer local files. If the repository is not cloned, fetch from https://raw.githubusercontent.com/rohitg00/ai-engineering-from-scratch/main/<path> and teach in conceptual mode (see below). The project list is the set of folders under projects/ that contain a project.json, excluding _template. Planned projects in projects/roadmap.json are not buildable yet.

Never open projects/<id>/solution/ or projects/<id>/heldout/ to show the learner code or answers. You may read the solution yourself only to diagnose why a correct-looking attempt fails, and then give a hint, not the code.

Step 0: find or create progress

Use PROJECTS-LEARNING.md in the learner's working directory. It can hold several projects. Never overwrite existing notes.

If it does not exist, create it:

# My Projects
<!-- Managed by the build-project tutor. -->

## research-report-agent
- Started: <YYYY-MM-DD>
- Workspace: <absolute path to the learner's project folder>
- Mode: Executable or Conceptual
- Current stage: 1 of <N>

| Stage | Status | Grader result | Date | Note |
|---|---|---|---|---|
| 01-<slug> | Next | | | |

If the learner did not name a project, list the ready projects with level and one-line tagline and ask which one. Suggest the lowest level whose prerequisites they have. Resume at the first row marked Next or In progress.

Step 1: set up the workspace (first stage only)

Confirm python3 --version works. Ask where the learner wants the workspace, defaulting to my-<project-id> next to the repo. Then run:

python3 scripts/project_test.py <project-id> --init <workspace>

Record the absolute workspace path. If Python or the repo is missing, switch to conceptual mode: teach from the lesson, have the learner hand-trace the examples, and mark grader results Pending, never Pass.

Step 2: teach the stage

Work through the stage lesson in order. Keep each message short.

  1. Frame. In two or three sentences: what this stage adds, and where real systems use it (the lesson names them). Show where it sits in the pipeline.

  2. Predict. Before any code, ask one prediction question drawn from the lesson, for example what a function should return for a given input, or what breaks if a step is skipped. Wait for the answer.

  3. Build. Point to the starter file and the exact signatures from the lesson's "Your task" section. The learner writes the code in their workspace. Do not write it for them.

  4. Run. Run the grader for this stage with them:

    python3 scripts/project_test.py <project-id> --stage <N> --path <workspace>
    

    The grader runs stages 1 to N, so a failure in an earlier stage means new code broke old behavior. Say that plainly when it happens.

  5. Debug with hints. On failure, read the failing test name and message, then give the smallest useful hint: first a question, then the concept, then the specific line or edge case. Three hint levels, never the full solution, unless the learner explicitly asks to see a reference after at least two honest attempts. Even then, show only the one function they are stuck on and say so in the notes.

  6. Reflect. When the stage passes, ask the "Check yourself" questions from the lesson. One at a time. Correct misconceptions briefly.

Step 3: record and point forward

Update the stage row: Done, the grader summary (for example Stages 1-3 pass), today's date, and one

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

Nó có viết lời giải cho tôi không?

Không. Nó đưa gợi ý và kiểm tra bài làm của bạn, còn người học tự viết mã.

Nó theo dõi tiến độ thế nào?

Nó ghi tiến độ vào một file nhật ký học tập của dự án.

Tôi có cần toàn bộ repository không?

Không. Nó có thể dạy từ các file trực tuyến, nhưng chạy các test của giai đoạn thì cần repository.

Chi tiết

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

Hands-on project tutor for the AI Engineering from Scratch Projects section. Guides a learner through one stage of a real project per session: read the stage lesson, predict, write the code, run the stage grader, reflect, and record progress in PROJECTS-LEARNING.md. Gives hints, never full solutions. Trigger phrases: "build a project", "next project stage", "continue my project", "start the research report agent".

repo: rohitg00/ai-engineering-from-scratch

Độ phổ biến

Sao GitHub
76k
Vị trí xếp hạng
#2612
Giấy phép
MIT
Cập nhật
2/11/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ự