chapter-generator
Generate a single tutorial chapter from a structured spec.
Skill by Peleke
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/peleke-chapter-generator
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.
About
Use cases: documents, writing
Reviews
Write a reviewNo 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/chapter-generator
What's inside
- Skill name
chapter-generator- Description
- Generate a single tutorial chapter from a structured spec. Triggers on "generate chapter", "create the [chapter] tutorial", "write chapter [N]", "/chapter-gen". Takes a chapter spec (from curriculum-planner or inline) and produces a Markdown file following the configured voice guide, with MkDocs-compatible formatting.
- License
- MIT
- Instructions
- 352 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- voice-guide.md · references/
SKILL.md (first lines)
# Chapter Generator
Generate a single tutorial chapter from a structured specification. Produces Markdown files with MkDocs-compatible formatting (admonitions, fenced code blocks, mermaid diagrams).
## When to Use
- Generating a single tutorial chapter from a spec
- Creating MkDocs-compatible Markdown tutorials
- Producing educational content following aegir voice principles
## Trigger Phrases
- "Generate chapter [N] from the outline"
- "Create the tutorial for [chapter title]"
- "Write chapter [N] following the spec"
- "/chapter-gen [spec-path-or-inline]"
---
## Required Input
The skill expects a chapter specification with these fields:
```yaml
chapter:
number: "N.M"
title: "[Chapter Title]"
depth: deep # or light
opening_hook: |
[The war story or scenario]
learning_objectives:
- "[Objective 1]"
- "[Objective 2]"
aha_moments:
- "[Aha 1]"
key_queries:
- description: "[What this demonstrates]"
code: "[The code/query]"
expected: "[Expected result]"
closing_bridge: |
[Transition to next chapter]
visual_hooks:
- type: "[mermaid|table|code_output|bar_chart]"
description: "[What it shows]"
falsifiable_claim:
statement: "[Testable claim]"
test: "[Verification method]"
jargon_introduced:
- term: "[Term]"
earned_by: "[Intuition before naming]"
```
---
## Generation Process
### Phase 1: Structure
Create the file skeleton:
```markdown
---
title: "[Title]"
---
# [Title]
---
```
### Phase 2: Narrative Opening
Write the opening hook following story-first principles:
1. Drop the reader into a concrete scenario
2. Show something broken, surprising, or tension-creating
3. Include code if applicable (show the failing attempt)
4. Let the reader feel the wrongness before offering the fix
The opening must NOT start with "In this chapter..." or any abstract framing. It must start with a situation.
### Phase 3: Content Sections
For each learning objective, follow this pattern:
1. **Recap** (2-3 sentences): Where we are, what we have, what's next
2. **Scenario**: Concrete example motivating the concept
3. **Code block**: The query/code to try (fenced with language tag)
4. **Expected output**: What they should see (formatted as code output or table)
5. **Aha moment**: The insight that lands AFTER the buildup
6. **Bridge**: Transition to next concept
For `deep` chapters: give each objective full treatment with detailed scenarios and buildup.
For `light` chapters: compress the pattern. Faster transitions, less buildup, keep momentum.
### Phase 4: Exercises
**If `depth: deep`:**
- Include 2-3 exercises with:
- Problem statement (what to figure out)
- Hints (for early chapters)
- Solution in a collapsible admonition
- Verification (expected output)
**If `depth: light`:**
- Include 1 quick exercise or skip entirely
Exercise format for MkDocs:
```markdownFrom Peleke/brunnr, MIT.
More from Peleke/brunnr
- 0.497score
dossier-generator
Peleke
Turn a built system plus a client/deal context into three linked artifacts: a dual-format dossier (human executive summary + agent-facing implementation…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
agent-pack
Peleke
Package a piece of completed work into an agent-consumable pack: an entrypoint README, the source documents, and an input-output contract, ready to hand to an…
SkillCFreshness: C★ 1Claude Code +9 - 0.437score
hunter-log
Peleke
Persistence layer for the hunter product discovery pipeline.
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
community-pitch
Peleke
Community pitch engine -- takes persona extraction output and signal scan data, then produces a complete paid community plan with concept, platform…
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
content-planner
Peleke
Scan GitHub activity and buildlog entries, synthesize engineering work into publishable content opportunities with fan-out analysis, and output an…
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
curriculum-planner
Peleke
Interactive elicitation protocol for designing tutorial series.
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
decision-log
Peleke
Structured product decision engine -- takes signal scan output and operator preferences, applies the Signal-to-Decision Pipeline (SDP) framework, and produces…
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
issue
Peleke
Draft well-structured GitHub issues with clear titles, structured descriptions, acceptance criteria, and appropriate labels.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
linwheel-content-engine
Peleke
Orchestrate LinkedIn content creation through LinWheel's MCP server.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
ax-interview
Peleke
Run a structured AX Interview on an agent-tool interaction session.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
ax-rubric
Peleke
Score agent-facing tool descriptions against the AX Description Rubric.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
engagement-pass
Peleke
Retrofit existing notebooks with interactive engagement elements — Plotly plots, video embeds, ipywidgets, animations, concept maps, and "build a toy"…
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 14
- Last commit (this folder)
- Mar 14, 2026 (7 months ago)
- Last release
- Mar 12, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Peleke/brunnr
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Peleke
- 0.497score
dossier-generator
Peleke
Turn a built system plus a client/deal context into three linked artifacts: a dual-format dossier (human executive summary + agent-facing implementation…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
agent-pack
Peleke
Package a piece of completed work into an agent-consumable pack: an entrypoint README, the source documents, and an input-output contract, ready to hand to an…
SkillCFreshness: C★ 1Claude Code +9 - 0.437score
decision-log
Peleke
Structured product decision engine -- takes signal scan output and operator preferences, applies the Signal-to-Decision Pipeline (SDP) framework, and produces…
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
community-pitch
Peleke
Community pitch engine -- takes persona extraction output and signal scan data, then produces a complete paid community plan with concept, platform…
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
content-planner
Peleke
Scan GitHub activity and buildlog entries, synthesize engineering work into publishable content opportunities with fan-out analysis, and output an…
SkillDFreshness: D★ 1Claude Code +9 - 0.437score
curriculum-planner
Peleke
Interactive elicitation protocol for designing tutorial series.
SkillDFreshness: D★ 1Claude Code +9
Cite this page
chapter-generator skill. Agent Mart. https://agentmart.dev/skills/peleke-chapter-generator (last updated 2026-10-24)