@laitszkin/apollo-toolkit 3.14.8 → 3.15.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 (35) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/archive/SKILL.md +1 -1
  3. package/codex/codex-memory-manager/README.md +2 -2
  4. package/codex/codex-memory-manager/SKILL.md +2 -2
  5. package/deep-research/SKILL.md +28 -0
  6. package/dist/lib/tools/create-specs.js +6 -2
  7. package/docs-project/SKILL.md +1 -1
  8. package/init-project-html/SKILL.md +1 -1
  9. package/lib/tools/create-specs.ts +7 -2
  10. package/novel-to-short-video/README.md +4 -3
  11. package/novel-to-short-video/SKILL.md +2 -2
  12. package/novel-to-short-video/agents/openai.yaml +1 -1
  13. package/package.json +1 -1
  14. package/spec/SKILL.md +13 -9
  15. package/spec/agents/openai.yaml +1 -1
  16. package/video-production/README.md +2 -2
  17. package/video-production/SKILL.md +1 -1
  18. package/video-production/agents/openai.yaml +1 -1
  19. package/deep-research-topics/LICENSE +0 -21
  20. package/deep-research-topics/README.md +0 -43
  21. package/deep-research-topics/SKILL.md +0 -80
  22. package/deep-research-topics/agents/openai.yaml +0 -4
  23. /package/archive/{references → assets}/templates/readme.md +0 -0
  24. /package/codex/codex-memory-manager/{references → assets}/templates/memory-file.md +0 -0
  25. /package/docs-project/{references → assets}/templates/standardized-docs-template.md +0 -0
  26. /package/init-project-html/{references → assets}/architecture-page.template.html +0 -0
  27. /package/novel-to-short-video/{references → assets}/plan-template.md +0 -0
  28. /package/spec/{references → assets}/templates/checklist.md +0 -0
  29. /package/spec/{references → assets}/templates/contract.md +0 -0
  30. /package/spec/{references → assets}/templates/coordination.md +0 -0
  31. /package/spec/{references → assets}/templates/design.md +0 -0
  32. /package/spec/{references → assets}/templates/preparation.md +0 -0
  33. /package/spec/{references → assets}/templates/spec.md +0 -0
  34. /package/spec/{references → assets}/templates/tasks.md +0 -0
  35. /package/video-production/{references → assets}/plan-template.md +0 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  All notable changes to this repository are documented in this file.
4
4
 
5
+ ## [v3.15.0] - 2026-05-16
6
+
7
+ ### Changed
8
+
9
+ - Move all skill templates from `references/` directories into skill-local `assets/` directories for clearer separation between reference docs and template files.
10
+ - Update all internal references (SKILL.md, README.md, agents/openai.yaml, create-specs CLI tool) to point to the new `assets/` paths.
11
+
12
+ ## [v3.14.9] - 2026-05-16
13
+
14
+ ### Fixed
15
+
16
+ - Prevent double-date-nesting in `apltk create-specs` when `--output-dir` points to an existing date folder; the handler no longer appends today's date again, avoiding a `YYYY-MM-DD/YYYY-MM-DD/` nested structure.
17
+
5
18
  ## [v3.14.8] - 2026-05-16
6
19
 
7
20
  ### Fixed
package/archive/SKILL.md CHANGED
@@ -25,4 +25,4 @@ description: 將已完成的spec歸檔到 `docs/archive/` 下。當你需要將s
25
25
 
26
26
  ## 參考資料索引
27
27
 
28
- - `references/templates/readme.md`:README.md 模板
28
+ - `assets/templates/readme.md`:README.md 模板
@@ -20,7 +20,7 @@ Persist durable user preferences from recent Codex conversations into reusable,
20
20
  ├── LICENSE
21
21
  ├── agents/
22
22
  │ └── openai.yaml
23
- ├── references/
23
+ ├── assets/
24
24
  │ └── templates/
25
25
  │ └── memory-file.md
26
26
  ├── scripts/
@@ -57,7 +57,7 @@ apltk sync-codex-memory-index --agents-file ~/.codex/AGENTS.md --memory-dir ~/.c
57
57
  Use the bundled memory template when creating or refactoring category files:
58
58
 
59
59
  ```bash
60
- sed -n '1,200p' references/templates/memory-file.md
60
+ sed -n '1,200p' assets/templates/memory-file.md
61
61
  ```
