Exercise 01: Setup Project¶
Objective¶
Copy the Practitioner tier into the sandbox project as .cursor/ and verify the full directory structure. Confirms the base project works before starting multi-agent exercises.
Required Reading
- Practitioner README
- Customizing Agents | Cursor Learn -- How custom agent definitions are structured
- Custom Agents | Cursor Docs -- Agent
.mdfiles, AGENTS.md registry, andsubagent_typemapping - Rules | Cursor Docs -- How
.mdcrule files in.cursor/rules/provide persistent instructions to agents - Agent Skills | Cursor Docs -- How
SKILL.mdfiles in.cursor/skills/give agents reusable capabilities
The exercises and validation below work in Cursor. Use the Cursor documentation links in Required Reading.
In Claude Code, the equivalent project structure uses CLAUDE.md (instead of .cursor/rules/), .claude/skills/ (identical SKILL.md format), and agent definitions through prompts rather than .md frontmatter files. The directory structure you set up here establishes the foundation for either system.
Tasks¶
-
Copy the Practitioner tier config into
sandbox/.cursor/. Copy only the operational directories -- do not copytutorials/orwalkthrough/:mkdir -p sandbox/.cursor cp -r .cursor-practitioner/agents sandbox/.cursor/ cp -r .cursor-practitioner/rules sandbox/.cursor/ cp -r .cursor-practitioner/skills sandbox/.cursor/ cp -r .cursor-practitioner/pipeline sandbox/.cursor/ cp -r .cursor-practitioner/templates sandbox/.cursor/ cp .cursor-practitioner/AGENTS.md sandbox/.cursor/ cp .cursor-practitioner/README.md sandbox/.cursor/ -
Verify directory structure:
sandbox/.cursor/agents/has agent.mdfiles (at least 4: planner, subplanner, worker, tester, etc.)sandbox/.cursor/rules/has.mdcrule files (at least 1)sandbox/.cursor/skills/has skill directories-
sandbox/.cursor/pipeline/hasschema.pyandcheck.py -
Run commands in the sandbox:
cd sandbox && npm install npm test # 1 test passes (GET / returns 200) npm run typecheck # no errors
Validation
python3 docs/practitioner/tutorials/verify.py --exercise 01
Checks: agent files exist, rule files exist, pipeline scripts exist, node_modules exists, npm test passes.
Reflection
- How many agents are in the Practitioner tier? What are their roles?
- What files does
pipeline/contain and what do they do? - Why do we copy the tier into the project rather than referencing it directly?
Answer
After setup, sandbox/.cursor/ should contain:
agents/with 7+ agent.mdfiles (planner, subplanner, worker, tester, reviewer, debugger, git, benchmarker)rules/with 4.mdcfiles (planner-first, commit-conventions, issue-workflow, pr-review)skills/with 2 skill directories (jg-pipeline-artifact-io, jg-benchmark-ops)pipeline/with schema.py, check.py, README.mdtemplates/with agent.md, rule.mdc, state.yaml.exampleAGENTS.mdandREADME.md
Verification: cd sandbox && npm test should show 1 passing test.