docs(cli,skills): teach check as the canonical verification gate

Scaffolded projects' npm run check now invokes the single check command
instead of chaining lint, validate, and inspect (three Chrome boots
become one). The CLI skill, its correctness reference, the entry skill's
capability map, README/docs catalog rows, the Mintlify CLI page (new
check section, deprecation banner on inspect), template CLAUDE/AGENTS
(byte-identical), root CLAUDE/AGENTS, and every creation-workflow skill
that taught the old sequence all point at check. snapshot keeps its
standalone sections; validate/inspect stay documented as deprecated
aliases with their check equivalents.
This commit is contained in:
Miguel Angel Simon Sierra
2026-07-10 13:30:09 -04:00
parent b218ee7443
commit cf7c1d7609
41 changed files with 164 additions and 141 deletions
+2 -4
View File
@@ -50,8 +50,7 @@ describe("hyperframes init flag rename", () => {
expect(pkg.type).toBe("module");
expect(pkg.scripts).toMatchObject({
dev: "npx --yes hyperframes preview",
check:
"npx --yes hyperframes lint && npx --yes hyperframes validate && npx --yes hyperframes inspect",
check: "npx --yes hyperframes check",
render: "npx --yes hyperframes render",
publish: "npx --yes hyperframes publish",
});
@@ -84,8 +83,7 @@ describe("hyperframes init flag rename", () => {
};
expect(pkg.scripts).toMatchObject({
dev: "npx --yes hyperframes preview",
check:
"npx --yes hyperframes lint && npx --yes hyperframes validate && npx --yes hyperframes inspect",
check: "npx --yes hyperframes check",
render: "npx --yes hyperframes render",
publish: "npx --yes hyperframes publish",
});
+1 -3
View File
@@ -224,9 +224,7 @@ function hyperframesScript(command: string): string {
function buildPackageScripts(): Record<string, string> {
return {
dev: hyperframesScript("preview"),
check:
`${hyperframesScript("lint")} && ${hyperframesScript("validate")} && ` +
`${hyperframesScript("inspect")}`,
check: hyperframesScript("check"),
render: hyperframesScript("render"),
publish: hyperframesScript("publish"),
};
+2 -2
View File
@@ -33,7 +33,7 @@ The domain skills (`/hyperframes-core`, `/hyperframes-animation`, `/hyperframes-
```bash
npm run dev # start the preview server (long-running — keep it alive in background)
npm run check # lint + validate + inspect
npm run check # lint + runtime + layout + motion + contrast (one command)
npm run render # render to MP4
npm run publish # publish and get a shareable link
npx hyperframes lint --verbose # include info-level findings
@@ -76,7 +76,7 @@ After creating or editing any `.html` composition, **always** run the full check
npm run check
```
Fix all errors before presenting the result. Inspect warnings should be reviewed before rendering.
Fix all errors before presenting the result. Warnings should be reviewed before rendering.
## Key Rules
+2 -2
View File
@@ -33,7 +33,7 @@ The domain skills (`/hyperframes-core`, `/hyperframes-animation`, `/hyperframes-
```bash
npm run dev # start the preview server (long-running — keep it alive in background)
npm run check # lint + validate + inspect
npm run check # lint + runtime + layout + motion + contrast (one command)
npm run render # render to MP4
npm run publish # publish and get a shareable link
npx hyperframes lint --verbose # include info-level findings
@@ -76,7 +76,7 @@ After creating or editing any `.html` composition, **always** run the full check
npm run check
```
Fix all errors before presenting the result. Inspect warnings should be reviewed before rendering.
Fix all errors before presenting the result. Warnings should be reviewed before rendering.
## Key Rules