@dragonbyte/dsh-fission-skills 0.1.25 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/index.mjs +6 -41
  2. package/package.json +2 -2
  3. package/skills/fission/SKILL.md +32 -369
  4. package/skills/fission/team-profile.md +41 -110
  5. package/skills/asset-extractor/SKILL.md +0 -173
  6. package/skills/depth-quality-gate/SKILL.md +0 -65
  7. package/skills/fission-clip-prompt/SKILL.md +0 -174
  8. package/skills/location-sheets/SKILL.md +0 -53
  9. package/skills/pipeline-a-1-outline/SKILL.md +0 -63
  10. package/skills/pipeline-a-1-outline/references/method.md +0 -81
  11. package/skills/pipeline-a-1-outline/references/output.md +0 -31
  12. package/skills/pipeline-a-1-split-episodes/SKILL.md +0 -49
  13. package/skills/pipeline-a-1-split-episodes/references/method.md +0 -57
  14. package/skills/pipeline-a-1-split-episodes/references/output.md +0 -43
  15. package/skills/pipeline-a-2-screenplay/SKILL.md +0 -74
  16. package/skills/pipeline-a-2-screenplay/references/output.md +0 -121
  17. package/skills/pipeline-a-2-screenplay/references/performance-design.md +0 -153
  18. package/skills/pipeline-a-2-screenplay/references/screenplay-authoring.md +0 -101
  19. package/skills/pipeline-a-3-assets/SKILL.md +0 -73
  20. package/skills/pipeline-a-3-assets/references/character-design.md +0 -117
  21. package/skills/pipeline-a-3-assets/references/environment-design.md +0 -115
  22. package/skills/pipeline-a-3-assets/references/environment-layout.md +0 -71
  23. package/skills/pipeline-a-3-assets/references/output.md +0 -97
  24. package/skills/pipeline-a-3-assets/references/planning-and-reuse.md +0 -53
  25. package/skills/pipeline-a-3-assets/references/prop-design.md +0 -136
  26. package/skills/pipeline-a-3-assets/references/voice-design.md +0 -35
  27. package/skills/pipeline-a-3-character-prompt/SKILL.md +0 -56
  28. package/skills/pipeline-a-3-character-prompt/references/examples/character-sheet-layout.png +0 -0
  29. package/skills/pipeline-a-3-character-prompt/references/prompt.md +0 -65
  30. package/skills/pipeline-a-4-director/SKILL.md +0 -80
  31. package/skills/pipeline-a-4-director/references/camera-techniques.md +0 -185
  32. package/skills/pipeline-a-4-director/references/directing.md +0 -179
  33. package/skills/pipeline-a-4-director/references/output.md +0 -163
  34. package/skills/pipeline-a-4-director/references/visual-direction.md +0 -123
  35. package/skills/pipeline-a-4-storyboard/SKILL.md +0 -53
  36. package/skills/pipeline-a-4-storyboard/references/blocking.md +0 -61
  37. package/skills/pipeline-a-4-storyboard/references/cinematography.md +0 -293
  38. package/skills/pipeline-a-4-storyboard/references/editing.md +0 -150
  39. package/skills/pipeline-a-4-storyboard/references/output.md +0 -113
  40. package/skills/pipeline-a-4-storyboard/references/review.md +0 -75
  41. package/skills/pipeline-a-5-prompts/SKILL.md +0 -62
  42. package/skills/pipeline-a-5-prompts/references/examples/corridor-tracking.md +0 -56
  43. package/skills/pipeline-a-5-prompts/references/examples/face-to-face-slap.md +0 -109
  44. package/skills/pipeline-a-5-prompts/references/output.md +0 -109
  45. package/skills/pipeline-a-5-prompts/references/prompt-writing.md +0 -132
  46. package/skills/pipeline-a-5-prompts/references/review.md +0 -90
  47. package/skills/pipeline-a-6-video-review/SKILL.md +0 -42
  48. package/skills/pipeline-a-6-video-review/references/method.md +0 -54
  49. package/skills/pipeline-a-6-video-review/references/output.md +0 -17
  50. package/skills/pipeline-a-orchestrator/SKILL.md +0 -49
  51. package/skills/pipeline-a-orchestrator/references/contract.md +0 -151
  52. package/skills/render-gate/SKILL.md +0 -70
  53. package/skills/storybreaker/SKILL.md +0 -134
  54. package/skills/us01-image-config/SKILL.md +0 -56
  55. package/skills/visual-style/SKILL.md +0 -283
  56. package/skills/wardrobe-sheets/SKILL.md +0 -71
