From samocode
Defines tasks through interactive Q&A to clarify requirements, edge cases, and decisions. Creates structured documentation and manages session state.
How this skill is triggered — by the user, by Claude, or both
Slash command
/samocode:task-definitionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Defines tasks through interactive Q&A, documenting requirements and decisions.
Defines tasks through interactive Q&A, documenting requirements and decisions.
Session path: [SESSION_PATH from working memory] Task: $ARGUMENTS
Analyze the task:
Interactive clarification:
[SESSION_PATH]/_qa.md exists with answers from previous run_qa.md exists and has answers: read them and continue to step 4[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_
- [ ]. Use lettered options (A, B, C) one per line.Q1: [Clear question]
A) [option]
B) [option]
C) [option]
Suggestion: [recommended] - [why]
Document the task (after Q&A complete):
[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]
Update session:
[SESSION_PATH]/_overview.md:
- [TIMESTAMP_ITERATION] Task defined: [title] -> [filename].md- [filename].md - Task: [title]_qa.md if it existscd [SESSION_DIR] && git add . && git commit -m "Task: [title]"Suggest next steps: /create-plan, /do, /dop2
npx claudepluginhub yuvasee/samocodeCreates and manages task documentation including implementation plans, task IDs, and archiving completed work. Useful when starting a new feature or finishing one.
Organizes and tracks complex multi-step projects by creating task_plan.md, findings.md, and progress.md. Supports automatic session recovery after /clear. Triggers on planning, task breakdown, or progress tracking requests.