@laitszkin/apollo-toolkit 3.12.0 → 3.13.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 (105) hide show
  1. package/AGENTS.md +6 -6
  2. package/CHANGELOG.md +18 -1
  3. package/README.md +9 -10
  4. package/analyse-app-logs/scripts/__pycache__/filter_logs_by_time.cpython-312.pyc +0 -0
  5. package/analyse-app-logs/scripts/__pycache__/log_cli_utils.cpython-312.pyc +0 -0
  6. package/analyse-app-logs/scripts/__pycache__/search_logs.cpython-312.pyc +0 -0
  7. package/archive-specs/SKILL.md +0 -6
  8. package/commit-and-push/SKILL.md +4 -12
  9. package/docs-to-voice/scripts/__pycache__/docs_to_voice.cpython-312.pyc +0 -0
  10. package/enhance-existing-features/SKILL.md +21 -37
  11. package/generate-spec/SKILL.md +32 -17
  12. package/generate-spec/references/definition.md +12 -0
  13. package/generate-spec/scripts/__pycache__/create-specscpython-312.pyc +0 -0
  14. package/init-project-html/SKILL.md +19 -25
  15. package/init-project-html/references/definition.md +12 -0
  16. package/katex/scripts/__pycache__/render_katex.cpython-312.pyc +0 -0
  17. package/maintain-project-constraints/SKILL.md +13 -25
  18. package/merge-changes-from-local-branches/SKILL.md +13 -37
  19. package/open-github-issue/scripts/__pycache__/open_github_issue.cpython-312.pyc +0 -0
  20. package/open-source-pr-workflow/SKILL.md +4 -7
  21. package/optimise-skill/SKILL.md +8 -8
  22. package/optimise-skill/references/definition.md +1 -0
  23. package/optimise-skill/references/example_skill.md +8 -8
  24. package/package.json +1 -1
  25. package/read-github-issue/scripts/__pycache__/find_issues.cpython-312.pyc +0 -0
  26. package/read-github-issue/scripts/__pycache__/read_issue.cpython-312.pyc +0 -0
  27. package/resolve-review-comments/scripts/__pycache__/review_threads.cpython-312.pyc +0 -0
  28. package/review-spec-related-changes/SKILL.md +30 -38
  29. package/ship-github-issue-fix/SKILL.md +2 -2
  30. package/solve-issues-found-during-review/SKILL.md +8 -43
  31. package/systematic-debug/SKILL.md +12 -39
  32. package/test-case-strategy/SKILL.md +10 -37
  33. package/text-to-short-video/scripts/__pycache__/enforce_video_aspect_ratio.cpython-312.pyc +0 -0
  34. package/update-project-html/SKILL.md +19 -24
  35. package/update-project-html/references/definition.md +12 -0
  36. package/version-release/SKILL.md +16 -37
  37. package/discover-edge-cases/CHANGELOG.md +0 -19
  38. package/discover-edge-cases/LICENSE +0 -21
  39. package/discover-edge-cases/README.md +0 -87
  40. package/discover-edge-cases/SKILL.md +0 -32
  41. package/discover-edge-cases/agents/openai.yaml +0 -4
  42. package/discover-edge-cases/references/architecture-edge-cases.md +0 -41
  43. package/discover-edge-cases/references/code-edge-cases.md +0 -46
  44. package/discover-security-issues/CHANGELOG.md +0 -32
  45. package/discover-security-issues/LICENSE +0 -21
  46. package/discover-security-issues/README.md +0 -35
  47. package/discover-security-issues/SKILL.md +0 -54
  48. package/discover-security-issues/agents/openai.yaml +0 -4
  49. package/discover-security-issues/references/agent-attack-catalog.md +0 -117
  50. package/discover-security-issues/references/common-software-attack-catalog.md +0 -168
  51. package/discover-security-issues/references/red-team-extreme-scenarios.md +0 -81
  52. package/discover-security-issues/references/risk-checklist.md +0 -78
  53. package/discover-security-issues/references/security-test-patterns-agent.md +0 -101
  54. package/discover-security-issues/references/security-test-patterns-finance.md +0 -88
  55. package/discover-security-issues/references/test-snippets.md +0 -73
  56. package/iterative-code-performance/LICENSE +0 -21
  57. package/iterative-code-performance/README.md +0 -34
  58. package/iterative-code-performance/SKILL.md +0 -116
  59. package/iterative-code-performance/agents/openai.yaml +0 -4
  60. package/iterative-code-performance/references/algorithmic-complexity.md +0 -58
  61. package/iterative-code-performance/references/allocation-and-hot-loops.md +0 -53
  62. package/iterative-code-performance/references/caching-and-memoization.md +0 -64
  63. package/iterative-code-performance/references/concurrency-and-pipelines.md +0 -61
  64. package/iterative-code-performance/references/coupled-hot-path-strategy.md +0 -78
  65. package/iterative-code-performance/references/io-batching-and-queries.md +0 -55
  66. package/iterative-code-performance/references/iteration-gates.md +0 -133
  67. package/iterative-code-performance/references/job-selection.md +0 -92
  68. package/iterative-code-performance/references/measurement-and-benchmarking.md +0 -78
  69. package/iterative-code-performance/references/module-coverage.md +0 -133
  70. package/iterative-code-performance/references/repository-scan.md +0 -69
  71. package/iterative-code-quality/LICENSE +0 -21
  72. package/iterative-code-quality/README.md +0 -45
  73. package/iterative-code-quality/SKILL.md +0 -112
  74. package/iterative-code-quality/agents/openai.yaml +0 -4
  75. package/iterative-code-quality/references/coupled-core-file-strategy.md +0 -73
  76. package/iterative-code-quality/references/iteration-gates.md +0 -127
  77. package/iterative-code-quality/references/job-selection.md +0 -78
  78. package/iterative-code-quality/references/logging-alignment.md +0 -67
  79. package/iterative-code-quality/references/module-boundaries.md +0 -83
  80. package/iterative-code-quality/references/module-coverage.md +0 -126
  81. package/iterative-code-quality/references/naming-and-simplification.md +0 -73
  82. package/iterative-code-quality/references/repository-scan.md +0 -65
  83. package/iterative-code-quality/references/testing-strategy.md +0 -95
  84. package/merge-conflict-resolver/SKILL.md +0 -46
  85. package/merge-conflict-resolver/agents/openai.yaml +0 -5
  86. package/recover-missing-plan/SKILL.md +0 -85
  87. package/recover-missing-plan/agents/openai.yaml +0 -4
  88. package/review-change-set/LICENSE +0 -21
  89. package/review-change-set/README.md +0 -55
  90. package/review-change-set/SKILL.md +0 -46
  91. package/review-change-set/agents/openai.yaml +0 -4
  92. package/review-codebases/LICENSE +0 -21
  93. package/review-codebases/README.md +0 -69
  94. package/review-codebases/SKILL.md +0 -46
  95. package/review-codebases/agents/openai.yaml +0 -4
  96. package/scheduled-runtime-health-check/LICENSE +0 -21
  97. package/scheduled-runtime-health-check/README.md +0 -107
  98. package/scheduled-runtime-health-check/SKILL.md +0 -135
  99. package/scheduled-runtime-health-check/agents/openai.yaml +0 -4
  100. package/scheduled-runtime-health-check/references/output-format.md +0 -20
  101. package/spec-to-project-html/SKILL.md +0 -42
  102. package/spec-to-project-html/agents/openai.yaml +0 -11
  103. package/spec-to-project-html/references/TEMPLATE_SPEC.md +0 -113
  104. package/submission-readiness-check/SKILL.md +0 -55
  105. package/submission-readiness-check/agents/openai.yaml +0 -4
