Skip to content

Tidy repo and add the evidence-based skill catalog - #1

Merged
mmcky merged 2 commits into
mainfrom
tidy-and-catalog
Jul 21, 2026
Merged

mmcky merged 2 commits into
mainfrom
tidy-and-catalog

Conversation

@mmcky

@mmcky mmcky commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Housekeeping pass plus the skill catalog agreed in planning, ahead of the qe-plugin scaffolding (follow-up PR).

Changes

Rename: eval-py-acceleration → review-acceleration. Verb-first, says what the skill produces (a review with a merge recommendation), drops the redundant py. Its rubric weights readability (0.25) above efficiency (0.15) — it is a conversion review that consumes benchmarks, not a benchmark itself. All references updated (skill frontmatter, scripts README, repo README).

LICENSE: BSD-3, matching QuantEcon convention. This repo is installed by other repos and CI, so it needs one.

Validation CI: scripts/validate.py + workflow. Checks that every marketplace plugin entry resolves to a real directory, that plugin.json agrees with marketplace.json on name/version/description, and that each SKILL.md has frontmatter whose name matches its directory with a description long enough to trigger reliably. A malformed manifest otherwise breaks installation silently in every consuming lecture repo. Negative-tested (version-mismatch injection fails the run).

CATALOG.md: the active plan — the qe style skill family (flagship: /qe:check-style umbrella + thin per-category sub-skills, two-layer rules architecture with QuantEcon/style-guide as the canonical DB) and finishing /benchmark:review-acceleration. Validated against ~630 merged PRs across lecture-python.myst, lecture-python-intro, lecture-python-advanced.myst, and lecture-dp: style compliance is the single largest recurring editorial theme, and the ~30 RA editorial-round PRs in intro overlap almost 1:1 with the style-guide rule set.

