Repository navigation
docs: name skills the way a marketplace install invokes them - #1642
Merged
Merged
Conversation
Docs and skill instructions told adopters to run /magpie-setup, /magpie-security-issue-triage and the like: the names a pinned snapshot or this repository's own self-adoption answers to. The default install is the marketplace, where the same skills are /magpie-setup:setup, /magpie-security:issue-triage, and so on. Invocations now use the marketplace form, including the pre-flight block every skill carries and the generated config tables and animations. Text about the snapshot or self-adoption install keeps the shorter names, and the landing pages, the config tables and the pre-flight block say which shorter name a non-marketplace install answers to. Historical design docs and RFCs are left as written. Generated-by: Claude Code (Opus 5.5)
…utput The suite predated the pre-flight checker: its cases described the installed plugins and expected the block to work out the floor itself, which the block no longer does. Six of eight cases failed on main. Each case now carries what python3 -m setup_preflight actually prints for that state, built from a scratch repository with the same lock and plugin list. Case 5 (no claude CLI) and case 8 (sandboxed empty listing) expect the unknown listing to be passed over, as the checker does, and mention_adopt gets the assertion it never had. step-3 now says that the skill stops while the user decides about a lock naming another marketplace, which case 4 already expected. Generated-by: Claude Code (Opus 5.5)
…ck they stay in sync Each preflight-floor case now keeps its state in state.json. A new tools/dev/render-preflight-fixtures.py builds that state as a scratch repository, runs python3 -m setup_preflight against it, and writes the printed verdict into the case report; --check fails on drift. The render-preflight-fixtures hook re-renders on any change to the checker, its rules sections or the cases, so the suite can no longer go stale against the checker unnoticed, as it had on main. Generated-by: Claude Code (Opus 5.5)
3 tasks done
potiuk
added a commit
that referenced
this pull request
Oct 16, 2026
ruff 0.16.9 has segfaulted on CI runners while checking members whose code the PR did not touch (vetted-ops on #1636, maildir on #1642), failing prek for reasons unrelated to the change. run-workspace-check.sh now treats an exit status above 128, a process killed by a signal, as a crash rather than a finding, and runs that member once more. A real finding (exit 1) is never retried, and a second crash still fails the check. Generated-by: Claude Code (Opus 5.5)
potiuk
added a commit
to Kaap10/magpie
that referenced
this pull request
Oct 16, 2026
ruff 0.16.9 has segfaulted on CI runners while checking members whose code the PR did not touch (vetted-ops on apache#1636, maildir on apache#1642), failing prek for reasons unrelated to the change. run-workspace-check.sh now treats an exit status above 128, a process killed by a signal, as a crash rather than a finding, and runs that member once more. A real finding (exit 1) is never retried, and a second crash still fails the check. Generated-by: Claude Code (Opus 5.5)
potiuk
added a commit
to Kaap10/magpie
that referenced
this pull request
Oct 16, 2026
…1642) * docs: name skills the way a marketplace install invokes them Docs and skill instructions told adopters to run /magpie-setup, /magpie-security-issue-triage and the like: the names a pinned snapshot or this repository's own self-adoption answers to. The default install is the marketplace, where the same skills are /magpie-setup:setup, /magpie-security:issue-triage, and so on. Invocations now use the marketplace form, including the pre-flight block every skill carries and the generated config tables and animations. Text about the snapshot or self-adoption install keeps the shorter names, and the landing pages, the config tables and the pre-flight block say which shorter name a non-marketplace install answers to. Historical design docs and RFCs are left as written. Generated-by: Claude Code (Opus 5.5) * test(setup): run the preflight-floor evals against the real checker output The suite predated the pre-flight checker: its cases described the installed plugins and expected the block to work out the floor itself, which the block no longer does. Six of eight cases failed on main. Each case now carries what python3 -m setup_preflight actually prints for that state, built from a scratch repository with the same lock and plugin list. Case 5 (no claude CLI) and case 8 (sandboxed empty listing) expect the unknown listing to be passed over, as the checker does, and mention_adopt gets the assertion it never had. step-3 now says that the skill stops while the user decides about a lock naming another marketplace, which case 4 already expected. Generated-by: Claude Code (Opus 5.5) * test(dev): render the preflight-floor cases from the checker, and check they stay in sync Each preflight-floor case now keeps its state in state.json. A new tools/dev/render-preflight-fixtures.py builds that state as a scratch repository, runs python3 -m setup_preflight against it, and writes the printed verdict into the case report; --check fails on drift. The render-preflight-fixtures hook re-renders on any change to the checker, its rules sections or the cases, so the suite can no longer go stale against the checker unnoticed, as it had on main. Generated-by: Claude Code (Opus 5.5)
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
/magpie-setup,/magpie-security-issue-triageand the like. Those are the names a pinned-snapshot install, or this repository's own self-adoption, answers to. The default install is the marketplace, where the same skills are/magpie-setup:setup,/magpie-security:issue-triage, and so on. An adopter following the docs typed a command their install didn't have.docs/quick-start/other-install-methods.md,CONTRIBUTING.md, the pre-flightstep-2rules, the dual-name tables indocs/setup/marketplace.md, and any paragraph that is about the snapshot. Where the marketplace name is shown, the quick start, the setup README, the family config tables and the pre-flight block now say which shorter name a non-marketplace install answers to, linking Skill names differ by install method.Type of change
.claude/skills/<name>/) — eval fixtures updated belowdocs/,README.md,CONTRIBUTING.md)prek, workflows, validators)Test plan
prek run --all-filespasses (surface hashes andmeasured_tokensrestamped; generated tables and SVGs regenerated and checked by their hooks)setup/step-unknown-subaction4/4,setup/preflight-floor8/8.setup/preflight-floorrepaired (it failed 6 of 8 onmain): it predated the pre-flight checker, so each case now carries whatpython3 -m setup_preflightactually prints for that state, built from a scratch repository with the same lock and plugin list.mention_adoptgets the assertion it never had; the obsoletemention_unknownexpectation is dropped, because the checker deliberately says nothing about an unreadable listing.step-3now says the skill stops while the user decides about a lock naming another marketplace. Case 5 records that a non-Claude harness never reports an outdated install: filed as setup-preflight: the version floor is never checked on Codex, Gemini CLI or Copilot CLI #1641.state.json, and the newtools/dev/render-preflight-fixtures.pyrenders the reports from it by running the real checker. Therender-preflight-fixturesprek hook re-renders on any change to the checker, its rules sections or the cases, so the suite can no longer drift from the checker unnoticed;--checkfails on drift without writing.tools/dev/tests/test_render_preflight_fixtures.py5/5, including the red cases (a changed rule, a changed state, a case with nostate.json).!/<dir>/magpie-setup), the self-adoption "link name" example ininstall.md, and every line under a snapshot-specific heading were restored by hand.README.mdand the snapshot-onlydocs/setup/uninstall.mdare back to/magpie-setup;setup/step-m4-install-gatescase 7 now expects the hand-off to/magpie-setup:setup adopt(suite 7/7). Codex passed the fix commit with no findings.Linked issues
Refs #1641 (found while repairing
preflight-floor).Notes for reviewers (optional)
docs/designs/anddocs/rfcs/(historical records), eval fixtures (self-contained scenarios),GEMINI.mdanddocs/adapters/(other harnesses resolve names differently), and.apache-magpie-overrides/(this repository's own self-adoption)..gitignoregains/.roborev/: a roborev review writes its snapshot into the working tree.Generative AI disclosure: drafted with Claude Code (Opus 5.5) and reviewed by the author.
🤖 Generated with Claude Code