com um clique
openspec-ff-change
// Fast-forward through OpenSpec artifact creation. Use when the user wants to quickly create all artifacts needed for implementation without stepping through each one individually.
// Fast-forward through OpenSpec artifact creation. Use when the user wants to quickly create all artifacts needed for implementation without stepping through each one individually.
| name | openspec-ff-change |
| description | Fast-forward through OpenSpec artifact creation. Use when the user wants to quickly create all artifacts needed for implementation without stepping through each one individually. |
| license | MIT |
| compatibility | Requires openspec CLI. |
| metadata | {"author":"openspec","version":"1.0","generatedBy":"1.3.1"} |
Fast-forward through artifact creation - generate everything needed to start implementation in one go.
Input: The user's request should include:
SCRUM-123) - will fetch ticket content using Jira MCPSteps
Determine input type and get context
a. If input looks like a Jira ticket ID (matches pattern like SCRUM-123, PROJ-456, etc.):
getAccessibleAtlassianResources MCP tool to get the cloudIdgetJiraIssue MCP tool with:
cloudId: from step aboveissueIdOrKey: the provided ticket IDupdate-position-api, "Add User Auth" → add-user-auth<name> for the change directoryb. If input is a change name (kebab-case format):
c. If input is a description:
add-user-auth)d. If no input provided:
"What change do you want to work on? Provide a Jira ticket ID (e.g., SCRUM-123), change name, or describe what you want to build."
IMPORTANT: Do NOT proceed without understanding what the user wants to build.
Create the change directory
openspec new change "<name>"
This creates a scaffolded change at openspec/changes/<name>/.
2.5. Handle attached files (if any) If the user has attached files to this conversation:
openspec/changes/<name>/<filename>Get the artifact build order
openspec status --change "<name>" --json
Parse the JSON to get:
applyRequires: array of artifact IDs needed before implementation (e.g., ["tasks"])artifacts: list of all artifacts with their status and dependenciesCreate artifacts in sequence until apply-ready
Use the TodoWrite tool to track progress through the artifacts.
Loop through artifacts in dependency order (artifacts with no pending dependencies first):
a. For each artifact that is ready (dependencies satisfied):
openspec instructions <artifact-id> --change "<name>" --json
context: Project background (constraints for you - do NOT include in output)rules: Artifact-specific rules (constraints for you - do NOT include in output)template: The structure to use for your output fileinstruction: Schema-specific guidance for this artifact typeoutputPath: Where to write the artifactdependencies: Completed artifacts to read for contexttasks.md:
openspec/config.yaml to get backend-specific rules (mandatory steps, branch naming, etc.).claude/rules/openspec-tasks-mandatory-steps.mdc to understand mandatory testing requirements and agent execution responsibilitiestemplate as the structurecontext and rules as constraints - but do NOT copy them into the fileconfig.yaml and the rule file are included:
b. Continue until all applyRequires artifacts are complete
openspec status --change "<name>" --jsonapplyRequires has status: "done" in the artifacts arrayapplyRequires artifacts are donec. If an artifact requires user input (unclear context):
Show final status
openspec status --change "<name>"
Output
After completing all artifacts, summarize:
/opsx:apply or ask me to implement to start working on the tasks."Artifact Creation Guidelines
instruction field from openspec instructions for each artifact typetemplate as the structure for your output file - fill in its sectionscontext and rules are constraints for YOU, not content for the file
<context>, <rules>, <project_context> blocks into the artifactGuardrails
apply.requires).claude/rules/openspec-tasks-mandatory-steps.mdc to ensure all mandatory steps are included with proper agent execution requirementsRun N feature tasks in parallel, each in its own worktree, following the full specboot pipeline (enrich → new → ff → apply → verify). Stops after verify — no archive, no commit, no cleanup. Explicit task arguments override `parallel-tasks.md`; file is fallback only.
Use when the user requests an adversarial review, red-team review, devil's advocate check, or independent verification pass before archiving an OpenSpec change.
Use when the user asks "show me X", "demo X", "walk me through X", "how X works" or requests a live feature demonstration from a spec, feature or ticket.
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Analyze and synchronize agent skill exposure after ai-specs skill changes (additions, removals, renames). Use when skills are added/removed in ai-specs and .claude/skills and .cursor/skills must stay aligned through symlinks.
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.