@laitszkin/apollo-toolkit 3.12.1 → 3.13.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.
- package/AGENTS.md +38 -107
- package/CHANGELOG.md +28 -0
- package/CLAUDE.md +38 -0
- package/README.md +9 -16
- package/analyse-app-logs/scripts/__pycache__/filter_logs_by_time.cpython-312.pyc +0 -0
- package/analyse-app-logs/scripts/__pycache__/log_cli_utils.cpython-312.pyc +0 -0
- package/analyse-app-logs/scripts/__pycache__/search_logs.cpython-312.pyc +0 -0
- package/archive-specs/SKILL.md +0 -6
- package/commit-and-push/SKILL.md +3 -9
- package/docs-to-voice/scripts/__pycache__/docs_to_voice.cpython-312.pyc +0 -0
- package/generate-spec/SKILL.md +30 -11
- package/generate-spec/references/definition.md +12 -0
- package/generate-spec/scripts/__pycache__/create-specscpython-312.pyc +0 -0
- package/init-project-html/SKILL.md +18 -22
- package/init-project-html/references/definition.md +12 -0
- package/katex/scripts/__pycache__/render_katex.cpython-312.pyc +0 -0
- package/maintain-project-constraints/SKILL.md +11 -19
- package/merge-changes-from-local-branches/SKILL.md +11 -24
- package/open-github-issue/scripts/__pycache__/open_github_issue.cpython-312.pyc +0 -0
- package/optimise-skill/SKILL.md +10 -2
- package/optimise-skill/references/example_skill.md +10 -2
- package/package.json +1 -1
- package/read-github-issue/scripts/__pycache__/find_issues.cpython-312.pyc +0 -0
- package/read-github-issue/scripts/__pycache__/read_issue.cpython-312.pyc +0 -0
- package/resolve-review-comments/scripts/__pycache__/review_threads.cpython-312.pyc +0 -0
- package/solve-issues-found-during-review/SKILL.md +1 -1
- package/systematic-debug/SKILL.md +11 -38
- package/test-case-strategy/SKILL.md +10 -37
- package/text-to-short-video/scripts/__pycache__/enforce_video_aspect_ratio.cpython-312.pyc +0 -0
- package/update-project-html/SKILL.md +19 -24
- package/update-project-html/references/definition.md +12 -0
- package/version-release/SKILL.md +16 -37
- package/iterative-code-performance/LICENSE +0 -21
- package/iterative-code-performance/README.md +0 -34
- package/iterative-code-performance/SKILL.md +0 -116
- package/iterative-code-performance/agents/openai.yaml +0 -4
- package/iterative-code-performance/references/algorithmic-complexity.md +0 -58
- package/iterative-code-performance/references/allocation-and-hot-loops.md +0 -53
- package/iterative-code-performance/references/caching-and-memoization.md +0 -64
- package/iterative-code-performance/references/concurrency-and-pipelines.md +0 -61
- package/iterative-code-performance/references/coupled-hot-path-strategy.md +0 -78
- package/iterative-code-performance/references/io-batching-and-queries.md +0 -55
- package/iterative-code-performance/references/iteration-gates.md +0 -133
- package/iterative-code-performance/references/job-selection.md +0 -92
- package/iterative-code-performance/references/measurement-and-benchmarking.md +0 -78
- package/iterative-code-performance/references/module-coverage.md +0 -133
- package/iterative-code-performance/references/repository-scan.md +0 -69
- package/iterative-code-quality/LICENSE +0 -21
- package/iterative-code-quality/README.md +0 -45
- package/iterative-code-quality/SKILL.md +0 -112
- package/iterative-code-quality/agents/openai.yaml +0 -4
- package/iterative-code-quality/references/coupled-core-file-strategy.md +0 -73
- package/iterative-code-quality/references/iteration-gates.md +0 -127
- package/iterative-code-quality/references/job-selection.md +0 -78
- package/iterative-code-quality/references/logging-alignment.md +0 -67
- package/iterative-code-quality/references/module-boundaries.md +0 -83
- package/iterative-code-quality/references/module-coverage.md +0 -126
- package/iterative-code-quality/references/naming-and-simplification.md +0 -73
- package/iterative-code-quality/references/repository-scan.md +0 -65
- package/iterative-code-quality/references/testing-strategy.md +0 -95
- package/merge-conflict-resolver/SKILL.md +0 -46
- package/merge-conflict-resolver/agents/openai.yaml +0 -5
- package/spec-to-project-html/SKILL.md +0 -42
- package/spec-to-project-html/agents/openai.yaml +0 -11
- package/spec-to-project-html/references/TEMPLATE_SPEC.md +0 -113
- package/submission-readiness-check/SKILL.md +0 -39
- package/submission-readiness-check/agents/openai.yaml +0 -4
package/AGENTS.md
CHANGED
|
@@ -1,107 +1,38 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
##
|
|
4
|
-
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
- `
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
|
|
38
|
-
-
|
|
39
|
-
- Users can learn new or improved skills from recent Codex conversation history.
|
|
40
|
-
- Users can audit and maintain the skill catalog itself, including dependency classification and shared-skill extraction decisions.
|
|
41
|
-
- Users can optimize existing agent skills by deriving the intended deliverable, tightening acceptance criteria, and rewriting `SKILL.md` into a leaner structure backed by extracted references.
|
|
42
|
-
- Users can implement approved spec planning sets directly in the current checkout and commit them to the active branch.
|
|
43
|
-
- Users can implement approved spec planning sets inside isolated git worktrees and keep the parent checkout clean.
|
|
44
|
-
- Users can coordinate approved multi-spec implementation batches by assigning each spec directory to an independent worktree-backed subagent with bounded concurrency.
|
|
45
|
-
- Users can summarize mistakes into separate multiple-choice and long-answer error books backed by structured reference files and rendered PDFs.
|
|
46
|
-
- Users can build or review marginfi protocol integrations using official SDK, CLI, protocol, and The Arena documentation.
|
|
47
|
-
- Users can create or maintain `AGENTS.md` so project constraints stay aligned with the repository.
|
|
48
|
-
- Users can turn novel content into a loopable short-form video with generated assets.
|
|
49
|
-
- Users can publish structured GitHub issues or feature proposals with auth fallbacks.
|
|
50
|
-
- Users can prepare and open open-source pull requests from existing changes.
|
|
51
|
-
- Users can generate storyboard image sets from chapters, novels, articles, or scripts.
|
|
52
|
-
- Users can configure OpenClaw from official documentation, including `~/.openclaw/openclaw.json`, skills loading, SecretRefs, CLI edits, and validation or repair workflows.
|
|
53
|
-
- Users can record multi-account spending and balance changes in monthly Excel ledgers with summary analytics and charts.
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
- Users can review recent or user-specified spec-backed changes against the governing planning documents, treating unmet business goals as the most severe findings before secondary edge-case, security, and code-review checks.
|
|
57
|
-
- Users can process GitHub pull request review comments and resolve addressed threads.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
- Users can investigate gated or shadow LLM APIs by capturing real client request shapes, replaying verified traffic patterns, and attributing the likely underlying model through black-box fingerprinting.
|
|
61
|
-
- Users can build and maintain Solana programs and Rust clients using official Solana development workflows.
|
|
62
|
-
- Users can fix issues discovered during a review pass by processing findings from highest to lowest severity, with per-fix validation and full-scope re-validation.
|
|
63
|
-
- Users can add focused observability to opaque workflows through targeted logs, metrics, traces, and tests.
|
|
64
|
-
- Users can iteratively improve repository code quality through behavior-neutral naming, simplification, module-boundary, logging, and test-coverage passes.
|
|
65
|
-
- Users can iteratively improve repository performance through evidence-backed module scans, safe hot-path optimization, benchmark guardrails, batching, caching, allocation, concurrency, and repeated full-codebase stage gates.
|
|
66
|
-
- Users can refresh the project HTML architecture atlas to reflect the latest committed or staged code changes by dispatching one subagent per affected feature and updating the base atlas via `apltk architecture` (no spec overlay).
|
|
67
|
-
- Users can select risk-driven test levels and define unit drift checks through a shared testing strategy skill.
|
|
68
|
-
- Users can build against Jupiter's official Solana swap, token, price, lending, trigger, recurring, and portfolio APIs with an evidence-based development guide.
|
|
69
|
-
- Users can render and embed math formulas with KaTeX using official documentation-backed guidance and reusable rendering scripts.
|
|
70
|
-
- Users can debug software systematically by reproducing causes, validating fixes, and testing outcomes.
|
|
71
|
-
- Users can generate 30-60 second short videos directly from text prompts.
|
|
72
|
-
- Users can prepare and publish versioned releases with changelog and tag workflows.
|
|
73
|
-
- Users can generate long-form videos by orchestrating storyboard, voice, and Remotion-based production steps.
|
|
74
|
-
|
|
75
|
-
## Common Commands
|
|
76
|
-
|
|
77
|
-
- `npm test` - 執行 Node 測試套件。
|
|
78
|
-
- `node bin/apollo-toolkit.js` - 直接從倉庫啟動 Apollo Toolkit CLI。
|
|
79
|
-
- `node bin/apollo-toolkit.js codex openclaw trae` - 以非互動方式將技能安裝到指定目標。
|
|
80
|
-
- `node bin/apollo-toolkit.js tools` - 列出 Apollo Toolkit 內建 CLI 工具。
|
|
81
|
-
- `node bin/apollo-toolkit.js filter-logs app.log --start 2026-03-24T10:00:00Z` - 透過內建工具包裝器執行技能腳本。
|
|
82
|
-
- `node bin/apollo-toolkit.js architecture` - 開啟專案 `resources/project-architecture/index.html` 架構圖。
|
|
83
|
-
- `node bin/apollo-toolkit.js architecture diff` - 將 `docs/plans/**/architecture_diff/` 與目前架構圖配對成分頁式 before/after viewer(輸出至 `.apollo-toolkit/architecture-diff/`)。
|
|
84
|
-
- `python3 scripts/validate_skill_frontmatter.py` - 驗證所有頂層技能 `SKILL.md` 的 frontmatter。
|
|
85
|
-
- `python3 scripts/validate_openai_agent_config.py` - 驗證所有技能 `agents/openai.yaml` 設定。
|
|
86
|
-
- `./scripts/install_skills.sh codex` - 用本地安裝腳本把技能安裝到 Codex 目錄。
|
|
87
|
-
- `./scripts/install_skills.sh codex --symlink` - 以 symlink 模式安裝(推薦)。
|
|
88
|
-
- `./scripts/install_skills.sh all --copy` - 以複製模式安裝到所有支援目標。
|
|
89
|
-
- `./scripts/install_skills.sh uninstall` - 從所有目標移除已安裝的技能。
|
|
90
|
-
- `./scripts/install_skills.sh uninstall codex` - 只從 codex 目標移除。
|
|
91
|
-
- `node bin/apollo-toolkit.js uninstall` - 透過 CLI 互動選擇要移除的 agent target 技能。
|
|
92
|
-
- `node bin/apollo-toolkit.js uninstall codex --yes` - 以非互動方式移除指定 target 的已安裝技能。
|
|
93
|
-
|
|
94
|
-
## Core Project Purpose
|
|
95
|
-
|
|
96
|
-
- Provide a curated set of reusable agent skills that can be installed into Codex/OpenClaw/Trae skill directories.
|
|
97
|
-
- Keep skills focused, composable, and easy to reuse across workflows.
|
|
98
|
-
- Prefer splitting shared capabilities into dedicated skills when multiple workflows can depend on them.
|
|
99
|
-
|
|
100
|
-
## Code Style And Conventions
|
|
101
|
-
|
|
102
|
-
- Follow existing skill naming: kebab-case folder names and matching `name` values in `SKILL.md` frontmatter.
|
|
103
|
-
- Keep documentation concise, operational, and evidence-based; avoid speculative guidance.
|
|
104
|
-
- Reuse existing patterns from neighboring skills before introducing new structures.
|
|
105
|
-
- Use a standardized `## Dependencies` section in every `SKILL.md` with `Required`, `Conditional`, `Optional`, and `Fallback` bullets whenever skill-to-skill orchestration matters.
|
|
106
|
-
- Use a standardized `## Standards` section in every `SKILL.md` with `Evidence`, `Execution`, `Quality`, and `Output` bullets to summarize skill-specific constraints.
|
|
107
|
-
- Keep helper scripts small and deterministic, and update repository docs when adding or moving a top-level skill.
|
|
1
|
+
# Apollo Toolkit
|
|
2
|
+
|
|
3
|
+
## Common Development Commands
|
|
4
|
+
|
|
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` 的設定完整性。
|
|
13
|
+
- `./scripts/install_skills.sh [mode...]` - 透過本地 shell 腳本安裝技能(非 npm 安裝方式)。
|
|
14
|
+
|
|
15
|
+
## Project Business Goals
|
|
16
|
+
|
|
17
|
+
- Provide a curated set of reusable agent skills installable into Codex, OpenClaw, Trae, Agents, and Claude Code skill directories.
|
|
18
|
+
- Enable spec-first software delivery: feature planning, implementation (including parallel subagents and worktree isolation), code review, systematic debugging, and release management.
|
|
19
|
+
- Support evidence-based research (deep research, financial analysis, API fingerprinting), media generation (video, audio, storyboard), and educational content (PDF exams, error books, KaTeX rendering).
|
|
20
|
+
- Automate platform workflows: GitHub issue/PR operations, blockchain development (Solana, Jupiter, Marginfi), and OpenClaw configuration.
|
|
21
|
+
- Keep skills focused, composable, and easy to reuse; split shared capabilities into dedicated skills when multiple workflows can depend on them.
|
|
22
|
+
|
|
23
|
+
## Project Documentation Index
|
|
24
|
+
|
|
25
|
+
- `docs/features/skill-installation.md` - 安裝、解除安裝與使用內建工具
|
|
26
|
+
- `docs/features/software-development.md` - spec 驅動的開發生命週期
|
|
27
|
+
- `docs/features/research-and-content.md` - 研究、媒體與教育內容生成
|
|
28
|
+
- `docs/features/platform-automation.md` - GitHub、區塊鏈與 OpenClaw 自動化
|
|
29
|
+
- `docs/features/catalog-maintenance.md` - 技能優化、記憶管理、記帳與驗證
|
|
30
|
+
- `docs/architecture/cli-architecture.md` - CLI 設計:命令調度、工具註冊、更新檢查
|
|
31
|
+
- `docs/architecture/installer-architecture.md` - 安裝器設計:原子同步、manifest 追蹤、連結模式
|
|
32
|
+
- `docs/architecture/skill-structure.md` - 技能目錄佈局、frontmatter 規範、選擇性擴充
|
|
33
|
+
- `docs/principles/naming-conventions.md` - 命名慣例:kebab-case、文件命名、工具命名
|
|
34
|
+
- `docs/principles/skill-development.md` - 技能開發慣例:frontmatter、主體結構、依賴宣告
|
|
35
|
+
- `docs/principles/testing-conventions.md` - 測試慣例:node:test、隔離、Python 測試發現
|
|
36
|
+
- `README.md` - 公開安裝指南與技能目錄
|
|
37
|
+
- `CHANGELOG.md` - 版本發佈歷史
|
|
38
|
+
- `LICENSE` - MIT 授權條款
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this repository are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [v3.13.1] - 2026-05-14
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Rewrite `AGENTS.md` into a compact project-instructions format focused on development commands, business goals, and documentation index.
|
|
10
|
+
- Add project-level `CLAUDE.md` with consistent content.
|
|
11
|
+
- Change `optimise-skill` description to Chinese and add section spacing for readability.
|
|
12
|
+
- Add architecture diff visualization acceptance criterion to `generate-spec`.
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- Standardized `docs/` structure with feature, architecture, and principle categories.
|
|
17
|
+
- Sync `README.md` skill list with the actual curated catalog.
|
|
18
|
+
|
|
19
|
+
## [v3.13.0] - 2026-05-14
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- Further tighten SKILL.md files (`archive-specs`, `commit-and-push`, `generate-spec`, `init-project-html`, `maintain-project-constraints`, `merge-changes-from-local-branches`, `solve-issues-found-during-review`, `systematic-debug`, `test-case-strategy`, `update-project-html`, `version-release`) by removing inline examples, standardizing section headings, and simplifying descriptions.
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
|
|
27
|
+
- `generate-spec/references/definition.md`, `init-project-html/references/definition.md`, `update-project-html/references/definition.md` with shared terminology for feature modules and sub-modules.
|
|
28
|
+
|
|
29
|
+
### Removed
|
|
30
|
+
|
|
31
|
+
- Remove `iterative-code-performance`, `iterative-code-quality`, `merge-conflict-resolver`, `spec-to-project-html`, and `submission-readiness-check` skills that are no longer part of the curated catalog.
|
|
32
|
+
|
|
5
33
|
## [v3.12.1] - 2026-05-14
|
|
6
34
|
|
|
7
35
|
### Changed
|
package/CLAUDE.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Apollo Toolkit
|
|
2
|
+
|
|
3
|
+
## Common Development Commands
|
|
4
|
+
|
|
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` 的設定完整性。
|
|
13
|
+
- `./scripts/install_skills.sh [mode...]` - 透過本地 shell 腳本安裝技能(非 npm 安裝方式)。
|
|
14
|
+
|
|
15
|
+
## Project Business Goals
|
|
16
|
+
|
|
17
|
+
- Provide a curated set of reusable agent skills installable into Codex, OpenClaw, Trae, Agents, and Claude Code skill directories.
|
|
18
|
+
- Enable spec-first software delivery: feature planning, implementation (including parallel subagents and worktree isolation), code review, systematic debugging, and release management.
|
|
19
|
+
- Support evidence-based research (deep research, financial analysis, API fingerprinting), media generation (video, audio, storyboard), and educational content (PDF exams, error books, KaTeX rendering).
|
|
20
|
+
- Automate platform workflows: GitHub issue/PR operations, blockchain development (Solana, Jupiter, Marginfi), and OpenClaw configuration.
|
|
21
|
+
- Keep skills focused, composable, and easy to reuse; split shared capabilities into dedicated skills when multiple workflows can depend on them.
|
|
22
|
+
|
|
23
|
+
## Project Documentation Index
|
|
24
|
+
|
|
25
|
+
- `docs/features/skill-installation.md` - 安裝、解除安裝與使用內建工具
|
|
26
|
+
- `docs/features/software-development.md` - spec 驅動的開發生命週期
|
|
27
|
+
- `docs/features/research-and-content.md` - 研究、媒體與教育內容生成
|
|
28
|
+
- `docs/features/platform-automation.md` - GitHub、區塊鏈與 OpenClaw 自動化
|
|
29
|
+
- `docs/features/catalog-maintenance.md` - 技能優化、記憶管理、記帳與驗證
|
|
30
|
+
- `docs/architecture/cli-architecture.md` - CLI 設計:命令調度、工具註冊、更新檢查
|
|
31
|
+
- `docs/architecture/installer-architecture.md` - 安裝器設計:原子同步、manifest 追蹤、連結模式
|
|
32
|
+
- `docs/architecture/skill-structure.md` - 技能目錄佈局、frontmatter 規範、選擇性擴充
|
|
33
|
+
- `docs/principles/naming-conventions.md` - 命名慣例:kebab-case、文件命名、工具命名
|
|
34
|
+
- `docs/principles/skill-development.md` - 技能開發慣例:frontmatter、主體結構、依賴宣告
|
|
35
|
+
- `docs/principles/testing-conventions.md` - 測試慣例:node:test、隔離、Python 測試發現
|
|
36
|
+
- `README.md` - 公開安裝指南與技能目錄
|
|
37
|
+
- `CHANGELOG.md` - 版本發佈歷史
|
|
38
|
+
- `LICENSE` - MIT 授權條款
|
package/README.md
CHANGED
|
@@ -6,53 +6,46 @@ A curated skill catalog for Codex, OpenClaw, Trae, Agents, and Claude Code with
|
|
|
6
6
|
|
|
7
7
|
- align-project-documents
|
|
8
8
|
- analyse-app-logs
|
|
9
|
-
- archive-specs
|
|
10
9
|
- answering-questions-with-research
|
|
11
|
-
-
|
|
10
|
+
- archive-specs
|
|
11
|
+
- cjk-pdf
|
|
12
12
|
- codex-memory-manager
|
|
13
|
+
- commit-and-push
|
|
13
14
|
- deep-research-topics
|
|
14
15
|
- develop-new-features
|
|
15
|
-
|
|
16
16
|
- docs-to-voice
|
|
17
|
-
- exam-pdf-workflow
|
|
18
17
|
- document-vision-reader
|
|
19
18
|
- enhance-existing-features
|
|
19
|
+
- exam-pdf-workflow
|
|
20
20
|
- feature-propose
|
|
21
21
|
- financial-research
|
|
22
|
-
- read-github-issue
|
|
23
22
|
- generate-spec
|
|
24
|
-
|
|
25
23
|
- implement-specs
|
|
26
24
|
- implement-specs-with-subagents
|
|
27
25
|
- implement-specs-with-worktree
|
|
28
|
-
- init-project-html
|
|
29
26
|
- improve-observability
|
|
30
|
-
-
|
|
31
|
-
- iterative-code-quality
|
|
27
|
+
- init-project-html
|
|
32
28
|
- jupiter-development
|
|
33
29
|
- katex
|
|
34
30
|
- learn-skill-from-conversations
|
|
35
31
|
- learning-error-book
|
|
36
|
-
- marginfi-development
|
|
37
32
|
- maintain-project-constraints
|
|
33
|
+
- marginfi-development
|
|
34
|
+
- merge-changes-from-local-branches
|
|
38
35
|
- novel-to-short-video
|
|
39
36
|
- open-github-issue
|
|
40
37
|
- open-source-pr-workflow
|
|
41
38
|
- openai-text-to-image-storyboard
|
|
42
39
|
- openclaw-configuration
|
|
43
40
|
- optimise-skill
|
|
44
|
-
|
|
41
|
+
- read-github-issue
|
|
45
42
|
- record-spending
|
|
46
43
|
- resolve-review-comments
|
|
47
|
-
|
|
48
|
-
|
|
49
44
|
- review-spec-related-changes
|
|
50
|
-
|
|
51
45
|
- shadow-api-model-research
|
|
46
|
+
- ship-github-issue-fix
|
|
52
47
|
- solana-development
|
|
53
|
-
- spec-to-project-html
|
|
54
48
|
- solve-issues-found-during-review
|
|
55
|
-
- submission-readiness-check
|
|
56
49
|
- systematic-debug
|
|
57
50
|
- test-case-strategy
|
|
58
51
|
- text-to-short-video
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/archive-specs/SKILL.md
CHANGED
|
@@ -23,12 +23,6 @@ description: 將已完成的spec歸檔到 `docs/archive/` 下。當你需要將s
|
|
|
23
23
|
|
|
24
24
|
使用 `align-project-documents`, `maintain-project-constraints` 技能,按照這兩個技能之中的指引,更新項目文檔。並將完成的spec全部移動到 `docs/archive/`。
|
|
25
25
|
|
|
26
|
-
## 使用範例
|
|
27
|
-
|
|
28
|
-
- "這批 spec 已經實作完成,幫我整理成正式文件並歸檔" -> "先同步 `docs/` 與 `AGENTS.md` / `CLAUDE.md`,再把已完成的 spec 移到 archive"
|
|
29
|
-
- "只有批次中的兩個子 spec 做完,另外一個還在進行" -> "只歸檔完成的子目錄,保留仍在使用的 `coordination.md`"
|
|
30
|
-
- "spec 寫了未來計畫,但 repo 還沒實作" -> "不把該內容當成正式文件,只在需要時標成 `TBD` 或保留在 active planning"
|
|
31
|
-
|
|
32
26
|
## 參考資料索引
|
|
33
27
|
|
|
34
28
|
- `references/templates/readme.md`:README.md 模板
|
package/commit-and-push/SKILL.md
CHANGED
|
@@ -23,20 +23,14 @@ description: 提供提交指引以及作為提交前的必要品控閘門。當
|
|
|
23
23
|
|
|
24
24
|
### 3. 同步項目文檔
|
|
25
25
|
|
|
26
|
-
使用 `
|
|
26
|
+
使用 `align-project-documents`, `maintain-project-constraints` 這兩個技能,並遵照當中的指引,同步更新項目文檔,確保項目文檔時刻與repo保持一致。
|
|
27
27
|
|
|
28
28
|
### 4. 提交及推送變更
|
|
29
29
|
|
|
30
30
|
依使用者的 staging 邊界建立 commit,提交訊息遵循 `references/commit-messages.md`。
|
|
31
|
-
只有在使用者明確要求更新remote時才 push。
|
|
31
|
+
只有在使用者明確要求更新 remote 時才 push。
|
|
32
32
|
|
|
33
|
-
##
|
|
34
|
-
|
|
35
|
-
- 「只把已 staged 的 `foo.ts` 提交」-> 只能提交已暫存內容,不能順手把未 staged 的 `bar.ts` 一起帶進來
|
|
36
|
-
- 「幫我 push 這個 branch」-> 先完成 review 與 readiness gate,再 push,最後用 hash 證明remote已同步
|
|
37
|
-
- 「順便幫我發版」-> 不使用本技能,改走 `version-release`
|
|
38
|
-
|
|
39
|
-
## 參考資料索引
|
|
33
|
+
## 參考資料
|
|
40
34
|
|
|
41
35
|
- `references/commit-messages.md`:提交訊息格式
|
|
42
36
|
- `references/branch-naming.md`:分支命名慣例
|
|
Binary file
|
package/generate-spec/SKILL.md
CHANGED
|
@@ -4,18 +4,24 @@ description: 當你需要將用戶模糊的複雜需求拆解成有嚴格實作
|
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
## 目標
|
|
7
|
+
|
|
7
8
|
將用戶需求轉化為明確、有清晰完成條件的spec。
|
|
8
9
|
|
|
9
10
|
## 驗收條件
|
|
10
|
-
|
|
11
|
-
-
|
|
11
|
+
|
|
12
|
+
- 已經產出了嚴格遵循模板格式的 spec。
|
|
13
|
+
- 為 spec 當中的需求制定了明確的驗收條件及測試策略。
|
|
14
|
+
- 完成了spec 對應的 architecture diff 並可視化展示架構設計方便用戶審核 spec。
|
|
12
15
|
|
|
13
16
|
## 工作流程
|
|
14
|
-
|
|
17
|
+
|
|
18
|
+
### 1. 理解用戶需求並閱讀repo
|
|
19
|
+
|
|
15
20
|
分析用戶需求,並在 repo 之中搜索、列出可能相關的內容。完成搜索之後,深入閱讀相關代碼,識別變更範圍。
|
|
16
21
|
如果外部環境存在 subagents 功能,建議通過調度 subagents 來完成深入閱讀 repo 的任務。
|
|
17
22
|
|
|
18
|
-
2. 拆分用戶需求及設計業務架構
|
|
23
|
+
### 2. 拆分用戶需求及設計業務架構
|
|
24
|
+
|
|
19
25
|
將用戶需求轉化、拆分為明確、存在邊界的工程需求。結合現有代碼,設計業務架構。在設計的過程中,你需要考慮包括但不限於以下設計事項:
|
|
20
26
|
- 錯誤處理
|
|
21
27
|
- 測試策略
|
|
@@ -23,22 +29,35 @@ description: 當你需要將用戶模糊的複雜需求拆解成有嚴格實作
|
|
|
23
29
|
- 資料流
|
|
24
30
|
在這個階段,如果用戶有任何不清晰的需求,且該需求會影響你的設計方案,你需要紀錄並在稍後填入spec,等待用戶的回答。
|
|
25
31
|
|
|
26
|
-
3. 將整個設計方案拆分成可執行任務
|
|
32
|
+
### 3. 將整個設計方案拆分成可執行任務
|
|
33
|
+
|
|
27
34
|
將上一步之中你構思的完整設計方案拆分為精確到函式或檔案級別的任務。你必須確保每一個任務都是可以直接執行,且沒有歧義的。以此確保執行設計方案的開發者不會偏離設計方案。
|
|
28
35
|
|
|
29
|
-
4. 制定驗收條件
|
|
30
|
-
|
|
36
|
+
### 4. 制定驗收條件
|
|
37
|
+
|
|
38
|
+
使用 `test-case-strategy` 這個技能,為任務制定基於測試的驗收條件,確保每一個任務在完成之後都能夠被驗證。
|
|
31
39
|
同時,為需求制定驗收條件,確保用戶需求能夠被測試清晰地驗收、檢驗成果。
|
|
32
40
|
|
|
33
|
-
5. 使用 `apltk` cli工具協助完成spec
|
|
34
|
-
|
|
41
|
+
### 5. 使用 `apltk` cli 工具協助完成 spec
|
|
42
|
+
|
|
43
|
+
使用 cli 工具,產生 spec 的模板。將你的完整計劃填入到模板之中。
|
|
35
44
|
如果該 spec 設計超過三個模塊,則需要創建 batch spec。
|
|
36
45
|
|
|
46
|
+
### 6. 使用 `apltk` cli 工具協助完成 spec architecture diff
|
|
47
|
+
|
|
48
|
+
通過 cli 工具生成完整的 architecture diff 讓用戶審閱本次 spec 的架構設計。
|
|
49
|
+
|
|
50
|
+
架構圖需要清楚描述:
|
|
51
|
+
- 功能模塊之間的關係變動、設計、交互。
|
|
52
|
+
- 子模塊之間的關係變動、設計、交互。
|
|
53
|
+
|
|
37
54
|
## 範例
|
|
55
|
+
|
|
38
56
|
- "製作一個網頁德州撲克小遊戲" -> "拆分成多個模塊:遊戲本體邏輯、前端頁面渲染、前端頁面交互邏輯;制定單元測試、整合測試等策略,並製作一份單一的spec指導實作工作。"
|
|
39
57
|
- "提升現有系統的性能" -> "識別目前 repo 之中拖累性能的代碼。製作 batch spec 文檔,將 repo 的全量優化拆分為以三個模塊為一組的優化。對於必須改動業務邏輯才可以做到的性能提升,填寫 clarification questions,並等待用戶回答之後更新 spec。"
|
|
40
58
|
|
|
41
59
|
## 參考資料
|
|
60
|
+
|
|
42
61
|
- `scripts/create-specs` - `apltk create-specs` 背後使用的模板產生器。
|
|
43
62
|
- `references/templates/spec.md` - `spec.md` 的綁定模板。
|
|
44
63
|
- `references/templates/tasks.md` - `tasks.md` 的綁定模板。
|
|
@@ -48,6 +67,6 @@ description: 當你需要將用戶模糊的複雜需求拆解成有嚴格實作
|
|
|
48
67
|
- `references/templates/coordination.md` - batch root 的 coordination 模板。
|
|
49
68
|
- `references/templates/preparation.md` - batch root 的前置工作模板。
|
|
50
69
|
- `references/TEMPLATE_SPEC.md` - `apltk` cli工具相關格式指引。
|
|
51
|
-
- `test-case-strategy/SKILL.md` - 測試策略選擇技能。
|
|
52
70
|
- `apltk create-specs --help` - spec生成相關cli工具的指引命令
|
|
53
|
-
- `apltk architecture --help` - 架構圖生成相關cli工具的指引命令
|
|
71
|
+
- `apltk architecture --help` - 架構圖生成相關cli工具的指引命令
|
|
72
|
+
- `references/definition.md` - 架構圖之中功能模塊及子模塊的具體定義
|
|
Binary file
|
|
@@ -1,40 +1,36 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: init-project-html
|
|
3
|
-
description:
|
|
4
|
-
使用 `apltk architecture` 初始化專案 HTML 架構圖譜,生成基礎 atlas YAML 與渲染後的 HTML 頁面。所有宣告基於倉庫證據;每個功能模組由一個可寫子 agent 負責,主 agent 必須等待全部子 agent 完成後,才能補跨功能連接並執行 render 與 validate。
|
|
3
|
+
description: 當你需要為項目初始化架構圖時,使用此技能。
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
## 技能目標
|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
在 `apltk` cli 的幫助下製作項目架構圖,幫助用戶理解項目的軟件架構
|
|
10
9
|
|
|
11
10
|
## 驗收條件
|
|
12
11
|
|
|
13
|
-
-
|
|
14
|
-
- 所有宣告可追溯到真實程式碼、設定、SQL 或外部邊界;無法確認的部分用 `TBD` 或在 `meta.summary` 記錄遺漏原因。
|
|
15
|
-
- 宏觀圖完整表達功能與子模組關係;所有跨邊界互動使用 `call`、`return`、`data-row`、`failure` 邊表達。
|
|
16
|
-
- 每個非平凡子模組具備足夠內部結構:已宣告 `function`、`variable`、有序 `dataflow`、必要時的 `error`,且引用可通過校驗。
|
|
17
|
-
- 採用「每個功能一個可寫子 agent」分工;主 agent 等所有子 agent 完成後才補跨功能邊,且 `apltk architecture validate` 通過。
|
|
12
|
+
- 架構圖清楚描述了功能模塊之間的關係及子模塊之間的關係
|
|
18
13
|
|
|
19
14
|
## 工作流程
|
|
20
15
|
|
|
21
|
-
1.
|
|
22
|
-
2. 做整倉淺層盤點,列出功能模組的 slug、使用者視角職責、入口點與主要邊界資源。
|
|
23
|
-
3. 為每個功能派發一個可寫子 agent,負責宣告該功能的全部子模組、函式、變數、資料流、本地錯誤與功能內邊。子 agent 返回子模組摘要及需要主 agent 補上的跨功能邊界資訊。
|
|
24
|
-
4. 主 agent 不得重讀已委派功能的原始碼,也不得重複宣告子 agent 已處理的功能內元件。
|
|
25
|
-
5. 全部子 agent 完成後,主 agent 統一補齊跨功能 edge、必要時補共享 meta 或 actor,然後執行 `apltk architecture render` 與 `apltk architecture validate`。
|
|
26
|
-
6. 抽查渲染結果,確認宏觀圖和至少一個代表性子模組頁滿足驗收條件,彙報功能數、子模組數、邊數量、未覆蓋路徑與原因。
|
|
16
|
+
### 1. 閱讀並理解代碼庫
|
|
27
17
|
|
|
28
|
-
|
|
18
|
+
按照功能模塊的定義,全面檢索並將代碼庫拆分為單個或多個功能模塊。接著,開始對功能模塊下的子模塊進行識別及深度閱讀。
|
|
19
|
+
如果外部環境允許使用 subagents ,建議為每一個功能模塊分配一個 subagents 進行深度閱讀,並要求 subagents 完整列出:
|
|
20
|
+
- 該功能模塊與其他功能模塊之間是否存在交互;如有,如何交互。
|
|
21
|
+
- 該功能模塊內部存在哪些子模塊,這些子模塊之間如何交互並實現功能模塊的功能。
|
|
22
|
+
- 該功能模塊及下屬子模塊的資料流、錯誤處理。
|
|
29
23
|
|
|
30
|
-
|
|
31
|
-
- 「把系統的資料流、呼叫關係和回滾路徑視覺化」→ 使用 `call` / `return` / `data-row` / `failure` 邊表達跨邊界關係,為每個關鍵子模組補齊內部 `dataflow`。
|
|
24
|
+
### 2. 使用 `apltk` cli 工具協助生成架構圖
|
|
32
25
|
|
|
33
|
-
|
|
26
|
+
將前一步獲取到的代碼庫只是通過 cli 工具轉化為清晰的架構圖。
|
|
27
|
+
完成之後,驗證架構圖格式正確、可渲染。
|
|
28
|
+
|
|
29
|
+
## 參考資料
|
|
34
30
|
|
|
35
31
|
- `references/TEMPLATE_SPEC.md`:atlas 欄位、列舉和 CLI 寫入形狀速查表。
|
|
36
|
-
- `
|
|
37
|
-
- `
|
|
32
|
+
- `references/definition.md`: 功能模塊和子模塊的詳細定義。
|
|
33
|
+
- `references/architecture-page.template.html`: 模板html。
|
|
34
|
+
- `references/architecture.css`: 風格模板。
|
|
38
35
|
- `sample-demo/`:完整示例輸出,用於理解基礎 atlas 的最終形態。
|
|
39
|
-
- `
|
|
40
|
-
- `update-project-html/SKILL.md`:面向已存在基礎 atlas 的增量刷新版本。
|
|
36
|
+
- `apltk architecture --help` - cli 工具的指引指令。
|
|
Binary file
|
|
@@ -1,35 +1,27 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: maintain-project-constraints
|
|
3
|
-
description:
|
|
4
|
-
依據倉庫現況刷新根目錄 `AGENTS.md` / `CLAUDE.md`,只保留 Common Development Commands、Project Business Goals、Project Documentation Index 三個可追溯區塊。
|
|
3
|
+
description: 當你需要更新 `CLAUDE.md` 或 `AGENTS.md` 這兩份項目規範文檔的時候,調用這個技能。
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
## 技能目標
|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
基於當前 repo 的最新文檔和及代碼,維護項目規範文檔。
|
|
10
9
|
|
|
11
10
|
## 驗收條件
|
|
12
11
|
|
|
13
|
-
-
|
|
14
|
-
- `Common Development Commands` 中每條命令可追溯到 `package.json`、`Makefile`、`bin/`、`scripts/` 或 CI 設定等真實入口。
|
|
15
|
-
- `Project Business Goals` 只描述專案層級目的、服務對象與交付結果,不展開為功能清單。
|
|
16
|
-
- `Project Documentation Index` 覆蓋現存 `docs/features/`、`docs/architecture/`、`docs/principles/` 與重要根目錄文件,每項對應真實路徑。
|
|
17
|
-
- 過時路徑、虛構命令與多餘區塊已被移除。
|
|
18
|
-
- 若 `AGENTS.md` 與 `CLAUDE.md` 同時存在且未聲明故意分歧,兩者三個區塊內容一致。
|
|
12
|
+
- `CLAUDE.md`, `AGENTS.md` 已經被更新到最新狀態
|
|
19
13
|
|
|
20
14
|
## 工作流程
|
|
21
15
|
|
|
22
|
-
1.
|
|
23
|
-
2. 根據證據生成三個必需區塊,確保每條命令、商業目標與文件索引可被直接追溯。
|
|
24
|
-
3. 按專案慣例更新或補齊 `AGENTS.md` / `CLAUDE.md`,正文限制在三個規定區塊內。
|
|
25
|
-
4. 完成前逐項校驗命令來源、文件路徑與雙文件一致性,清除所有陳舊或多餘內容。
|
|
16
|
+
### 1. 閱讀 repo
|
|
26
17
|
|
|
27
|
-
|
|
18
|
+
深入閱讀當前項目文檔及實作代碼,並建立對於項目的全面認知。
|
|
19
|
+
如果外部環境允許使用 subagents,建議通過調度 subagents 完成對 repo 代碼的深入閱讀。
|
|
28
20
|
|
|
29
|
-
|
|
30
|
-
- 「這個專案的 `CLAUDE.md` 已經過時,請補一份對應的 `AGENTS.md`」→ 依據現有命令與文件結構建立缺失文件,讓兩份約束文件在預期一致時保持同構。
|
|
31
|
-
- 「請清理根目錄約束文件裡的舊命令與失效路徑」→ 驗證每條命令與索引路徑是否仍成立,只保留能被倉庫證據支持的內容。
|
|
21
|
+
### 2. 更新項目規範文檔
|
|
32
22
|
|
|
33
|
-
|
|
23
|
+
按照模板當中給出的格式,更新或創建 `CLAUDE.md`, `AGENTS.md`。
|
|
34
24
|
|
|
35
|
-
|
|
25
|
+
## 參考資料
|
|
26
|
+
|
|
27
|
+
- `references/constraint-file-reference.md`:三區塊契約、撰寫規則、核對清單與輸出模板。
|
|
@@ -1,40 +1,27 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: merge-changes-from-local-branches
|
|
3
|
-
description:
|
|
4
|
-
將使用者指定的本地分支合併回當前分支,依序完成衝突處理、驗證、安全清理與最終提交準備;除非本次對話明確要求,否則不推送遠端。
|
|
3
|
+
description: 當你需要將 spec 相關的本地實作分支合併回當前所在分支時,調用這個技能。
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
## 技能目標
|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
將 spec 相關的本地實作分支合併回當前所在分支。
|
|
10
9
|
|
|
11
10
|
## 驗收條件
|
|
12
11
|
|
|
13
|
-
-
|
|
14
|
-
- 合併範圍只包含使用者明確指定,或可由 `coordination.md` / spec 無歧義映射出的分支;若映射不清楚則停止並回報。
|
|
15
|
-
- 當 batch 規劃存在 `Merge order` / landing order 時,實際整合順序與規劃一致;順序衝突或不明確時不猜測執行。
|
|
16
|
-
- 所有衝突以保留正確行為為原則解決,並在刪除來源分支或交給 `commit-and-push` 前完成驗證。
|
|
17
|
-
- 只清理已成功合併且已驗證的來源分支或 worktree;不強制刪除尚未真正合入的來源。
|
|
18
|
-
- 最終交付是原始當前分支上的整合結果與簡潔摘要;只有使用者於本次對話明確要求時才推送遠端。本技能不單獨執行 `archive-specs`。
|
|
12
|
+
- 分支的變更被合併,且所有潛在衝突代碼被解決。
|
|
19
13
|
|
|
20
14
|
## 工作流程
|
|
21
15
|
|
|
22
|
-
1.
|
|
23
|
-
2. 確認工作樹適合執行合併:若存在干擾整合的未提交變更,停止並回報,不自行 stash 或切換分支。
|
|
24
|
-
3. 依既定順序逐一合併 in-scope 分支。對已合入或無新增內容的分支,跳過並記錄原因。發生衝突時閱讀雙方內容編輯出正確結果;無法在不猜測意圖的前提下解決時停止並回報。必要時使用 `merge-conflict-resolver`。
|
|
25
|
-
4. 先對衝突區域或高風險改動執行針對性驗證,再對整體整合結果執行倉庫慣用的標準驗證。驗證失敗先在當前分支修正。
|
|
26
|
-
5. 僅清理已完成合併且通過驗證的來源分支與對應 worktree;安全刪除被拒絕時保留來源並回報,不使用強制刪除。
|
|
27
|
-
6. 交由 `commit-and-push` 完成必要審查、submission-readiness gate 與本地提交。若 `commit-and-push` 不可用則停止並回報,不走裸 `git commit`。
|
|
28
|
-
7. 總結已合併與跳過的分支、順序依據、衝突處理原則、驗證結果,以及流程最終停在本地 `HEAD` 還是包含遠端推送。
|
|
16
|
+
### 1. 建立規格文檔基線認知
|
|
29
17
|
|
|
30
|
-
|
|
18
|
+
閱讀目前用戶指定的 spec,並查看目前分支狀態,找到與 spec 相關的分支。
|
|
31
19
|
|
|
32
|
-
|
|
33
|
-
- 「根據 batch 的 `coordination.md` 把各 worktree 分支合回來,但先不要 push」→ 從 batch 規劃確認無歧義分支映射與 landing order,依序合併、驗證、清理,只做到本地提交。
|
|
34
|
-
- 「把那幾個應該相關的分支一起合一下」→ 若無法從使用者輸入或規劃文件明確判定分支集合與順序,停止並回報需要補充資訊。
|
|
20
|
+
### 2. 合併分支及處理衝突
|
|
35
21
|
|
|
36
|
-
|
|
22
|
+
按照 `coordination.md` 的建議順序,對分支進行合併。
|
|
23
|
+
在解決分支衝突時,必須確保 spec 要求的功能沒有被破壞。
|
|
37
24
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
25
|
+
### 3. 提交變更
|
|
26
|
+
|
|
27
|
+
使用 `commit-and-push` 這個技能,將變更提交到當前分支上,不需要 push 到 remote。
|
|
Binary file
|