Skip to content

docs: onboard to spec-driven workflow (CLAUDE.md Development Workflow block) - #28

Merged
swinney merged 2 commits into
mainfrom
onboard-spec-driven-workflow
Jun 26, 2026
Merged

docs: onboard to spec-driven workflow (CLAUDE.md Development Workflow block)#28
swinney merged 2 commits into
mainfrom
onboard-spec-driven-workflow

Conversation

@swinney

@swinney swinney commented Jun 26, 2026

Copy link
Copy Markdown
Owner

What

Adds a ## Development Workflow section to this repo's CLAUDE.md that defers to the /spec-driven-workflow skill, carrying only this project's deltas:

  • Branch from main; PRs to main.
  • Gate: make test (stubs claude/gh → green local predicts CI).
  • OpenSpec via /opsx:*.
  • Two-channel release (plugin bump + base-image rebuild), as a post-merge chore(release) commit; /release-ralph-harness automates it.
  • Gotchas: single-source runner (base/scripts/ only), bash-3.2/Python-3.7 portability, and the inverted commit-attribution rule (this repo's own commits carry Co-Authored-By/Claude-Session trailers; kit-emitted PROMPT artifacts carry none).

Docs only — no code, no version bump. make test green.

🤖 Generated with Claude Code

Onboards this repo to the /spec-driven-workflow flow with only its project-specific deltas: branch from main, gate = make test, OpenSpec via /opsx:*, the two-channel release, and the gotchas (single-source runner, bash-3.2 portability, and the INVERTED commit-attribution rule — this repo's own commits carry trailers, kit-emitted PROMPT artifacts carry none). The generic two-loop flow stays centralized in the skill + ~/.claude/CLAUDE.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BPf3HHoHVTdr8CFki4iRi2
@swinney

swinney commented Jun 26, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b3ec0a0db9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CLAUDE.md
Comment on lines +380 to +381
For non-trivial changes, follow the two-loop spec-driven flow — invoke `/spec-driven-workflow`
for the full steps. This project's values:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Point workflow at a shipped command

In a fresh checkout of this repo, contributors cannot follow this new required step: I checked the tracked workflow surfaces (.claude/commands, .claude/skills, and skills/) and there is no spec-driven-workflow command or skill, while the repo does ship /opsx:* commands. As written, non-trivial changes now start by invoking a missing command, so the onboarding guidance stalls before the documented OpenSpec flow can begin unless this repo either includes that workflow or points at the shipped commands.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch — fixed forward in #29 (1077b38). You're right that /spec-driven-workflow is the author's personal skill, not shipped here, while /opsx:* IS tracked in .claude/commands/opsx/. Reframed the block so the concrete entry points are /opsx:* + the listed values, with /spec-driven-workflow noted as an optional personal codification the repo doesn't depend on — so a fresh checkout can follow it.

…ted")

The global commit-attribution rule is now a per-project soft default (none), not a
mandate, so this repo overrides it rather than inverting it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_6a854fe2-5398-45e1-bcbb-bfd3673856f2
@swinney
swinney merged commit 011c3cf into main Jun 26, 2026
2 checks passed
@swinney
swinney deleted the onboard-spec-driven-workflow branch June 26, 2026 21:12
swinney added a commit that referenced this pull request Jun 26, 2026
docs: workflow block points at shipped /opsx:* (addresses #28 review)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant