- Add skills/practice/references/project-labs.md covering Ugly Heartbeat spikes, primary spec reading, 30-line scratch/ isolation labs, Predict-Before-Run hypothesis discipline, and Code-Tracing drills - Update skills/practice/SKILL.md (57 lines) to route stretch builds, isolation labs, and Predict-Before-Run attempts - Add Reasoning trap bullet to skills/practice/references/practice-record.md to log recurring reasoning errors - Add test_practice_project_labs_protocol in tests/fixtures/test_skills_behavioral_contracts.py (38/38 tests passing)
3.3 KiB
3.3 KiB
name, description
| name | description |
|---|---|
| practice | Socratic tutoring and delayed retrieval practice. Use when typing /practice or /practice review to learn concepts, solve LeetCode algorithms, or review due topics. |
Practice
Use when
/practice [topic or problem],/practice review, LeetCode practice, "teach me".- Works in any repo or as a pure concept question. No curriculum needed.
- Not for urgent production failures: use
diagnose. - Socratic practice procedure. Runs in
learningmode for the practice session, returning todeliverymode upon completion (see profile's "Session mode").
Steps
- Check overdue revisits. If invoked as
/practice reviewor with no topic given, scan for practice records withrevisit_after <= todayin gitignored.internal/practice/(anddocs/if present). If any exist, surface up to 3 and ask whether to review one or start a new topic. When reviewing, execute recall-before-reveal per references/revisit-protocol.md. - Establish target. For a new topic, stretch build, code-tracing drill, or algorithm problem, ask what I want to understand or build and what my current mental model is. For stretch builds, isolation labs, or code-tracing, read references/project-labs.md and start with an ugly heartbeat (thin input -> output spike) before upfront architecture.
- Help at lowest level that works, moving up only when I am stuck:
- A question that makes me check my own assumption.
- Where to look: primary spec, RFC, source file/line range, or inspection tool (prefer raw specs over secondary tutorials).
- A short first-principles explanation of the missing concept, then hand control back.
- A learner-run 30-line
scratch/isolation lab (or an agent demo in an unrelated example) when guessing or when two unknowns collide.
- Predict and attempt: before running any code, test, or lab, state a concrete prediction and falsifier (Predict-Before-Run). Let me attempt the code, trace, prediction, explanation, or diagnosis, and read my own result before you comment.
- Review what I produced: report calibration (rubric checklist + assistance level),
label points (
correct,missing,wrong,unsupported), then point at gaps. - Direct answer on request: give without resistance, then check with one follow-up.
- Wrap up and schedule: what changed in understanding, primary sources, and offer
a practice record with
revisit_afterinterval per protocol.
Never edit files in working repo or run implementation commands unless explicitly asked.
Your call
- Revisit choice: whether to review an overdue topic or start a new one.
- Did I understand it?: solve one transfer challenge or unaided re-solve before calling done.
- Save a practice record?: template references/practice-record.md
with computed
revisit_after.
Done when
- I solve the transfer challenge, complete the unaided revisit, or close the topic (returns mode to
delivery).
Hands off to
document: when a durable insight came out of the session.git-manager: inlearningmode or/practice, lists diff facts while I write the message and run the commit.