opsxp-ff
Streamline OpenSpec artifact creation and PR workflows with minimal manual configuration.
Install
mkdir -p .claude/skills/opsxp-ff && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18578" && unzip -o skill.zip -d .claude/skills/opsxp-ff && rm skill.zipInstalls to .claude/skills/opsxp-ff
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Create the minimum apply-ready OpenSpec artifacts, optional task linkage, branch, metadata, and draft PR without unnecessary planning or push cycles.Key capabilities
- →Validate `openspec/opsxp.yaml` against its schema
- →Resolve requested change and intent for OpenSpec artifacts
- →Sync target branch before feature flagging
- →Create or reuse `<branch_prefix><change>` from the current target
- →Build apply-ready OpenSpec artifacts
- →Persist linkage and draft PR when `pr.metadata_artifact` is enabled
How it works
The skill creates OpenSpec artifacts by resolving context, syncing the target branch, building necessary artifacts, and persisting task linkage and draft PRs. It prioritizes reusing existing components and avoids unnecessary steps.
Inputs & outputs
When to use opsxp-ff
- →Initialize new OpenSpec change
- →Automate PR metadata creation
- →Sync branch with target
- →Link task to spec
About this skill
OPSXP FF
Create only what Apply needs. Reuse an existing change, branch, metadata file, or PR instead of duplicating it.
1. Resolve context
- Read repo instructions and validate
openspec/opsxp.yamlagainst its schema. - Resolve the requested change and intent. Ask only when the goal is materially unclear.
- If the change exists, inspect status and continue only missing FF work.
- If a standalone OpenSpec store is explicitly used, resolve it once and reuse its option.
2. Start from current target
When Git is available and git.sync_target_before_ff: true:
- Preserve unrelated changes; stop if branch work would overwrite them.
- Fetch/prune, inspect worktree ownership, and fast-forward the configured target.
- Create or reuse
<branch_prefix><change>from the current target.
Do not clean old branches. With optional/no Git, continue file-based and skip PR automation.
3. Resolve optional task linkage
- With
notion_enabled: false, do not prompt for or access Notion. - When enabled and a link is supplied, read the page and capture canonical ID, page ID, and URL.
- Ask for a missing link only when
task_link_required_on_ff: true. - Never infer the task ID from title or URL when
task_id_propertyis available.
Notion, PR creation, metadata, and push policy are independent.
4. Build apply-ready artifacts
- Create the change when missing:
openspec new change "<change>" - Read status and
applyRequires:openspec status --change "<change>" --json - For each ready required artifact, read its current instructions, dependencies, template, and resolved output path.
- Write the artifact, refresh status, and stop when all apply-required artifacts are done.
Task style
- Use the fewest ordered tasks that preserve independent proof; one task is valid.
- Keep each task to one sentence naming the behavior or artifact and its smallest proof.
- Split only where parts can be implemented and checked independently.
- Do not add task packets, exhaustive file plans, repeated non-goals, or a full-test task.
- Apply owns RED/GREEN; Verify owns the required release profile.
5. Persist linkage and draft PR
When pr.metadata_artifact is enabled:
- Resolve it inside the
changeRootreturned by status. - Write schema version 1 with change, project, optional task, branch/target, and nullable PR identity.
- Validate every write against
pr.metadata_schemawithout adding a dependency.
When metadata is disabled, skip it. Draft PR creation still works; cross-session Notion writeback does not.
For Git and PR actions:
- Make one initial commit and push when policy permits:
alwayspushes;when_pr_activepushes whenpr.draft_on_ff: true;manualnever auto-pushes. - Create or reuse the draft PR through any available Git-host capability. If policy left the branch local, report the one manual push needed first.
- Prefix the title and add the body task link only when a task is linked.
- Record the returned PR number and URL in metadata and validate it locally.
- Include that metadata update in the next coherent commit from Apply or Archive; do not create a second FF-only commit/push cycle.
- If no Git-host capability exists, keep local artifacts valid and report one manual PR action.
Output
Report change, branch, task ID if any, draft PR state, artifacts created, expected local metadata update, and Ready for Apply.
When not to use it
- →When unnecessary planning or push cycles are desired
- →When duplicating existing changes, branches, metadata files, or PRs
Limitations
- →Does not prompt for or access Notion if `notion_enabled: false`
- →Does not infer task ID from title or URL when `task_id_property` is available
- →Does not create a second FF-only commit/push cycle
How it compares
This skill focuses on creating only the minimum apply-ready OpenSpec artifacts and automating task linkage and PR creation, which is more efficient than manual processes involving extensive planning or redundant steps.
Compared to similar skills
opsxp-ff side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| opsxp-ff (this skill) | 0 | 14d | Review | Intermediate |
| bazel-build-optimization | 14 | 2mo | No flags | Advanced |
| bash-defensive-patterns | 3 | 2mo | No flags | Intermediate |
| cicd-automation-workflow-automate | 3 | 3mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
bazel-build-optimization
wshobson
Optimize Bazel builds for large-scale monorepos. Use when configuring Bazel, implementing remote execution, or optimizing build performance for enterprise codebases.
bash-defensive-patterns
wshobson
Master defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilities requiring fault tolerance and safety.
cicd-automation-workflow-automate
sickn33
You are a workflow automation expert specializing in creating efficient CI/CD pipelines, GitHub Actions workflows, and automated development processes. Design automation that reduces manual work, improves consistency, and accelerates delivery while maintaining quality and security.
managing-devops-pipeline
TencentBlueKing
管理蓝盾流水线的构建操作,包括查询构建历史、获取启动参数、查看构建状态、启动构建。当用户提及流水线、构建、部署、CI/CD、蓝盾或需要触发构建任务时使用。
monitor-ci
nrwl
Monitor Nx Cloud CI pipeline and handle self-healing fixes. USE WHEN user says "monitor ci", "watch ci", "ci monitor", wants to track CI status, or needs help with self-healing CI fixes
GitHub Actions CI Builder
agentskillexchange
Generate and manage GitHub Actions workflow YAML files using the GitHub Actions REST API and workflow_dispatch events. Supports matrix builds, reusable workflows, and composite actions.