agentleFS
adobeadobe/react-spectrum-charts/.agents/skills/implementing-milestones/SKILL.md

implementing-milestones

Skill131 starsChanged 8 days agoApache-2.0View on GitHub

Implements the open issues in a component's stage milestone (e.g. Donut alpha) as a sequence of stacked PRs, applying design-token and S1-reuse checks across the batch. Use when working through a whole milestone rather than a single issue.

  • Reads credentials
  • Commits and pushes

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 10 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

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

    Use this skill when implementing the open issues in a component's stage milestone (e.g.

    line 8
  2. Very specific:

    Read planning/README.md first for the stage and milestone process.

    line 14
  3. Distinctive:

    If an issue comes from an RFC, read the RFC.

    line 24
  4. Distinctive:

    Don't implement issues in listing order by default.

    line 30
  5. Distinctive:

    If issue B reuses a utility that issue A introduces, A must be implemented, and its utility merged and working, before B starts.

    line 33
  6. Distinctive:

    If, mid-implementation, an issue you're building on turns out to be broken, incomplete, or paused, it's fine to defer it and reorder the …

    line 40
  7. Very specific:

    Follow the matched implement-* skill's own Step 0: read the issue and any RFC section it implements, and treat them as the requirements …

    line 61
  8. Very specific:

    Look for .agents/skills/s2-<chartType>/references/tokens.md (e.g.

    line 66
  9. Distinctive:

    If no such skill file exists yet for this chart type, that's a signal to build one (via whatever Figma-token-gathering process produced the …

    line 73
  10. Very specific:

    Before implementing a new mark, prop, or behavior in vega-spec-builder-s2 / react-spectrum-charts-s2, read the equivalent file in …

    line 79
  11. Distinctive:

    If the work is S2-only by design (e.g.

    line 89
  12. Distinctive:

    If the RFC or issue says S1 needs the mirrored change, do it as part of the same PR, not as a follow-up.

    line 92
  13. Distinctive:

    Follow AGENTS.md's Test Completeness Checklist, then visually verify in Storybook.

    line 103
  14. Distinctive:

    If the implementation diverged from the issue's plan (a different file, a cross-cutting concern that turned out to apply, an approach tried …

    line 113
  15. Distinctive:

    After each issue (or at natural checkpoints), report which issues are done, which PR each landed in, and confirm the next issue in the …

    line 150
  16. Very specific:

    When every issue in the milestone has merged, tell the user the stage is ready to ship.

    line 154

≈ “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

Implementing a Milestone

Use this skill when implementing the open issues in a component's stage milestone (e.g. Donut alpha) as a sequence of stacked PRs. For a single issue, use adding-props / adding-chart-marks / adding-child-components / fixing-bugs directly. This skill is the layer above those: it sequences them, keeps them on a shared branch stack, and applies the design-token and S1-reuse checks across the whole batch.

Read planning/README.md first for the stage and milestone process.


Step 1 — Collect the issues

gh issue list --repo adobe/react-spectrum-charts --milestone "<Component> <stage>" --state open

If an issue comes from an RFC, read the RFC. It must be merged; merged means accepted. Don't build against an open RFC PR: review comments can change the design. If it's still a draft, stop and tell the user.

Step 2 — Order the issues and confirm with the user

Don't implement issues in listing order by default. Read each issue's implementation plan and any RFC it comes from:

  • If issue B reuses a utility that issue A introduces, A must be implemented, and its utility merged and working, before B starts.
  • Group issues with no such dependency into independent clusters. Within a cluster, use whatever order is simplest, but respect dependencies across clusters.
  • Present the proposed order to the user and get explicit confirmation before starting any implementation. Build order is a real decision with tradeoffs; don't decide it alone.

If, mid-implementation, an issue you're building on turns out to be broken, incomplete, or paused, it's fine to defer it and reorder the rest. Say so explicitly to the user and update the affected issues so none of them claims a reuse that didn't happen.

Step 3 — Per-issue implementation loop

For each issue in the confirmed order:

3a. Branch stacked on the previous issue's branch, not on main

git checkout -b feat/<this-issue-slug> feat/<previous-issue-slug-in-stack>

The first issue in the cluster branches from main. Every later issue branches from the previous issue's branch, not from main. This is what makes the PR chain a stack: each PR's diff shows only its own changes, reviewable independently, even though the branches depend on each other.

3b. Read the issue (Step 0 pattern)

Follow the matched implement-* skill's own Step 0: read the issue and any RFC section it implements, and treat them as the requirements instead of rediscovering them.

3c. Check the chart type's S2 design-token skill before Figma-measuring or guessing any value

Look for .agents/skills/s2-<chartType>/references/tokens.md (e.g. .agents/skills/s2-donut/references/tokens.md). If it exists, it is the authoritative source for every color/size/typography/spacing token this chart type uses — read it before opening Figma or inventing a plausible-looking value. If the RFC or issue quotes values, re-verify them against the skill file rather than trusting they were transcribed correctly, especially any value marked "derived" (computed, not individually measured).

If no such skill file exists yet for this chart type, that's a signal to build one (via whatever Figma-token-gathering process produced the Donut one) before writing issues that depend on precise values, rather than guessing per issue.

3d. Check what already exists in S1 before building new logic

Before implementing a new mark, prop, or behavior in vega-spec-builder-s2 / react-spectrum-charts-s2, read the equivalent file in vega-spec-builder / react-spectrum-charts (per AGENTS.md's Type System table: <mark>SpecBuilder.ts, <mark>Utils.ts, the component file). If S1 already solves the same problem, port its approach rather than re-deriving it from scratch — it's already been through review and production use.

This is a starting assumption, not a rule to apply blindly. Check the issue's S1/S2 parity note first:

  • If the work is S2-only by design (e.g. a mark that never existed in S1), still read S1 for a reusable pattern, but don't change S1 files. Confirm with the user if the scope is ambiguous; don't assume parity is wanted just because a similar S1 mark exists.
  • If the RFC or issue says S1 needs the mirrored change, do it as part of the same PR, not as a follow-up.

3e. Implement, following the matched implement-* skill exactly

Use adding-props / adding-chart-marks / adding-child-components / fixing-bugs depending on the change type, per AGENTS.md's classification step.

3f. Test and verify

Follow AGENTS.md's Test Completeness Checklist, then visually verify in Storybook. For any feature involving responsive sizing or layout at container boundaries, test the exact size/value reported or specified, not just a sweep of round numbers — an automated sweep at fixed increments can show a clean result while still missing a bug that only appears at a narrow combination of content length, size tier, and container width in between sample points. Live/manual interaction testing (dragging a size control through its full range, not just checking preset breakpoints) surfaces bugs that fixed-size snapshots miss.

3g. Reconcile the issue

If the implementation diverged from the issue's plan (a different file, a cross-cutting concern that turned out to apply, an approach tried and reverted), update the issue body so it's accurate and add a comment explaining what changed. If the change departs from the design of an RFC it comes from, stop and tell the user: that may need a follow-up RFC.

3h. Push, open the PR against the previous branch in the stack, and link it into the GitHub stack immediately

git push -u origin feat/<this-issue-slug>
gh pr create --base feat/<previous-issue-slug-in-stack> --title "..." --body "Closes #<issue> ..."

Then immediately add the PR to the tracked GitHub stack — don't defer this to the end of the cluster, or it's easy to forget the last PR. Re-run the link command with every PR in the stack, bottom to top, each time — it's idempotent and safe to repeat:

gh stack link <bottom-pr-number> <pr2> <pr3> ... <this-pr-number>

If origin uses a custom SSH host alias (e.g. personal.github.com routed to real GitHub via ~/.ssh/config) rather than literally github.com, gh stack link/view will fail to resolve the repository even though plain gh pr create/view/comment work fine. Prefix the command with GH_REPO=<owner>/<repo>:

GH_REPO=adobe/react-spectrum-charts gh stack link 888 889 891 894 895 897 900 901

3i. Move to the next issue in the confirmed order

Branch the next issue off the one you just opened a PR for, and repeat from 3b.


Step 4 — Report progress against the confirmed order

After each issue (or at natural checkpoints), report which issues are done, which PR each landed in, and confirm the next issue in the order still makes sense. A discovery partway through (Step 2's deferral case) may have changed it.

When every issue in the milestone has merged, tell the user the stage is ready to ship. The graduation PR then updates the stage markers listed in planning/README.md.

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.