mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 07:50:13 +00:00
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:
@@ -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");
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
"files": 2
|
||||
},
|
||||
"style-sampling": {
|
||||
"hash": "46f7b0d23385baf3",
|
||||
"hash": "5378b0a22d46cd0d",
|
||||
"files": 2
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user