Repository navigation
Scaffold the qe plugin: check-style umbrella + per-category sub-skills - #2
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR scaffolds the new qe plugin and its /qe:check-style umbrella skill plus thin per-category entry-point skills, and wires the plugin into the repository’s marketplace + top-level documentation. It’s intentionally structure-only (no rule DB content or checker scripts yet), setting up the directories, manifests, and SKILL.md stubs for follow-up PRs.
Changes:
- Register the
qeplugin in.claude-plugin/marketplace.jsonand document installation/structure inREADME.md. - Add
qe/.claude-plugin/plugin.jsonplus initialSKILL.mdstubs forcheck-styleand per-category skills. - Add placeholder READMEs for the shared rules and scripts locations under
qe/.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Documents the new qe plugin, installation, and repo layout. |
| .claude-plugin/marketplace.json | Registers the qe plugin in the marketplace. |
| qe/.claude-plugin/plugin.json | Defines the qe plugin manifest (name/description/version). |
| qe/skills/check-style/SKILL.md | Adds the umbrella style-check skill scaffold and procedure outline. |
| qe/skills/check-writing/SKILL.md | Adds a thin per-category skill scaffold for writing rules. |
| qe/skills/check-math/SKILL.md | Adds a thin per-category skill scaffold for math rules. |
| qe/skills/check-code/SKILL.md | Adds a thin per-category skill scaffold for code rules. |
| qe/skills/check-figures/SKILL.md | Adds a thin per-category skill scaffold for figure rules. |
| qe/skills/check-jax/SKILL.md | Adds a thin per-category skill scaffold for JAX rules. |
| qe/skills/check-refs/SKILL.md | Adds a thin per-category skill scaffold for references/citations rules. |
| qe/scripts/README.md | Adds a placeholder description for planned deterministic preflight scripts. |
| qe/references/rules/README.md | Adds a placeholder description of the planned rules schema/layout. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
mmcky
added a commit
that referenced
this pull request
Jul 21, 2026
Addresses Copilot review on #2. The relative ../../../CATALOG.md links actually resolved correctly in rendered Markdown (the files are three levels deep), but verifying that surfaced a real portability issue: installed plugins ship only the qe/ directory (marketplace source.path), so repo-root files are absent at skill runtime. An absolute GitHub URL works in both contexts. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Adds the author-facing qe plugin agreed in CATALOG.md:
- /qe:check-style umbrella (whole lecture, optional category filter)
- Thin sub-skills check-{writing,math,code,figures,jax,refs}, each a
pointer to the shared procedure restricted to one category
- references/rules/ README documenting the QuantEcon/style-guide rule
schema the vendored rules will use, and the seeding plan
- scripts/ README documenting the pending MyST-context-aware preflight
checkers and the sync-rules drift mechanism
- Marketplace registration and README updates
All skills are marked scaffolding: rule content and preflight scripts
land in follow-up PRs per the work plan in project-style-guide.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Rule text is authored only in QuantEcon/style-guide (Phase 5 no-drift exit criterion); qe/references/rules/ is a rendered, drift-checked consumer via a render-skill target + sync script. Records the open D8 tension (private rules DB vs public marketplace) and links the programme proposal QuantEcon/project-style-guide#6. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Addresses Copilot review on #2. The relative ../../../CATALOG.md links actually resolved correctly in rendered Markdown (the files are three levels deep), but verifying that surfaced a real portability issue: installed plugins ship only the qe/ directory (marketplace source.path), so repo-root files are absent at skill runtime. An absolute GitHub URL works in both contexts. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
mmcky
force-pushed
the
scaffold-qe-plugin
branch
from
July 21, 2026 01:58
c529168 to
4fa7d47
Compare
This was referenced Jul 21, 2026
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]>
mmcky
added a commit
that referenced
this pull request
Aug 25, 2026
…0.6.0) (#52) * qe: remove the style-check scaffolding — the plan lives in issue #3 (0.6.0) All seven check-* skills had reported "not yet operational" since #2 merged; the rules snapshot and preflight they depend on are still pending upstream. Seven dead slash-menu entries cost more than they signal, so the scaffold leaves the shipped plugin: skill dirs, qe/references/rules/, and the pending "Style preflight" section of qe/scripts/README.md. The frontmatter descriptions and design contracts are preserved on issue #3, where the unchanged plan now solely lives; the skills return operational, not as scaffolding. Docs updated to match (CATALOG, README, using-skills, AGENTS), plugin description narrowed to what ships, qe bumped to 0.6.0. Co-Authored-By: Claude Fable 5 <[email protected]> * Docs: align developing-skills.md with the no-scaffolding policy Copilot's review of #52 caught the contributor-facing doc still describing scaffolding as something that ships and registers in the slash menu, and still describing qe by its removed umbrella + sub-skills shape. Both now match the policy set in this PR; the /qe:check-style naming example is kept but marked as planned (#3), and the rules-snapshot sentence moves to the future tense. Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: Claude Fable 5 <[email protected]>
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.
Stacked on #1 (merge that first; this PR then retargets to main automatically).
Scaffolding only — no rule content or checker scripts yet; those land in follow-up PRs per the work plan being set up in project-style-guide. Skill development is deliberately excluded so the structure can be reviewed on its own.
What this adds
The
qeplugin — the author-facing surface agreed in CATALOG.md: one memorable prefix for the skills authors use while editing lectures and preparing PRs, withbenchmarkremaining a separate specialist plugin./qe:check-style/qe:check-style lectures/aiyagari.md figures math)/qe:check-writing-math-code-figures-jax-refsShared plugin-level content locations (documented, pending):
qe/references/rules/— one file per category in theQuantEcon/style-guideschema (qe-*IDs,mode,severity,build_risk,auto_fix,detection,exclusions). Rules are authored once here and submitted upstream for ratification, so skill work seeds the canonical DB rather than forking another copy.qe/scripts/— MyST-context-aware deterministic preflight checkers (zero-false-positive bar, style-guide fixtures layout) plus the plannedsync-rules.pydrift mechanism.Design invariants encoded in the umbrella skill: preflight scripts before LLM passes; report first, fix on request;
build_riskand RNG-stream rules are never auto-applied.All 8 skills across both plugins pass
scripts/validate.py(manifest agreement + frontmatter checks) and CI runs it on this PR.🤖 Generated with Claude Code