package/AGENTS.md CHANGED
@@ -31,10 +31,10 @@ This repository enables users to install and run a curated set of reusable agent
31
31
  - Users can turn lecture slides, past papers, and answer books into mock exams, worked solutions, study notes, or graded PDFs with KaTeX-rendered math.
32
32
  - Users can extend existing features in a brownfield codebase with required tests and approvals.
33
33
  - Users can propose product features from an existing codebase and publish accepted proposals.
34
- - Users can discover reproducible edge-case risks and report prioritized hardening gaps.
34
+
35
35
  - Users can read, filter, and inspect remote GitHub issues before planning follow-up work.
36
36
  - Users can resolve a GitHub issue end-to-end and push the fix directly to a requested branch without opening a PR.
37
- - Users can run evidence-first application security audits focused on confirmed vulnerabilities.
37
+
38
38
  - Users can run a shared submission-readiness pass that synchronizes changelog, project docs, `AGENTS.md`, and completed plan archives before commit, push, PR creation, or release.
39
39
  - Users can learn new or improved skills from recent Codex conversation history.
40
40
  - Users can audit and maintain the skill catalog itself, including dependency classification and shared-skill extraction decisions.
@@ -51,12 +51,12 @@ This repository enables users to install and run a curated set of reusable agent
51
51
  - Users can generate storyboard image sets from chapters, novels, articles, or scripts.
52
52
  - Users can configure OpenClaw from official documentation, including `~/.openclaw/openclaw.json`, skills loading, SecretRefs, CLI edits, and validation or repair workflows.
53
53
  - Users can record multi-account spending and balance changes in monthly Excel ledgers with summary analytics and charts.
54
- - Users can recover missing or archived `docs/plans/...` spec sets from issue context, git history, and repository evidence before continuing feature work.
55
- - Users can review the current git change set from an unbiased reviewer perspective to find abstraction opportunities and simplification candidates.
54
+
55
+
56
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
57
  - Users can process GitHub pull request review comments and resolve addressed threads.
58
- - Users can perform repository-wide code reviews and publish confirmed findings as GitHub issues.
59
- - Users can schedule a bounded project runtime window, stop it automatically, and analyze module health from captured logs.
58
+
59
+
60
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
61
  - Users can build and maintain Solana programs and Rust clients using official Solana development workflows.
62
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.
package/CHANGELOG.md CHANGED
@@ -4,11 +4,28 @@ All notable changes to this repository are documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ### Changed
8
+
9
+ - 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.
10
+
7
11
  ### Added
8
12
 
