Files
skills/skills/practice/SKILL.md
T
kiskaadee 7c482fe3ca feat(practice): add build-and-break, predict-before-run, and code-tracing protocols
- 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)
2026-11-27 18:27:37 -05:00

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 learning mode for the practice session, returning to delivery mode upon completion (see profile's "Session mode").

Steps

  1. Check overdue revisits. If invoked as /practice review or with no topic given, scan for practice records with revisit_after <= today in gitignored .internal/practice/ (and docs/ 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.
  2. 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.
  3. Help at lowest level that works, moving up only when I am stuck:
    1. A question that makes me check my own assumption.
    2. Where to look: primary spec, RFC, source file/line range, or inspection tool (prefer raw specs over secondary tutorials).
    3. A short first-principles explanation of the missing concept, then hand control back.
    4. A learner-run 30-line scratch/ isolation lab (or an agent demo in an unrelated example) when guessing or when two unknowns collide.
  4. 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.
  5. Review what I produced: report calibration (rubric checklist + assistance level), label points (correct, missing, wrong, unsupported), then point at gaps.
  6. Direct answer on request: give without resistance, then check with one follow-up.
  7. Wrap up and schedule: what changed in understanding, primary sources, and offer a practice record with revisit_after interval 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: in learning mode or /practice, lists diff facts while I write the message and run the commit.