task-flow

Governs the work lifecycle from owner request through task folders, plans, and PR merge.

1|Updated Jan 14, 2024
One-click install
npx skills add https://github.com/Eyhenij/rt-tools --skill task-flow-eyhenij
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: task-flow
Source: https://github.com/Eyhenij/rt-tools/tree/main/.claude/skills/task-flow
Command: npx skills add https://github.com/Eyhenij/rt-tools --skill task-flow-eyhenij

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It enforces a disciplined, state-driven course of work for AI coding sessions: no application code is edited before a task folder, plan, and declared state exist, and no PR opens before the task folder is archived, preventing lost context, untracked progress, and premature merges. ## Core Features & Use Cases - State-machine work tracking: Defines explicit work states (request, plan written, stage in progress, PR open, merged) recorded in a machine-readable progress file that guards read to permit or refuse edits. - Task folder lifecycle: Prescribes creating a draft folder, grilling the owner with mandatory questions, writing an immutable plan, marking progress, and taking the folder apart before the PR opens. - Epic and spec coordination: Requires work to belong to an epic with linked sub-issues, and product agreements to be written before code and merged into domain specs before delivery. - Use Case: When starting any coding task in this repository, load this rule to follow the enforced flow: explore the tree, grill the owner, write the spec and plan, execute stages, then close and archive the work. ## Quick Start Load the task-flow rule at the start of any work session and follow its state machine from the owner's request through planning, staged execution, and PR delivery.

Frequently Asked Questions about task-flow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I start a new coding task with the task-flow rule?

Begin with exploration of the repository, then grill the owner with the mandatory questions and record answers verbatim in grill.md. Write the product agreement if code changes behavior, create the task, branch, and task folder, then write the plan before any code edit.

What is a task folder and when is it created?

A task folder lives at docs/tasks/<branch-name>/ and holds grill.md, plan.md, and progress.md. It is created as a draft before the first edit, gets its number via the task creation command, and is committed to the branch rather than left uncommitted.

Why does the guard refuse my code edit?

The task-flow guard refuses edits to application code until three things exist: a task folder matching the branch name, a plan in it, and a declared state in progress.md. The refusal names the mandatory action of the current state.

When is the task folder taken apart?

The folder is taken apart by the last commit before the PR opens, not after approval. The grill goes to the archive, findings go to the epic plan, and the rest is deleted; opening a PR while the folder exists is refused.

Does every task need to belong to an epic?

Yes, work begins with an epic and tasks outside one are not taken unless the owner explicitly orders that specific work. Epic tasks are created all at once and linked to the epic card as sub-issues.

What are the limitations of the task-flow guards?

Guards judge file presence, edit paths, and declared states, not meaning: they cannot verify grill completeness, plan immutability, or whether texts match what was done. Those aspects are held by the articles and owner review.