package/index.mjs CHANGED
@@ -1,50 +1,15 @@
1
- import { readdirSync, readFileSync } from 'node:fs';
1
+ import { readFileSync } from 'node:fs';
2
2
  import { dirname, join } from 'node:path';
3
3
  import { fileURLToPath } from 'node:url';
4
4
 
5
5
  export const name = 'fission-skills';
6
6
  export const inject = ['skills'];
7
7
 
8
- // This bundle's own flow, edited here.
9
- const core = [
10
- 'asset-extractor', 'depth-quality-gate', 'dialogue-ledger', 'fission',
11
- 'fission-clip-prompt', 'location-sheets', 'render-gate', 'source-script-extraction',
12
- 'storybreaker', 'transpose-audit', 'us01-image-config', 'visual-style', 'wardrobe-sheets',
13
- ];
8
+ // Source video or script -> adapted script and its script details. Production
9
+ // (assets, storyboard, prompts, renders) is not in this bundle: the
10
+ // script-to-video pipeline ships in @dragonbyte/dsh-drama-skills.
11
+ const skills = ['dialogue-ledger', 'fission', 'source-script-extraction', 'transpose-audit'];
14
12
 
15
- // A pipeline is one version of the script -> video flow: an entry point named
16
- // `pipeline-<id>-orchestrator` plus one skill per stage, named
17
- // `pipeline-<id>-<step>-<stage>`, where the step number is the production step
18
- // the stage's artifact belongs to (1 source analysis,
19
- // 2 screenplay, 3 assets, 4 storyboard, 5 render, 6 post). Several versions ship
20
- // side by side, so the family is discovered from the package's skills directory
21
- // instead of being listed here: publishing or replacing a version is then a
22
- // content change with no edit to this file. Each version is synced from the
23
- // tenant workspace where it is settled by scripts/sync-pipeline.mjs.
24
- //
25
- // Step 6 is split on purpose: reviewing the picture is a stage of the pipeline,
26
- // while cutting and delivering the episode belongs to the `video-editor` skill
27
- // and `editor_*` tools of the separately granted `dsh-video-editor` plugin. An
28
- // orchestrator names both that route and the `media_*` fallback for a tenant
29
- // without the grant.
30
- const pipelineSkill = /^pipeline-([a-z0-9]+)-([a-z0-9]+(?:-[a-z0-9]+)*)$/;
31
-
32
- // A version whose orchestrator is absent has no entry point, and the skills it
33
- // routes to would read as a flow a tenant can start. The `files` whitelist in
34
- // package.json decides what a packed tarball carries, so a partially shipped
35
- // version is the failure worth naming here rather than serving.
36
- function pipelineSkills(root) {
37
- const found = readdirSync(join(root, 'skills'), { withFileTypes: true })
38
- .filter((entry) => entry.isDirectory() && pipelineSkill.test(entry.name))
39
- .map((entry) => entry.name)
40
- .sort();
41
- for (const id of new Set(found.map((name) => pipelineSkill.exec(name)[1]))) {
42
- if (!found.includes(`pipeline-${id}-orchestrator`)) {
43
- throw new Error(`pipeline ${id} ships without its orchestrator`);
44
- }
45
- }
46
- return found;
47
- }
48
13
  const provider = 'fission-skills-bundle';
49
14
  const invocation = { modelInvocable: true, userInvocable: true };
50
15
 
@@ -56,7 +21,7 @@ const packageDir = dirname(fileURLToPath(import.meta.url));
56
21
 
57
22
  function definitionsAt(root) {
58
23
  const definitions = new Map();
59
- for (const skillName of [...core, ...pipelineSkills(root)]) {
24
+ for (const skillName of skills) {
60
25
  const content = readFileSync(join(root, 'skills', skillName, 'SKILL.md'), 'utf8');
61
26
  const header = /^---\r?\nname: ([a-z][a-z0-9-]*)\r?\ndescription: (.+)\r?\n---\r?\n/.exec(content);
62
27
  if (header?.[1] !== skillName) throw new Error(`invalid ${skillName} skill metadata`);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dragonbyte/dsh-fission-skills",
3
- "version": "0.1.25",
4
- "description": "DSH skill bundle for Fission script adaptation and the script-to-video pipelines.",
3
+ "version": "0.2.0",
4
+ "description": "DSH skill bundle for Fission: a source video or script turned into an adapted script and its script details.",
5
5
  "type": "module",
6
6
  "main": "./index.mjs",
7
7
  "exports": {