Repository navigation
Conversation
addyosmani
left a comment
There was a problem hiding this comment.
Strong implementation of Joan's #539, and I verified it works: --check passes (the generated surfaces match what's on main today, so it's a faithful capture, not a reformat), the tests pass, validate-skills and validate-commands stay green, and --check is wired into CI. That closes the drift problem cleanly. One design point that's really Joan's call since it's his proposal: this introduces scripts/catalog.json as the single curated source (phases plus per-skill metadata) and generates the surfaces from it, rather than deriving everything straight from skills/. That's a reasonable read of #539 (phase, summary, and order aren't in SKILL.md frontmatter, so they have to live somewhere), and one catalog.json plus generated output beats N hand-maintained lists. But I'd want @nucliweb's sign-off on catalog.json as the source of truth before it lands. Mechanics are verified and green; over to Joan on the design.
|
Hu |
docs/developer-onboarding.md promises that everything CI runs can be run locally, then lists three validators, the eval runner and one hook test. CI runs six validators, seven unit-test files and three hook suites on three operating systems, so a contributor following the doc can fail several steps they never ran. The Tier 1 row in evals/README.md names two validators where there are five, and Tier 2 omits the rank-1 floor. List every workflow command in the onboarding block in workflow order, note the PowerShell glob caveat, state the cross-platform leg, name the workflow file as the source of truth, and align Path 3 and the pre-PR checklist. Update both tier rows in evals/README.md. CLAUDE.md's stale line is left for later because addyosmani#548 edits that file. Every command in the new block was run from this branch and passes, and every command in the workflow appears in the block.
Fixes #539.
Adding a skill currently leaves several catalogs to update by hand:
constraint-driven-developmentis missing from the CLAUDE phase list, meta-skill quick reference, and issue dropdown, while the README heading still says 24 skills. This generates those regions and README counts/tables from the actualskills/membership plus a small editorial presentation file, and adds--checkto CI.--writepreserves surrounding prose; the authored project/discovery trees are checked for membership rather than rewritten.The generator reuses the existing frontmatter parser, adds no dependencies, and rejects invalid or overlapping markers before writing any target. Eighteen regression tests cover drift, additions/removals, read-only checking, idempotence, prose preservation, and malformed/overlapping regions. No new skill or shared-validator rewrite is introduced.
Validation
node --test scripts/*-test.js scripts/lib/*-test.js— 61 tests.node scripts/sync-catalog.js --check; skill, command, artifact-path, reference-link, and version validators;node scripts/run-evals.js --min-rank1 80(86% rank-1);git diff --check.bash hooks/session-start-test.shexpects the retiredprioritypayload and fails identically on unchanged main. test(hooks): assert SessionStart hookSpecificOutput envelope #510 already addresses that test; hooks and the test are unchanged here.Open PRs were checked before submission. This keeps existing validator and hook work separate and preserves the authored content around generated regions.