agentleFS
sebssebs/rewelo/.claude/skills/plan-sprint/SKILL.md

plan-sprint

Skill2 starsChanged 50 days agoMITView on GitHub

Propose a sprint backlog from prioritized tickets based on team capacity

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 5 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use ticket_list to fetch all tickets in the project (ticket_list returns 100 tickets per call: page with offset until you have total of …

    line 14
  2. Very specific:

    Use weight_get to read the project's stored weight configuration

    line 15
  3. Very specific:

    Use calc_priority (with the project weights) to get the weighted priority ranking

    line 16
  4. Distinctive:

    Before selection, build a dependency graph in a single call:

    line 22
  5. Very specific:

    Call relation_list_all once to get every relation in the project

    line 24
  6. Distinctive:

    Check eligibility (all dependencies satisfied per rules above)

    line 36
  7. Very specific:

    If eligible and fits within remaining capacity (estimate + risk), select it

    line 37
  8. Distinctive:

    If not eligible because a dependency is also a candidate, try to pull the dependency in first (if it fits).

    line 38
  9. Distinctive:

    If not eligible and the dependency is not a candidate (e.g.

    line 39
  10. Distinctive:

    Trade-off analysis: if swapping the lowest-priority selected ticket for a smaller unselected ticket would improve total value

    line 58

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “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

Sprint Planning Copilot

Plan a sprint for project $0 with a capacity of $1 effort points (default: 20 if not provided).

Procedure

  1. Use ticket_list to fetch all tickets in the project (ticket_list returns 100 tickets per call: page with offset until you have total of them)
  2. Use weight_get to read the project's stored weight configuration
  3. Use calc_priority (with the project weights) to get the weighted priority ranking
  4. Take the open tickets: ticket_list with excludeTags: ["state:wip", "state:done"]. A ticket without a state tag is in the backlog too: new tickets have none until someone tags them
  5. Sort by weighted priority (highest first)

Dependency analysis

Before selection, build a dependency graph in a single call:

  1. Call relation_list_all once to get every relation in the project
  2. Filter to blocks / depends-on / is-blocked-by / is-depended-on-by relation types
  3. Build a map: ticket → set of tickets it depends on

A ticket is eligible only when all of its dependencies are either:

  • Already tagged state:done, OR
  • Already selected earlier in the current sprint plan

Sprint selection

Walk the priority-sorted candidates. For each ticket:

  1. Check eligibility (all dependencies satisfied per rules above)
  2. If eligible and fits within remaining capacity (estimate + risk), select it
  3. If not eligible because a dependency is also a candidate, try to pull the dependency in first (if it fits). This lets a high-value ticket pull its blocker into the sprint.
  4. If not eligible and the dependency is not a candidate (e.g. not in backlog), skip and flag it

Continue until capacity is exhausted or no more eligible tickets remain.

Output

Sprint backlog

#TicketWeighted PriorityCost (E+R)CumulativePulled by

The "Pulled by" column shows which higher-priority ticket caused a dependency to be included ahead of its natural rank. Leave empty for tickets selected on their own merit.

Sprint summary

  • Total value (sum of benefit + penalty for selected tickets)
  • Total weighted priority (sum of weighted priorities)
  • Remaining capacity (if any)
  • First ticket cut and what including it would cost
  • Trade-off analysis: if swapping the lowest-priority selected ticket for a smaller unselected ticket would improve total value

Dependency warnings

List any tickets that were skipped due to unresolved dependencies:

TicketPriorityBlocked byBlocker state

Explain what would need to happen to unblock each one.

Weight configuration used

Show the w1–w4 values that drove the ranking, so the team knows how priorities were calculated. If all defaults (1.5), note that custom weights could be set to tune the ranking.

Optional

If the user confirms, tag selected tickets with a tag for this sprint, e.g. sprint:2026-w39, using tag_assign. Sprint membership gets its own prefix: a ticket holds one value per prefix, so a state: value for it would be replaced as soon as work on the ticket starts (state:wip) or ends (state:done).

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.