Skip to main content
skill CX Codex

build · takagoto — Claude Code skill: what it does, how to install

Interactive step-by-step guidance for constructing RAG components from scratch.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add TakaGoto/rag-learning-academy --skill build -a claude-code
Open on GitHub

What build does

This skill guides learners through implementing practical RAG building blocks inside their workspace. It covers document loaders, chunkers, embedding setups, vector stores, retrievers, re-rankers, and full evaluation harnesses. Instead of generating the entire solution, the agent supplies interfaces, docstrings, and hints while you write the actual code.

The workflow proceeds across six distinct steps. It checks prerequisites, prepares the workspace inside projects/, guides implementation in stages, sets up tests, verifies pipeline integration, and logs progress to progress/module-tracker.md.

Everything is tailored to the hands-on curriculum of rag-learning-academy. If you need multi-component design exercises without structured steps, switch to /challenge.

What it helps with

  • implement text chunking logic with overlap and edge-case handling
  • wire up an embedding pipeline into a vector store
  • assemble a complete multi-stage RAG retrieval chain
  • write automated unit tests for RAG data loaders

Example prompts for the agent

  • Start building a specific module: /build chunker
  • Pick an available RAG component based on current progress: /build

How to install build

1Skills CLI (Vercel)

npx skills add TakaGoto/rag-learning-academy --skill build -a claude-code

2Manually: put the files in place

~/.claude/skills/build/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/build/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about build

How to install build in Claude Code?

Run npx skills add TakaGoto/rag-learning-academy --skill build -a claude-code in your terminal.

What does the build skill do?

It mentors you through writing RAG architecture components step by step, reviewing code and designing tests along the way.

When should you use /challenge instead of build?

Use build for guided single-component construction, and /challenge when you want open-ended multi-component system tasks.

Source text

SKILL.md · MIT
---
name: build
description: "Build a RAG component hands-on with guided steps"
---

# Build: Hands-On RAG Component Construction

> **Scope:** This skill provides **step-by-step guided construction** of individual RAG components. For open-ended, multi-component challenges that require design decisions, use `/challenge`.

Guide the learner through building a real RAG component from scratch. This is the core hands-on skill — learners write actual code with step-by-step guidance.

> **Language awareness:** See `.claude/LANGUAGE_AWARENESS.md`.

## Step 1: Choose What to Build

If the user specifies a component (e.g., `/build chunker`), use that. Otherwise, present the available components based on their track progress:

| Component          | Difficulty   | Prerequisites         |
|--------------------|--------------|-----------------------|
| Document loader    | Beginner     | Programming basics in your chosen language |
| Text chunker       | Beginner     | Module 1              |
| Embedding pipeline | Intermediate | Modules 1-2           |
| Vector store setup | Intermediate | Modules 1-3           |
| Retriever          | Intermediate | Modules 1-4           |
| RAG chain          | Intermediate | Modules 1-5           |
| Re-ranker          | Advanced     | Modules 1-6           |
| Evaluation harness | Advanced     | Modules 1-7           |
| Full RAG pipeline  | Advanced     | Modules 1-8           |

## Step 2: Set Up the Project

- Check if a project workspace exists in `projects/`. If not, help the learner create one.
- Explain the dependencies needed and help install them.
- Reference templates in `.claude/docs/templates/` if available.
- Create the file structure for the component.

## Step 3: Guided Implementation

Walk through the build in clear stages. For each stage:

1. **Explain the goal** of this stage — what are we building and why?
2. **Show the interface** — what inputs does this piece take, what does it output?
3. **Let the learner write the code** — provide the function signature and docstring, let them fill in the implementation.
4. **Review their code** — check for correctness, efficiency, and best practices.
5. **Suggest improvements** — offer one or two ways to make it better (error handling, performance, configurability).

Keep each stage small and focused. A chunker build might look like:
- Stage 1: Read a document into text
- Stage 2: Implement fixed-size chunking
- Stage 3: Add overlap between chunks
- Stage 4: Handle edge cases (empty docs, very short docs)
- Stage 5: Add metadata to chunks

For example, provide a skeleton in the learner's chosen language with the function signature, docstring/comments, and placeholder logic. Use idiomatic patterns for the language.

## Step 4: Test the Component

Help the learner write tests for their component:
- Provide sample input data
- Define expected outputs
- Run the tests and verify correctness
- Discuss edge cases they should think about

## Step 5: Integration Check

Explain how this component fits into the larger RAG pipeline. Show how it connects to the previous and next components in the chain. If the learner has already built other components, help them wire this one in.

## Step 6: Review and Reflect

Summarize what was built:
- What the component does
- Key design decisions made
- What they learned
- Ideas for extending it further

Update `progress/module-tracker.md` to note the completed build exercise.

Suggest 2-3 relevant next steps using slash commands:

- `/evaluate` — measure the quality of what you just built with RAG metrics
- `/code-review` — get expert feedback on your implementation
- `/challenge` — take on an open-ended challenge that combines multiple components

## Guidelines

- Let the learner do the actual coding — guide, do not just provide the answer
- If they get stuck, give increasingly specific hints rather than the solution
- Celebrate working code — even simple implementations are achievements
- Point out common pitfalls specific to each component (e.g., chunk overlap calculations, embedding dimension mismatches)
- Use real-world data examples when possible, not just "lorem ipsum"

© TakaGoto · MIT · TakaGoto/rag-learning-academy

Similar skills

All skills for AI and ML →

build by other authors comes first.

From the same set16

journal The skill saves short notes about what you understood or got stuck on, appending them to progress/journal.md. Useful when you want a learning diary without the ceremony. CX Codex +1 ★ 24repo stars fix Diagnoses and repairs broken RAG pipelines without lectures or theory. Useful when retrieval returns garbage or the model hallucinates. CX Codex +1 ★ 24repo stars explain This skill teaches RAG concepts, from plain-language intuition to code and practical trade-offs. Use it to dig into topics such as embeddings, chunking, or hybrid search. CX Codex +1 ★ 24repo stars debug-rag Walks you from a symptom to the actual cause when retrieval or generation misbehaves. Useful once your RAG is built and the answers are still wrong. CX Codex +1 ★ 24repo stars break-it A skill that plants bugs in RAG pipelines and asks you to find them. Debugging teaches architecture faster than building from scratch, since you have to understand why things work to spot why they fail. CX Codex +1 ★ 24repo stars benchmark Runs your RAG pipeline through a query set and shows where the time and tokens go. Useful once answers start feeling slow or expensive. CX Codex +1 ★ 24repo stars audit-content Scans RAG learning materials for deprecated models, outdated library APIs, and stale research papers. Produces a prioritized markdown report. CX Codex +1 ★ 24repo stars architecture This skill guides RAG system design for a specific use case, from requirements and component choices to an architecture diagram and build plan. CX Codex +1 ★ 24repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor