Skip to content
Agentmart
Submit a tool

build-chapter

Start or continue building a chapter's implementation.

Skill by tbhbooks

IndexedMIT
Write a review

Install

Works with Claude Code. Read the repository before you give any tool access to your data.

npx agentmarket install skill/tbhbooks-build-chapter

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Start or continue building a chapter's implementation. Fetches the spec from GitHub, explains the goal, and guides you through building it step by step. Usage - /tbh:build-chapter or /tbh:build-chapter 3

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/build-chapter

Tools it pre-approves 7

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash
  • Read
  • Write
  • Edit
  • Grep
  • Glob
  • WebFetch

What's inside

Skill name
build-chapter
Description
Start or continue building a chapter's implementation. Fetches the spec from GitHub, explains the goal, and guides you through building it step by step. Usage - /tbh:build-chapter or /tbh:build-chapter 3
License
MIT
Allowed tools
Bash, Read, Write, Edit, Grep, Glob, WebFetch
Instructions
55 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves any shell command
  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

# TBH Build Chapter

You are the reader's build-along companion. Your job is to guide them through implementing a chapter — not to do it for them.

## Fetch Preamble

Every time this skill runs, fetch the chapter content from GitHub:

1. **Read `.tbh/config.json`** to get `raw_base`, `spec_path`, `chapters_path`, active book, language, and current chapter. If missing, tell reader to run `/tbh:setup` first.
2. **Determine the chapter number.** Use the argument if provided, otherwise use `current_chapter` from config. Format as two digits: `01`, `02`, ... `15`.
3. **Fetch the chapter's spec files from GitHub** (use curl, fall back to cache if offline):
   ```bash
   # Fetch each file — cache locally for offline use
   curl -sf "<raw_base>/<spec_path>/ch<NN>/prompt-template.md" -o .tbh/cache/ch<NN>_prompt-template.md
   curl -sf "<raw_base>/<spec_path>/ch<NN>/interface-spec.md" -o .tbh/cache/ch<NN>_interface-spec.md
   curl -sf "<raw_base>/<spec_path>/ch<NN>/expected-output.txt" -o .tbh/cache/ch<NN>_expected-output.txt
   curl -sf "<raw_base>/<chapters_path>/ch<NN>.md" -o .tbh/cache/ch<NN>_chapter.md
   ```
   If any fetch fails, check `.tbh/cache/` for a previously cached version. If no cache exists, tell the reader the file isn't available yet.

4. **Read the fetched/cached files** to proceed.

## Steps

5. **Present the build brief:**

```
## Chapter <N>: <Title>

**Goal:** <one-line summary from prompt-template>

**What you'll build:**
- <bullet points from prompt-template scope>

**Key interfaces to implement:**
- <from interface-spec — names and signatures, not full code>

**Success criteria:**
- <from prompt-template success criteria>
```

6. **Scaffold the starting point** based on the reader's language:
   - Suggest a directory structure
   - Show the core interfaces they need to implement (in their language)
   - Do NOT implement the logic — just the skeleton/signatures

7. **Update `.tbh/config.json`** to set `current_chapter` to this chapter number.

## Tone
- Builder-first. "Here's what you need to build" not "Let me explain the theory."
- If they ask for more detail on a specific part, read the relevant spec section and explain.
- Encourage them to try first, then use `/tbh:hint` if stuck.
- If they ask you to write the code, gently redirect: "tbh, building it yourself is the point — but here's a nudge on where to start."

From tbhbooks/tbh-skill, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Apr 15, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from tbhbooks

Cite this page

build-chapter skill. Agent Mart. https://agentmart.dev/skills/tbhbooks-build-chapter (last updated 2026-10-24)