ワンクリックで
opsx-ff
Create a change and generate all artifacts needed for implementation in one go
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Create a change and generate all artifacts needed for implementation in one go
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Reset the OpenRegister development environment (stop, remove volumes, restart, install apps)
Iteratively run apply→verify in a loop until verify passes, then auto-archive — runs per-app in Docker context
Process multiple OpenSpec changes in parallel using subagents — full lifecycle from proposal to merged PR
Run automated browser tests for a Nextcloud app — single agent or multi-perspective parallel testing
Apply openspec/app-config.json changes to the actual Nextcloud app files — applies configuration decisions made in app-explore back into the codebase
Verify that a Nextcloud app's files match its openspec/app-config.json — read-only audit that reports drift between config and code
| name | opsx-ff |
| description | Create a change and generate all artifacts needed for implementation in one go |
| metadata | {"category":"Workflow","tags":["workflow","artifacts","experimental"]} |
Fast-forward through artifact creation - generate everything needed to start implementation.
Input: The argument after /opsx-ff is the change name (kebab-case), OR a description of what the user wants to build.
Steps
If no input provided, ask what they want to build
Use the AskUserQuestion tool (open-ended, no preset options) to ask:
"What change do you want to work on? Describe what you want to build or fix."
From their description, derive a kebab-case name (e.g., "add user authentication" → add-user-auth).
IMPORTANT: Do NOT proceed without understanding what the user wants to build.
1.5. Confirm the plan before generating
Summarize your understanding and use AskUserQuestion to confirm before doing any work:
"I'll create a change called
<name>to: . Ready to generate all artifacts?"
Options:
Do NOT create any files until confirmed.
1.55. Select model for artifact generation
This skill generates OpenSpec artifacts (proposal, specs, design, tasks) — the quality of these artifacts determines implementation quality downstream.
Ask the user using AskUserQuestion:
"Which model should I use for artifact generation?"
| Model | Pros | Cons |
|---|---|---|
| Sonnet (recommended) | Good artifact quality, moderate quota | Solid for most changes |
| Opus | Best design and architectural reasoning | Uses more quota — worth it for complex or architectural changes |
Use the Agent tool with model: "sonnet" or model: "opus" (whichever was selected) to delegate Steps 2–4. Pass the subagent:
DEFERRED_QUESTIONS list at the end of its output — one entry per decision made under uncertainty (see Step 4c)When the subagent completes:
DEFERRED_QUESTIONS, you MUST ask the user EVERY question — no exceptions. Do NOT evaluate, triage, or skip questions yourself. Do NOT conclude "no user input needed" for any question. The subagent deferred these questions precisely because they require human judgment.1.6. Load app design context (if present)
Before creating any artifacts, check for and silently load app design documents. These inform proposal scope, architecture constraints, and applicable ADRs — the openspec instructions context does not include them.
| File | If present, use to... |
|---|---|
openspec/changes/<name>/context-brief.md | Specter intelligence brief — full features, user stories, stakeholders, schemas, standards, ADRs. This is the PRIMARY input when present — read it fully and use its data for all artifacts |
openspec/architecture/ | Check for repo-specific ADRs that constrain or inform the implementation approach |
.claude/openspec/architecture/ | Check company-wide ADRs (always apply) |
docs/ARCHITECTURE.md | Understand app-specific technology decisions and data model |
docs/FEATURES.md | Confirm the feature tier and roadmap phase for what is being built |
If a context-brief.md exists, it contains market-researched features with demand scores, real user stories with acceptance criteria, stakeholder profiles with pain points, and full data model schemas. Use this data directly in artifacts — do not invent features or stories when the brief provides them.
If none of these files exist beyond the standard ADRs, proceed silently — do not block or prompt the user.
Create the change directory
openspec new change "<name>"
This creates a scaffolded change at openspec/changes/<name>/.
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 contexttemplate as the structurecontext and rules as constraints - but do NOT copy them into the fileb. 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):
DEFERRED_QUESTIONS: the question you would have asked, the decision you made, and which artifact it affectedDEFERRED_QUESTIONS list at the end of your output so the parent can follow up with the userShow final status
openspec status --change "<name>"
Output
After completing all artifacts, summarize:
What's Next
Recommended: /opsx-apply — start implementing the tasks
Optional before that:
/opsx-plan-to-issues — create GitHub Issues for progress trackingSpec maintenance: After creating artifacts, check the proposal's ## Capabilities section. For each capability listed under "Modified Capabilities" or "New Capabilities", find (or create) the corresponding spec at openspec/specs/<capability>/spec.md and:
**OpenSpec changes** list (as a new line, after any existing entries, oldest-first ordering)**Status**: in-progress if it was planned or done — a new active change always moves the spec back to in-progress.claude/docs/writing-specs.md (group by timeframe, never remove entries)Artifact Creation Guidelines
instruction field from openspec instructions for each artifact typetemplate as a starting point, filling in based on context_registers.json entries from this sectionGuardrails
apply.requires)DEFERRED_QUESTIONS entry MUST be presented to the user via AskUserQuestion, regardless of how reasonable the subagent's provisional decision seems