@laitszkin/apollo-toolkit 3.13.2 → 3.14.1

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 (154) hide show
  1. package/AGENTS.md +7 -7
  2. package/CHANGELOG.md +36 -0
  3. package/CLAUDE.md +8 -8
  4. package/analyse-app-logs/SKILL.md +3 -3
  5. package/bin/apollo-toolkit.ts +7 -0
  6. package/codex/codex-memory-manager/SKILL.md +2 -2
  7. package/codex/learn-skill-from-conversations/SKILL.md +3 -3
  8. package/dist/bin/apollo-toolkit.d.ts +2 -0
  9. package/dist/bin/apollo-toolkit.js +7 -0
  10. package/dist/lib/cli.d.ts +41 -0
  11. package/dist/lib/cli.js +655 -0
  12. package/dist/lib/installer.d.ts +59 -0
  13. package/dist/lib/installer.js +404 -0
  14. package/dist/lib/tool-runner.d.ts +19 -0
  15. package/dist/lib/tool-runner.js +536 -0
  16. package/dist/lib/tools/architecture.d.ts +2 -0
  17. package/dist/lib/tools/architecture.js +23 -0
  18. package/dist/lib/tools/create-specs.d.ts +2 -0
  19. package/dist/lib/tools/create-specs.js +175 -0
  20. package/dist/lib/tools/docs-to-voice.d.ts +2 -0
  21. package/dist/lib/tools/docs-to-voice.js +705 -0
  22. package/dist/lib/tools/enforce-video-aspect-ratio.d.ts +2 -0
  23. package/dist/lib/tools/enforce-video-aspect-ratio.js +312 -0
  24. package/dist/lib/tools/extract-conversations.d.ts +2 -0
  25. package/dist/lib/tools/extract-conversations.js +105 -0
  26. package/dist/lib/tools/extract-pdf-text.d.ts +2 -0
  27. package/dist/lib/tools/extract-pdf-text.js +92 -0
  28. package/dist/lib/tools/filter-logs.d.ts +2 -0
  29. package/dist/lib/tools/filter-logs.js +94 -0
  30. package/dist/lib/tools/find-github-issues.d.ts +2 -0
  31. package/dist/lib/tools/find-github-issues.js +176 -0
  32. package/dist/lib/tools/generate-storyboard-images.d.ts +2 -0
  33. package/dist/lib/tools/generate-storyboard-images.js +419 -0
  34. package/dist/lib/tools/log-cli-utils.d.ts +35 -0
  35. package/dist/lib/tools/log-cli-utils.js +233 -0
  36. package/dist/lib/tools/open-github-issue.d.ts +2 -0
  37. package/dist/lib/tools/open-github-issue.js +750 -0
  38. package/dist/lib/tools/read-github-issue.d.ts +2 -0
  39. package/dist/lib/tools/read-github-issue.js +134 -0
  40. package/dist/lib/tools/render-error-book.d.ts +2 -0
  41. package/dist/lib/tools/render-error-book.js +265 -0
  42. package/dist/lib/tools/render-katex.d.ts +2 -0
  43. package/dist/lib/tools/render-katex.js +294 -0
  44. package/dist/lib/tools/review-threads.d.ts +2 -0
  45. package/dist/lib/tools/review-threads.js +491 -0
  46. package/dist/lib/tools/search-logs.d.ts +2 -0
  47. package/dist/lib/tools/search-logs.js +164 -0
  48. package/dist/lib/tools/sync-memory-index.d.ts +2 -0
  49. package/dist/lib/tools/sync-memory-index.js +113 -0
  50. package/dist/lib/tools/validate-openai-agent-config.d.ts +2 -0
  51. package/dist/lib/tools/validate-openai-agent-config.js +190 -0
  52. package/dist/lib/tools/validate-skill-frontmatter.d.ts +2 -0
  53. package/dist/lib/tools/validate-skill-frontmatter.js +118 -0
  54. package/dist/lib/types.d.ts +82 -0
  55. package/dist/lib/types.js +2 -0
  56. package/dist/lib/updater.d.ts +34 -0
  57. package/dist/lib/updater.js +112 -0
  58. package/dist/lib/utils/format.d.ts +2 -0
  59. package/dist/lib/utils/format.js +6 -0
  60. package/dist/lib/utils/terminal.d.ts +12 -0
  61. package/dist/lib/utils/terminal.js +26 -0
  62. package/docs-to-voice/SKILL.md +0 -1
  63. package/generate-spec/SKILL.md +1 -1
  64. package/katex/SKILL.md +1 -2
  65. package/lib/cli.ts +780 -0
  66. package/lib/installer.ts +466 -0
  67. package/lib/tool-runner.ts +561 -0
  68. package/lib/tools/architecture.ts +20 -0
  69. package/lib/tools/create-specs.ts +204 -0
  70. package/lib/tools/docs-to-voice.ts +799 -0
  71. package/lib/tools/enforce-video-aspect-ratio.ts +368 -0
  72. package/lib/tools/extract-conversations.ts +114 -0
  73. package/lib/tools/extract-pdf-text.ts +99 -0
  74. package/lib/tools/filter-logs.ts +118 -0
  75. package/lib/tools/find-github-issues.ts +211 -0
  76. package/lib/tools/generate-storyboard-images.ts +455 -0
  77. package/lib/tools/log-cli-utils.ts +262 -0
  78. package/lib/tools/open-github-issue.ts +930 -0
  79. package/lib/tools/read-github-issue.ts +179 -0
  80. package/lib/tools/render-error-book.ts +300 -0
  81. package/lib/tools/render-katex.ts +325 -0
  82. package/lib/tools/review-threads.ts +590 -0
  83. package/lib/tools/search-logs.ts +200 -0
  84. package/lib/tools/sync-memory-index.ts +114 -0
  85. package/lib/tools/validate-openai-agent-config.ts +213 -0
  86. package/lib/tools/validate-skill-frontmatter.ts +124 -0
  87. package/lib/types.ts +90 -0
  88. package/lib/updater.ts +165 -0
  89. package/lib/utils/format.ts +7 -0
  90. package/lib/utils/terminal.ts +22 -0
  91. package/open-github-issue/SKILL.md +2 -2
  92. package/optimise-skill/SKILL.md +1 -1
  93. package/package.json +13 -4
  94. package/resources/project-architecture/assets/architecture.css +764 -0
  95. package/resources/project-architecture/assets/viewer.client.js +144 -0
  96. package/resources/project-architecture/index.html +42 -0
  97. package/review-spec-related-changes/SKILL.md +1 -1
  98. package/solve-issues-found-during-review/SKILL.md +2 -1
  99. package/tsconfig.json +28 -0
  100. package/analyse-app-logs/scripts/__pycache__/filter_logs_by_time.cpython-312.pyc +0 -0
  101. package/analyse-app-logs/scripts/__pycache__/log_cli_utils.cpython-312.pyc +0 -0
  102. package/analyse-app-logs/scripts/__pycache__/search_logs.cpython-312.pyc +0 -0
  103. package/analyse-app-logs/scripts/filter_logs_by_time.py +0 -64
  104. package/analyse-app-logs/scripts/log_cli_utils.py +0 -112
  105. package/analyse-app-logs/scripts/search_logs.py +0 -137
  106. package/analyse-app-logs/tests/test_filter_logs_by_time.py +0 -95
  107. package/analyse-app-logs/tests/test_search_logs.py +0 -100
  108. package/codex/codex-memory-manager/scripts/extract_recent_conversations.py +0 -369
  109. package/codex/codex-memory-manager/scripts/sync_memory_index.py +0 -130
  110. package/codex/codex-memory-manager/tests/test_extract_recent_conversations.py +0 -177
  111. package/codex/codex-memory-manager/tests/test_memory_template.py +0 -37
  112. package/codex/codex-memory-manager/tests/test_sync_memory_index.py +0 -84
  113. package/codex/learn-skill-from-conversations/scripts/extract_recent_conversations.py +0 -369
  114. package/codex/learn-skill-from-conversations/tests/test_extract_recent_conversations.py +0 -177
  115. package/docs-to-voice/scripts/__pycache__/docs_to_voice.cpython-312.pyc +0 -0
  116. package/docs-to-voice/scripts/docs_to_voice.py +0 -1385
  117. package/docs-to-voice/scripts/docs_to_voice.sh +0 -11
  118. package/docs-to-voice/tests/test_docs_to_voice_api_max_chars.py +0 -210
  119. package/docs-to-voice/tests/test_docs_to_voice_sentence_timeline.py +0 -115
  120. package/docs-to-voice/tests/test_docs_to_voice_settings.py +0 -43
  121. package/docs-to-voice/tests/test_docs_to_voice_shell_wrapper.py +0 -51
  122. package/docs-to-voice/tests/test_docs_to_voice_speech_rate.py +0 -57
  123. package/generate-spec/scripts/__pycache__/create-specscpython-312.pyc +0 -0
  124. package/generate-spec/scripts/create-specs +0 -215
  125. package/generate-spec/tests/test_create_specs.py +0 -200
  126. package/init-project-html/scripts/architecture-bootstrap-render.js +0 -16
  127. package/init-project-html/scripts/architecture.js +0 -296
  128. package/katex/scripts/__pycache__/render_katex.cpython-312.pyc +0 -0
  129. package/katex/scripts/render_katex.py +0 -247
  130. package/katex/scripts/render_katex.sh +0 -11
  131. package/katex/tests/test_render_katex.py +0 -174
  132. package/learning-error-book/scripts/render_error_book_json_to_pdf.py +0 -590
  133. package/learning-error-book/tests/test_render_error_book_json_to_pdf.py +0 -134
  134. package/open-github-issue/scripts/__pycache__/open_github_issue.cpython-312.pyc +0 -0
  135. package/open-github-issue/scripts/open_github_issue.py +0 -705
  136. package/open-github-issue/tests/test_open_github_issue.py +0 -381
  137. package/openai-text-to-image-storyboard/scripts/generate_storyboard_images.py +0 -763
  138. package/openai-text-to-image-storyboard/tests/test_generate_storyboard_images.py +0 -177
  139. package/read-github-issue/scripts/__pycache__/find_issues.cpython-312.pyc +0 -0
  140. package/read-github-issue/scripts/__pycache__/read_issue.cpython-312.pyc +0 -0
  141. package/read-github-issue/scripts/find_issues.py +0 -148
  142. package/read-github-issue/scripts/read_issue.py +0 -108
  143. package/read-github-issue/tests/test_find_issues.py +0 -127
  144. package/read-github-issue/tests/test_read_issue.py +0 -109
  145. package/resolve-review-comments/scripts/__pycache__/review_threads.cpython-312.pyc +0 -0
  146. package/resolve-review-comments/scripts/review_threads.py +0 -425
  147. package/resolve-review-comments/tests/test_review_threads.py +0 -74
  148. package/scripts/validate_openai_agent_config.py +0 -209
  149. package/scripts/validate_skill_frontmatter.py +0 -131
  150. package/text-to-short-video/scripts/__pycache__/enforce_video_aspect_ratio.cpython-312.pyc +0 -0
  151. package/text-to-short-video/scripts/enforce_video_aspect_ratio.py +0 -350
  152. package/text-to-short-video/tests/test_enforce_video_aspect_ratio.py +0 -194
  153. package/weekly-financial-event-report/scripts/extract_pdf_text_pdfkit.swift +0 -99
  154. package/weekly-financial-event-report/tests/test_extract_pdf_text_pdfkit.py +0 -64
