scaffold-exercises
创建包含 sections、problems、solutions 和 explainers 的 exercise directory structures,并确保通过 linting。Use when user wants to scaffold exercises, create exercise stubs…
Skill by pop1414
Chalk Labs
Need help deploying scaffold-exercises?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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/pop1414-scaffold-exercises
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
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/scaffold-exercises
What's inside
- Skill name
scaffold-exercises- Description
- 创建包含 sections、problems、solutions 和 explainers 的 exercise directory structures,并确保通过 linting。Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
- License
- MIT
- Instructions
- 103 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Scaffold Exercises
创建能通过 `pnpm ai-hero-cli internal lint` 的 exercise directory structures,然后用 `git commit` 提交。
## Directory naming
- **Sections**:`exercises/` 下的 `XX-section-name/`(例如 `01-retrieval-skill-building`)
- **Exercises**:section 下的 `XX.YY-exercise-name/`(例如 `01.03-retrieval-with-bm25`)
- Section number = `XX`,exercise number = `XX.YY`
- Names 使用 dash-case(小写、连字符)
## Exercise variants
每个 exercise 至少需要这些 subfolders 中的一个:
- `problem/` — student workspace,包含 TODOs
- `solution/` — reference implementation
- `explainer/` — conceptual material,不含 TODOs
创建 stub 时,除非 plan 指定其他 variant,否则默认使用 `explainer/`。
## Required files
每个 subfolder(`problem/`、`solution/`、`explainer/`)都需要一个 `readme.md`,要求:
- **非空**(必须有真实内容,即使只有一行 title 也可以)
- 没有 broken links
创建 stub 时,生成带 title 和 description 的最小 readme:
```md
# Exercise Title
Description here
```
如果 subfolder 有 code,还需要 `main.ts`(>1 行)。但对 stubs 来说,readme-only exercise 可以接受。
## Workflow
1. **Parse the plan** — 提取 section names、exercise names 和 variant types
2. **Create directories** — 对每个 path 执行 `mkdir -p`
3. **Create stub readmes** — 每个 variant folder 一个带 title 的 `readme.md`
4. **Run lint** — 执行 `pnpm ai-hero-cli internal lint` 验证
5. **Fix any errors** — 迭代直到 lint 通过
## Lint rules summary
linter(`pnpm ai-hero-cli internal lint`)检查:
- 每个 exercise 有 subfolders(`problem/`、`solution/`、`explainer/`)
- 至少存在 `problem/`、`explainer/` 或 `explainer.1/` 之一
- primary subfolder 中存在非空 `readme.md`
- 没有 `.gitkeep` files
- 没有 `speaker-notes.md` files
- readmes 中没有 broken links
- readmes 中没有 `pnpm run exercise` commands
- 除非是 readme-only,否则每个 subfolder 都需要 `main.ts`
## Moving/renaming exercises
重新编号或移动 exercises 时:
1. 使用 `git mv`(不是 `mv`)重命名 directories,保留 git history
2. 更新 numeric prefix 以维持顺序
3. 移动后重新运行 lint
Example:
```bash
git mv exercises/01-retrieval/01.03-embeddings exercises/01-retrieval/01.04-embeddings
```
## Example: stubbing from a plan
给定这样的 plan:
```
Section 05: Memory Skill Building
- 05.01 Introduction to Memory
- 05.02 Short-term Memory (explainer + problem + solution)
- 05.03 Long-term Memory
```
创建:
```bash
mkdir -p exercises/05-memory-skill-building/05.01-introduction-to-memory/explainer
mkdir -p exercises/05-memory-skill-building/05.02-short-term-memory/{explainer,problem,solution}
mkdir -p exercises/05-memory-skill-building/05.03-long-term-memory/explainer
```
然后创建 readme stubs:
```
exercises/05-memory-skill-building/05.01-introduction-to-memory/explainer/readme.md -> "# Introduction to Memory"
exercises/05-memory-skill-building/05.02-short-term-memory/explainer/readme.md -> "# Short-term Memory"
exercises/05-memory-skill-building/05.02-short-term-memory/problem/readme.md -> "# Short-term Memory"
exercises/05-memory-skill-building/05.02-short-term-memory/solution/readme.md -> "# Short-term Memory"
exercises/05-memory-skill-building/05.03-long-term-memory/explainer/readme.md -> "# Long-term Memory"
```From pop1414/ai-native-doc-system, MIT.
More from pop1414/ai-native-doc-system
- 0.479score
git-guardrails-claude-code
pop1414
设置 Claude Code hooks,在危险 git commands(push, reset --hard, clean, branch -D 等)执行前阻止它们。Use when user wants to prevent destructive git operations, add git safety…
SkillCFreshness: CClaude Code +9 - 0.479score
diagnose
pop1414
面向棘手 bug、性能回退和 BMad story execution failures 的纪律化 diagnosis loop。Reproduce → minimise → hypothesise → instrument → fix → regression-test.
SkillCFreshness: CClaude Code +9 - 0.474score
caveman
pop1414
超压缩 communication mode。Cuts token usage ~75% by dropping filler, articles, and pleasantries while keeping full technical accuracy.
SkillCFreshness: CClaude Code +9 - 0.474score
to-plan
pop1414
Converts a feature PRD, spec, BMad epics/stories, release goal, or conversation context into an execution plan at `docs/plans/<plan>.md` or…
SkillCFreshness: CClaude Code +9 - 0.474score
to-prd
pop1414
将当前 conversation context 或 BMad PRD 输出转成 `docs/features/<feature>/PRD.md`,并接入 AI-native 文档链。Use when user wants to create a PRD, write product requirements…
SkillCFreshness: CClaude Code +9 - 0.474score
to-spec
pop1414
Converts a feature PRD, plan, BMad architecture/epics/stories output, or conversation context into `docs/features/<feature>/SPEC.md` with functional behavior…
SkillCFreshness: CClaude Code +9 - 0.474score
write-a-skill
pop1414
创建结构正确、支持 progressive disclosure 并带 bundled resources 的新 agent skills。Use when user wants to create, write, or build a new skill.
SkillCFreshness: CClaude Code +9 - 0.474score
grill-with-docs
pop1414
Grilling session that challenges a plan against the existing domain model, feature docs, and documented decisions, then updates CONTEXT.md and ADRs as…
SkillCFreshness: CClaude Code +9 - 0.474score
improve-codebase-architecture
pop1414
根据 CONTEXT.md 中的 domain language 和 docs/adr/ 中的 decisions,寻找 codebase 的 deepening opportunities。Use when the user wants to improve architecture, find…
SkillCFreshness: CClaude Code +9 - 0.474score
migrate-to-shoehorn
pop1414
将 test files 从 `as` type assertions 迁移到 @total-typescript/shoehorn。Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.
SkillCFreshness: CClaude Code +9 - 0.474score
setup-ai-document-system
pop1414
Sets up repo-local adapters and `docs/agents/` configuration so engineering skills share one issue tracker, triage vocabulary, domain layout, AI-native…
SkillCFreshness: CClaude Code +9 - 0.474score
setup-pre-commit
pop1414
在当前 repo 设置 Husky pre-commit hooks,集成 lint-staged (Prettier)、type checking 和 tests。Use when user wants to add pre-commit hooks, set up Husky, configure…
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 1, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/pop1414/ai-native-doc-system
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from pop1414
- 0.479score
git-guardrails-claude-code
pop1414
设置 Claude Code hooks,在危险 git commands(push, reset --hard, clean, branch -D 等)执行前阻止它们。Use when user wants to prevent destructive git operations, add git safety…
SkillCFreshness: CClaude Code +9 - 0.479score
diagnose
pop1414
面向棘手 bug、性能回退和 BMad story execution failures 的纪律化 diagnosis loop。Reproduce → minimise → hypothesise → instrument → fix → regression-test.
SkillCFreshness: CClaude Code +9 - 0.474score
improve-codebase-architecture
pop1414
根据 CONTEXT.md 中的 domain language 和 docs/adr/ 中的 decisions,寻找 codebase 的 deepening opportunities。Use when the user wants to improve architecture, find…
SkillCFreshness: CClaude Code +9 - 0.474score
grill-with-docs
pop1414
Grilling session that challenges a plan against the existing domain model, feature docs, and documented decisions, then updates CONTEXT.md and ADRs as…
SkillCFreshness: CClaude Code +9 - 0.474score
caveman
pop1414
超压缩 communication mode。Cuts token usage ~75% by dropping filler, articles, and pleasantries while keeping full technical accuracy.
SkillCFreshness: CClaude Code +9 - 0.474score
migrate-to-shoehorn
pop1414
将 test files 从 `as` type assertions 迁移到 @total-typescript/shoehorn。Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.
SkillCFreshness: CClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get scaffold-exercises running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
scaffold-exercises skill. Agent Mart. https://agentmart.dev/skills/pop1414-scaffold-exercises (last updated 2026-10-24)