agentleFS
forcedotcomforcedotcom/salesforcedx-vscode/.claude/skills/work-item-sequencing/SKILL.md

work-item-sequencing

Skill1k starsChanged 26 days agoBSD-3-ClauseView on GitHub

Numbering convention for ordering GUS work items within an epic. Numeric prefixes in Subject__c express sequencing (do X before Y) and parallelism. Use when planning an epic, when the user states a dependency between work items, or when asked what's unblocked/ready in an epic.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 13: 0 new projectsWeek of Sep 20: 0 new projectsWeek of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about forcedotcom/salesforcedx-vscode

The biggest 5 of 52 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 52

Talked about on GitHub and Stack Overflow (52 times).

On GitHub · 50

45 more on GitHub

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Unnumbered = no deps, nothing depends on it: Always ready; never gates, never gated.

    line 48
  2. Distinctive:

    No ADR needed → number normally.

    line 56
  3. Very specific:

    Must-precede → sequential top-level (1, 2).

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Work Item Sequencing

Numbering convention for order + parallelism among work items in one epic. Number = prefix in Subject__c, space-delimited. Per-epic scope; cross-epic deps go in WI body prose, not numbers.

Companion to gus-cli (CLI mechanics: query, create, update, statuses, IDs).

Convention

Prefix Subject__c with a dotted number + single space:

1 Set up the runtime service
2 Migrate the parser to the runtime
1.1 Add config schema
1.2 Add config loader
  • Sequential (1, 2, 3): in order. 2 waits on 1; 3 waits on 2.
  • Parallel (1.1, 1.2): same-parent siblings, no waiting on each other.
  • Group gating: next number at a level waits for all work under prior numbers. 2 waits on 1 + every 1.x/1.x.y.
  • Arbitrary depth (1.1.1, …): same recursive rule.

The rule

WI ready when every WI sorting before it (at shallower-or-equal ancestor level) is done. Siblings parallel; sibling-group gates next number at parent level.

1.2 ready once 1.1 + descendants done. 2 ready once everything under 1 done.

Done

Done = Status__c is Closed or Completed.

Fixed is not done — usually means PR not merged yet. Non-terminal statuses (Fixed, Ready for Review, QA In Progress) never satisfy a prerequisite. See gus-cli ## Status__c values.

When to number

Optional.

  • Use: epic-level planning, or when user states a dependency.
  • Skip: standalone work; don't renumber an epic of accumulated independent items.

Unnumbered = no deps, nothing depends on it. Always ready; never gates, never gated. Don't infer order from date/position — no number means independent.

ADRs sequence first

Epic needing a new or updated ADR (per ADR-FORMAT "When to offer": hard-to-reverse + surprising + real trade-off) → the ADR-writing WI(s) get the lowest number: 1 (single ADR) or 1.1/1.2 (parallel siblings). Dependent WIs start at 2. Rationale: dependents encode a decision; the ADR must exist first so downstream work builds on a recorded decision, not an unstated one.

Before creating the rest of the epic, confirm the required ADRs with the user — which decisions need recording, repo-wide (docs/adr/) vs package-local (packages/*/docs/adr/). Then sequence the ADR WI(s) as 1/1.x and everything else 2+.

No ADR needed → number normally.

Assigning (planning)

  1. Lay out work items.
  2. Must-precede → sequential top-level (1, 2).
  3. Parallel under a step → same parent, distinct suffix (1.1, 1.2).
  4. Independent → leave unnumbered.
  5. Prefix Subject__c with number + space. Create via gus-cli.

Dense from 1 per group preferred; gaps harmless (sort is by value).

Reading ("what's ready/unblocked in this epic?")

  1. Query epic WIs incl Status__c. Query without open-only filter — done prerequisites are Closed, which open-only excludes (see gus-cli "What's unfinished in this epic").
  2. Parse leading dotted number from each Subject__c. None → unnumbered.
  3. Readiness: unnumbered → ready; numbered → ready iff all prior-sorting ancestors done.
  4. Report 3 groups: Ready now (unblocked numbered + all unnumbered), Blocked (name blocking number), Done (optional).

Sort by integer segments (1.2 before 1.10, not lexical). Unnumbered sort last.

Edge cases

  • Malformed (1., 1..2, 1.x): treat unnumbered + flag — likely typo'd dependency.
  • Duplicate (two 1.2): allowed = parallel siblings. Don't flag.
  • Orphan child (1.1, no 1): rule still holds; don't require parent to exist.
  • Non-sequence number (W-12345 backport, version 2.40 release): only leading N/N.N… + space counts. Ambiguous → ask.

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.