yuvasee-task-definition
SKILL.md
Task Definition
Defines tasks through interactive Q&A, documenting requirements and decisions.
Requirements
- Active session must exist (session path in working memory)
- If no active session: STOP and ask user for session path
Execution
Session path: [SESSION_PATH from working memory] Task: $ARGUMENTS
Steps
-
Analyze the task:
- Review recent dive/task documents in the session for context
- Check project docs for related documentation
- Understand scope and implications
-
Interactive clarification:
- Identify ambiguities, edge cases, implementation options
- Check if
[SESSION_PATH]/_qa.mdexists with answers from previous run - If
_qa.mdexists and has answers: read them and continue to step 4 - If questions needed, write to
[SESSION_PATH]/_qa.md:# Q&A: [task description] Status: waiting ## Questions ### Q1: [Clear question] A) [option] B) [option] C) [option] **Suggestion:** [recommended option] - [justification] **Answer:** _waiting_ ### Q2: [Clear question] A) [option] B) [option] **Suggestion:** [recommended option] - [justification] **Answer:** _waiting_ - IMPORTANT: Do NOT use checkbox format
- [ ]. Use lettered options (A, B, C) one per line. - Each question MUST have a suggestion with clear justification
- Present questions to user formatted as:
Q1: [Clear question] A) [option] B) [option] C) [option] Suggestion: [recommended] - [why] - If waiting for answers: "Questions written to _qa.md. Please answer and re-run /task to continue."
- Continue asking until all ambiguities resolved
- When no more questions: "No more questions, we can move on!"
- DO NOT start any code edits - wait for explicit instruction
-
Document the task (after Q&A complete):
- Create file:
[SESSION_PATH]/[TIMESTAMP_FILE]-task-[task-slug].md
# Task: [title] Date: [TIMESTAMP_LOG] ## Description [What needs to be accomplished] ## Requirements [Bullet list] ## Clarifications ### [Topic] **Q:** [question] **A:** [answer/decision] **Rationale:** [why] ## Edge Cases [Things to watch for] ## Success Criteria [How we know it's done] - Create file:
-
Update session:
- Edit
[SESSION_PATH]/_overview.md:- Add to Flow Log:
- [TIMESTAMP_ITERATION] Task defined: [title] -> [filename].md - Add to Files:
- [filename].md - Task: [title]
- Add to Flow Log:
- Delete
_qa.mdif it exists - Commit (if git repo):
cd [SESSION_DIR] && git add . && git commit -m "Task: [title]"
- Edit
-
Suggest next steps: /create-plan, /do, /dop2
Weekly Installs
1
First Seen
11 days ago
Installed on
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1