docs(skills): style-sampling pulls the template every time, so a received copy is checked first (#7924)

* docs(skills): style-sampling pulls the template every time, so a received copy is checked first

* chore(skills): regenerate the skills manifest for the style-sampling change

* test(skills): style-sampling must pull before using a template, resuming included
This commit is contained in:
Miguel Ángel
2026-11-16 05:54:07 +00:00
committed by GitHub
parent 25c6035212
commit d796fd59ec
3 changed files with 11 additions and 2 deletions
@@ -20,6 +20,15 @@ describe("hyperframes contract docs", () => {
expect(minimal).toMatch(/window\.__timelines\["main"\]/);
});
it("makes style-sampling pull a template before using it, resuming included", () => {
const skill = read("skills", "style-sampling", "SKILL.md");
const pull = skill.split("\n## Pull\n")[1]!.split("\n## ")[0]!;
expect(pull).toMatch(/every time, resuming included, before using `templates\/<slug>\/`/);
expect(pull).toMatch(/Never run a kit tool from a template this session did not pull/);
expect(pull).not.toMatch(/not downloaded again/);
});
it("teaches check as the canonical quality gate", () => {
const skill = read("skills", "hyperframes", "SKILL.md");
+1 -1
View File
@@ -34,7 +34,7 @@
"files": 2
},
"style-sampling": {
"hash": "46f7b0d23385baf3",
"hash": "5378b0a22d46cd0d",
"files": 2
}
}
+1 -1
View File
@@ -43,7 +43,7 @@ Run `npx hyperframes auth status` first, every time, resuming included. It is fo
npx hyperframes templates pull <slug>
```
The template lands in `templates/<slug>/`. A pull costs no credits, and one already there is not downloaded again. Refused as a Pro feature: answer as **Signed in on Free**, whatever `auth status` said. Any other failure: say what failed and stop. Never rebuild a template from memory, the web or a copy found elsewhere.
Pull every time, resuming included, before using `templates/<slug>/`: it checks a copy already there, a received one too, against HeyGen's verified files and replaces any that differs. Never run a kit tool from a template this session did not pull. A pull costs no credits. Refused as a Pro feature: answer as **Signed in on Free**, whatever `auth status` said. Any other failure: say what failed and stop. Never rebuild a template from memory, the web or a copy found elsewhere.
## Make the episode