From devflow
Create deterministic AFK task files from current planning context. Use when the user asks to create an AFK task plan, break work into tasks for the AFK loop, generate tasks/index.yml, or convert a feature/problem/spec into unattended implementation slices.
How this skill is triggered — by the user, by Claude, or both
Slash command
/devflow:afk-create-tasksThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
$ARGUMENTS
$ARGUMENTS
Study the user's request and any referenced context.
Your job: create a deterministic AFK task plan that can be consumed by the AFK loop.
Work from the current conversation and the user's request. If references are provided, read them fully before drafting tasks.
If the implementation area is unclear, inspect the codebase before writing tasks. Use project domain vocabulary and respect existing specs, READMEs, tests, and architecture.
Break the work into tracer-bullet vertical slices. Each task should deliver a narrow but complete path through the relevant integration layers, not a horizontal layer-only change.
Slice rules:
blocked_by, not in task markdown prose.tasks/README.md context or Developer Notes, not hidden in task scope.Classify every slice before writing files:
Prefer AFK slices where possible. Do not mark a slice HITL just because it is complex; split complex work into smaller AFK slices instead. Use HITL only when the next safe action genuinely needs a person. HITL slices must still have a concrete completion artifact: a captured decision, reviewed design, provisioned access, manual QA verdict, or clarified acceptance criteria.
Encoding rules:
type field. The task index schema is fixed.status: pending; use blocked_by for dependencies instead of setting dependency-blocked AFK work to blocked.description with [HITL] and set status: blocked unless the required human input has already been provided.Type: AFK or Type: HITL as the first line under ## Scope.Create the files below. Do not ask for approval unless the source context is too ambiguous to produce a safe MVP task plan.
Before finalizing the task plan:
Create a tasks/ directory containing:
tasks/index.yml — machine-readable task queue in the exact format below.tasks/README.md — human-readable problem statement, context links, and append-only developer notes.tasks/<id>-<slug>.md — one markdown file per task.tasks/index.yml formatUse this exact top-level shape:
tasks:
- id: 1
description: Terse task title
task_file: tasks/001-terse-task-title.md
status: pending
blocked_by: []
Rules:
id is an integer, starting at 1, increasing by one.description is short enough to use in a session name.task_file points to the detailed task markdown file.status is one of: pending, in_progress, blocked, complete.pending; HITL tasks may start as blocked when human input is required.blocked_by is a list of task ids that must be complete before this task can run.tasks/README.md, not the YAML.tasks/README.md formatInclude:
Developer Notes format:
## Developer Notes
Append notes here. Do not rewrite earlier notes.
### Task <id>: <description> — <YYYY-MM-DD>
- Note relevant for later agents or follow-up scope.
Each tasks/<id>-<slug>.md should include exactly these headings:
# Task <id>: <description>
## Scope
## Must implement exactly
## Done when
## Out of scope
## References
Guidance:
## Scope with exactly one classification line: Type: AFK or Type: HITL.Done when.tasks/index.yml blocked_by.tasks/README.md Developer Notes rather than expanding the slice.The request may be to amend an existing tasks/ plan instead of creating one from scratch.
When updating an existing plan:
tasks/index.yml, tasks/README.md, and relevant task files before editing.3.1 because the task index format requires integer ids.blocked_by to [3] or to the specific prerequisite task ids.tasks/README.md Developer Notes. Do not hide important plan changes only in task files.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub codethread/agents --plugin devflow