package/AGENTS.md CHANGED
@@ -3,13 +3,13 @@
3
3
  ## Common Development Commands
4
4
 
5
5
  - `npm test` - 執行 Node 測試套件(`node --test`)。
6
- - `node bin/apollo-toolkit.js [mode...]` - 直接從倉庫啟動 CLI,將技能安裝至指定目標(codex/openclaw/trae/agents/claude-code/all)。
7
- - `node bin/apollo-toolkit.js uninstall [mode...]` - 從指定目標移除已安裝的 Apollo Toolkit 技能。
8
- - `node bin/apollo-toolkit.js tools` - 列出所有內建 CLI 工具及其分類。
9
- - `node bin/apollo-toolkit.js <tool> [args...]` - 執行內建工具(如 `filter-logs`、`search-logs`、`architecture`、`create-specs` 等)。
10
- - `node bin/apollo-toolkit.js architecture [diff]` - 開啟專案 HTML 架構圖,或搭配 `diff` 產生分頁式 before/after 檢視器。
11
- - `python3 scripts/validate_skill_frontmatter.py` - 驗證所有頂層技能 `SKILL.md` 的 frontmatter 格式與命名規範。
12
- - `python3 scripts/validate_openai_agent_config.py` - 驗證所有技能 `agents/openai.yaml` 的設定完整性。
6
+ - `node dist/bin/apollo-toolkit.js [mode...]` - 直接從倉庫啟動 CLI,將技能安裝至指定目標(codex/openclaw/trae/agents/claude-code/all)。
7
+ - `node dist/bin/apollo-toolkit.js uninstall [mode...]` - 從指定目標移除已安裝的 Apollo Toolkit 技能。
8
+ - `node dist/bin/apollo-toolkit.js tools` - 列出所有內建 CLI 工具及其分類。
9
+ - `node dist/bin/apollo-toolkit.js <tool> [args...]` - 執行內建工具(如 `filter-logs`、`search-logs`、`architecture`、`create-specs` 等)。
10
+ - `node dist/bin/apollo-toolkit.js architecture [diff]` - 開啟專案 HTML 架構圖,或搭配 `diff` 產生分頁式 before/after 檢視器。
11
+ - `apltk validate-skill-frontmatter` - 驗證所有頂層技能 `SKILL.md` 的 frontmatter 格式與命名規範。
12
+ - `apltk validate-openai-agent-config` - 驗證所有技能 `agents/openai.yaml` 的設定完整性。
13
13
  - `./scripts/install_skills.sh [mode...]` - 透過本地 shell 腳本安裝技能(非 npm 安裝方式)。