FUTURE-IDEAS.md: parked candidates (mirror-lecture, triage-build, migrate-rng, intake-lecture, migrate-data) documented but deliberately out of the active plan, plus notes on how skills can serve the benchmarking programme (QuantEcon/meta#335) as consumers of its data.

Context

Planning discussion for QuantEcon/meta#304 and QuantEcon/meta#335 workstream B; the style-guide programme restart proposal lands separately in project-style-guide.

🤖 Generated with Claude Code

- Rename skill eval-py-acceleration -> review-acceleration (verb-first,
  says what it produces; drops the redundant py)
- Add BSD-3 LICENSE
- Add scripts/validate.py + CI workflow validating marketplace/plugin
  manifests and SKILL.md frontmatter (a malformed manifest breaks
  installation silently in every consuming repo)
- Add CATALOG.md: the active plan (qe style skill family + finishing
  review-acceleration), validated against ~630 merged PRs across the
  four main lecture repos
- Add FUTURE-IDEAS.md: parked skill candidates and notes on how skills
  can serve the benchmarking programme (QuantEcon/meta#335)

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings July 21, 2026 00:31

Copilot AI 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.

Pull request overview

Housekeeping PR that standardizes the benchmark skill naming, adds repository licensing, and introduces a CI-backed validator to prevent broken marketplace/plugin/skill manifests from silently breaking downstream installations. It also documents the evidence-based active skill plan and parks longer-term ideas.

Changes:

  • Rename the benchmark skill to /benchmark:review-acceleration and update references/docs accordingly.
  • Add scripts/validate.py plus a GitHub Actions workflow to validate marketplace entries, plugin manifests, and SKILL frontmatter.
  • Add repo documentation (CATALOG.md, FUTURE-IDEAS.md) and include a BSD-3-Clause LICENSE.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
scripts/validate.py Adds local/CI validation of marketplace/plugin manifests and skill frontmatter.
.github/workflows/validate.yml Runs the validation script on PRs and main pushes.
README.md Updates skill name and documents validation workflow and repo layout.
benchmark/skills/review-acceleration/SKILL.md Renames the skill and updates title/frontmatter accordingly.
benchmark/scripts/README.md Updates references to the renamed benchmark skill.
LICENSE Adds BSD-3-Clause licensing for downstream reuse.
CATALOG.md Documents the active, evidence-based skill roadmap.
FUTURE-IDEAS.md Captures deferred/parked skill ideas and benchmarking-program notes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/validate.py Resolved
Comment thread scripts/validate.py Resolved
…st handling

Addresses Copilot review feedback on #1:
- check_skill no longer prints "ok" for a skill it just recorded
  errors against; it prints a "!!" marker line instead
- a malformed `plugins` key (null / non-list) and non-object plugin
  entries are reported as clean validation errors rather than
  raising TypeError

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@mmcky
mmcky merged commit 47723c0 into main Jul 21, 2026
1 check passed
@mmcky
mmcky deleted the tidy-and-catalog branch July 21, 2026 01:54
mmcky added a commit that referenced this pull request Aug 3, 2026
…ces (#28)

* Release procedure: version bumps deliver, changelogs record, CI enforces

A version bump is not bookkeeping in this marketplace — it is the delivery
mechanism. The install cache is keyed by version string
(~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/) and
`claude plugin update` compares version strings only: change a shipped file
without moving the version and every consuming repo is told "already at the
latest version" and keeps the old copy. Verified by simulating a stale install
at 0.2.0 and running the real update command — it refreshed nothing.

That has already happened three times. Replaying the guard added here over all
eleven squash-merges on main blocks #1 (benchmark), #5 (qe) and #27 (qe), with
no false positives on the docs-only or new-plugin merges.

What lands:

- scripts/check-version-bump.py — fails a PR that changes any file under a
  plugin directory without bumping that plugin's version and adding the matching
  CHANGELOG heading. It exits 2, never 0, when it cannot see the base: a guard
  that silently passes when it could not run manufactures confidence. Wired into
  validate.yml with fetch-depth: 0, gated to PRs into the default branch so a
  stacked PR is not asked to mint a second version for content that ships once.
- One CHANGELOG.md per plugin, backfilled from git history. Per-plugin rather
  than at the repo root because the reader who needs it is the installed user,
  whose copy is an extracted cache directory with no .git and no way to reach
  one — a root changelog is not in it and cannot be linked from it. Each file
  ends by naming the trees already distributed under a duplicated version.
- A second CI job running `claude plugin validate --strict`. It parses what
  scripts/validate.py only pattern-matches, and it found a live defect:
  audit/skills/issues/SKILL.md's description is invalid YAML — an unquoted
  plain scalar containing "Read-only: " — which a real parser rejects and the
  repo's regex reader never saw. Fixed here by quoting it. Separate job so the
  stdlib checks stay fast, and the CLI is pinned because under --strict an
  upstream warning would redden an unrelated PR.
- docs/developing-skills.md § Versioning and releases, rewritten: the bump rule
  with its reason, the changelog requirement and why it is per-plugin, what the
  guard does, and `claude plugin tag` for release tags. AGENTS.md gains the
  doc-map row and a working-in-this-repo bullet; README points at the rule.

Versions: qe 0.2.0 → 0.2.1 (delivers #27's SKILL.md correction, which reached
nobody), benchmark 0.3.0 → 0.3.1 and audit 0.1.2 → 0.1.3 (each gains a shipped
CHANGELOG.md, and audit the frontmatter fix). The catalogue version stays at
0.2.0 — no plugin was added, and it is not a cache key.

* Guard: deterministic `highest`, and name the version the system landed in

Copilot review on #28, both comments valid.

`highest` was `max()` over a set, and every unorderable version shares the key
`()`. With two pre-release versions the tie-break was whichever element set
iteration reached first, which varies with hash randomisation — reproduced with
three distinct answers across six PYTHONHASHSEED values. Latent rather than live
(`published` holds at most the merge-base and base-tip versions, and this repo
uses plain X.Y.Z), but a guard that answers differently on different runs cannot
be trusted about anything. Sorting first makes the tie-break the version string:
still arbitrary, the same arbitrary answer every time.

Rejecting non-X.Y.Z outright was the suggested alternative and would have been
simpler, but it bans pre-release versions repo-wide for a defect that is really
about determinism. Instead the skipped downgrade check now prints a note naming
the versions it could not order, so it is visible rather than silent.

benchmark/README.md said the evaluation system landed in v0.3.1. It landed in
0.3.0; 0.3.1 is this changelog-and-README release. The previous value, v0.2.0,
was a version that never existed, so this line has now been wrong twice — it
names 0.3.0 because that is a historical fact and cannot go stale on the next
bump. The changelog entry describing the fix is corrected to match.
mmcky added a commit that referenced this pull request Aug 3, 2026
… citations

Copilot review on #22, both comments valid, plus one they did not catch.

The Cost table's "Completed" column carried bare clock times while Setup records
the snapshot as 2026-07-28T06:45:58Z. The two are ten hours apart and look
contradictory; they are the same instant in AEST. In a measurement record that
ambiguity is not cosmetic, so the column now names its timezone.

The total was wrong against the table's own timestamps. 16:45:59 to 17:08:05 is
22 minutes 6 seconds, and the per-phase elapsed figures sum to about the same,
but the Total row said ~23 min. It matters beyond arithmetic: audit/README.md
and #24 both cite "22 minutes" sourced from this record, so as written the
citation disagreed with its evidence — the same defect this record criticises
elsewhere, one level down. Corrected here and in the two places downstream that
restate it as prose.

Both doctrine citations pointed at the top of doctrine.md rather than the section
being cited, which is a poor look in a document whose complaint #1 is a citation
that does not verify. §2 is now #2-evidence-classes.

§4 is anchored to #4-checkpointing, which is deliberately the post-#24 name. #24
renames that section from "Surviving a long run", and merges immediately after
this — so the alternative anchor would be correct for minutes and wrong
permanently. lychee runs without --include-fragments, so CI checks neither.
mmcky added a commit that referenced this pull request Aug 3, 2026
…026-07-28) (#22)

* Reviews: run 1 of the audit validation program (action-translation, 2026-07-28)

The first execution of /audit:issues as a skill rather than as a hand-run
runbook, recorded per #16's protocol.

Result: the bundle is good and the plugin has seven defects (#21), one of them
in the checkpoint fix that shipped the day before in #17. Eight of the ten
review checks held, including the read-only boundary — git status stayed empty
across a run that wrote 127 KB into the audited repo — and a coverage table that
matches coverage.json on every number.

Two findings are worth naming here because they cut against decisions this repo
made recently. A [verified] citation on the audit's headline finding pointed at
a commit that is not on main, which doctrine §2 permits because it never says
to check reachability. And the run took ~23 minutes for 230 items, against docs
promising "hours, not minutes" — which undercuts doctrine §4's stated premise
that bulk audits outlive sessions, and so the stated justification for the
checkpointing machinery. The honest correction is to keep the machinery and fix
the premise, not to pretend the measurement did not happen.

Checks 9 and 10 — is the tiering right, would you act on this — are the
maintainer's and remain open. Resumability is still untested: the run was not
interrupted, so the program's headline claim survives run 1 unvalidated.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

* Run record: label the clock, reconcile the total, anchor the doctrine citations

Copilot review on #22, both comments valid, plus one they did not catch.

The Cost table's "Completed" column carried bare clock times while Setup records
the snapshot as 2026-07-28T06:45:58Z. The two are ten hours apart and look
contradictory; they are the same instant in AEST. In a measurement record that
ambiguity is not cosmetic, so the column now names its timezone.

The total was wrong against the table's own timestamps. 16:45:59 to 17:08:05 is
22 minutes 6 seconds, and the per-phase elapsed figures sum to about the same,
but the Total row said ~23 min. It matters beyond arithmetic: audit/README.md
and #24 both cite "22 minutes" sourced from this record, so as written the
citation disagreed with its evidence — the same defect this record criticises
elsewhere, one level down. Corrected here and in the two places downstream that
restate it as prose.

Both doctrine citations pointed at the top of doctrine.md rather than the section
being cited, which is a poor look in a document whose complaint #1 is a citation
that does not verify. §2 is now #2-evidence-classes.

§4 is anchored to #4-checkpointing, which is deliberately the post-#24 name. #24
renames that section from "Surviving a long run", and merges immediately after
this — so the alternative anchor would be correct for minutes and wrong
permanently. lychee runs without --include-fragments, so CI checks neither.

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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.

2 participants