/samocode:task-definitionfrom samocode
Facilitates interactive task definition by grilling the user through structured Q&A rounds, then produces a documented spec with requirements, clarifications, edge cases, and success criteria.
Ships in samocode. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turn a raw task into a documented spec: grill the user until you reach a shared understanding, then record the decisions.
Session path: [SESSION_PATH from working memory] Task: $ARGUMENTS
model: inherit and
no effort override. Never ask the user for something you could look up. Don't block
on a lookup: a running exploration is an unsettled prerequisite, so only the questions
downstream of it wait for the sub-agent — ask the rest of the frontier now.Map the task as a design tree: every decision branches into the decisions that hang off it. Work the tree in rounds.
The frontier is every decision whose prerequisites are already settled — the questions you can ask now without guessing at answers you haven't heard yet. Ask the whole frontier in one round. A question whose answer depends on another question still open in this round belongs to a later round, not this one.
Format each question:
❓ **Q1** — **<question title>**: <question body, may span paragraphs and include options>
➡️ <your recommended answer + short justification>
The Q&A is done when the frontier is empty: every branch of the design tree visited, nothing left silently assumed. Say: "No more questions, we can move on!" and wait for the user to confirm shared understanding before documenting.
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]
[SESSION_PATH]/_overview.md:
Phase: planning (the task is defined, so the next worker step is
planning), Last Action: Task defined: [title], Next: Create implementation plan.
Phase is a closed enum — never write values like task-defined. Interactive
sessions only: under the Samocode worker never touch Phase.- [TIMESTAMP_ITERATION] Task defined: [title] -> [filename].md- [filename].md - Task: [title] (plain filename, no markdown link)cd [SESSION_DIR] && git add . && git commit -m "Task: [title]"/create-plan, /do, /dop2
What SKILL.md sets; muted values are Claude Code's defaults
20 skills in this plugin
/claudeRun Anthropic Claude CLI as a subagent for second opinions, code reviews, and questions. Use from a Codex (or other) session when you want Claude's perspective./code-clarityReview changed code for human comprehension cost — names, local reasoning, hidden state, working-memory load — and report findings with an impact/cost/risk assessment table. Review-only; never modifies code. Use when asked for a clarity review, readability review, comprehension-cost analysis of a diff/PR, or when running /code-clarity. Works in Claude Code and Codex./codexRun OpenAI Codex CLI as a subagent for second opinions, code reviews, and questions. Use when you want a different AI model's perspective.Generated from the plugin's indexed repository (yuvasee/samocode) — no native marketplace selected
npx claudepluginhub p/yuvasee-samocodeOther plugins' skills for the same job