agentleFS
jonathascostajonathascosta/claude-code-workflow/.claude/skills/story-start/SKILL.md

story-start

Skill2 starsChanged 15 days agoMITView on GitHub

Start the next piece of work from the board - find the first open story assigned to the user, in board order, that still has work for them, understand it, propose the tasks (one per component the user works on, plus a spike when needed), and after the user's ok create the tasks, move the board, create the branch and present the implementation plan. Use when the user asks to pick up the next story, to start a story, to move on to the next one, or names a story to begin.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before taking new work, check what is unfinished, so nothing is left behind:

    line 22
  2. Distinctive:

    Read the story: description, acceptance criteria, comments, linked items and the tasks already under it (anyone's).

    line 40
  3. Distinctive:

    Whether something must be learned first: If the approach depends on a measurement or an unknown, that is a spike or a prototype, with its …

    line 45
  4. Distinctive:

    Whether the story mixes unrelated things: If so, propose splitting; do not create new stories without the user's ok.

    line 46
  5. Distinctive:

    Wait for the user's ok. They may rename tasks, drop one, or change the order.

    line 62
  6. Distinctive:

    After the ok, in this order, checking each result before the next:

    line 66
  7. Distinctive:

    Create each new task with the board recipes (operation 4, create a task under a story): iteration, area and assignee copied from the story, …

    line 68
  8. Very specific:

    Run the extra steps for this moment from project.md, asking before any that writes somewhere shared.

    line 70
  9. Distinctive:

    do not push. The upstream is set at the first approved push.

    line 74
  10. Distinctive:

    If a command fails, stop, show the error and what was already changed.

    line 76
  11. Very specific:

    When the task moves to "work starts" in step 5, record it: python .claude/skills/worklog/scripts/worklog.py start <task id> development …

    line 95

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Start a story

Begin the next story on the board, or the one named in $ARGUMENTS. This skill ends when the board reflects the work, the branch exists and the user has an implementation plan to react to. It does not write code.

Everything specific to the project comes from .claude/project.md (board location, state and column names, components, branch naming, extra steps) and from the board recipes file it points to. If project.md is missing, or a value this skill needs is still a <...> placeholder, stop and ask for it. Never guess a state name, a column name or a pipeline.

Rules

  • The golden rule holds: nothing is committed, pushed or published without the user's approval. This skill creates a local branch only.
  • One confirmation covers the board changes of this skill. Show the whole plan from step 4 and wait for the ok; then make exactly those changes and report each one. Anything not in the plan is a new question.
  • Work items are named by their id and title, never by position in a list.
  • Talk to the user in their language. Task titles and anything written on the board are in the language project.md sets for artifacts.

1. Look at what is already in flight

Before taking new work, check what is unfinished, so nothing is left behind:

  • the user's tasks that are in progress, in review or merged but not closed (from the board);
  • the user's open pull requests, and whether any has unanswered comments or is approved and waiting to merge;
  • release runs waiting for an approval or a test.

Report this in a few lines. If something there is blocked only on the user (an approval, a merge, a reply to approve), remind them. If stories already delivered are not closed on the board, propose the board updates and include them in the plan of step 4.

Then continue: waiting for a review or a deploy is not a reason to stay idle.

2. Find the story

Use the board recipes for "my open stories, in board order" (operation 2 in reference/board-operations.md): the current iteration, stories assigned to the user, not closed, in board order. The first one that still has work for the user is the next story, unless $ARGUMENTS names another. A story whose only open tasks belong to teammates is not next: list it as waiting on them and move to the following one.

Show the first few rows so the user sees the order, and say which one you are taking. If the list is empty, say so and check the signed-in account and the iteration before concluding there is no work.

3. Understand it

Read the story: description, acceptance criteria, comments, linked items and the tasks already under it (anyone's). Then work out:

  • What is being asked, in two or three sentences of your own, and what "done" means (the acceptance criteria, or what will be shown in the demo).
  • Which components it touches, from the Components table in project.md. Look at the code before answering; do not go by the title.
  • What is unclear or missing. A question for the user, the product owner or a teammate, each stated plainly.
  • Whether something must be learned first. If the approach depends on a measurement or an unknown, that is a spike or a prototype, with its own task.
  • Whether the story mixes unrelated things. If so, propose splitting; do not create new stories without the user's ok.
  • What it depends on: another story, a teammate's task, a release that must go first.

4. Propose the plan and wait

Show one plan, short:

  1. The story: id, title, and your understanding of it.
  2. The tasks:
    • tasks that already exist for this work and will be used as they are;
    • tasks to create: one per component the user will work on, plus a spike task when step 3 found one. A component that the Components table in project.md gives to another owner gets no task from this skill unless the user says so: name it as a teammate's part instead. Titles follow the convention in project.md and are a few words long; no description unless the project asks for one.
  3. The board changes, in the exact names from project.md: which task goes to "work starts", and the story too if it is not there yet. Only the task being started now moves; the others stay where they are until their turn.
  4. The branch: its name, from the pattern in project.md, cut from the latest base branch. One task, one branch, one pull request: a story with three tasks will have three branches, created as each task starts.
  5. Any step listed under "When starting a story" in project.md.
  6. Open questions from step 3.

Wait for the user's ok. They may rename tasks, drop one, or change the order.

5. Make the changes

After the ok, in this order, checking each result before the next:

  1. Create each new task with the board recipes (operation 4, create a task under a story): iteration, area and assignee copied from the story, then the parent link. Confirm the story's child list contains the new id.
  2. Move the first task to "work starts", and the story if needed.
  3. Run the extra steps for this moment from project.md, asking before any that writes somewhere shared.
  4. Create the branch:
    • the working tree must be clean; if it is not, stop and show what is uncommitted;
    • fetch, then create the branch from the remote base branch, without tracking it (git checkout -b <branch> origin/<base> --no-track), so a later push cannot target the base branch;
    • do not push. The upstream is set at the first approved push.

If a command fails, stop, show the error and what was already changed. Do not retry with a different state or column name.

6. Report and plan the implementation

Report what was done: each work item created or moved (id, title, new state or column, link), and the branch.

Then present the implementation plan for the task just started, and stop:

  • what will change and where, following the patterns the code already uses;
  • the tests that will show it works;
  • choices to make, as labelled options with a recommendation and what each can break;
  • whether existing callers or contracts are affected.

The user discusses and adjusts the plan before any code is written. When they say go, implement and test; when the tests cover the change and pass, go on to self-review without being asked.

End with what is waiting for the user, including anything from step 1.

Timing

When the task moves to "work starts" in step 5, record it: python .claude/skills/worklog/scripts/worklog.py start <task id> development --title "<task title>" --story "<story id> <story title>". The story is what lets the timing report group the tasks by story. See the worklog skill for the stage names.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.