13
+ - `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.
14
+
15
+ ### Removed
16
+
17
+ - 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.
18
+
19
+ ## [v3.12.1] - 2026-05-14
20
+
9
21
  ### Changed
10
22
 
11
- ### Fixed
23
+ - Rewrite remaining shipped skills (`enhance-existing-features`, `generate-spec`, `init-project-html`, `merge-changes-from-local-branches`, `open-source-pr-workflow`, `optimise-skill`, `review-spec-related-changes`, `solve-issues-found-during-review`, `submission-readiness-check`, `commit-and-push`, `version-release`, `iterative-code-performance`, `iterative-code-quality`, `maintain-project-constraints`, `ship-github-issue-fix`, `spec-to-project-html`, `systematic-debug`) into the compact Chinese-first structure with goal, acceptance criteria, workflow, examples, and references sections.
24
+ - Update `AGENTS.md` and `README.md` to remove references to deleted skills and simplify dependency descriptions.
25
+
26
+ ### Removed
27
+
28
+ - Remove `discover-edge-cases`, `discover-security-issues`, `recover-missing-plan`, `review-change-set`, `review-codebases`, and `scheduled-runtime-health-check` skills that are no longer part of the curated catalog.
12
29
 
13
30
  ## [v3.12.0] - 2026-05-13
14
31
 
package/README.md CHANGED
@@ -12,7 +12,7 @@ A curated skill catalog for Codex, OpenClaw, Trae, Agents, and Claude Code with
12
12
  - codex-memory-manager
13
13
  - deep-research-topics
14
14
  - develop-new-features
15
- - discover-edge-cases
15
+
16
16
  - docs-to-voice
17
17
  - exam-pdf-workflow
18
18
  - document-vision-reader
@@ -21,7 +21,7 @@ A curated skill catalog for Codex, OpenClaw, Trae, Agents, and Claude Code with
21
21
  - financial-research
22
22
  - read-github-issue
23
23
  - generate-spec
24
- - discover-security-issues
24
+
25
25
  - implement-specs
26
26
  - implement-specs-with-subagents
27
27
  - implement-specs-with-worktree
@@ -41,13 +41,13 @@ A curated skill catalog for Codex, OpenClaw, Trae, Agents, and Claude Code with
41
41
  - openai-text-to-image-storyboard
42
42
  - openclaw-configuration
43
43
  - optimise-skill
44
- - recover-missing-plan
44
+
45
45
  - record-spending
46
46
  - resolve-review-comments
47
- - review-change-set
48
- - review-codebases
47
+
48
+
49
49
  - review-spec-related-changes
50
- - scheduled-runtime-health-check
50
+
51
51
  - shadow-api-model-research
52
52
  - solana-development
53
53
  - spec-to-project-html
@@ -208,12 +208,11 @@ Compatibility note:
208
208
 
209
209
  - `generate-spec` is a local skill used by `develop-new-features` and `enhance-existing-features`, and it can produce either a single spec set under `docs/plans/{YYYY-MM-DD}/{change_name}/` or a coordinated parallel batch under `docs/plans/{YYYY-MM-DD}/{batch_name}/{change_name}/` with shared `coordination.md`.
210
210
  - `implement-specs-with-subagents` coordinates one `implement-specs-with-worktree` subagent per spec directory for approved multi-spec batches.
211
- - `recover-missing-plan` is a local skill used by `enhance-existing-features` and `ship-github-issue-fix` when a referenced `docs/plans/...` spec set is missing or archived.
211
+
212
212
  - `read-github-issue` uses GitHub CLI (`gh`) directly for remote issue discovery and inspection, so it does not add any extra skill dependency.
213
- - `review-spec-related-changes` is a local skill that depends on `review-change-set`, `discover-edge-cases`, and `discover-security-issues` for secondary code-practice checks after business-goal completion is reviewed against the governing specs; it prefers running each secondary skill in its own read-only subagent in parallel.
213
+ - `review-spec-related-changes` is a local skill that reviews spec compliance of changes against governing planning documents, assessing business goals before secondary code-practice concerns.
214
214
  - `update-project-html` is a local skill that depends on `init-project-html` for semantic rules and on the `apltk architecture` CLI to refresh the base atlas after code changes; for spec overlay diagrams use `spec-to-project-html` instead.
215
- - `commit-and-push` and `version-release` no longer chain `discover-edge-cases` or `discover-security-issues`; invoke those skills explicitly when the review surface needs them.
216
- - `review-change-set` no longer chains `discover-security-issues`; for multi-file diffs it prefers dispatching one read-only subagent per scope cluster.
215
+
217
216
 
218
217
  ## Release publishing
219
218
 
@@ -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 模板
@@ -19,26 +19,18 @@ description: 提供提交指引以及作為提交前的必要品控閘門。當
19
19
 
20
20
  ### 2. 品控閘門(選用)
21
21
 
22
- 如果變更範圍設計代碼變更,使用 `review-change`, `discover-edge-cases`, `discover-security-issues` 這三個技能,並遵從當中的任務指引,對代碼變更進行審查。
23
- 如果外部環境允許使用subagents,建議通過調度subagents完成三個不同維度的代碼審查工作。
24
- 如果在審查過程中發現問題,修復發現的問題並暫存。
22
+ 如果變更範圍涉及代碼變更,確認變更已通過必要的審查與驗證。如果在審查過程中發現問題,修復發現的問題並暫存。
25
23
 
26
24
  ### 3. 同步項目文檔
27
25
 
28
- 使用 `submission-readiness-check` 並遵照當中的指引,同步更新項目文檔,確保項目文檔時刻與repo保持一致。
26
+ 使用 `align-project-documents`, `maintain-project-constraints` 這兩個技能,並遵照當中的指引,同步更新項目文檔,確保項目文檔時刻與repo保持一致。
29
27
 
30
28
  ### 4. 提交及推送變更
31
29
 
32
30
  依使用者的 staging 邊界建立 commit,提交訊息遵循 `references/commit-messages.md`。
33
- 只有在使用者明確要求更新remote時才 push。
31
+ 只有在使用者明確要求更新 remote 時才 push。
34
32
 
35
- ## 範例
36
-
37
- - 「只把已 staged 的 `foo.ts` 提交」-> 只能提交已暫存內容,不能順手把未 staged 的 `bar.ts` 一起帶進來
38
- - 「幫我 push 這個 branch」-> 先完成 review 與 readiness gate,再 push,最後用 hash 證明remote已同步
39
- - 「順便幫我發版」-> 不使用本技能,改走 `version-release`
40
-
41
- ## 參考資料索引
33
+ ## 參考資料
42
34
 
43
35
  - `references/commit-messages.md`:提交訊息格式
44
36
  - `references/branch-naming.md`:分支命名慣例
@@ -1,56 +1,40 @@
1
1
  ---
2
2
  name: enhance-existing-features
3
3
  description: >-
4
- 用於在既有系統上增強或調整產品行為。必須先讀懂實際受影響的模組,再決定是直接實作,
5
- 還是先走 `generate-spec` / `recover-missing-plan`;所有非平凡變更都要經過 `test-case-strategy`。
4
+ 在既有系統上增強或調整產品行為。先讀懂受影響模組,再決定直接實作或走 generate-spec;所有非平凡變更必須經過 test-case-strategy。
6
5
  ---
7
6
 
8
- # 增強既有功能
9
-
10
- ## Dependencies
11
-
12
- - Required: `test-case-strategy`
13
- - Conditional: `generate-spec`、`recover-missing-plan`、`commit-and-push`
14
- - Optional: 無
15
- - Fallback: `test-case-strategy` 不可用時必須停止;需要spec但 `generate-spec` 或 `recover-missing-plan` 不可用時也必須停止;若使用者要求提交或推送但 `commit-and-push` 不可用,必須說明後停止
16
-
17
- ## Standards
18
-
19
- - Evidence: 先閱讀實際程式碼、整合點與外部文件,再決定流程與修改方案
20
- - Execution: 探索範圍 -> 判斷是否需要 spec -> 查官方資料 -> 最小實作 -> 測試 -> 回填或總結
21
- - Quality: 不因怕麻煩而跳過 spec,也不為小改動硬開 spec;只做與需求直接相關的修改
22
- - Output: 交付符合需求的行為變更、可追溯的測試結果,以及在需要時保持誠實的計劃文件狀態
23
-
24
7
  ## 技能目標
25
8
 
26
- 在不打亂既有系統邊界的前提下,為 brownfield 專案安全地增強功能或調整行為,並用合適的spec流程與測試策略把風險控制在可驗證範圍內。
9
+ 在不打亂既有系統邊界的前提下,為 brownfield 專案安全地增強功能或調整行為,以合適的 spec 流程與測試策略將風險控制在可驗證範圍內。
27
10
 
28
11
  ## 驗收條件
29
12
 
30
- - 在動手前已讀懂受影響模組、入口點、整合邊界與變更爆炸半徑
31
- - 已正確判斷這次工作是直接實作還是必須先走 `generate-spec` / `recover-missing-plan`
32
- - 每個非平凡變更都經過 `test-case-strategy`,並留下清楚的 oracle、驗證方式與 `N/A` 理由
33
- - 若使用了 spec,則批准、實作、回填與真實狀態同步全部完成;若未使用 spec,則最終摘要足以說明風險、測試與限制
13
+ - 變更範圍明確:已讀懂受影響模組、入口點、整合邊界與變更爆炸半徑。
14
+ - 已正確判斷直接實作或必須先走 `generate-spec`,並在不需要 spec 時給出明確理由。
15
+ - 每個非平凡變更都經過 `test-case-strategy`,留下清楚的 oracle、驗證方式與通過證據。
16
+ - 若使用 spec:批准、實作、回填與計劃文件狀態同步全部完成。
17
+ - 若未使用 spec:最終摘要足以說明風險、測試結果與剩餘限制。
18
+ - `test-case-strategy` 不可用時必須停止;需要 spec 但 `generate-spec` 不可用時必須停止。
34
19
 
35
20
  ## 工作流程
36
21
 
37
- 1. 先完整閱讀相關模組、資料流、整合點與現有測試,明確界定這次變更會影響哪些地方
38
- 2. 判斷是否需要spec流程;若涉及新的或改變後的使用者可見行為、跨模組協調、高風險敏感流程、重大歧義,則走 `generate-spec`;如果使用者指定的 plan 路徑缺失或不一致,先用 `recover-missing-plan`
39
- 3. 若不需要 spec,明確說出不開 spec 的理由;若需要 spec,必須等批准後才能改產品程式碼
40
- 4. 查閱變更所依賴的官方文件、API spec或工具文件,尤其是外部整合與契約邏輯
41
- 5. 以最小差異實作需求,不順手做額外重構或範圍擴張
42
- 6. 使用 `test-case-strategy` 選擇單元、回歸、property、integration、E2E 或 adversarial 測試,跑測試並修正失敗
43
- 7. 若使用了 spec,回填 `spec.md`、`tasks.md`、`checklist.md`、`contract.md`、`design.md` 與任何 `coordination.md`;若未使用 spec,輸出簡潔的結果摘要、測試證據與剩餘限制
22
+ 1. 完整閱讀受影響模組、資料流、整合點與現有測試,明確界定變更的爆炸半徑。
23
+ 2. 判斷是否需要 spec:涉及新的或改變使用者可見行為、跨模組協調、高風險敏感流程、重大歧義時走 `generate-spec`。不需 spec 時明確說出理由。
24
+ 3. 若需要 spec,必須等批准後才能改產品程式碼。
25
+ 4. 查閱變更依賴的官方文件或 API spec,以最小差異實作需求,不順手做額外重構或範圍擴張。
26
+ 5. 使用 `test-case-strategy` 選擇測試組合,跑測試並修正失敗。
27
+ 6. 若使用 spec,回填所有計劃文件;若未使用,輸出簡潔的結果摘要、測試證據與剩餘限制。
44
28
 
45
29
  ## 使用範例
46
30
 
47
- - 「新增一套影響 API、資料庫與 UI 的權限模型」-> 先走 `generate-spec`,批准後再實作,並補上跨層測試
48
- - 「修正分頁 off-by-one,讓行為回到 README 描述」-> 不開 spec,直接修復並加回歸測試
49
- - 「目前指定的 `docs/plans/...` 不見了,但使用者要沿著它繼續做」-> 先用 `recover-missing-plan` 還原或重建,再繼續
31
+ - 「新增一套影響 API、資料庫與 UI 的權限模型」→ 先走 `generate-spec`,批准後再實作,並補上跨層測試。交付物包含已批准的 spec、通過的測試證據、回填完成的計劃文件。
32
+ - 「修正分頁 off-by-one,讓行為回到 README 描述」→ 不開 spec,直接修復並加回歸測試。交付物為修復後的代碼與測試通過證據。
33
+
50
34
 
51
35
  ## 參考資料索引
52
36
 
53
- - `generate-spec`:需要書面批准時的spec流程
54
- - `recover-missing-plan`:修復缺失或不一致的計劃檔
55
- - `test-case-strategy`:非平凡變更的測試選型與 oracle 設計
56
- - `commit-and-push`:使用者要求提交或推送時的最終交付流程
37
+ - `generate-spec`:需要書面批准時的 spec 流程。
38
+
39
+ - `test-case-strategy`:非平凡變更的測試選型與 oracle 設計。
40
+ - `commit-and-push`:使用者要求提交或推送時的最終交付流程。
@@ -1,24 +1,26 @@
1
1
  ---
2
2
  name: generate-spec
3
- description: >-
4
- Create or refresh approval-gated planning docs under `docs/plans/...` with
5
- `apltk create-specs`, `test-case-strategy`, and optional batch coordination or
6
- preparation files. Use for drafting or restructuring specs, not implementation.
3
+ description: 當你需要將用戶模糊的複雜需求拆解成有嚴格實作範圍的spec時,使用這個技能
7
4
  ---
8
5
 
9
6
  ## 目標
7
+
10
8
  將用戶需求轉化為明確、有清晰完成條件的spec。
11
9
 
12
10
  ## 驗收條件
11
+
13
12
  - 已經產出了嚴格遵循模板格式的spec。
14
13
  - 為spec當中的需求制定了明確的驗收條件及測試策略
15
14
 
16
15
  ## 工作流程
17
- 1. 理解用戶需求並閱讀repo
18
- 分析用戶需求,並在repo之中搜索、列出可能相關的內容。完成搜索之後,深入閱讀相關代碼,識別變更範圍。
19
- 如果外部環境存在subagents功能,建議通過調度subagents來完成深入閱讀repo的任務。
20
16
 
21
- 2. 拆分用戶需求及設計業務架構
17
+ ### 1. 理解用戶需求並閱讀repo
18
+
19
+ 分析用戶需求,並在 repo 之中搜索、列出可能相關的內容。完成搜索之後,深入閱讀相關代碼,識別變更範圍。
20
+ 如果外部環境存在 subagents 功能,建議通過調度 subagents 來完成深入閱讀 repo 的任務。
21
+
22
+ ### 2. 拆分用戶需求及設計業務架構
23
+
22
24
  將用戶需求轉化、拆分為明確、存在邊界的工程需求。結合現有代碼,設計業務架構。在設計的過程中,你需要考慮包括但不限於以下設計事項:
23
25
  - 錯誤處理
24
26
  - 測試策略
@@ -26,22 +28,35 @@ description: >-
26
28
  - 資料流
27
29
  在這個階段,如果用戶有任何不清晰的需求,且該需求會影響你的設計方案,你需要紀錄並在稍後填入spec,等待用戶的回答。
28
30
 
29
- 3. 將整個設計方案拆分成可執行任務
31
+ ### 3. 將整個設計方案拆分成可執行任務
32
+
30
33
  將上一步之中你構思的完整設計方案拆分為精確到函式或檔案級別的任務。你必須確保每一個任務都是可以直接執行,且沒有歧義的。以此確保執行設計方案的開發者不會偏離設計方案。
31
34
 
32
- 4. 制定驗收條件
33
- 為任務制定基於測試的驗收條件,確保每一個任務在完成之後都能夠被驗證。
35
+ ### 4. 制定驗收條件
36
+
37
+ 使用 `test-case-strategy` 這個技能,為任務制定基於測試的驗收條件,確保每一個任務在完成之後都能夠被驗證。
34
38
  同時,為需求制定驗收條件,確保用戶需求能夠被測試清晰地驗收、檢驗成果。
35
39
 
36
- 5. 使用 `apltk` cli工具協助完成spec
37
- 使用cli工具,產生spec的模板。將你的完整計劃填入到模板之中,並通過cli工具生成完整架構圖讓用戶審閱。
38
- 如果該spec設計超過三個模塊,則需要創建batch spec。
40
+ ### 5. 使用 `apltk` cli 工具協助完成 spec
41
+
42
+ 使用 cli 工具,產生 spec 的模板。將你的完整計劃填入到模板之中。
43
+ 如果該 spec 設計超過三個模塊,則需要創建 batch spec。
44
+
45
+ ### 6. 使用 `apltk` cli 工具協助完成 spec architecture diff
46
+
47
+ 通過 cli 工具生成完整的 architecture diff 讓用戶審閱本次 spec 的架構設計。
48
+
49
+ 架構圖需要清楚描述:
50
+ - 功能模塊之間的關係變動、設計、交互。
51
+ - 子模塊之間的關係變動、設計、交互。
39
52
 
40
53
  ## 範例
54
+
41
55
  - "製作一個網頁德州撲克小遊戲" -> "拆分成多個模塊:遊戲本體邏輯、前端頁面渲染、前端頁面交互邏輯;制定單元測試、整合測試等策略,並製作一份單一的spec指導實作工作。"
42
- - "提升現有系統的性能" -> "識別目前repo之中拖累性能的代碼。製作batch spec文檔,將repo的全量優化拆分為以三個模塊為一組的優化。對於必須改動業務邏輯才可以做到的性能提升,填寫clarification questions,並等待用戶回答之後更新spec。"
56
+ - "提升現有系統的性能" -> "識別目前 repo 之中拖累性能的代碼。製作 batch spec 文檔,將 repo 的全量優化拆分為以三個模塊為一組的優化。對於必須改動業務邏輯才可以做到的性能提升,填寫 clarification questions,並等待用戶回答之後更新 spec。"
43
57
 
44
58
  ## 參考資料
59
+
45
60
  - `scripts/create-specs` - `apltk create-specs` 背後使用的模板產生器。
46
61
  - `references/templates/spec.md` - `spec.md` 的綁定模板。
47
62
  - `references/templates/tasks.md` - `tasks.md` 的綁定模板。
@@ -51,6 +66,6 @@ description: >-
51
66
  - `references/templates/coordination.md` - batch root 的 coordination 模板。
52
67
  - `references/templates/preparation.md` - batch root 的前置工作模板。
53
68
  - `references/TEMPLATE_SPEC.md` - `apltk` cli工具相關格式指引。
54
- - `test-case-strategy/SKILL.md` - 測試策略選擇技能。
55
69
  - `apltk create-specs --help` - spec生成相關cli工具的指引命令
56
- - `apltk architecture --help` - 架構圖生成相關cli工具的指引命令
70
+ - `apltk architecture --help` - 架構圖生成相關cli工具的指引命令
71
+ - `references/definition.md` - 架構圖之中功能模塊及子模塊的具體定義
@@ -0,0 +1,12 @@
1
+ ## 功能模塊
2
+
3
+ 功能模塊是直接面向用戶的功能,如:
4
+ - 登陸功能
5
+ - 註冊功能
6
+ - 邀請碼功能
7
+
8
+ 功能模塊由子模塊的合作、交互實現
9
+
10
+ ## 子模塊
11
+
12
+ 子模塊是功能模塊的關鍵組成部分。具體定義依照代碼的實作邊界得出。
@@ -1,42 +1,36 @@
1
1
  ---
2
2
  name: init-project-html
3
- description: >-
4
- 使用 `apltk architecture` 初始化專案 HTML 架構圖譜,生成基礎 atlas YAML 與渲染後的 HTML 頁面。所有宣告必須基於倉庫證據,跨模組關係只能用 `call`、`return`、`data-row`、`failure` 邊表達;每個功能模組由一個可寫子 agent 負責,主 agent 必須等待全部子 agent 完成後,才能補跨功能連接並執行 `render` 與 `validate`。
3
+ description: 當你需要為項目初始化架構圖時,使用此技能。
5
4
  ---
6
5
 
7
- # 初始化專案 HTML 架構圖
8
-
9
6
  ## 技能目標
10
7
 
11
- 透過 `apltk architecture` 為目前倉庫建立基礎專案架構圖譜,產出受 CLI 管理的 `resources/project-architecture/atlas/` 狀態檔與對應 HTML 頁面,而不是手寫 SVG 或 HTML。
8
+ `apltk` cli 的幫助下製作項目架構圖,幫助用戶理解項目的軟件架構
12
9
 
13
10
  ## 驗收條件
14
11
 
15
- - 只透過 `apltk architecture` 修改圖譜;不得手改 `resources/project-architecture/**/*.html`。
16
- - 渲染後的宏觀圖完整表達功能與子模組關係;所有跨邊界互動都必須落在 `call`、`return`、`data-row`、`failure` 邊上,不能藏在子模組頁面文案裡。
17
- - 每個非平凡子模組都具備足夠的內部結構:已宣告的 `function`、`variable`、有序 `dataflow`、必要時的 `error`,且 `dataflow` 中的函式與讀寫變數引用可被校驗通過。
18
- - 所有宣告都能追溯到真實程式碼、設定、SQL 或外部邊界;無法確認的部分用 `TBD` 或在 `meta.summary` 中明確記錄遺漏原因。
19
- - 採用「每個功能一個可寫子 agent」的分工;主 agent 必須等所有子 agent 完成後,才允許補跨功能邊並執行 `apltk architecture validate`,且驗證結果為通過。
12
+ - 架構圖清楚描述了功能模塊之間的關係及子模塊之間的關係
20
13
 
21
14
  ## 工作流程
22
15
 
23
- 1. 先執行 `apltk architecture --help`,把 CLI 說明當作唯一命令真源;本技能只定義語義規則,不重複維護參數細節。
24
- 2. 先做整倉淺層盤點,只列出功能模組的 `slug`、使用者視角職責、入口點與主要邊界資源;此階段不要深讀函式實作。
25
- 3. 為每個待建圖功能派發一個可寫子 agent。每個子 agent 只深讀自己負責的功能,並負責宣告該功能內的全部子模組、函式、變數、資料流、本地錯誤,以及所有功能內邊。
26
- 4. agent 返回的內容只能是:子模組摘要,以及需要由主 agent 稍後補上的跨功能邊界資訊;主 agent 不得回頭重讀已委派功能原始碼,也不得重複宣告子 agent 已擁有的功能內元件。
27
- 5. 等全部子 agent 完成後,主 agent 統一補齊跨功能 `edge`,必要時補共享 `meta` 或 `actor`,隨後執行 `apltk architecture render` 與 `apltk architecture validate`。
28
- 6. 打開渲染結果進行抽查,確認宏觀圖和至少一個代表性子模組頁都滿足驗收條件,並在彙報中記錄功能數、子模組數、邊數量、未覆蓋路徑與原因。
16
+ ### 1. 閱讀並理解代碼庫
17
+
18
+ 按照功能模塊的定義,全面檢索並將代碼庫拆分為單個或多個功能模塊。接著,開始對功能模塊下的子模塊進行識別及深度閱讀。
19
+ 如果外部環境允許使用 subagents ,建議為每一個功能模塊分配一個 subagents 進行深度閱讀,並要求 subagents 完整列出:
20
+ - 該功能模塊與其他功能模塊之間是否存在交互;如有,如何交互。
21
+ - 該功能模塊內部存在哪些子模塊,這些子模塊之間如何交互並實現功能模塊的功能。
22
+ - 該功能模塊及下屬子模塊的資料流、錯誤處理。
29
23
 
30
- ## 使用範例
24
+ ### 2. 使用 `apltk` cli 工具協助生成架構圖
31
25
 
32
- - 「替這個倉庫首次生成 HTML 架構圖。」 -> 「先梳理功能模組,再按功能分派子 agent,最後彙總跨功能邊,生成基礎 atlas 與渲染頁面。」
33
- - 「把系統的資料流、呼叫關係和回滾路徑視覺化。」 -> 「使用 `call` / `return` / `data-row` / `failure` 邊表達跨邊界關係,並為每個關鍵子模組補齊內部 `dataflow`。」
26
+ 將前一步獲取到的代碼庫只是通過 cli 工具轉化為清晰的架構圖。
27
+ 完成之後,驗證架構圖格式正確、可渲染。
34
28
 
35
- ## 參考資料索引
29
+ ## 參考資料
36
30
 
37
31
  - `references/TEMPLATE_SPEC.md`:atlas 欄位、列舉和 CLI 寫入形狀速查表。
38
- - `lib/atlas/cli.js`:`apltk architecture` 的實作入口。
39
- - `lib/atlas/schema.js`:圖譜資料結構與校驗規則。
40
- - `sample-demo/`:完整示例輸出,可用於理解基礎 atlas 的最終形態。
41
- - `spec-to-project-html/SKILL.md`:面向規劃文件的 overlay 版本。
42
- - `update-project-html/SKILL.md`:面向已存在基礎 atlas 的增量刷新版本。
32
+ - `references/definition.md`: 功能模塊和子模塊的詳細定義。
33
+ - `references/architecture-page.template.html`: 模板html。
34
+ - `references/architecture.css`: 風格模板。
35
+ - `sample-demo/`:完整示例輸出,用於理解基礎 atlas 的最終形態。
36
+ - `apltk architecture --help` - cli 工具的指引指令。
@@ -0,0 +1,12 @@
1
+ ## 功能模塊
2
+
3
+ 功能模塊是直接面向用戶的功能,如:
4
+ - 登陸功能
5
+ - 註冊功能
6
+ - 邀請碼功能
7
+
8
+ 功能模塊由子模塊的合作、交互實現
9
+
10
+ ## 子模塊
11
+
12
+ 子模塊是功能模塊的關鍵組成部分。具體定義依照代碼的實作邊界得出。
@@ -1,39 +1,27 @@
1
1
  ---
2
2
  name: maintain-project-constraints
3
- description: >-
4
- 依據倉庫現況刷新根目錄 `AGENTS.md` / `CLAUDE.md`,只保留
5
- `Common Development Commands`、`Project Business Goals`、
6
- `Project Documentation Index` 三個可追溯區塊。
3
+ description: 當你需要更新 `CLAUDE.md` 或 `AGENTS.md` 這兩份項目規範文檔的時候,調用這個技能。
7
4
  ---
8
5
 
9
- # 維護專案約束文件
10
-
11
6
  ## 技能目標
12
7
 
13
- 基於當前倉庫證據,產出或刷新根目錄 `AGENTS.md` 與 `CLAUDE.md`,使其準確反映開發命令、專案商業目標與文件索引,且不捏造任何內容。
8
+ 基於當前 repo 的最新文檔和及代碼,維護項目規範文檔。
9
+
10
+ ## 驗收條件
14
11
 
15
- ## 技能驗收條件
12
+ - `CLAUDE.md`, `AGENTS.md` 已經被更新到最新狀態
16
13
 
17
- - 最終交付為根目錄 `AGENTS.md` / `CLAUDE.md`,正文只包含以下三個區塊,且順序固定:`Common Development Commands`、`Project Business Goals`、`Project Documentation Index`。
18
- - `Common Development Commands` 中的每條命令都可追溯到倉庫中的真實入口,例如 `package.json`、`Makefile`、`bin/`、`scripts/` 或其他現存執行點。
19
- - `Project Business Goals` 只描述專案層級的目的、服務對象與交付結果,不展開為功能清單。
20
- - `Project Documentation Index` 覆蓋現存的 `docs/features/`、`docs/architecture/`、`docs/principles/` 與重要根目錄文件,且每項索引都對應真實路徑。
21
- - 過時路徑、虛構命令與多餘區塊已被移除。
22
- - 若 `AGENTS.md` 與 `CLAUDE.md` 同時存在且未聲明故意分歧,兩者的三個區塊內容保持一致。
14
+ ## 工作流程
23
15
 
24
- ## 技能工作流程
16
+ ### 1. 閱讀 repo
25
17
 
26
- 1. 先從倉庫現況收集可驗證的命令入口、專案目的與現有文件清單,不以舊約束文件作為唯一真相。
27
- 2. 根據證據生成三個必需區塊,讓命令、商業目標與文件索引都能被直接追溯。
28
- 3. 按專案慣例更新或補齊 `AGENTS.md` / `CLAUDE.md`,並將正文限制在三個規定區塊內。
29
- 4. 完成前逐項校驗命令來源、文件路徑與雙文件一致性,清除所有陳舊或多餘內容。
18
+ 深入閱讀當前項目文檔及實作代碼,並建立對於項目的全面認知。
19
+ 如果外部環境允許使用 subagents,建議通過調度 subagents 完成對 repo 代碼的深入閱讀。
30
20
 
31
- ## 技能使用範例
21
+ ### 2. 更新項目規範文檔
32
22
 
33
- - "重建 `docs/` 後,請同步刷新 `AGENTS.md` `CLAUDE.md`。" -> "根據當前腳本、入口與文件樹重寫兩個根目錄約束文件,只保留三個規定區塊並確保索引完整。"
34
- - "這個專案的 `CLAUDE.md` 已經過時,請補一份對應的 `AGENTS.md`。" -> "依據現有命令與文件結構建立缺失文件,並讓兩份約束文件在預期一致時保持同構。"
35
- - "請清理根目錄約束文件裡的舊命令與失效路徑。" -> "驗證每條命令與每個索引路徑是否仍然成立,只保留仍可被倉庫證據支持的內容。"
23
+ 按照模板當中給出的格式,更新或創建 `CLAUDE.md`, `AGENTS.md`。
36
24
 
37
- ## 技能參考資料索引
25
+ ## 參考資料
38
26
 
39
- - `references/constraint-file-reference.md` - 三區塊契約、撰寫規則、核對清單與輸出模板。
27
+ - `references/constraint-file-reference.md`:三區塊契約、撰寫規則、核對清單與輸出模板。
@@ -1,51 +1,27 @@
1
1
  ---
2
2
  name: merge-changes-from-local-branches
3
- description: >-
4
- 將使用者指定的本地分支合併回當前分支,按既定順序完成衝突處理、驗證、
5
- 安全清理與最終提交準備;除非本次對話中有明確要求,否則不推送遠端。
3
+ description: 當你需要將 spec 相關的本地實作分支合併回當前所在分支時,調用這個技能。
6
4
  ---
7
5
 
8
- ## 目標
9
- 在工作開始時的當前本地分支上,整合使用者指定的本地分支,或由現有 spec / batch
10
- 規劃可無歧義對應出的本地分支,完成合併、驗證、清理與提交流程銜接,並確保整合結果
11
- 可安全交由 `commit-and-push` 收尾。
6
+ ## 技能目標
12
7
 
13
- ## 驗收條件
14
- - 所有實際合併的變更都落在流程開始時的原始當前分支,且不會未經使用者允許改換目標分支。
15
- - 合併範圍只包含使用者明確指定,或可由 `coordination.md` / spec 上下文無歧義映射出的分支;若映射不清楚,流程會停止並回報。
16
- - 當 batch 規劃存在 `Merge order` / landing order 時,實際整合順序與規劃一致;若順序衝突或不明確,不會猜測執行。
17
- - 所有衝突都以保留正確行為為原則完成解決,並在刪除來源分支或交給 `commit-and-push` 前完成必要驗證。
18
- - 只清理已成功合併且已驗證的來源分支或 worktree;不會強制刪除尚未真正合入目標分支的來源。
19
- - 最終交付是原始當前分支上的整合結果與簡潔摘要,並只在使用者於本次對話明確要求時才推送遠端;本技能不單獨執行 `archive-specs`。
8
+ spec 相關的本地實作分支合併回當前所在分支。
20
9
 
21
- ## 工作流程
22
- 1. 確認目標分支與合併範圍
23
- 將流程開始時的當前分支視為唯一權威目標分支。優先使用使用者明確提供的分支名稱建立合併集合;只有在 spec 或 batch `coordination.md` 能無歧義對應時,才可從規劃文件補足分支映射與整合順序。
10
+ ## 驗收條件
24
11
 
25
- 2. 確認可安全開始整合
26
- 在原始目標分支上確認工作樹適合執行合併。若存在會干擾整合的未提交變更,停止並回報;不要自行 stash、丟棄變更,或切換到其他目標分支。
12
+ - 分支的變更被合併,且所有潛在衝突代碼被解決。
27
13
 
28
- 3. 依既定順序逐一合併
29
- 按照使用者指定順序,或 `coordination.md` 中明確記錄的 landing order,逐一整合 in-scope 分支。對沒有新增內容或已經合入的分支,跳過並記錄原因。發生衝突時,閱讀雙方內容並編輯出能保留正確行為的結果;必要時使用 `merge-conflict-resolver`。若衝突無法在不猜測意圖的前提下解決,停止並回報。
14
+ ## 工作流程
30
15
 
31
- 4. 驗證整合結果
32
- 先對衝突區域或高風險改動執行對應驗證,再對整體整合結果執行倉庫慣用的標準驗證。任何驗證失敗都必須先在當前分支修正,之後才能進入清理或提交階段。
16
+ ### 1. 建立規格文檔基線認知
33
17
 
34
- 5. 清理已成功整合的來源
35
- 僅清理已完成合併且已通過驗證的來源分支與對應 worktree。若安全刪除被拒絕,保留來源並回報,不使用強制刪除。
18
+ 閱讀目前用戶指定的 spec,並查看目前分支狀態,找到與 spec 相關的分支。
36
19
 
37
- 6. 交給 `commit-and-push` 完成收尾
38
- 整理合併後的最終提交意圖,並交由 `commit-and-push` 執行必要審查、submission-readiness gate 與最終本地提交。若 `commit-and-push` 不可用,必須停止並回報,不可改走裸 `git commit`。本技能不負責 push、tag、release,也不另外觸發 `archive-specs`;只有使用者在本次對話中明確要求遠端更新時,才允許後續推送。
20
+ ### 2. 合併分支及處理衝突
39
21
 
40
- 7. 回報結果
41
- 總結已合併與跳過的分支、使用的順序依據、衝突處理原則、驗證結果,以及流程最終停在本地 `HEAD` 還是包含遠端推送。
22
+ 按照 `coordination.md` 的建議順序,對分支進行合併。
23
+ 在解決分支衝突時,必須確保 spec 要求的功能沒有被破壞。
42
24
 
43
- ## 範例
44
- - 「把 `feature/api-layer` 和 `feature/cli-wrapper` 合回目前分支」 -> 以目前分支為唯一目標,依指定順序完成整合、驗證與安全清理,再交給 `commit-and-push` 做最終本地提交。
45
- - 「根據這個 batch 的 `coordination.md` 把各 worktree 分支合回來,但先不要 push」 -> 先從 batch 規劃確認無歧義分支映射與 landing order,再依序合併、驗證、清理,最後只做到本地提交。
46
- - 「把那幾個應該相關的分支一起合一下」 -> 若無法從使用者輸入或規劃文件明確判定分支集合與順序,停止並回報需要補充資訊,而不是依 ancestry 或名稱猜測。
25
+ ### 3. 提交變更
47
26
 
48
- ## 參考資料
49
- - `commit-and-push/SKILL.md`:最終提交、submission-readiness 與是否允許推送的權威流程。
50
- - `merge-conflict-resolver/SKILL.md`:衝突需要精確合成時的輔助技能。
51
- - `docs/plans/**/coordination.md`:batch 規劃存在時的 landing order 與分支映射依據。
27
+ 使用 `commit-and-push` 這個技能,將變更提交到當前分支上,不需要 push 到 remote。
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: open-source-pr-workflow
3
- description: PR-focused workflow for open-source repositories. Use when the user asks to prepare a PR branch from existing changes, draft/open/update a PR, or push a ready contribution branch. Do not use this skill for implementing product features or editing business logic; use it after code changes are already prepared. Enforce branch naming as codex/{change_type}/{changes}, open PRs directly by default without waiting for draft confirmation, show drafts only when the user explicitly asks to review them first, default forked repositories to open PRs against the upstream parent repository unless the user explicitly requests the fork, and write PR content in English by default with required sections for related issues or motivation, engineering decisions with rationale, and test results with commands. For code-affecting changes, run discover-edge-cases first, resolve any confirmed findings, and run code-simplifier before opening the PR.
3
+ description: PR-focused workflow for open-source repositories. Use when the user asks to prepare a PR branch from existing changes, draft/open/update a PR, or push a ready contribution branch. Do not use this skill for implementing product features or editing business logic; use it after code changes are already prepared. Enforce branch naming as codex/{change_type}/{changes}, open PRs directly by default without waiting for draft confirmation, show drafts only when the user explicitly asks to review them first, default forked repositories to open PRs against the upstream parent repository unless the user explicitly requests the fork, and write PR content in English by default with required sections for related issues or motivation, engineering decisions with rationale, and test results with commands. For code-affecting changes, run code-simplifier before opening the PR.
4
4
  ---
5
5
 
6
6
  # Open Source PR Workflow
@@ -8,7 +8,7 @@ description: PR-focused workflow for open-source repositories. Use when the user
8
8
  ## Dependencies
9
9
 
10
10
  - Required: **`commit-and-push`** before publishing the contribution branch (any remaining changes **MUST** be committed/readiness-checked through that skill; **push** only when the user requested remote update—then continue to PR steps).
11
- - Conditional: `discover-edge-cases` and `code-simplifier` for code-affecting PRs before opening the PR.
11
+ - Conditional: `code-simplifier` for code-affecting PRs before opening the PR.
12
12
  - Optional: none.
13
13
  - Fallback: If **`commit-and-push`** or a **required** code-affecting dependency is unavailable, stop and report the missing dependency instead of bypassing the quality gate.
14
14
 
@@ -54,10 +54,7 @@ git checkout -b codex/fix/add-rate-limit-retry
54
54
 
55
55
  ### 4) Run dependent skills for code-affecting changes
56
56
 
57
- - If the PR includes code changes, run `discover-edge-cases` first to discover unresolved edge-case risks.
58
- - Resolve any confirmed findings before continuing.
59
- - Then run `code-simplifier` on the updated changes.
60
- - Keep both passes minimal and focused on the current PR scope.
57
+ - If the PR includes code changes, run `code-simplifier` before opening the PR.
61
58
  - Use these skills as internal quality gates only; do not include skill/tool names in PR content.
62
59
  - If the PR has no code changes, explicitly note that these two skills were not required in internal notes only.
63
60
 
@@ -118,7 +115,7 @@ If tests cannot run locally, state why and provide the closest available validat
118
115
  - If the user asked to review the draft, they confirmed the final draft before PR creation.
119
116
  - If the repository is a fork, PR destination is the upstream parent unless the user explicitly requested the fork.
120
117
  - PR body includes all required sections and focuses only on PR-related context.
121
- - If code changes exist, run `discover-edge-cases`, resolve confirmed findings, and then run `code-simplifier` before opening the PR.
118
+ - If code changes exist, run `code-simplifier` before opening the PR.
122
119
  - PR body does not mention internal skills/tools or agent workflow notes.
123
120
  - Test commands and results are explicitly listed.
124
121
  - Language defaults to English unless user requests otherwise.