build · takagoto — Claude Code skill: what it does, how to install
Interactive step-by-step guidance for constructing RAG components from scratch.
npx skills add TakaGoto/rag-learning-academy --skill build -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/build/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/build/
1Skills CLI (Vercel)
npx skills add TakaGoto/rag-learning-academy --skill build -a codex2Manually: put the files in place
.agents/skills/build/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add TakaGoto/rag-learning-academy --skill build -a cursor2Manually: put the files in place
.cursor/skills/build/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install TakaGoto/rag-learning-academy build2Manually: put the files in place
.github/skills/build/SKILL.md1Skills CLI (Vercel)
npx skills add TakaGoto/rag-learning-academy --skill build -a gemini-cli2Platform CLI
gemini skills install https://github.com/TakaGoto/rag-learning-academy --path .claude/skills/buildManually: put the files in place
.devin/skills/build/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add TakaGoto/rag-learning-academy --skill build -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.