English exercise repo for a shortened factory-building workshop with mixed participant experience.
The room is diverse: some participants may be creating their first Skill, while others have already built many Skills and want deeper material. This repo is therefore intentionally structured as a menu, not a strict linear curriculum. There are more exercises than fit into the morning.
The afternoon still works even if participants do not complete the advanced morning exercises, because the factory has a supplied baseline.
Day 1 AM Mechanism menu: CLAUDE.md, Skills, Rules, Subagents, Planning Skill
Day 1 PM Common factory spine: planner -> refine -> supplied implement
Day 2 AM Evals / AI retrospective / factory improvement
Morning exercises teach mechanisms independently:
| Mechanism | Loads when | Best for |
|---|---|---|
CLAUDE.md |
Always-on for a project/session | Project norms, architecture notes, persistent behavior |
| Skill | On-demand by task match or command | Repeatable workflows such as planning, review, migration |
| Rule | Scoped by file glob | File-type or folder-specific conventions |
| Subagent | Delegated isolated context | Read-heavy exploration, summaries, specialized checks |
| Hook | Deterministic tool-event command | Guardrails, validation, state priming |
The afternoon connects them through one common factory pattern:
Input idea
-> planning artifact
-> refinement step
-> supplied implementation / demo
The main lesson: a team can define its own factory stages and enforce hand-offs through durable artifacts and exact contracts.
Start with a shared 10-minute kickoff:
- Explain the mechanism ladder.
- Show the exercise menu.
- Say explicitly: "You are not expected to finish everything."
- Goal: end the morning understanding how a workflow produces an artifact.
For people who have never built a Skill or are still sorting out licenses/tooling.
- 00 Pirate CLAUDE.md, 15 min
- 01 Pirate Skill, 25 min
- 04 Planning Skill, 35 min
Expected outcome: participants understand Skills and have seen artifact output.
For people who already know Skills.
- 02 Rules, 20 min
- 03 Subagent, 30 min
- 04 Planning Skill, 30 min as an upgrade exercise
Optional stretch: add a Hook guardrail if someone is fast.
Expected outcome: participants understand factory ingredients beyond basic Skills.
See day-1-am.
The afternoon starts from a common baseline. Participants can use supplied assets if their morning work is incomplete.
Factory contract:
/planner <idea>
-> Bean with ## High-Level Plan
/refine <bean-id>
-> same Bean with ## Refined Plan
/implement <bean-id>
-> branch, commits, implementation log
Exercise choices:
| Level | Path |
|---|---|
| Level 1 | Run supplied /planner and /refine, inspect the Bean |
| Level 2 | Replace supplied /planner with your own morning planner |
| Level 3 | Improve /refine using a subagent and stricter validation |
The implementation station is supplied. Trainers can demo it after participants understand the hand-off.
See day-1-pm.
The second morning treats the factory as the object under evaluation:
- Did the artifacts contain the right information?
- Did each station stay within its boundary?
- Did the factory fail loudly when the input was bad?
- What should be checked by prompt instruction, Rule, Hook, script, or human review?
See day-2-am.
day-1-am/
00-pirate-claude-md/
01-pirate-skill/
02-rules/
03-subagent/
04-planning-skill/
README.md
day-1-pm/
01-factory-contract/
02-planner-to-bean/
03-refine-bean/
README.md
day-2-am/
README.md
sandbox/
Small TypeScript calculator codebase used by the factory
supplied/
planner/
refine/
implement/
seeded-beans/
Participants need:
- Claude Code
beansCLIjq- Node.js >= 20
npmfor installing dependencies, building TypeScript, and running testsgit
Beans CLI:
brew install hmans/beans/beans
beans versionBuild the sandbox:
cd sandbox
npm install
npm run build
npm test