fix: harden maintainer setup and release checks #291
Merged
LadyBluenotes(GitHub profile, opens in a new tab)merged 4 commits into
feat/reusable-check-workflow fromrefs/pull/291/head·merged by LadyBluenotes(GitHub profile, opens in a new tab) Showing 28 changed files with 8 additions and 3 deletions (loading 25).
x
@@ -0,0 +1,5 @@
+---
+'@tanstack/intent': patch
+---
+
+Generate commands for installed Intent, reject unsafe setup write paths before creating records, and validate distribution selections before writes. Check JavaScript library contracts and JSX examples across supported Markdown fences, and reuse validation results in maintainer reports to avoid compiling the same examples twice.
@@ -72,7 +72,7 @@
-Run `npx @tanstack/intent@latest validate <skills-root>` with the actual owning package's skill directory (or the repository's installed `intent`). Fix errors without weakening validation. Keep every SKILL.md within the 500-line limit. Review packaging warnings separately; they do not require installing dependencies or changing publishing configuration during authoring.
+Run `npm exec --no -- intent validate <skills-root>` with the actual owning package's skill directory (or the repository's installed `intent`). Fix errors without weakening validation. Keep every SKILL.md within the 500-line limit. Review packaging warnings separately; they do not require installing dependencies or changing publishing configuration during authoring.
Check that every reference and prerequisite resolves, every changed claim matches the cited source/version, and examples use actual supported APIs. Exercise the relevant example or package check where available. Intent's structural validation does not prove semantic correctness or agent behavior. If a check cannot run, report it as not verified with the reason.
@@ -29,7 +29,7 @@
-Agents discover skills via `npx @tanstack/intent list` and read them directly from `node_modules`. Framework skills declare a `requires` dependency on their core skill so agents load them in the right order.
+Agents discover skills via `npm exec --no -- intent list` and read them directly from `node_modules`. Framework skills declare a `requires` dependency on their core skill so agents load them in the right order.