14
14
 
15
15
  ## Project Business Goals
package/CHANGELOG.md CHANGED
@@ -2,6 +2,42 @@
2
2
 
3
3
  All notable changes to this repository are documented in this file.
4
4
 
5
+ ## [v3.14.1] - 2026-05-15
6
+
7
+ ### Fixed
8
+
9
+ - Replace non-existent `cli.main()` with `cli.dispatch()` in architecture handler, fixing `apltk architecture --help` crash.
10
+ - Correct `repoRoot()` path resolution in `validate-openai-agent-config` tool (3 levels up from `dist/lib/tools/` instead of 2) so CI validation finds skill directories.
11
+ - Add missing `npm run build` step to publish CI workflow so tests importing from `dist/` resolve correctly.
12
+ - Replace removed Python validation scripts (`validate_skill_frontmatter.py`, `validate_openai_agent_config.py`) in CI workflow with their TypeScript CLI equivalents.
13
+
14
+ ## [v3.14.0] - 2026-05-15
15
+
16
+ ### Added
17
+
18
+ - TypeScript infrastructure (`tsconfig.json`, `lib/types.ts`, `lib/utils/`) for type-safe CLI development.
19
+ - TypeScript handlers for all 19 built-in tools under `lib/tools/`, enabling direct function calls via the CLI without subprocess spawning.
20
+ - `apltk architecture diff` command for paginated before/after architecture viewers.
21
+ - `apltk validate-skill-frontmatter` and `apltk validate-openai-agent-config` CLI commands as TypeScript replacements for the removed Python validation scripts.
22
+
23
+ ### Changed
24
+
25
+ - Convert CLI core (`lib/cli`, `lib/tool-runner`, `lib/installer`, `lib/updater`, `bin/apollo-toolkit`) from CommonJS JavaScript to TypeScript.
26
+ - Port observability tools (`filter-logs`, `search-logs`), GitHub tools (`open-github-issue`, `find-github-issues`, `read-github-issue`, `review-threads`), media tools (`docs-to-voice`, `render-katex`, `render-error-book`, `generate-storyboard-images`, `enforce-video-aspect-ratio`, `extract-pdf-text`), and spec tools (`create-specs`) from Python/Swift/Shell to TypeScript handlers.
27
+ - Merge two identical `extract_recent_conversations.py` scripts into a single TypeScript handler supporting both `extract-codex-conversations` and `extract-skill-conversations` CLI commands.
28
+ - Replace `init-project-html/scripts/architecture.js` with a TypeScript handler in `lib/tools/architecture.ts`.
29
+ - Update installer to stop copying `scripts/` directories (all tool scripts are now natively handled).
30
+ - Update all SKILL.md files to reference `apltk <tool-name>` instead of legacy script paths.
31
+ - Replace Python validation scripts (`validate_skill_frontmatter.py`, `validate_openai_agent_config.py`) with native TypeScript CLI commands.
32
+ - Archive completed TypeScript migration specs and sync project documentation (architecture docs, testing conventions, AGENTS.md, CLAUDE.md) to reflect current TypeScript-based tooling.
33
+
34
+ ### Removed
35
+
36
+ - All 14 skill-level `scripts/` directories with 18 Python, 2 Shell, 1 Swift, and 2 JavaScript scripts.
37
+ - `test/python-scripts.test.js` (Python scripts no longer exist).
38
+ - `__pycache__/` and `*.pyc` from `.gitignore` (no more Python assets in the skill tree).
39
+ - Old `docs/plans/2026-05-14/` planning artifacts (archived to `docs/archive/`).
40
+
5
41
  ## [v3.13.2] - 2026-05-14
