Repository navigation
chore(claude): move the workflow onto the shared flow plugin - #105
Merged
Merged
Conversation
Always-loaded instructions (AGENTS.md + CLAUDE.md + .claude/rules/*.md): 26271 -> 15869 bytes (-40%). Enables flow and ruby-gem from the claude-plugins marketplace, writes the facts they read as AGENTS.md -> Workflow, deletes the local copies they replace, folds the SEO rule and the release-kit/commit-scope notes into AGENTS.md and drops the generic rules. Claude-Session: https://claude.ai/code/session_01HBXnzmnnrrwjfFHBE8LjpW
There was a problem hiding this comment.
All reported issues were addressed across 17 files
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The workflow commands were hand-copied into every repository of the org and have drifted. This PR moves this repository onto the
flowandruby-gemplugins from the sharedclaude-pluginsmarketplace. The repository keeps only its own facts, inAGENTS.md->## Workflow..claude/commands/{lfg,plan,tdd,review-pr,github-review-pr,github-review-failures,github-review-comments}.mdflowplugin (/flow:lfg,/flow:plan, ...). docs-kit had no localfinish-prs,follow-through,debug-flakyorfable-validator; the plugin now supplies themAGENTS.md->## Workflow: required checks from rulesetmain(squash only, no merge queue), cubic, the conflict rules (CHANGELOG.md,version.rb,docs/Gemfile.lock,docs/bun.lock, vendored icon SVGs, registries), worktree setup, the release line, main health. Theplan/lfginvariants (DocsUI components, config defaults, one Stimulus controller, install generator wiring) were already in AGENTS.md's Critical Rules.claude/rules/seo.md## SEO head and OG imagesection, condensed.claude/rules/git-workflow.md.claude/rules/{agents,coding-style,testing}.md.claude/README.mdCLAUDE.md@AGENTS.md.claude/settings.jsonclaude-pluginsmarketplace (extraKnownMarketplaces,autoUpdate) and enablesflowandruby-gemLABELS_KIT.md/plan,/lfg->/flow:plan,/flow:lfg; the rule no longer points at the deleted rules fileKept local:
/architect(docs-kit layer order),/security(HTML output, config trust, render path),/release-kit(rolls the release kit out to the other gems;ruby-gem:releasedrives a release, not the rollout).Always-loaded instructions (AGENTS.md + CLAUDE.md +
.claude/rules/*.md): 26271 -> 15869 bytes (-40%).The
## Workflowsection is 1910 bytes, above the 1.5 KB target; most of it is the CI and Conflicts lines, which the plugins cannot know.Operator actions
None.
Test plan
claude -p --model haiku --plugin-dir .../plugins/flow --plugin-dir .../plugins/ruby-gem "List every available skill or command name..."listsflow:lfg,flow:plan,flow:follow-through,flow:finish-prs,flow:github-review-pr|failures|comments,flow:review-pr,flow:tdd,flow:debug-flaky,ruby-gem:perf,ruby-gem:release, and of the local commands onlyarchitect,security,release-kitjq . .claude/settings.jsonparsesmain(squash only, 4 required contexts, up-to-date branch, no merge queue),ci.ymljob names,conformance.yml, cubic reviewing docs(changelog): cut 1.3.0 and date the 1.2.x section #101-docs: changelog headings match what each release shipped #104,release.yml/deploy-docs.ymlon release,CHANGELOG.mdheading shape,ci.ymlpush runs for main healthgrep -rn '/lfg\b\|/github-review-pr\b\|/finish-prs\b\|/plan\b' --include=*.md .leaves only.github/LABELS.mdand.github/labels.yml, the labels kit (canonical copy here, rolled out withbin/labels sync/script/labels-kit, not edited by a workflow PR)/flow:lfgand/ruby-gem:releaseare listed and the deleted local copies are goneDepends on claude-plugins#13 being merged.
https://claude.ai/code/session_01HBXnzmnnrrwjfFHBE8LjpW
Summary by cubic
Moves docs-kit onto the shared
flowandruby-gemplugins from theclaude-pluginsmarketplace, replacing the hand-copied workflow commands and rules that had drifted across the org's repositories..claude/commands/{lfg,plan,tdd,review-pr,github-review-*}.mdand the generic.claude/rules/files; the plugins supply them (/flow:lfg,/flow:plan,/flow:github-review-pr, etc.)..claude/settings.jsonpointing at thezoolutions/claude-pluginsmarketplace and enablingflowandruby-gem.## Workflowsection inAGENTS.md; the SEO rule moves in condensed form to a new## SEO head and OG imagesection./architect,/security, and/release-kitlocal — the first two are docs-kit-specific, the last rolls the release kit out to the other gems.CLAUDE.md,LABELS_KIT.md, and the Agent-commands section ofAGENTS.mdfor the new command names.Note: this depends on
claude-plugins#13being merged; without it, the plugin commands won't resolve. No operator action required once that lands.Written for commit 1d3a0c4. Summary will update on new commits.