agentleFS
nb-99nb-99/skillektion/skills/openspec-workflow/SKILL.md

openspec-workflow

Skill1 starsChanged 3 months agoMITView on GitHub

Use when: working in an OpenSpec-initialized repository, creating or changing an OpenSpec proposal, applying an approved OpenSpec plan, or archiving a completed OpenSpec change.

4 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

11 rules. 0 are common, 7 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use OpenSpec only for substantive features, cross-cutting refactors, or changes whose requirements need explicit review.

    line 8
  2. Very specific:

    Use /opsx:explore when requirements, affected areas, or the solution are unclear.

    line 16
  3. Very specific:

    Use /opsx:propose <change-name> once the change has a clear outcome.

    line 18
  4. Distinctive:

    Ensure the proposal covers the problem, requirements, affected canonical specifications, design decisions where needed, and executable …

    line 19
  5. Distinctive:

    Treat the approved proposal, specification deltas, design, and tasks as the implementation contract.

    line 25
  6. Distinctive:

    Keep the proposal and task status accurate when implementation changes the agreed scope.

    line 29
  7. Very specific:

    Before /opsx:archive, complete all of the following:

    line 34
  8. Distinctive:

    Run the relevant tests, linting, type checks, and OpenSpec validation.

    line 36
  9. Distinctive:

    Update every affected canonical specification so it fully represents the implemented behavior, including changed requirements, scenarios, …

    line 39
  10. Distinctive:

    Do not archive a change while its delta changes behavior that the canonical specifications omit or contradict.

    line 42
  11. Very specific:

    Use openspec init or openspec update only after explicit user approval, because either command changes repository files.

    line 47

“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

OpenSpec Workflow

Use OpenSpec only for substantive features, cross-cutting refactors, or changes whose requirements need explicit review. Do not create an OpenSpec change for a small, localized fix unless the user requests it.

Explore And Propose

  1. Confirm that the repository contains openspec/ before using OpenSpec commands.
  2. Use /opsx:explore when requirements, affected areas, or the solution are unclear. Do not write implementation code during exploration.
  3. Use /opsx:propose <change-name> once the change has a clear outcome.
  4. Ensure the proposal covers the problem, requirements, affected canonical specifications, design decisions where needed, and executable tasks.
  5. Present the proposal and wait for user approval before /opsx:apply.

Apply

  1. Treat the approved proposal, specification deltas, design, and tasks as the implementation contract.
  2. Implement tasks incrementally and run the narrowest relevant validation after completing each independently testable behavior or invariant.
  3. Keep the proposal and task status accurate when implementation changes the agreed scope. Ask before materially changing the plan.

Archive

Before /opsx:archive, complete all of the following:

  1. Run the relevant tests, linting, type checks, and OpenSpec validation.
  2. Review each delta requirement and scenario against the canonical openspec/specs/** specifications.
  3. Update every affected canonical specification so it fully represents the implemented behavior, including changed requirements, scenarios, and cross-specification consequences.
  4. Do not archive a change while its delta changes behavior that the canonical specifications omit or contradict.
  5. Summarize the validation and canonical-specification updates, then ask the user to confirm archiving.

Use openspec init or openspec update only after explicit user approval, because either command changes repository files.

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.