6
42
 
7
43
  ### Changed
package/CLAUDE.md CHANGED
@@ -3,13 +3,13 @@
3
3
  ## Common Development Commands
4
4
 
5
5
  - `npm test` - 執行 Node 測試套件(`node --test`)。
6
- - `node bin/apollo-toolkit.js [mode...]` - 直接從倉庫啟動 CLI,將技能安裝至指定目標(codex/openclaw/trae/agents/claude-code/all)。
7
- - `node bin/apollo-toolkit.js uninstall [mode...]` - 從指定目標移除已安裝的 Apollo Toolkit 技能。
8
- - `node bin/apollo-toolkit.js tools` - 列出所有內建 CLI 工具及其分類。
9
- - `node bin/apollo-toolkit.js <tool> [args...]` - 執行內建工具(如 `filter-logs`、`search-logs`、`architecture`、`create-specs` 等)。
10
- - `node bin/apollo-toolkit.js architecture [diff]` - 開啟專案 HTML 架構圖,或搭配 `diff` 產生分頁式 before/after 檢視器。
11
- - `python3 scripts/validate_skill_frontmatter.py` - 驗證所有頂層技能 `SKILL.md` 的 frontmatter 格式與命名規範。
12
- - `python3 scripts/validate_openai_agent_config.py` - 驗證所有技能 `agents/openai.yaml` 的設定完整性。
6
+ - `node dist/bin/apollo-toolkit.js [mode...]` - 直接從倉庫啟動 CLI,將技能安裝至指定目標(codex/openclaw/trae/agents/claude-code/all)。
7
+ - `node dist/bin/apollo-toolkit.js uninstall [mode...]` - 從指定目標移除已安裝的 Apollo Toolkit 技能。
8
+ - `node dist/bin/apollo-toolkit.js tools` - 列出所有內建 CLI 工具及其分類。
9
+ - `node dist/bin/apollo-toolkit.js <tool> [args...]` - 執行內建工具(如 `filter-logs`、`search-logs`、`architecture`、`create-specs` 等)。
10
+ - `node dist/bin/apollo-toolkit.js architecture [diff]` - 開啟專案 HTML 架構圖,或搭配 `diff` 產生分頁式 before/after 檢視器。
11
+ - `apltk validate-skill-frontmatter` - 驗證所有頂層技能 `SKILL.md` 的 frontmatter 格式與命名規範。
12
+ - `apltk validate-openai-agent-config` - 驗證所有技能 `agents/openai.yaml` 的設定完整性。
13
13
  - `./scripts/install_skills.sh [mode...]` - 透過本地 shell 腳本安裝技能(非 npm 安裝方式)。