62
62
 
63
63
  ## License
@@ -70,7 +70,7 @@ apltk extract-codex-conversations --lookback-minutes 1440
70
70
  - Prefer wording that captures a reusable choice pattern such as `Prefer X when Y` or `Do not do Z when Q`.
71
71
  - Strip or generalize project-specific nouns, module names, branch names, issue numbers, and niche scenario labels unless they are required to explain the durable preference.
72
72
  - Keep evidence notes concise and factual; they should justify the preference without turning the memory file into a project log.
73
- - Use the normalized structure from `references/templates/memory-file.md` inside each memory file:
73
+ - Use the normalized structure from `assets/templates/memory-file.md` inside each memory file:
74
74
 
75
75
  ```md
76
76
  # User Memory - Engineering Workflow
@@ -140,4 +140,4 @@ apltk sync-codex-memory-index \
140
140
 
141
141
  Load only when needed:
142
142
 
143
- - `references/templates/memory-file.md`
143
+ - `assets/templates/memory-file.md`
@@ -0,0 +1,28 @@
1
+ ---
2
+ name: deep-research
3
+ description: >-
4
+ 對特定內容進行深度搜索;
5
+ 使用場景:在互聯網上查找資訊
6
+ ---
7
+
8
+ ## 目標
9
+
10
+ 在互聯網上深度搜索並查找需要的資訊,並驗證資訊正確性。
11
+
12
+ ## 驗收條件
13
+
14
+ - 生成了包含所需資訊的完整deep research report。
15
+ - deep research report 的內容已經被驗證並確認屬實
16
+
17
+ ## 工作流程
18
+
19
+ ### 1. 網絡搜索
20
+
21
+ 理解用戶需求。並調用外部工具,在互聯網上進行全面的搜索,盡可能獲得詳細的資訊。
22
+ 如果用戶需要查找的程式碼相關內容,且該技術棧、代碼庫是開源代碼倉庫,你需要將其 clone 到臨時目錄之中,並深入閱讀相關代碼從而給出最準確的回答。
23
+ 如果外部環境允許調用 subagents,建議通過並行調度 subagents 來完成搜索、閱讀等工作。
24
+
25
+ ### 2. 報告生成
26
+
27
+ 整理並通過網絡搜索驗證所有獲得的資訊,並製作一份全面的報告。
28
+ 你需要引用相關官方文檔或代碼片段佐證報告內容。
@@ -119,7 +119,7 @@ Options:
119
119
  }
120
120
  // Resolve template directory
121
121
  const sourceRoot = context.sourceRoot || node_path_1.default.resolve(__dirname, '..', '..', '..');
122
- const templateDirRaw = parsed['template-dir'] || node_path_1.default.join(sourceRoot, 'spec', 'references', 'templates');
122
+ const templateDirRaw = parsed['template-dir'] || node_path_1.default.join(sourceRoot, 'spec', 'assets', 'templates');
123
123
  const templateDir = node_path_1.default.resolve(templateDirRaw);
124
124
  if (!node_fs_1.default.existsSync(templateDir)) {
125
125
  stderr.write(`Error: Template directory not found: ${templateDir}\n`);
@@ -139,7 +139,11 @@ Options:
139
139
  }
140
140
  const outputDir = node_path_1.default.resolve(parsed['output-dir'] || 'docs/plans');
141
141
  const today = new Date().toISOString().slice(0, 10);
142
- const dateRoot = node_path_1.default.join(outputDir, today);
142
+ // Prevent double-nesting: if outputDir's last component is already today's date,
143
+ // use it directly as the date root rather than appending the date again.
144
+ // This handles the case where --output-dir already points to an existing
145
+ // date folder (e.g. docs/plans/2026-05-16).
146
+ const dateRoot = node_path_1.default.basename(outputDir) === today ? outputDir : node_path_1.default.join(outputDir, today);
143
147
  const batchRoot = batchName ? node_path_1.default.join(dateRoot, batchName) : null;
144
148
  const outputRoot = batchRoot ? node_path_1.default.join(batchRoot, changeName) : node_path_1.default.join(dateRoot, changeName);
145
149
  const outputPaths = TEMPLATE_FILENAMES.map((name) => node_path_1.default.join(outputRoot, name));
@@ -30,4 +30,4 @@ description: >-
30
30
  根據上一步找到的所有遺漏或項目文檔與實際代碼脫節之處,制定文檔更新策略。使用模板之中所規範的格式,重寫項目文檔,並移除除必要文檔(如 `CHANGELOG.md`, `CONTRIBUTION.md` )外的舊有說明文檔。
31
31
 
32
32
  ## 參考資料
33
- - `references/templates/standardized-docs-template.md` - 三類文檔的目標結構、分類規則與清理檢查表。
33
+ - `assets/templates/standardized-docs-template.md` - 三類文檔的目標結構、分類規則與清理檢查表。
@@ -30,7 +30,7 @@ description: 當你需要為項目初始化架構圖時,使用此技能。
30
30
 
31
31
  - `references/TEMPLATE_SPEC.md`:atlas 欄位、列舉和 CLI 寫入形狀速查表。
32
32
  - `references/definition.md`: 功能模塊和子模塊的詳細定義。
33
- - `references/architecture-page.template.html`: 模板html。
33
+ - `assets/architecture-page.template.html`: 模板html。
34
34
  - `references/architecture.css`: 風格模板。
35
35
  - `sample-demo/`:完整示例輸出,用於理解基礎 atlas 的最終形態。
36
36
  - `apltk architecture --help` - cli 工具的指引指令。
@@ -125,7 +125,7 @@ Options:
125
125
 
126
126
  // Resolve template directory
127
127
  const sourceRoot = context.sourceRoot || path.resolve(__dirname, '..', '..', '..');
128
- const templateDirRaw = (parsed['template-dir'] as string) || path.join(sourceRoot, 'spec', 'references', 'templates');
128
+ const templateDirRaw = (parsed['template-dir'] as string) || path.join(sourceRoot, 'spec', 'assets', 'templates');
129
129
  const templateDir = path.resolve(templateDirRaw);
130
130
 
131
131
  if (!fs.existsSync(templateDir)) {
@@ -148,7 +148,12 @@ Options:
148
148
 
149
149
  const outputDir = path.resolve(parsed['output-dir'] as string || 'docs/plans');
150
150
  const today = new Date().toISOString().slice(0, 10);
151
- const dateRoot = path.join(outputDir, today);
151
+
152
+ // Prevent double-nesting: if outputDir's last component is already today's date,
153
+ // use it directly as the date root rather than appending the date again.
154
+ // This handles the case where --output-dir already points to an existing
155
+ // date folder (e.g. docs/plans/2026-05-16).
156
+ const dateRoot = path.basename(outputDir) === today ? outputDir : path.join(outputDir, today);
152
157
  const batchRoot = batchName ? path.join(dateRoot, batchName) : null;
153
158
  const outputRoot = batchRoot ? path.join(batchRoot, changeName) : path.join(dateRoot, changeName);
154
159
 
@@ -7,7 +7,7 @@ This skill will:
7
7
  - Select exactly one highest-impact, high-tension core segment from the novel
8
8
  - Ensure the selected segment forms a complete mini-story that works standalone
9
9
  - Keep one meaningful unresolved hook at the end to sustain curiosity
10
- - Create a pre-production plan first using `references/plan-template.md` (`docs/plans/<date>-<chapter>.md`)
10
+ - Create a pre-production plan first using `assets/plan-template.md` (`docs/plans/<date>-<chapter>.md`)
11
11
  - Start image/voice/render steps only after explicit user approval of the plan
12
12
  - Generate a loop-closure narration script (opening and ending call back to each other)
13
13
  - Ensure `<project_dir>/roles/roles.json` exists before prompt generation; reuse existing roles and append only missing roles (schema in `references/roles-json.md`)
@@ -29,8 +29,9 @@ novel-to-short-video/
29
29
  ├── SKILL.md
30
30
  ├── agents/
31
31
  │ └── openai.yaml
32
+ ├── assets/
33
+ │ └── plan-template.md
32
34
  ├── references/
33
- │ ├── plan-template.md
34
35
  │ └── roles-json.md
35
36
  ├── README.md
36
37
  └── LICENSE
@@ -52,7 +53,7 @@ novel-to-short-video/
52
53
  - One segment maps to one full video (segment-to-video 1:1)
53
54
  - Story is standalone (clear setup/conflict/turn/outcome) with one unresolved ending question
54
55
  - Plan file is created first: `<project_dir>/docs/plans/<YYYY-MM-DD>-<chapter_slug>.md`
55
- - Plan uses `references/plan-template.md`, and all placeholders are removed after filling
56
+ - Plan uses `assets/plan-template.md`, and all placeholders are removed after filling
56
57
  - Role registry file: `<project_dir>/roles/roles.json` (shared between short-form and long-form workflows, reuses existing roles, appends only missing roles; schema in `references/roles-json.md`)
57
58
  - Ending line and final visuals tie back to the opening for loop closure
58
59
  - Beat-level effects are applied (`hook / escalation / climax / loop-closure`) with controlled intensity to avoid harming subtitle readability
@@ -57,7 +57,7 @@ If critical inputs are missing, ask concise follow-up questions.
57
57
  - `<project_dir>/docs/plans/<YYYY-MM-DD>-<chapter_slug>.md`
58
58
  - `chapter_slug` should come from the chapter name/number and be filesystem-safe.
59
59
  - Build the plan content from template file:
60
- - `references/plan-template.md`
60
+ - `assets/plan-template.md`
61
61
  - The plan markdown must include:
62
62
  - selected highlight segment details,
63
63
  - narration script and beat-level timing for the full video,
@@ -215,7 +215,7 @@ Before finishing, verify all conditions:
215
215
  - exactly 1 highest-impact highlight segment selected
216
216
  - selected segment is understandable as a standalone mini-story
217
217
  - plan markdown exists in `docs/plans/` with date + chapter naming
218
- - plan content starts from `references/plan-template.md`
218
+ - plan content starts from `assets/plan-template.md`
219
219
  - plan markdown includes the selected segment, beat/script details, standalone-story check, lingering-question design, and segment image generation list
220
220
  - plan markdown includes a beat-level special-effects map plus intensity guardrails
221
221
  - all bracketed placeholders/guidance are removed from the final filled plan
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Novel to Short Video"
3
3
  short_description: "Turn the best novel segment into a looping 50-60s short video"
4
- default_prompt: "Use $novel-to-short-video to extract the single most compelling segment from my novel, ensure it forms a self-contained mini-story while ending with lingering curiosity, create a plan markdown from references/plan-template.md under docs/plans with date+chapter naming, include beat-level audience-focus effects and a 3-4 chars/second narration pacing target in the plan, wait for my approval, then ensure <project_dir>/roles/roles.json exists first (create it if missing using references/roles-json.md), reuse existing role prompts, and only append missing roles before generating prompts/images, then generate storyboard images and voiceover, validate narration speed in 3-4 chars/second before render, and render a 50-60 second looping short video with controlled special effects while keeping the Remotion project editable."
4
+ default_prompt: "Use $novel-to-short-video to extract the single most compelling segment from my novel, ensure it forms a self-contained mini-story while ending with lingering curiosity, create a plan markdown from assets/plan-template.md under docs/plans with date+chapter naming, include beat-level audience-focus effects and a 3-4 chars/second narration pacing target in the plan, wait for my approval, then ensure <project_dir>/roles/roles.json exists first (create it if missing using references/roles-json.md), reuse existing role prompts, and only append missing roles before generating prompts/images, then generate storyboard images and voiceover, validate narration speed in 3-4 chars/second before render, and render a 50-60 second looping short video with controlled special effects while keeping the Remotion project editable."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laitszkin/apollo-toolkit",
3
- "version": "3.14.8",
3
+ "version": "3.15.0",
4
4
  "description": "Apollo Toolkit npm installer for managed skill copying across Codex, OpenClaw, and Trae.",
5
5
  "license": "MIT",
6
6
  "author": "LaiTszKin",
package/spec/SKILL.md CHANGED
@@ -38,12 +38,16 @@ description: 當你需要將用戶模糊的複雜需求拆解成有嚴格實作
38
38
  使用 `test-case-strategy` 這個技能,為任務制定基於測試的驗收條件,確保每一個任務在完成之後都能夠被驗證。
39
39
  同時,為需求制定驗收條件,確保用戶需求能夠被測試清晰地驗收、檢驗成果。
40
40
 
41
- ### 5. 使用 `apltk` cli 工具協助完成 spec
41
+ ### 5. 查找開發文檔
42
+
43
+ 在開始撰寫 spec 之前,你需要先使用 `deep-research` 這個技能,按照當中的指引查找滿足用戶需求所需外部依賴的官方文檔或源代碼,確保後續實作階段的產出符合外部規範。
44
+
45
+ ### 6. 使用 `apltk` cli 工具協助完成 spec
42
46
 
43
47
  使用 cli 工具,產生 spec 的模板。將你的完整計劃填入到模板之中。
44
48
  如果該 spec 設計超過三個模塊,則需要創建 batch spec。
45
49
 
46
- ### 6. 使用 `apltk` cli 工具協助完成 spec architecture diff
50
+ ### 7. 使用 `apltk` cli 工具協助完成 spec architecture diff
47
51
 
48
52
  通過 cli 工具生成完整的 architecture diff 讓用戶審閱本次 spec 的架構設計。
49
53
 
@@ -59,13 +63,13 @@ description: 當你需要將用戶模糊的複雜需求拆解成有嚴格實作
59
63
  ## 參考資料
60
64
 
61
65
  - `apltk create-specs` — spec 模板產生器 CLI 工具(TypeScript handler 取代原本的 Python create-specs)。
62
- - `references/templates/spec.md` - `spec.md` 的綁定模板。
63
- - `references/templates/tasks.md` - `tasks.md` 的綁定模板。
64
- - `references/templates/checklist.md` - `checklist.md` 的綁定模板。
65
- - `references/templates/contract.md` - `contract.md` 的綁定模板。
66
- - `references/templates/design.md` - `design.md` 的綁定模板。
67
- - `references/templates/coordination.md` - batch root 的 coordination 模板。
68
- - `references/templates/preparation.md` - batch root 的前置工作模板。
66
+ - `assets/templates/spec.md` - `spec.md` 的綁定模板。
67
+ - `assets/templates/tasks.md` - `tasks.md` 的綁定模板。
68
+ - `assets/templates/checklist.md` - `checklist.md` 的綁定模板。
69
+ - `assets/templates/contract.md` - `contract.md` 的綁定模板。
70
+ - `assets/templates/design.md` - `design.md` 的綁定模板。
71
+ - `assets/templates/coordination.md` - batch root 的 coordination 模板。
72
+ - `assets/templates/preparation.md` - batch root 的前置工作模板。
69
73
  - `references/TEMPLATE_SPEC.md` - `apltk` cli工具相關格式指引。
70
74
  - `apltk create-specs --help` - spec生成相關cli工具的指引命令
71
75
  - `apltk architecture --help` - 架構圖生成相關cli工具的指引命令
@@ -2,7 +2,7 @@ interface:
2
2
  display_name: "spec"
3
3
  short_description: "Generate shared feature spec, task, and checklist docs before coding"
4
4
  default_prompt: >-
5
- Use $spec to create or update single-spec plans under docs/plans/<date>/<change_name>/ or parallel batches under docs/plans/<date>/<batch_name>/<change_name>/ with shared coordination.md and, only when specs cannot be parallel-safe without prior shared work, minimal non-business preparation.md; treat references/templates/*.md as binding format; member specs assume preparation finished—do not duplicate preparation tasks; surface collisions early and resolve ownership via coordination.md; fill BDD in spec.md; integrate $test-case-strategy into tasks/checklists.
5
+ Use $spec to create or update single-spec plans under docs/plans/<date>/<change_name>/ or parallel batches under docs/plans/<date>/<batch_name>/<change_name>/ with shared coordination.md and, only when specs cannot be parallel-safe without prior shared work, minimal non-business preparation.md; treat assets/templates/*.md as binding format; member specs assume preparation finished—do not duplicate preparation tasks; surface collisions early and resolve ownership via coordination.md; fill BDD in spec.md; integrate $test-case-strategy into tasks/checklists.
6
6
  **Critical layering:** design.md + contract.md are higher-level guiding context only (architecture + cite-backed external truth; coarse INT-### / EXT-### anchors). tasks.md MUST be the ONLY enumerated runnable queue with path-level edits and verification hooks—derive tasks FROM spec + design + contract WITHOUT mirroring checklist rows into design/contract; optionally cite INT/EXT on task lines for traceability—never duplicate task choreography inside design.md or contract.md.
7
7
  **Architecture overlay + diff:** When the spec touches atlas surface (feature/sub-module, edges, function/variable rows, dataflow, errors), declare proposed-after state ONLY via `apltk architecture --spec <spec_dir> …`. **Exact verbs/flags: ALWAYS `apltk architecture --help`.** Single-spec plans write `<spec_dir>/architecture_diff/atlas/` + rendered HTML under `<spec_dir>/architecture_diff/`. Batch plans resolve any member `--spec` path to the shared batch-root `architecture_diff/` beside `coordination.md`, so the whole batch keeps one architecture diff. NEVER hand-author `architecture_diff/**`.
8
8
  Completion standard for atlas work: every intended cross-feature edge, every feature-to-feature relationship, and every sub-module relationship in scope must be expressed precisely through the CLI output — not left implicit in prose. After mutations: `render --spec`, `validate --spec` (must be OK pre-approval). **`apltk architecture diff`** opens the paginated before/after viewer over all `docs/plans/**/architecture_diff/` vs base `resources/project-architecture/` — run it when atlas changed; verify modified/added/removed pairing and confirm the rendered graph contains the full intended relationship set.
@@ -14,7 +14,7 @@ A Codex skill for long-form video production (more than 10 minutes) that follows
14
14
  - Uses Remotion best practices to compose and render final output.
15
15
  - Requires timeline animation for long videos to improve audience retention.
16
16
  - Asks interactive clarifying questions when key information is missing (for example subtitle style, target duration, chapter pacing, and animation style).
17
- - Creates `<project_dir>/docs/long-video-plans/<YYYY-MM-DD>-<content_name>.md` from `references/plan-template.md` before generation and waits for user confirmation.
17
+ - Creates `<project_dir>/docs/long-video-plans/<YYYY-MM-DD>-<content_name>.md` from `assets/plan-template.md` before generation and waits for user confirmation.
18
18
  - Uses a compact plan template with only four sections: meta data, reference text, images needed, and animation plan.
19
19
  - Defaults to one long-form video unless the user explicitly requests multi-episode output.
20
20
  - Preserves the Remotion project by default for later edits.
@@ -56,7 +56,7 @@ Return absolute paths for:
56
56
 
57
57
  - `SKILL.md` - workflow and execution rules
58
58
  - `agents/openai.yaml` - display metadata and default prompt
59
- - `references/plan-template.md` - pre-generation plan markdown template
59
+ - `assets/plan-template.md` - pre-generation plan markdown template
60
60
  - `references/roles-json.md` - recurring-role schema for `roles.json`
61
61
 
62
62
  ## Quick Start
@@ -136,7 +136,7 @@ Before generating images/audio/subtitles/video:
136
136
 
137
137
  - create directory `<project_dir>/docs/long-video-plans/` if missing
138
138
  - create a plan file named `<YYYY-MM-DD>-<content_name>.md`
139
- - load the reference template at `references/plan-template.md`
139
+ - load the reference template at `assets/plan-template.md`
140
140
  - copy the template into the plan file first, then fill it
141
141
  - use local date for `YYYY-MM-DD`; sanitize `content_name` for filename safety
142
142
  - keep this long-video plan location separate from short-video plans (`<project_dir>/docs/plans/`)
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Video Production"
3
3
  short_description: "Generate 16:9 long-form videos with plan confirmation, fresh images, and timeline animations"
4
- default_prompt: "Use $video-production to produce long-form videos (more than 10 minutes) by following user instructions. For text inputs, extract a coherent long-form story arc, split it into timed chapters, and keep final output at 16:9 (default 1920x1080). Before generating or updating prompts, detect recurring roles and ensure <project_dir>/roles/roles.json exists first (create it if missing using references/roles-json.md), then reuse existing role prompt skeletons and generate new role entries only for undefined roles using the supported JSON prompt schema. Do not reuse previously generated storyboard pictures; generate fresh storyboard images for each run unless the user supplies external assets. If required details are missing, ask interactive clarifying questions first (for example target duration, chapter pacing, subtitle style, voice, animation style, or role prompt source). Before any generation starts, create a plan markdown at <project_dir>/docs/long-video-plans/<YYYY-MM-DD>-<content_name>.md from references/plan-template.md with only these sections: meta data, reference text, images needed to be generated, and animation plan for audience retention. In the reference text section, refer to source locations only and do not embed full long text. Replace all square-bracket placeholders with concrete content, remove placeholder/instruction text, and then wait for explicit user confirmation. Do not ask whether output should be single or multi-episode; infer from the user request (default to single unless episodes are explicitly requested). Use docs-to-voice when audio/subtitles are missing and remotion-best-practices for final assembly. The final render must include timeline animations to maintain audience focus. Keep the Remotion workspace and ensure its .gitignore excludes dependency/build/cache artifacts (such as node_modules/) so git repositories stay clean."
4
+ default_prompt: "Use $video-production to produce long-form videos (more than 10 minutes) by following user instructions. For text inputs, extract a coherent long-form story arc, split it into timed chapters, and keep final output at 16:9 (default 1920x1080). Before generating or updating prompts, detect recurring roles and ensure <project_dir>/roles/roles.json exists first (create it if missing using references/roles-json.md), then reuse existing role prompt skeletons and generate new role entries only for undefined roles using the supported JSON prompt schema. Do not reuse previously generated storyboard pictures; generate fresh storyboard images for each run unless the user supplies external assets. If required details are missing, ask interactive clarifying questions first (for example target duration, chapter pacing, subtitle style, voice, animation style, or role prompt source). Before any generation starts, create a plan markdown at <project_dir>/docs/long-video-plans/<YYYY-MM-DD>-<content_name>.md from assets/plan-template.md with only these sections: meta data, reference text, images needed to be generated, and animation plan for audience retention. In the reference text section, refer to source locations only and do not embed full long text. Replace all square-bracket placeholders with concrete content, remove placeholder/instruction text, and then wait for explicit user confirmation. Do not ask whether output should be single or multi-episode; infer from the user request (default to single unless episodes are explicitly requested). Use docs-to-voice when audio/subtitles are missing and remotion-best-practices for final assembly. The final render must include timeline animations to maintain audience focus. Keep the Remotion workspace and ensure its .gitignore excludes dependency/build/cache artifacts (such as node_modules/) so git repositories stay clean."
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 LaiTszKin
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,43 +0,0 @@
1
- # Deep Research Topics
2
-
3
- `deep-research-topics` is a reusable research skill for producing evidence-based topic deliverables.
4
-
5
- It helps an agent:
6
-
7
- 1. Understand and scope a research request.
8
- 2. Break the topic into concrete research questions.
9
- 3. Perform deep research with authoritative sources.
10
- 4. Read workspace files to match the existing writing style.
11
- 5. Produce a final file in PDF by default, or Word/slides output when requested.
12
-
13
- ## Dependency skills
14
-
15
- - `pdf`: default output format
16
- - `doc`: optional Word output when requested
17
- - `slides`: optional slide output when requested
18
-
19
- ## Language behavior
20
-
21
- - Default output language: Chinese
22
- - If the user requests another language, follow the user request.
23
- - If the workspace already has a dominant language and the user does not override it, follow the workspace language.
24
- - Use characters and formatting that are safe for Chinese or mixed CJK output.
25
-
26
- ## Repository layout
27
-
28
- - `SKILL.md`: trigger rules, workflow, and dependency contract
29
- - `agents/openai.yaml`: agent-facing metadata
30
-
31
- ## Typical use cases
32
-
33
- Use this skill for:
34
-
35
- - topic briefings
36
- - background research memos
37
- - literature scans
38
- - competitive or landscape research
39
- - decision-support reports
40
-
41
- ## License
42
-
43
- MIT. See `LICENSE`.
@@ -1,80 +0,0 @@
1
- ---
2
- name: deep-research-topics
3
- description: "Research specific topics deeply and turn them into evidence-based deliverables. Use when users need a structured research report, briefing, background memo, literature scan, or decision-support document grounded in authoritative sources. Default to PDF output, but switch to DOCX or PPTX when the user explicitly asks for those formats."
4
- ---
5
-
6
- # Deep Research Topics
7
-
8
- ## Dependencies
9
-
10
- - Required: none.
11
- - Conditional: `pdf` by default, `doc` when Word output is requested, and `slides` when slides are requested.
12
- - Optional: none.
13
- - Fallback: If the required output skill is unavailable, stop and report the missing dependency instead of inventing another export path.
14
-
15
- ## Standards
16
-
17
- - Evidence: Prioritize authoritative sources, verify time-sensitive claims, and keep traceable notes for important facts.
18
- - Execution: Define research questions, inspect workspace style, draft the content, then hand off to exactly one output skill unless multiple formats are explicitly requested.
19
- - Quality: Distinguish verified facts from analysis or inference and call out limitations, conflicts, or stale data explicitly.
20
- - Output: Deliver a polished research file with clear sections, citations, dates, and source links.
21
-
22
- ## Required Workflow
23
-
24
- 1. Understand the request
25
- - Identify the research goal, target audience, decision context, time range, geography, and required depth.
26
- - Extract explicit deliverable requirements such as format, sections, length, and citation expectations.
27
- 2. Break the topic into research questions
28
- - Define the topic boundary and key terms.
29
- - Split the work into the main subtopics, competing views, recent developments, supporting data, and open questions.
30
- - Turn vague requests into a concrete research checklist before drafting.
31
- 3. Perform deep research
32
- - Prioritize authoritative sources: official documentation, government or regulator materials, academic papers, standards bodies, company filings, and well-established institutions.
33
- - Use secondary reporting only to triangulate, summarize, or discover primary sources.
34
- - Verify time-sensitive facts with current sources and record publication dates.
35
- - Keep traceable notes for claims, metrics, dates, and citations.
36
- 4. Read workspace files before writing
37
- - Inspect relevant files in the current workspace to learn the existing language, tone, terminology, heading structure, table style, and citation pattern.
38
- - Reuse established structure and vocabulary when a clear house style already exists.
39
- - If no relevant files exist, use a clean evidence-first structure.
40
- 5. Decide output language and character compatibility
41
- - Default to Chinese.
42
- - If the user explicitly requests another language, follow the user request.
43
- - Otherwise, if the workspace already has a dominant language, follow that language for consistency.
44
- - Use characters, punctuation, and fonts that are safe for Chinese or mixed CJK output. Avoid unusual glyphs that commonly break in PDF, DOCX, or PPTX rendering.
45
- 6. Draft the deliverable
46
- - Include an executive summary or research overview.
47
- - Organize findings by research question or subtopic.
48
- - Distinguish verified facts from analysis or inference.
49
- - Include citations, dates, and source links for important claims.
50
- - State limitations, unresolved questions, and conflicts in the evidence when they exist.
51
- 7. Hand off to the selected output skill
52
- - Use `pdf` by default.
53
- - Switch to `doc` or `slides` only when requested or clearly required by the workspace convention.
54
- - Preserve headings, tables, citations, and appendix material during the handoff.
55
- - If the selected output skill is `pdf`, require PDF visual QA before completion:
56
- - open the rendered PDF locally
57
- - capture temporary screenshots from representative pages
58
- - inspect layout, spacing, glyph rendering, tables, and dense text blocks
59
- - regenerate if the visual result is wrong or unattractive
60
- - delete all temporary QA screenshots after the final PDF passes inspection unless the user explicitly asks to keep them
61
-
62
- ## Source Quality Rules
63
-
64
- - Prefer primary and authoritative sources over commentary.
65
- - Use multiple high-quality sources when the claim is important or contested.
66
- - Do not guess when evidence is incomplete.
67
- - Call out uncertainty, disagreement, or stale data explicitly.
68
- - Keep citations specific enough that another agent can trace them quickly.
69
-
70
- ## Output Expectations
71
-
72
- The final deliverable should usually contain:
73
-
74
- 1. Title and scope
75
- 2. Executive summary
76
- 3. Research questions or evaluation framework
77
- 4. Findings by section
78
- 5. Evidence and citations
79
- 6. Implications, recommendations, or next steps when requested
80
- 7. Limitations or open questions
@@ -1,4 +0,0 @@
1
- interface:
2
- display_name: "Deep Research Topics"
3
- short_description: "Research a topic deeply and deliver a file-backed briefing"
4
- default_prompt: "Use $deep-research-topics to understand the user's research goal, break the topic into concrete research questions, gather high-credibility and authoritative sources, inspect relevant workspace files for language and style consistency, and produce a polished deliverable in PDF by default or DOCX/PPTX when the user requests those formats."
File without changes
File without changes
File without changes