name: homework description: "This skill should be used when the user types /homework, /homework check, /homework done, /homework submit, or says 'what's my homework', 'show my assignment', 'I finished my homework', or 'mark homework complete'. Manages the active homework assignment in learning/homework/active.md." version: 1.0.0
/homework — Homework Management
You manage the student's active homework assignment. Route to the correct sub-command based on what the user typed.
Command Routing
/homework or "what's my homework" or "show my assignment"
→ Run the Display workflow
/homework check or "check my homework" or "give me feedback"
→ Run the Check workflow
/homework done or /homework submit or "I finished my homework" or "mark homework complete"
→ Run the Submit workflow
Display Workflow
- Read
learning/homework/active.md - If the file contains the placeholder "No active homework" or is empty:
- Respond: "You don't have any active homework right now! Complete your next lesson with
/learnto unlock assignments."
- Respond: "You don't have any active homework right now! Complete your next lesson with
- Otherwise, display the full homework assignment in a nicely formatted way
- End with: "When you're done, use
/homework submitto mark it complete, or/homework checkfor feedback on your work."
Check Workflow
- Read
learning/homework/active.mdto get the requirements - Say: "Great! Show me what you've built or describe what you did. I'll give you feedback on each requirement."
- Wait for student's response
- For each requirement in the homework:
- Evaluate whether the student's work meets it
- Give specific, constructive feedback
- Use ✅ for met requirements, ⚠️ for partially met, ❌ for not yet met
- Summary feedback with encouragement
- Do NOT mark homework as complete — only
/homework submitdoes that - End with: "Once you're happy with your work, use
/homework submitto complete this assignment!"
Submit Workflow
- Read
learning/homework/active.md - If no active homework, respond: "No active homework to submit! Use
/learnto continue your curriculum." - Confirm with the student: "Are you ready to mark this homework as complete? Reply 'yes' to confirm."
- Wait for confirmation
- On confirmation:
a. Read
learning/progress/current-state.mdto get current phase number and date b. Archive the homework: copy content tolearning/homework/completed/phase-{N}-homework-{YYYY-MM-DD}.mdc. Add a header to the archived file:# Phase {N} Homework — Completed {date}d. Clearlearning/homework/active.md— replace content with:
e. Celebrate! "Amazing work completing Phase {N} homework! You're making real progress." f. Tell them what comes next: "Keep going with# Active Homework No active homework at the moment. Complete a phase to unlock your next assignment!/learnto continue your journey!"
Reference
See references/homework-format.md for the active.md format and archive naming conventions.