14
14
 
15
15
  ## Project Business Goals
@@ -32,7 +32,7 @@
32
32
  - `docs/architecture/skill-structure.md` - 技能目錄佈局、frontmatter 規範、選擇性擴充
33
33
  - `docs/principles/naming-conventions.md` - 命名慣例:kebab-case、文件命名、工具命名
34
34
  - `docs/principles/skill-development.md` - 技能開發慣例:frontmatter、主體結構、依賴宣告
35
- - `docs/principles/testing-conventions.md` - 測試慣例:node:test、隔離、Python 測試發現
35
+ - `docs/principles/testing-conventions.md` - 測試慣例:node:test、隔離、輸出捕捉
36
36
  - `README.md` - 公開安裝指南與技能目錄
37
37
  - `CHANGELOG.md` - 版本發佈歷史
38
38
  - `LICENSE` - MIT 授權條款
@@ -118,7 +118,7 @@ Use this structure in responses:
118
118
 
119
119
  - `references/investigation-checklist.md`: Step-by-step checklist for evidence-driven log investigations.
120
120
  - `references/log-signal-patterns.md`: Common log signatures, likely causes, validation hints, and false-positive guards.
121
- - `scripts/filter_logs_by_time.py`: Filter raw logs to a bounded incident window from files or stdin; exposed as `apltk filter-logs`.
122
- - `scripts/search_logs.py`: Search logs by keyword or regex with optional time-window filtering and context lines; exposed as `apltk search-logs`.
123
- - `scripts/log_cli_utils.py`: Shared timestamp parsing and stdin/file iteration utilities for the bundled log scripts.
121
+ - `apltk filter-logs`: Filter raw logs to a bounded incident window from files or stdin (TypeScript handler in `lib/tools/filter-logs.ts`).
122
+ - `apltk search-logs`: Search logs by keyword or regex with optional time-window filtering and context lines (TypeScript handler in `lib/tools/search-logs.ts`).
123
+ - Shared timestamp parsing and stdin/file iteration utilities built into `lib/tools/log-cli-utils.ts`.
124
124
  - Dependency skill: `open-github-issue` for deterministic issue publishing with auth fallback and README language detection.
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { run } from '../lib/cli';
4
+
5
+ run(process.argv.slice(2)).then((code: number) => {
6
+ process.exitCode = code;
7
+ });
@@ -25,8 +25,8 @@ Keep a durable, categorized memory of user preferences so future agents can quic
25
25
 
26
26
  ## Required Resources
27
27
 
28
- - `scripts/extract_recent_conversations.py` to read the last 24 hours of Codex sessions, including archived sessions, exposed as `apltk extract-codex-conversations`.
29
- - `scripts/sync_memory_index.py` to maintain a normalized memory index section at the end of `~/.codex/AGENTS.md`, exposed as `apltk sync-codex-memory-index`.
28
+ - `apltk extract-codex-conversations`: Read the last N hours of Codex sessions, including archived sessions (TypeScript handler in `lib/tools/extract-conversations.ts`).
29
+ - `apltk sync-codex-memory-index`: Maintain a normalized memory index section at the end of `~/.codex/AGENTS.md` (TypeScript handler in `lib/tools/sync-memory-index.ts`).
30
30
 
31
31
  ## Workflow
32
32
 
@@ -21,7 +21,7 @@ description: Learn and evolve the local skill library from recent Codex conversa
21
21
 
22
22
  ## Required Resources
23
23
 
24
- - `scripts/extract_recent_conversations.py` for deterministic session extraction, exposed as `apltk extract-skill-conversations`.
24
+ - `apltk extract-skill-conversations`: Deterministic session extraction (TypeScript handler in `lib/tools/extract-conversations.ts`, shared with `codex-memory-manager`).
25
25
  - `$skill-creator` for all skill creation/update work.
26
26
 
27
27
  ## Workflow
@@ -79,7 +79,7 @@ apltk extract-skill-conversations --lookback-minutes 1440
79
79
  ### 4) Apply changes through skill-creator
80
80
 
81
81
  - Explicitly follow `$skill-creator` workflow before editing skills.
82
- - For new shared skills, initialize with `~/.codex/skills/.system/skill-creator/scripts/init_skill.py`, then complete `SKILL.md` and required resources.
82
+ - For new shared skills, use the Codex system `skill-creator` initialization script (located at `~/.codex/skills/.system/skill-creator/scripts/init_skill.py` -- an external Codex system tool outside the scope of this project), then complete `SKILL.md` and required resources.
83
83
  - For new project-specific skills, create or update them under the relevant project's `~/.codex/skills/` directory instead of the shared catalog.
84
84
  - For existing skills, make minimal focused edits and keep behavior consistent.
85
85
 
@@ -88,7 +88,7 @@ apltk extract-skill-conversations --lookback-minutes 1440
88
88
  - Run:
89
89
 
90
90
  ```bash
91
- python3 ~/.codex/skills/.system/skill-creator/scripts/quick_validate.py <skill-path>
91
+ python3 ~/.codex/skills/.system/skill-creator/scripts/quick_validate.py <skill-path> # Codex system validation tool (external, outside the scope of this project)
92
92
  ```
93
93
 
94
94
  - Resolve validation failures before finishing.
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ export {};
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const cli_1 = require("../lib/cli");
5
+ (0, cli_1.run)(process.argv.slice(2)).then((code) => {
6
+ process.exitCode = code;
7
+ });
@@ -0,0 +1,41 @@
1
+ import type { CliContext, ParsedArguments } from './types';
2
+ declare function buildBanner({ version, colorEnabled }: {
3
+ version: string;
4
+ colorEnabled: boolean;
5
+ }): string;
6
+ declare function buildWelcomeScreen({ version, colorEnabled, stage }: {
7
+ version: string;
8
+ colorEnabled: boolean;
9
+ stage?: number;
10
+ }): string;
11
+ declare function buildHelpText({ version, colorEnabled }: {
12
+ version: string;
13
+ colorEnabled: boolean;
14
+ }): string;
15
+ declare function buildToolsHelp({ version, colorEnabled }: {
16
+ version: string;
17
+ colorEnabled: boolean;
18
+ }): string;
19
+ declare function buildInstallHelpText({ version, colorEnabled }: {
20
+ version: string;
21
+ colorEnabled: boolean;
22
+ }): string;
23
+ declare function buildUninstallHelpText({ version, colorEnabled }: {
24
+ version: string;
25
+ colorEnabled: boolean;
26
+ }): string;
27
+ declare function parseArguments(argv: string[]): ParsedArguments;
28
+ declare function promptForModes({ stdin, stdout, version, env }: {
29
+ stdin: NodeJS.ReadStream;
30
+ stdout: NodeJS.WriteStream;
31
+ version: string;
32
+ env: NodeJS.ProcessEnv;
33
+ }): Promise<string[]>;
34
+ declare function promptForUninstallModes({ stdin, stdout, version, env }: {
35
+ stdin: NodeJS.ReadStream;
36
+ stdout: NodeJS.WriteStream;
37
+ version: string;
38
+ env: NodeJS.ProcessEnv;
39
+ }): Promise<string[]>;
40
+ export { parseArguments, buildHelpText, buildInstallHelpText, buildUninstallHelpText, buildToolsHelp, buildBanner, buildWelcomeScreen, promptForModes, promptForUninstallModes };
41
+ export declare function run(argv: string[], context?: CliContext): Promise<number>;