/rdf:r-shipfrom RDF: rfxn Development Framework
Composite release workflow with preflight, verification, release prep, and publish stages. Supports resume detection and version prompting.
Ships in RDF: rfxn Development Framework. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are running the /rdf:r-ship release workflow. This is a composite workflow that verifies readiness, dispatches quality gates, prepares release artifacts, and publishes a PR.
$ARGUMENTS (optional, any order):
git symbolic-ref refs/remotes/origin/HEAD or fall back to main)--version X.Y.Z: the version this run ships. When absent, Setup prompts
for it (see Target version below)Resolve the version being shipped before any gate runs. The on-disk version still names the previous release until Stage 3 bumps it, so a gate that reads it judges the wrong release.
$ARGUMENTS carries --version X.Y.Z, that is the target.VERSION file, or the project's
in-file VERSION= variable) and prompt, defaulting to the next minor:
Target version for this release [next minor <MAJOR>.<MINOR+1>.0]:VERSION: unknown.Write the answer to the progress file's VERSION: field. Stages 1d and 3c
read the target from there, so a resumed session gates the same release.
Source ~/.rdf/state/rdf-bus.sh and call rdf_session_init. If the helper is
absent (helpers not yet bootstrapped: fresh plugin install before its first
session restart), skip resume detection and proceed without session-scoped
progress; restart the session (plugin) or run rdf deploy claude-code
(checkout) to deliver them. Then look for
.rdf/work-output/ship-progress-${RDF_SESSION_ID}.md. If not found, glob
.rdf/work-output/ship-progress-*.md and present candidates ordered by mtime.
If exactly one un-suffixed .rdf/work-output/ship-progress.md exists (legacy
from pre-3.1.0), prompt: "Found legacy progress file. Import? [Y/n]".
If a progress file is found:
ship-progress-${RDF_SESSION_ID}.md and start freshAfter each stage completes, write state to .rdf/work-output/ship-progress-${RDF_SESSION_ID}.md:
STAGE: {preflight|verify|prep|publish|report}
STATUS: {complete|in-progress}
PR_URL: {if created}
VERSION: {target release version, resolved at Setup}
Run all four checks and display results as a task list. Each check is pass/fail: a checked box means the gate passed.
~/.rdf/state/rdf-bus.sh; rdf_session_init. Resolve the active
plan: plan_path="$(rdf_active_plan_path)".$plan_path: verify ALL phases are marked complete.git status (never -uall), git diff --statmain/master (should be a
feature/release branch)git log --oneline $(git merge-base HEAD origin/{base})..HEAD
to summarize branch changesPer-minor gate (D4, docs/specs/2026-09-02-platform-alignment-spike-design.md
§6): a minor release must not ship without a current platform re-triage
verdict; patch releases are unaffected.
VERSION:
field) into MAJOR.MINOR.PATCH. Do not read the on-disk VERSION here;
Stage 3 has not bumped it yet, so it names the previous release and would
gate the wrong one.unknown, mark [x] with (skipped: no target version)
and skip the remaining steps below.PATCH is non-zero the gate does not apply: mark
[x] **Platform triage**: *(skipped: patch release X.Y.Z)* and skip the
remaining steps below.docs/platform-triage.md for a block matching
^## <MAJOR.MINOR> \(:
[x] **Platform triage**: \<MAJOR.MINOR>` ledger current`.[ ] **Platform triage**: no \## <MAJOR.MINOR> ()` block
in `docs/platform-triage.md`and> Blocked (preflight failed): platform triage missing for
<MAJOR.MINOR>`.Present results as a task list with inline code for values:
### Preflight: target `3.7.0`
- [x] **Plan**: all phases complete (`12`/`12`)
- [x] **Working tree**: clean
- [ ] **Branch**: on `main` (*expected a feature/release branch*)
- [x] **Platform triage**: `3.7` ledger current
A patch target renders the last line as
- [x] **Platform triage**: *(skipped: patch release 3.7.1)*.
If a check fails, use an unchecked box and add an italic reason. If a check is skipped, use a checked box with (skipped) annotation.
Blocked (preflight failed): {reason}
Use a blockquote for any blocker that halts the workflow.
Dispatch two subagents in parallel:
Dispatch qa subagent with:
Dispatch reviewer subagent in sentinel mode with:
Present gate results as a task list: checked = passed, unchecked = failed or pending:
### Verification Gates
- [x] **QA**: *PASS*, `672` tests, `0` failures
- [ ] **Reviewer**: *MUST-FIX*, 2 findings (1 security, 1 regression)
If a gate fails, show the findings immediately below in a blockquote:
QA Gate Failed: 3 test failures
test/core.batsline 42: expected0, got1test/trust.batsline 118: timeout after 30stest/cli.batsline 55: missing output line
Ask user to fix or explicitly override.
git log since last tag/releaseFold this release's outcome into the maintained current-state spec. Skipped
when rdf_active_tier is bugfix (a defect fix does not change the
architecture) and when the plan File Map cannot be parsed (degrade, never
block the release).
source ~/.rdf/state/rdf-bus.sh; tier="$(rdf_active_tier)". If bugfix, skip.docs/specs/CURRENT.md (create with a living-spec header if absent).## <version> (<date>) block to CURRENT.md and
stage it with the release commit (amend Stage 3d's commit or a follow-up).OpenSpec precedent; this must stay lightweight, never ceremony.
After the release tag/commit lands, clear the session pointers:
source ~/.rdf/state/rdf-bus.sh
rdf_clear_active_plan
rdf_clear_active_tier
The plan file in docs/plans/ is retained as historical record; only
the session-scoped pointers are removed so the next planning session
starts clean with no stale tier.
Present release prep results as a task list:
### Release Prep
- [x] **Changelog**: updated, `12` entries added to `CHANGELOG`
- [x] **Attribution scrub**: clean, no AI references found
- [ ] **Version strings**: *mismatch*: `VERSION` says `2.0.2`, `setup.py` says `2.0.1`
- [x] **Commit**: `a1b2c3d` pushed to `origin/2.0.2`
If version mismatches are found, use a blockquote:
Version Mismatch: resolve before proceeding
files/apf:VERSION="2.0.2"setup.py:version="2.0.1"
gh pr create with:
After PR creation, show a brief confirmation. Use inline code for the PR URL and number so they stand out:
### PR Created
**PR** `#42`: {title}
**URL**: {url}
For CI monitoring, use a task list that updates as checks complete:
### CI Status
- [x] **lint**: *pass* (12s)
- [x] **test-debian12**: *pass* (1m 42s)
- [ ] **test-rocky9**: *running*
- [ ] **test-centos7**: *pending*
When CI completes, collapse into a single line in the final report.
Present a structured summary using tables, task lists, and blockquotes. This is the final output the user sees; it must be scannable at a glance.
## Ship Report: {project} `{version}`
| Property | Value | Property | Value |
|----------|-------|----------|-------|
| **PR** | {url} | **Commits** | `{count}` |
| **Branch** | `{branch}` -> `{base}` | **HEAD** | `{hash}` |
---
### Verification Gates
- [x] **QA**: *PASS*, `{test_count}` tests, `{fail_count}` failures
- [x] **Reviewer**: *APPROVE* ({summary})
### Release Prep
- [x] **Changelog**: updated, `{entry_count}` entries
- [x] **Attribution scrub**: clean
- [x] **Version strings**: consistent (`{version}`)
- [x] **Commit**: `{hash}` pushed to `origin/{branch}`
### CI
- [x] **Status**: *pass*, all checks green
---
### Verdict
**READY TO MERGE**: all gates passed, PR awaiting review
Verdict styling: use bold for the verdict keyword and a brief reason. Three possible verdicts:
When the verdict is not READY TO MERGE, use a blockquote to highlight what needs attention:
ACTION NEEDED: reviewer flagged 1 concern (overridden by user)
When the verdict is BLOCKED, list the blockers:
BLOCKED: cannot merge
- QA gate: FAIL, 3 test failures
- Version strings: mismatch in
setup.py
After presenting the final report, output the completion handoff:
Released: PR
{url}Merge when CI passes. Pipeline complete.
Delete .rdf/work-output/ship-progress-${RDF_SESSION_ID}.md after successful completion.
All output from this workflow uses the markdown primitives below. Follow these consistently across every stage.
| Primitive | Syntax | Use in this workflow |
|---|---|---|
| Table | | col | col | | Ship report summary, PR metadata |
| Task list | - [x] / - [ ] | Preflight checks, gate results, release prep, CI status |
| Blockquote | > | Blockers, warnings, gate failures, version mismatches |
| Bold | **text** | Labels (PR, Branch, QA), verdict keywords |
| Italic | *text* | Status keywords (PASS, FAIL, running, skipped) |
| Inline code | `text` | Versions, hashes, branch names, paths, commands, counts |
| Rule | --- | Section dividers in final report |
Do NOT use (not rendered in Claude Code):
HTML tags, <details>, ANSI color codes, Mermaid diagrams, footnotes.
Conventions:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub rfxn/rdf --plugin rdf38 skills in this plugin
/r-auditUse when you want a full codebase audit: dispatches parallel reviewer and QA passes across the tree.
/r-audit-slopAI slop audit. Finds dead code, orphan helpers, noop functions,
/r-buildUse when a plan exists and you want it built: dispatches the plan-execution orchestrator (engineer/QA/review gates) per phase at the right tier.
/r-context-auditMeasure, score, and report on Claude Code context overhead for this
/r-envUse to assess the environment against an optimal Claude Code + RDF setup: code intelligence plugins and language servers, tools, limits, sandbox, Claude Code currency, .claude files and the price table, with exact fix commands.
/r-initUse to initialize RDF governance on a new or existing repository.
Other plugins' skills for the same job