Skip to content

docs: name skills the way a marketplace install invokes them - #1642

Merged
potiuk merged 3 commits into
apache:mainfrom
potiuk:docs/marketplace-invocation-names
Oct 16, 2026
Merged

potiuk merged 3 commits into
apache:mainfrom
potiuk:docs/marketplace-invocation-names

Conversation

@potiuk

@potiuk potiuk commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Docs and skill instructions told adopters to run /magpie-setup, /magpie-security-issue-triage and 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.
  • Invocations now use the marketplace form: 628 rewrites in 129 files, including the pre-flight block every skill carries, the generated family config tables, and the animated walkthrough and wizard SVGs (their generators are updated, so they stay that way).
  • Text about the snapshot or self-adoption install keeps the shorter names: docs/quick-start/other-install-methods.md, CONTRIBUTING.md, the pre-flight step-2 rules, the dual-name tables in docs/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

  • Skill change (.claude/skills/<name>/) — eval fixtures updated below
  • Documentation (docs/, README.md, CONTRIBUTING.md)
  • CI / dev loop (prek, workflows, validators)

Test plan

  • prek run --all-files passes (surface hashes and measured_tokens restamped; generated tables and SVGs regenerated and checked by their hooks)
  • For skill changes: setup/step-unknown-subaction 4/4, setup/preflight-floor 8/8.
  • setup/preflight-floor repaired (it failed 6 of 8 on main): it predated the pre-flight checker, so 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. mention_adopt gets the assertion it never had; the obsolete mention_unknown expectation is dropped, because the checker deliberately says nothing about an unreadable listing. step-3 now 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.
  • Kept in sync from now on: each case's state lives in its own state.json, and the new tools/dev/render-preflight-fixtures.py renders the reports from it by running the real checker. The render-preflight-fixtures prek 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; --check fails on drift without writing. tools/dev/tests/test_render_preflight_fixtures.py 5/5, including the red cases (a changed rule, a changed state, a case with no state.json).
  • Rewrite reviewed for false hits: path globs (!/<dir>/magpie-setup), the self-adoption "link name" example in install.md, and every line under a snapshot-specific heading were restored by hand.
  • Second read: codex (via roborev) on the branch found two misses, both fixed. The pinned-snapshot steps in README.md and the snapshot-only docs/setup/uninstall.md are back to /magpie-setup; setup/step-m4-install-gates case 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)

  • Left as written on purpose: docs/designs/ and docs/rfcs/ (historical records), eval fixtures (self-contained scenarios), GEMINI.md and docs/adapters/ (other harnesses resolve names differently), and .apache-magpie-overrides/ (this repository's own self-adoption).
  • About 48 lines keep the short form because they sit inside snapshot or dual-name text; the diff is the list.
  • .gitignore gains /.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

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)
@potiuk potiuk added family:setup setup-* skills family:docs Docs, MISSION.md, READMEs capability:platform Framework / agent substrate skills (install, verify, doctor, override, status, setup bootstrap) labels Oct 15, 2026
…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)
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
potiuk merged commit b4fca1e into apache:main Oct 16, 2026
12 of 13 checks passed
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

capability:platform Framework / agent substrate skills (install, verify, doctor, override, status, setup bootstrap) family:docs Docs, MISSION.md, READMEs family:setup setup-* skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant