@laitszkin/apollo-toolkit 3.6.1 → 3.6.3

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 (39) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/analyse-app-logs/scripts/__pycache__/filter_logs_by_time.cpython-312.pyc +0 -0
  3. package/analyse-app-logs/scripts/__pycache__/log_cli_utils.cpython-312.pyc +0 -0
  4. package/analyse-app-logs/scripts/__pycache__/search_logs.cpython-312.pyc +0 -0
  5. package/archive-specs/SKILL.md +4 -4
  6. package/commit-and-push/agents/openai.yaml +1 -1
  7. package/docs-to-voice/scripts/__pycache__/docs_to_voice.cpython-312.pyc +0 -0
  8. package/feature-propose/README.md +2 -2
  9. package/feature-propose/SKILL.md +9 -9
  10. package/generate-spec/scripts/__pycache__/create-specscpython-312.pyc +0 -0
  11. package/implement-specs-with-subagents/SKILL.md +69 -27
  12. package/implement-specs-with-subagents/agents/openai.yaml +1 -1
  13. package/iterative-code-performance/README.md +1 -1
  14. package/iterative-code-performance/SKILL.md +3 -3
  15. package/iterative-code-performance/agents/openai.yaml +1 -1
  16. package/iterative-code-performance/references/iteration-gates.md +1 -1
  17. package/iterative-code-performance/references/repository-scan.md +1 -1
  18. package/iterative-code-quality/README.md +1 -1
  19. package/iterative-code-quality/SKILL.md +3 -3
  20. package/iterative-code-quality/agents/openai.yaml +1 -1
  21. package/iterative-code-quality/references/iteration-gates.md +1 -1
  22. package/iterative-code-quality/references/module-boundaries.md +1 -1
  23. package/iterative-code-quality/references/repository-scan.md +1 -1
  24. package/katex/scripts/__pycache__/render_katex.cpython-312.pyc +0 -0
  25. package/maintain-project-constraints/SKILL.md +15 -15
  26. package/maintain-project-constraints/agents/openai.yaml +2 -2
  27. package/maintain-skill-catalog/README.md +1 -1
  28. package/maintain-skill-catalog/SKILL.md +2 -2
  29. package/merge-changes-from-local-branches/SKILL.md +1 -1
  30. package/open-github-issue/scripts/__pycache__/open_github_issue.cpython-312.pyc +0 -0
  31. package/package.json +1 -1
  32. package/read-github-issue/scripts/__pycache__/find_issues.cpython-312.pyc +0 -0
  33. package/read-github-issue/scripts/__pycache__/read_issue.cpython-312.pyc +0 -0
  34. package/resolve-review-comments/scripts/__pycache__/review_threads.cpython-312.pyc +0 -0
  35. package/ship-github-issue-fix/SKILL.md +2 -2
  36. package/submission-readiness-check/SKILL.md +5 -5
  37. package/text-to-short-video/scripts/__pycache__/enforce_video_aspect_ratio.cpython-312.pyc +0 -0
  38. package/version-release/SKILL.md +1 -1
  39. package/version-release/agents/openai.yaml +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,16 @@ All notable changes to this repository are documented in this file.
7
7
  ### Added
8
8
  - (None yet)
9
9
 
10
+ ## [v3.6.3] - 2026-04-28
11
+
12
+ ### Changed
13
+ - Extend `implement-specs-with-subagents` with multi-phase execution: analyse spec dependencies from `coordination.md`, build phased delegation plans via topological sort, execute phases sequentially with parallel subagents per phase, and merge completed spec branches back via `merge-changes-from-local-branches` between phases.
14
+
15
+ ## [v3.6.2] - 2026-04-28
16
+
17
+ ### Changed
18
+ - Normalize `AGENTS.md` references to `AGENTS.md/CLAUDE.md` across the skill catalog for CLAUDE.md awareness.
19
+
10
20
  ## [v3.6.1] - 2026-04-28
11
21
 
12
22
  ### Added
@@ -7,7 +7,7 @@ description: Convert completed project plan sets into maintainable project docum
7
7
 
8
8
  ## Dependencies
9
9
 
10
- - Required: `align-project-documents` to align repository docs with current code before archiving, and `maintain-project-constraints` to synchronize `AGENTS.md` after the doc update.
10
+ - Required: `align-project-documents` to align repository docs with current code before archiving, and `maintain-project-constraints` to synchronize `AGENTS.md/CLAUDE.md` after the doc update.
11
11
  - Conditional: none.
12
12
  - Optional: none.
13
13
  - Fallback: not applicable.
@@ -15,9 +15,9 @@ description: Convert completed project plan sets into maintainable project docum
15
15
  ## Standards
16
16
 
17
17
  - Evidence: Treat code, config, deployment files, and current spec files as evidence sources; never guess when a detail is missing.
18
- - Execution: Inventory all relevant specs first, reconcile them with the current repository, use `align-project-documents` to update durable project docs, use `maintain-project-constraints` to refresh `AGENTS.md` when repository guidance changed, then archive only the truly consumed planning artifacts.
18
+ - Execution: Inventory all relevant specs first, reconcile them with the current repository, use `align-project-documents` to update durable project docs, use `maintain-project-constraints` to refresh `AGENTS.md/CLAUDE.md` when repository guidance changed, then archive only the truly consumed planning artifacts.
19
19
  - Quality: Prefer source-of-truth behavior over stale plan text, align existing docs to the same standard structure, and call out unknowns explicitly instead of inventing missing setup details.
20
- - Output: Produce synchronized durable docs (`README.md`, categorized project docs, and `AGENTS.md` when needed), then archive or remove superseded spec files after the conversion is complete.
20
+ - Output: Produce synchronized durable docs (`README.md`, categorized project docs, and `AGENTS.md/CLAUDE.md` when needed), then archive or remove superseded spec files after the conversion is complete.
21
21
 
22
22
  ## Goal
23
23
 
@@ -87,7 +87,7 @@ Ensure the split project docs cover all of the following:
87
87
  - `docs/README.md` should act as the reference list for the categorized docs.
88
88
  - Each category doc should stay focused on one topic instead of acting like another monolithic handbook.
89
89
  - Remove template placeholders and stale planning language before finishing.
90
- - After the docs are aligned, run `maintain-project-constraints` whenever the documentation changes imply `AGENTS.md` needs to reflect updated workflows, commands, or repository capabilities.
90
+ - After the docs are aligned, run `maintain-project-constraints` whenever the documentation changes imply `AGENTS.md/CLAUDE.md` needs to reflect updated workflows, commands, or repository capabilities.
91
91
 
92
92
  ### 7) Archive superseded spec files after successful conversion
93
93
 
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Commit and Push"
3
3
  short_description: "Submit local changes with commit and push only"
4
- default_prompt: "Use $commit-and-push to inspect the current git state and classify the diff. Treat every conditional gate whose scenario is met as blocking before any commit: if the change set includes code changes, run $review-change-set; if the reviewed risk profile says edge-case or security review is needed, run $discover-edge-cases and $harden-app-security as blocking gates too; if completed specs should be converted or docs need normalization, ensure $archive-specs runs through $submission-readiness-check; if changelog synchronization is needed, complete it before continuing. Then run any additional required code-quality skills, hand the repository to $submission-readiness-check so it can synchronize completed plan archives, project docs, AGENTS.md, and CHANGELOG.md before any commit, confirm root CHANGELOG.md Unreleased reflects the actual pending change set, preserve user staging intent, create a concise Conventional Commit, and push to the intended branch without any versioning or release steps."
4
+ default_prompt: "Use $commit-and-push to inspect the current git state and classify the diff. Treat every conditional gate whose scenario is met as blocking before any commit: if the change set includes code changes, run $review-change-set; if the reviewed risk profile says edge-case or security review is needed, run $discover-edge-cases and $harden-app-security as blocking gates too; if completed specs should be converted or docs need normalization, ensure $archive-specs runs through $submission-readiness-check; if changelog synchronization is needed, complete it before continuing. Then run any additional required code-quality skills, hand the repository to $submission-readiness-check so it can synchronize completed plan archives, project docs, AGENTS.md/CLAUDE.md, and CHANGELOG.md before any commit, confirm root CHANGELOG.md Unreleased reflects the actual pending change set, preserve user staging intent, create a concise Conventional Commit, and push to the intended branch without any versioning or release steps."
@@ -7,8 +7,8 @@ It guides the agent to:
7
7
  2. Classify user-facing functions into MVP / Important / Enhancement / Performance.
8
8
  3. Propose numbered feature recommendations with clear implementation direction.
9
9
  4. Publish accepted proposals through `open-github-issue` with reason and suggested architecture.
10
- 5. Record accepted feature proposals in `AGENTS.md`.
11
- 6. Remove implemented proposals from `AGENTS.md` after delivery.
10
+ 5. Record accepted feature proposals in `AGENTS.md/CLAUDE.md`.
11
+ 6. Remove implemented proposals from `AGENTS.md/CLAUDE.md` after delivery.
12
12
 
13
13
  ## Repository layout
14
14
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: feature-propose
3
- description: Professional product-management workflow for proposing features from an existing codebase. Use when the user asks to understand an application, classify features from a user perspective into MVP/Important/Enhancement/Performance tiers, ask 3-5 clarifying questions when needed, propose numbered feature recommendations, publish accepted proposals through `open-github-issue`, record accepted items in AGENTS.md, and remove implemented items from AGENTS.md.
3
+ description: Professional product-management workflow for proposing features from an existing codebase. Use when the user asks to understand an application, classify features from a user perspective into MVP/Important/Enhancement/Performance tiers, ask 3-5 clarifying questions when needed, propose numbered feature recommendations, publish accepted proposals through `open-github-issue`, record accepted items in AGENTS.md/CLAUDE.md, and remove implemented items from AGENTS.md/CLAUDE.md.
4
4
  ---
5
5
 
6
6
  # Feature Propose
@@ -10,7 +10,7 @@ description: Professional product-management workflow for proposing features fro
10
10
  - Required: none.
11
11
  - Conditional: `open-github-issue` for accepted features that should be published as GitHub issues.
12
12
  - Optional: none.
13
- - Fallback: If issue publication is skipped or unavailable, keep accepted proposals synchronized in `AGENTS.md` and report the publication state explicitly.
13
+ - Fallback: If issue publication is skipped or unavailable, keep accepted proposals synchronized in `AGENTS.md/CLAUDE.md` and report the publication state explicitly.
14
14
 
15
15
  ## Standards
16
16
 
@@ -21,7 +21,7 @@ description: Professional product-management workflow for proposing features fro
21
21
 
22
22
  ## Overview
23
23
 
24
- Act as a professional PM: build a complete understanding of the current product from code, classify capabilities by user value, propose prioritized features, publish accepted proposals through `open-github-issue`, persist accepted proposals in `AGENTS.md`, and keep the list clean by removing implemented items.
24
+ Act as a professional PM: build a complete understanding of the current product from code, classify capabilities by user value, propose prioritized features, publish accepted proposals through `open-github-issue`, persist accepted proposals in `AGENTS.md/CLAUDE.md`, and keep the list clean by removing implemented items.
25
25
 
26
26
  ## References
27
27
 
@@ -36,7 +36,7 @@ Load these references as needed during classification:
36
36
 
37
37
  ### 1) Explore the codebase before proposing anything
38
38
 
39
- - Read repo-level guidance first (`AGENTS.md`, `README`, major docs).
39
+ - Read repo-level guidance first (`AGENTS.md/CLAUDE.md`, `README`, major docs).
40
40
  - Map architecture, entrypoints, user-facing flows, data models, and external integrations.
41
41
  - Identify implemented features, obvious gaps, and technical constraints from code and tests.
42
42
  - Summarize findings before moving to prioritization.
@@ -72,17 +72,17 @@ Load these references as needed during classification:
72
72
  - Acceptance criteria
73
73
  - Keep proposals focused and minimal; avoid over-engineering.
74
74
 
75
- ### 5) Persist accepted features to AGENTS.md, publish them, and clean up after implementation
75
+ ### 5) Persist accepted features to AGENTS.md/CLAUDE.md, publish them, and clean up after implementation
76
76
 
77
77
  - Ask the user to accept/reject/edit features by number.
78
- - Once accepted, update repo-root `AGENTS.md` with a dedicated section:
78
+ - Once accepted, update repo-root `AGENTS.md/CLAUDE.md` with a dedicated section:
79
79
  - `## Accepted Feature Proposals`
80
80
  - Append accepted features as a numbered list with:
81
81
  - Date (`YYYY-MM-DD`)
82
82
  - Type (`MVP`, `Important`, `Enhancement`, `Performance`)
83
83
  - Short feature statement
84
- - Preserve existing `AGENTS.md` content and style; do not rewrite unrelated sections.
85
- - If `AGENTS.md` does not exist, ask before creating it.
84
+ - Preserve existing `AGENTS.md/CLAUDE.md` content and style; do not rewrite unrelated sections.
85
+ - If `AGENTS.md/CLAUDE.md` does not exist, ask before creating it.
86
86
  - For each accepted feature, invoke `open-github-issue` exactly once with feature-proposal content.
87
87
  - Default to publishing accepted features unless the user explicitly says not to create GitHub issues.
88
88
  - Pass these fields to `open-github-issue`:
@@ -94,7 +94,7 @@ Load these references as needed during classification:
94
94
  - `repo`: target repository in `owner/repo` format when known
95
95
  - If invoking the publisher CLI directly, pass accepted proposal details through `apltk open-github-issue --payload-file <json>` or `@file` inputs rather than inline shell arguments so Markdown and code identifiers remain literal.
96
96
  - Reuse the returned `mode`, `issue_url`, and `publish_error` in the response.
97
- - After the related feature is implemented, remove that feature entry from `## Accepted Feature Proposals` in `AGENTS.md`.
97
+ - After the related feature is implemented, remove that feature entry from `## Accepted Feature Proposals` in `AGENTS.md/CLAUDE.md`.
98
98
  - Remove only implemented items; keep unimplemented accepted items untouched.
99
99
 
100
100
  ## Output template
@@ -3,33 +3,38 @@ name: implement-specs-with-subagents
3
3
  description: >-
4
4
  Coordinate parallel implementation of multiple approved spec sets by assigning
5
5
  each `docs/plans/.../<change_name>/` spec directory to a separate subagent that
6
- uses `implement-specs-with-worktree`. Use when a user asks to implement a
7
- multi-spec batch with subagents, parallel agents, delegated agents, or isolated
8
- workers while completing any explicitly documented shared prerequisite work
9
- before delegation, keeping at most four implementation subagents active at
10
- once, staggering starts to avoid rate-limit bursts, preserving independent
11
- subagent contexts, and using the user's requested model when specified.
6
+ uses `implement-specs-with-worktree`. Supports multi-phase execution for
7
+ interdependent specs: analyse dependencies, implement base specs first, merge
8
+ back via `merge-changes-from-local-branches`, then implement dependent specs,
9
+ and finally submit with commit, push, and patch version bump. Use when a user
10
+ asks to implement a multi-spec batch with subagents, parallel agents, delegated
11
+ agents, or isolated workers while completing any explicitly documented shared
12
+ prerequisite work before delegation, keeping at most four implementation
13
+ subagents active at once, staggering starts to avoid rate-limit bursts,
14
+ preserving independent subagent contexts, and using the user's requested model
15
+ when specified.
12
16
  ---
13
17
 
14
- # Implement Specs with Subagents
18
+ # Implement Specs with Subagents (Multi-Phase)
15
19
 
16
20
  ## Dependencies
17
21
 
18
22
  - Required: `implement-specs-with-worktree` for each delegated spec implementation.
23
+ - Required: `merge-changes-from-local-branches` for merging worktree branches back between phases.
19
24
  - Conditional: `generate-spec` if the batch needs clarification before implementation; `review-change-set` if the user asks for an integration review after subagents finish.
20
25
  - Optional: none.
21
26
  - Fallback: If the environment cannot start independent subagents, report that limitation and fall back only if the user explicitly approves serial `implement-specs-with-worktree` execution.
22
27
 
23
28
  ## Standards
24
29
 
25
- - Evidence: Read the batch-level `coordination.md` and `preparation.md` when present, enumerate the exact spec directories to implement, verify each delegated spec has the required planning files, and identify any explicit prerequisite notes before starting subagents.
26
- - Execution: Complete and commit explicitly documented prerequisite preparation on the working branch before delegation, then assign exactly one implementation subagent per spec directory, keep no more than four implementation subagents active at the same time, start subagents one at a time rather than in a burst, give each subagent an independent task-local context, and instruct every subagent to use `implement-specs-with-worktree` for its assigned spec.
30
+ - Evidence: Read the batch-level `coordination.md` and `preparation.md` when present, enumerate the exact spec directories to implement, verify each delegated spec has the required planning files, and identify any explicit prerequisite or dependency notes before starting subagents.
31
+ - Execution: Complete and commit explicitly documented prerequisite preparation on the working branch before delegation. Analyse spec dependencies from `coordination.md` and spec docs to build a multi-phase plan. For each phase, assign exactly one implementation subagent per spec directory, keep no more than four implementation subagents active at the same time, start subagents one at a time rather than in a burst, give each subagent an independent task-local context, and instruct every subagent to use `implement-specs-with-worktree` for its assigned spec. After each phase completes, use `merge-changes-from-local-branches` to merge all phase branches back before launching the next phase.
27
32
  - Quality: Preserve spec ownership boundaries, avoid duplicate delegation for the same spec, ensure subagents branch from a baseline that includes prerequisite commits, track branch/worktree/commit/test outcomes for every subagent, and pause new launches when a shared blocker, collision, or rate-limit pressure appears.
28
- - Output: Return a concise implementation ledger covering each spec, its subagent result, worktree branch, commit or blocker, verification run, and any integration follow-up needed.
33
+ - Output: Return a concise implementation ledger covering each spec, its subagent result, worktree branch, commit or blocker, verification run, and the merge outcome.
29
34
 
30
35
  ## Goal
31
36
 
32
- Coordinate a multi-spec implementation batch safely by delegating each approved spec set to an isolated subagent-backed worktree implementation.
37
+ Coordinate a multi-spec implementation batch safely by delegating each approved spec set to an isolated subagent-backed worktree implementation, handling interdependent specs through phased execution.
33
38
 
34
39
  ## Workflow
35
40
 
@@ -61,15 +66,37 @@ Coordinate a multi-spec implementation batch safely by delegating each approved
61
66
  - Do not start implementation subagents until the preparation commit exists and the working branch is clean.
62
67
  - If preparation cannot be completed or verified, stop and report the blocker instead of launching subagents.
63
68
 
64
- ### 2) Build a delegation plan
69
+ ### 2) Analyse spec dependencies
65
70
 
66
- - Create one queue item per spec directory.
71
+ - Read each in-scope spec's `spec.md` and `design.md` to identify explicit references to other in-scope specs.
72
+ - Read `coordination.md` for any documented dependency ordering between specs (e.g. "spec A must be implemented before spec B").
73
+ - For each spec dependency found, determine which specs are **base specs** (depended upon by others) and which are **dependent specs** (depend on base specs).
74
+ - If a spec both depends on others and is depended upon, it belongs to its own middle phase.
75
+ - If no dependencies exist between any specs, all specs can run in a single parallel phase.
76
+ - Build a dependency graph and record it in the ledger:
77
+ - spec path
78
+ - phase number (starting from 1)
79
+ - depends-on (list of spec paths)
80
+ - depended-by (list of spec paths)
81
+ - If the dependency graph contains a cycle, stop and report the cycle instead of proceeding.
82
+
83
+ ### 3) Build a multi-phase delegation plan
84
+
85
+ - Group specs into ordered phases based on the dependency graph (topological sort order):
86
+ - **Phase 1**: Base specs with no in-batch dependencies (depended upon by others).
87
+ - **Phase N**: Specs whose dependencies are all satisfied by earlier phases.
88
+ - **Final Phase**: Specs with no dependents (leaf specs).
89
+ - Each phase must have all its dependencies satisfied by earlier phases before it can start.
90
+ - Within each phase, specs are independent and can run in parallel.
91
+ - Create one queue item per spec directory per phase.
67
92
  - Assign one subagent to one spec only; never ask one subagent to implement multiple spec directories.
68
93
  - Keep a visible ledger with:
69
94
  - spec path
95
+ - phase number
96
+ - depends-on
70
97
  - intended branch/worktree name if known
71
98
  - assigned subagent
72
- - status
99
+ - status (pending / in-progress / merged / blocked)
73
100
  - commit
74
101
  - tests
75
102
  - blockers
@@ -79,7 +106,11 @@ Coordinate a multi-spec implementation batch safely by delegating each approved
79
106
  - If the user does not specify a model, let subagents use the same model or default model policy as the coordinating agent.
80
107
  - If the environment does not expose model selection, state that the requested model cannot be enforced and continue only when the platform's default subagent model is acceptable.
81
108
 
82
- ### 3) Launch subagents gradually
109
+ ### 4) Execute phases sequentially
110
+
111
+ For each phase in order (Phase 1, Phase 2, ... Final Phase):
112
+
113
+ #### 4.1) Launch subagents for this phase
83
114
 
84
115
  - Maintain a maximum of four active implementation subagents at any time.
85
116
  - Start subagents independently and one at a time.
@@ -87,7 +118,7 @@ Coordinate a multi-spec implementation batch safely by delegating each approved
87
118
  - If a start fails due to throttling, rate limits, capacity, or platform pressure, wait before retrying and do not start additional subagents during the cooldown.
88
119
  - Prefer steady scheduling over maximum burst parallelism; four is the ceiling, not a target that must always be filled.
89
120
 
90
- ### 4) Give each subagent independent context
121
+ #### 4.2) Give each subagent independent context
91
122
 
92
123
  For each subagent, provide only task-local instructions:
93
124
 
@@ -105,31 +136,40 @@ For each subagent, provide only task-local instructions:
105
136
 
106
137
  Do not pass the coordinating agent's full reasoning, unrelated sibling specs, or other subagents' private work unless a concrete coordination conflict requires it.
107
138
 
108
- ### 5) Monitor and coordinate
139
+ #### 4.3) Monitor and coordinate
109
140
 
110
141
  - While subagents run, track completions and blockers in the ledger.
111
142
  - When one subagent finishes, record its branch, worktree path, commit, verification results, and changed ownership boundaries.
112
- - Start the next queued spec only when the active count drops below four and no shared blocker is unresolved.
143
+ - Start the next queued spec for this phase only when the active count drops below four and no shared blocker is unresolved.
113
144
  - If two subagents report overlapping edits to a shared file or contract, pause new launches, inspect the conflict against `coordination.md`, and resolve the ownership question before continuing.
114
- - If a subagent fails for a spec-local issue, keep other independent subagents running, but do not launch additional work that depends on the failed scope.
145
+ - If a subagent fails for a spec-local issue, keep other independent subagents in the same phase running, but do not launch additional work that depends on the failed scope.
115
146
  - If failures indicate a batch-wide planning defect, stop scheduling new subagents and report the defect.
147
+ - If all specs in the current phase are completed (or blocked), proceed to the merge step.
116
148
 
117
- ### 6) Finish the batch report
149
+ #### 4.4) Merge phase branches back
118
150
 
119
- - Do not merge branches, archive specs, push, or release unless the user explicitly requests that follow-up.
120
- - Summarize every spec outcome from the ledger.
121
- - Distinguish completed local commits from blocked or partial specs.
122
- - Report any integration review, merge order, or post-merge validation required by `coordination.md`.
151
+ - After all subagents in the current phase complete, use `merge-changes-from-local-branches` to merge each completed spec's worktree branch back into the current working branch.
152
+ - For each successful spec in the phase:
153
+ - Identify the branch name from the ledger.
154
+ - Merge the branch using `merge-changes-from-local-branches`.
155
+ - Resolve any merge conflicts that arise, prioritising correctness from the spec contracts.
156
+ - Verify the working branch is clean and tests still pass after merging.
157
+ - Record the merge outcome in the ledger (success / conflicts / blockers).
158
+ - If a merge fails and cannot be resolved, stop and report the merge blocker before proceeding to the next phase.
159
+ - Once merged, the current working branch now includes all changes from this phase, making them available as a baseline for dependent specs in later phases.
123
160
 
124
161
  ## Working Rules
125
162
 
126
163
  - One spec directory maps to one implementation subagent.
127
164
  - Explicitly documented prerequisite preparation is completed, verified, and committed by the coordinating agent before any implementation subagent starts.
128
- - Maximum active implementation subagents: four.
165
+ - Spec dependencies are analysed before delegation to determine phase ordering.
166
+ - Phases execute sequentially; within a phase, specs are independent and run in parallel.
167
+ - Maximum active implementation subagents per phase: four.
129
168
  - Subagents must be started gradually, not all at once.
130
169
  - Every subagent must have independent context scoped to its assigned spec.
131
170
  - Every implementation subagent must use `implement-specs-with-worktree`.
132
- - The coordinating agent owns scheduling, ledger tracking, and conflict escalation; implementation subagents own their assigned worktree commits.
171
+ - After each phase, `merge-changes-from-local-branches` merges all completed spec branches back into the working branch.
172
+ - The coordinating agent owns scheduling, ledger tracking, dependency analysis, inter-phase merging, and conflict escalation; implementation subagents own their assigned worktree commits.
133
173
  - The coordinating agent owns shared prerequisite commits; implementation subagents must not redo or overlap that preparation unless the preparation commit is missing or invalid.
134
174
  - User-specified subagent model choices should be honored when supported; otherwise inherit the coordinating agent's model/default model policy.
135
175
  - Do not use this skill for a single spec unless the user explicitly wants subagent delegation.
@@ -137,6 +177,8 @@ Do not pass the coordinating agent's full reasoning, unrelated sibling specs, or
137
177
  ## References
138
178
 
139
179
  - `implement-specs-with-worktree`: required per-spec worktree implementation workflow.
180
+ - `merge-changes-from-local-branches`: required for merging worktree branches back between phases.
140
181
  - `generate-spec`: clarification and planning repair workflow when a batch is not ready for parallel implementation.
141
182
  - `preparation.md`: optional batch-level prerequisite plan that must be completed before parallel subagent work starts.
142
- - `review-change-set`: optional post-implementation review workflow before merge or submission.
183
+ - `coordination.md`: batch-level coordination plan that may contain dependency ordering information.
184
+ - `review-change-set`: optional post-implementation review workflow before final submission.
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Implement Specs with Subagents"
3
3
  short_description: "Coordinate parallel spec worktree implementations"
4
- default_prompt: "Use $implement-specs-with-subagents to read coordination.md and any preparation.md first, complete and commit explicitly documented prerequisite preparation on the working branch before delegation, then assign each approved docs/plans spec directory to one independent subagent that uses $implement-specs-with-worktree, launch at most four implementation subagents at once with staggered starts, honor any requested model when supported, track each branch, commit, test result, and blocker, and report the batch ledger without merging or pushing unless explicitly requested."
4
+ default_prompt: "Use $implement-specs-with-subagents to read coordination.md and any preparation.md first, complete and commit explicitly documented prerequisite preparation on the working branch before delegation, analyse spec dependencies to build a multi-phase plan, for each phase assign each approved docs/plans spec directory to one independent subagent that uses $implement-specs-with-worktree, launch at most four implementation subagents at once with staggered starts, after each phase use $merge-changes-from-local-branches to merge completed spec branches back into the working branch before launching the next phase, honor any requested model when supported, and track each branch, commit, test result, and blocker."
@@ -15,7 +15,7 @@ Improve an existing repository through a strict three-step loop of full-codebase
15
15
  - Introduces caching or memoization only when ownership, invalidation, size bounds, and failure behavior are clear.
16
16
  - Treats large coupled hot paths as staged unlock problems, not as automatic stop signals.
17
17
  - Re-scans the full repository after every iteration and repeats while any known in-scope actionable performance issue or unvisited in-scope module remains.
18
- - Synchronizes project docs and `AGENTS.md` through `align-project-documents` and `maintain-project-constraints` after implementation.
18
+ - Synchronizes project docs and `AGENTS.md/CLAUDE.md` through `align-project-documents` and `maintain-project-constraints` after implementation.
19
19
 
20
20
  ## Repository structure
21
21
 
@@ -39,7 +39,7 @@ For this skill, `macro architecture` means the system's top-level runtime shape
39
39
 
40
40
  ### 1) Scan the repository
41
41
 
42
- - Read root guidance first: `AGENTS.md`, `README*`, package manifests, task runners, CI/test config, benchmark tooling, profiler setup, and major project docs.
42
+ - Read root guidance first: `AGENTS.md/CLAUDE.md`, `README*`, package manifests, task runners, CI/test config, benchmark tooling, profiler setup, and major project docs.
43
43
  - Map runtime entrypoints, domain modules, external integrations, persistence/query boundaries, queue or job workers, request paths, hot loops, and current performance guardrails.
44
44
  - Exclude generated, vendored, lock, build-output, fixture, snapshot, or minified files unless evidence shows they are human-maintained source.
45
45
  - Build or refresh a concrete repository-wide backlog of known actionable performance issues.
@@ -82,7 +82,7 @@ Load references for this step only as needed:
82
82
  Only enter this step when the latest full-codebase scan confirms there is no remaining known actionable in-scope performance issue and every in-scope module has received a deep-read iteration, except items explicitly classified as blocked, unsafe, speculative, low-value, excluded, approval-dependent, or requiring production-only measurement that is unavailable.
83
83
 
84
84
  - Run `align-project-documents` when README, architecture notes, setup docs, benchmark docs, performance budgets, operational docs, or test guidance may have drifted.
85
- - Run `maintain-project-constraints` to verify `AGENTS.md` still matches the repository's real architecture, business flow, commands, and conventions.
85
+ - Run `maintain-project-constraints` to verify `AGENTS.md/CLAUDE.md` still matches the repository's real architecture, business flow, commands, and conventions.
86
86
  - Update only the documentation and constraints that changed in reality because of the optimization.
87
87
 
88
88
  ## Hard Guardrails
@@ -112,5 +112,5 @@ Return:
112
112
  6. Business behavior preservation evidence.
113
113
  7. Benchmarks, regression tests, or other guardrails added or updated, including property/integration/E2E/load-test `N/A` reasons where relevant.
114
114
  8. Validation commands and results.
115
- 9. Documentation and `AGENTS.md` synchronization status.
115
+ 9. Documentation and `AGENTS.md/CLAUDE.md` synchronization status.
116
116
  10. Remaining blocked, production-measurement-only, or approval-dependent items, if any.
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Iterative Code Performance"
3
3
  short_description: "Optimize latency, throughput, CPU, IO, caching, and hot paths in repeated safe passes"
4
- default_prompt: "Use $iterative-code-performance as a strict three-step loop. Step 1: scan the full repository for performance evidence, refresh the actionable bottleneck backlog, and maintain a module inventory plus performance coverage ledger. Step 2: choose this round's module or bounded module cluster, scan it through every available performance job lens, and only then decide which jobs actually land now; prioritize measured or clearly complexity-backed hot paths, jobs are selectable directions rather than workflow steps, and assess optimization confidence from your own ability to understand and complete the change, task complexity, guardrail strength, rollback or repair paths, and whether tests or benchmarks can drive accidental breakage back to green. If a high-risk hot path is weakly guarded add benchmarks, characterization tests, or other guardrails instead of stopping; if strong tests and benchmarks guard the behavior, use them to justify bolder safe optimizations rather than avoiding the work. If a file is too coupled or too central for direct optimization, switch to staged unlock work and keep progressing. After validation, run a full-codebase stage-gate; if any known in-scope actionable bottleneck remains or any in-scope module has not received a performance-oriented deep-read iteration, go back to Step 1 immediately. Step 3: only when the latest full-codebase performance scan is clear and every in-scope module is deeply read through the available-job lenses, run $align-project-documents and $maintain-project-constraints to synchronize docs and AGENTS.md. Preserve intended business behavior and the system's macro architecture, keep correctness guardrails green, and do not write a completion report while actionable bottlenecks or unvisited modules still exist."
4
+ default_prompt: "Use $iterative-code-performance as a strict three-step loop. Step 1: scan the full repository for performance evidence, refresh the actionable bottleneck backlog, and maintain a module inventory plus performance coverage ledger. Step 2: choose this round's module or bounded module cluster, scan it through every available performance job lens, and only then decide which jobs actually land now; prioritize measured or clearly complexity-backed hot paths, jobs are selectable directions rather than workflow steps, and assess optimization confidence from your own ability to understand and complete the change, task complexity, guardrail strength, rollback or repair paths, and whether tests or benchmarks can drive accidental breakage back to green. If a high-risk hot path is weakly guarded add benchmarks, characterization tests, or other guardrails instead of stopping; if strong tests and benchmarks guard the behavior, use them to justify bolder safe optimizations rather than avoiding the work. If a file is too coupled or too central for direct optimization, switch to staged unlock work and keep progressing. After validation, run a full-codebase stage-gate; if any known in-scope actionable bottleneck remains or any in-scope module has not received a performance-oriented deep-read iteration, go back to Step 1 immediately. Step 3: only when the latest full-codebase performance scan is clear and every in-scope module is deeply read through the available-job lenses, run $align-project-documents and $maintain-project-constraints to synchronize docs and AGENTS.md/CLAUDE.md. Preserve intended business behavior and the system's macro architecture, keep correctness guardrails green, and do not write a completion report while actionable bottlenecks or unvisited modules still exist."
@@ -56,7 +56,7 @@ Inspect the full known performance backlog for:
56
56
  - hot loops that still allocate avoidable objects,
57
57
  - concurrency changes that need backpressure or max-in-flight proof,
58
58
  - logs, metrics, traces, or benchmarks that now describe stale names or paths,
59
- - documentation or `AGENTS.md` drift.
59
+ - documentation or `AGENTS.md/CLAUDE.md` drift.
60
60
 
61
61
  Then choose the next execution directions with these priorities:
62
62
 
@@ -6,7 +6,7 @@ Build a factual performance map before changing code, then choose the highest-va
6
6
 
7
7
  ## Required scan
8
8
 
9
- - Read `AGENTS.md`, `README*`, project docs, manifests, task runners, CI configs, benchmark setup, profiler setup, and test setup.
9
+ - Read `AGENTS.md/CLAUDE.md`, `README*`, project docs, manifests, task runners, CI configs, benchmark setup, profiler setup, and test setup.
10
10
  - List entrypoints: CLI commands, servers, workers, jobs, frontend routes, scripts, libraries, public packages, and scheduled tasks.
11
11
  - Identify core domain modules, persistence/query boundaries, external integrations, serialization/parsing paths, logging utilities, queues, caches, and test helpers.
12
12
  - Create a module inventory and coverage ledger using `references/module-coverage.md`.
@@ -26,7 +26,7 @@ Improve an existing repository through a strict three-step loop of full-codebase
26
26
  - Repeats the pass cycle while any known in-scope actionable quality issue remains, and forbids a completion report until the latest scan is clear or remaining items are explicitly deferred with a valid reason.
27
27
  - Forbids completion while any in-scope module remains unvisited, even if already-read modules look clean.
28
28
  - Targets as many inherited repository quality problems as can be solved safely, and expects the guarded test surface to remain green after the refactor.
29
- - Synchronizes project docs and `AGENTS.md` through `align-project-documents` and `maintain-project-constraints` after implementation.
29
+ - Synchronizes project docs and `AGENTS.md/CLAUDE.md` through `align-project-documents` and `maintain-project-constraints` after implementation.
30
30
 
31
31
  ## Repository structure
32
32
 
@@ -38,7 +38,7 @@ For this skill, `macro architecture` means the system's top-level runtime shape
38
38
 
39
39
  ### 1) Scan the repository
40
40
 
41
- - Read root guidance first: `AGENTS.md`, `README*`, package manifests, task runners, CI/test config, and major project docs.
41
+ - Read root guidance first: `AGENTS.md/CLAUDE.md`, `README*`, package manifests, task runners, CI/test config, and major project docs.
42
42
  - Map runtime entrypoints, domain modules, external integrations, logging utilities, and current test surfaces.
43
43
  - Exclude generated, vendored, lock, build-output, fixture, or snapshot files unless evidence shows they are human-maintained source.
44
44
  - Build or refresh a concrete repository-wide backlog of known actionable quality issues.
@@ -80,7 +80,7 @@ Load references for this step only as needed:
80
80
  Only enter this step when the latest full-codebase scan confirms there is no remaining known actionable in-scope quality issue and every in-scope module has received a deep-read iteration, except items explicitly classified as blocked, unsafe, speculative, low-value, excluded, or approval-dependent.
81
81
 
82
82
  - Run `align-project-documents` when README, architecture notes, setup docs, debugging docs, or test guidance may have drifted.
83
- - Run `maintain-project-constraints` to verify `AGENTS.md` still matches the repository's real architecture, business flow, commands, and conventions.
83
+ - Run `maintain-project-constraints` to verify `AGENTS.md/CLAUDE.md` still matches the repository's real architecture, business flow, commands, and conventions.
84
84
  - Update only the documentation and constraints that changed in reality because of the refactor.
85
85
 
86
86
  ## Hard Guardrails
@@ -108,5 +108,5 @@ Return:
108
108
  5. Business behavior preservation evidence.
109
109
  6. Tests or other guardrails added or updated, including property/integration/E2E `N/A` reasons where relevant.
110
110
  7. Validation commands and results.
111
- 8. Documentation and `AGENTS.md` synchronization status.
111
+ 8. Documentation and `AGENTS.md/CLAUDE.md` synchronization status.
112
112
  9. Remaining blocked or approval-dependent items, if any.
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Iterative Code Quality"
3
3
  short_description: "Refactor names, functions, modules, logs, and tests in repeated behavior-safe passes"
4
- default_prompt: "Use $iterative-code-quality as a strict three-step loop. Step 1: scan the full repository, refresh the actionable quality backlog, and maintain a module inventory plus coverage ledger. Step 2: choose this round's module or bounded module cluster, scan it through every available job lens, and only then decide which jobs actually land now; start from the easiest useful unvisited modules, jobs are selectable directions rather than workflow steps, and assess refactor confidence from your own ability to understand and complete the change, task complexity, guardrail strength, rollback or repair paths, and whether tests can drive accidental breakage back to green. If a high-risk area is weakly guarded add the missing tests or other guardrails instead of stopping; if strong tests guard the behavior, use them to justify bolder safe refactors rather than avoiding the work. If a file is too coupled or too central for direct cleanup, switch to staged unlock work and keep progressing. After validation, run a full-codebase stage-gate; if any known in-scope actionable issue remains or any in-scope module has not received a job-oriented deep-read iteration, go back to Step 1 immediately. Step 3: only when the latest full-codebase scan is clear and every in-scope module is deeply read through the available-job lenses, run $align-project-documents and $maintain-project-constraints to synchronize docs and AGENTS.md. Preserve intended business behavior and the system's macro architecture, keep the guarded test surface green, and do not write a completion report while actionable gaps or unvisited modules still exist."
4
+ default_prompt: "Use $iterative-code-quality as a strict three-step loop. Step 1: scan the full repository, refresh the actionable quality backlog, and maintain a module inventory plus coverage ledger. Step 2: choose this round's module or bounded module cluster, scan it through every available job lens, and only then decide which jobs actually land now; start from the easiest useful unvisited modules, jobs are selectable directions rather than workflow steps, and assess refactor confidence from your own ability to understand and complete the change, task complexity, guardrail strength, rollback or repair paths, and whether tests can drive accidental breakage back to green. If a high-risk area is weakly guarded add the missing tests or other guardrails instead of stopping; if strong tests guard the behavior, use them to justify bolder safe refactors rather than avoiding the work. If a file is too coupled or too central for direct cleanup, switch to staged unlock work and keep progressing. After validation, run a full-codebase stage-gate; if any known in-scope actionable issue remains or any in-scope module has not received a job-oriented deep-read iteration, go back to Step 1 immediately. Step 3: only when the latest full-codebase scan is clear and every in-scope module is deeply read through the available-job lenses, run $align-project-documents and $maintain-project-constraints to synchronize docs and AGENTS.md/CLAUDE.md. Preserve intended business behavior and the system's macro architecture, keep the guarded test surface green, and do not write a completion report while actionable gaps or unvisited modules still exist."
@@ -53,7 +53,7 @@ Inspect the full known quality backlog for:
53
53
  - module boundaries that are still mixed,
54
54
  - logs that now use stale names,
55
55
  - tests that cover only the happy path,
56
- - documentation or `AGENTS.md` drift.
56
+ - documentation or `AGENTS.md/CLAUDE.md` drift.
57
57
 
58
58
  Then choose the next execution directions with these priorities:
59
59
 
@@ -80,4 +80,4 @@ After a split:
80
80
  - public entrypoints still call the same behavior,
81
81
  - tests cover moved logic and orchestration glue,
82
82
  - logs still carry the same correlation identifiers,
83
- - docs or `AGENTS.md` are updated only if the visible architecture or command surface changed.
83
+ - docs or `AGENTS.md/CLAUDE.md` are updated only if the visible architecture or command surface changed.
@@ -6,7 +6,7 @@ Build a factual map before changing code, then choose the highest-value quality
6
6
 
7
7
  ## Required scan
8
8
 
9
- - Read `AGENTS.md`, `README*`, project docs, manifests, task runners, CI configs, and test setup.
9
+ - Read `AGENTS.md/CLAUDE.md`, `README*`, project docs, manifests, task runners, CI configs, and test setup.
10
10
  - List entrypoints: CLI commands, servers, workers, jobs, frontend routes, scripts, libraries, or public packages.
11
11
  - Identify core domain modules, external integrations, persistence boundaries, logging utilities, and test helpers.
12
12
  - Create a module inventory and coverage ledger using `references/module-coverage.md`.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: maintain-project-constraints
3
- description: Automatically create and maintain AGENTS.md so it stays aligned with the current repository architecture, core business flow, common commands, macro project purpose, and coding conventions. Use when AGENTS.md is missing or may be outdated after code changes.
3
+ description: Automatically create and maintain AGENTS.md/CLAUDE.md so it stays aligned with the current repository architecture, core business flow, common commands, macro project purpose, and coding conventions. Use when AGENTS.md/CLAUDE.md is missing or may be outdated after code changes.
4
4
  ---
5
5
 
6
6
  # Maintain Project Constraints
@@ -15,26 +15,26 @@ description: Automatically create and maintain AGENTS.md so it stays aligned wit
15
15
  ## Standards
16
16
 
17
17
  - Evidence: Infer repository architecture, business flow, and conventions from current code and docs rather than assumptions.
18
- - Execution: Create or align `AGENTS.md` only after building a concrete inventory of implemented capabilities.
18
+ - Execution: Create or align `AGENTS.md/CLAUDE.md` only after building a concrete inventory of implemented capabilities.
19
19
  - Quality: Keep every statement traceable, remove stale guidance, and ensure `Core business flow` stays exhaustive and concrete.
20
- - Output: Maintain a concise root-level `AGENTS.md` with the required sections, repository-specific wording, and a factual `Common Commands` section when the repository exposes stable command entry points.
20
+ - Output: Maintain a concise root-level `AGENTS.md/CLAUDE.md` with the required sections, repository-specific wording, and a factual `Common Commands` section when the repository exposes stable command entry points.
21
21
 
22
22
  ## Goal
23
23
 
24
- Keep `AGENTS.md` accurate, actionable, and synchronized with the latest state of the repository.
24
+ Keep `AGENTS.md/CLAUDE.md` accurate, actionable, and synchronized with the latest state of the repository.
25
25
 
26
26
  ## Trigger Conditions
27
27
 
28
28
  Invoke this skill when either condition is true:
29
29
 
30
- 1. `AGENTS.md` does not exist and the user needs this repository to expose agent-facing guidance.
31
- 2. `AGENTS.md` exists but may have drifted after code changes, refactors, or workflow updates.
30
+ 1. `AGENTS.md/CLAUDE.md` does not exist and the user needs this repository to expose agent-facing guidance.
31
+ 2. `AGENTS.md/CLAUDE.md` exists but may have drifted after code changes, refactors, or workflow updates.
32
32
 
33
- After completing any code modification task, proactively run this skill to verify `AGENTS.md` is still aligned, and update it if needed.
33
+ After completing any code modification task, proactively run this skill to verify `AGENTS.md/CLAUDE.md` is still aligned, and update it if needed.
34
34
 
35
35
  ## Required Outputs
36
36
 
37
- `AGENTS.md` must include these sections (use concise, repository-specific content):
37
+ `AGENTS.md/CLAUDE.md` must include these sections (use concise, repository-specific content):
38
38
 
39
39
  - Project architecture
40
40
  - Core business flow
@@ -88,7 +88,7 @@ This project enables users to manage and run reusable automation workflows.
88
88
 
89
89
  ### 1) Build factual understanding first
90
90
 
91
- - Confirm whether `AGENTS.md` exists.
91
+ - Confirm whether `AGENTS.md/CLAUDE.md` exists.
92
92
  - Read the repository before writing:
93
93
  - root docs (`README`, contribution docs, design docs)
94
94
  - key source directories and entry points
@@ -100,11 +100,11 @@ This project enables users to manage and run reusable automation workflows.
100
100
  - Build a concrete inventory of all currently implemented capabilities before drafting `Core business flow`.
101
101
  - Build a separate inventory of stable, repository-specific commands before drafting `Common Commands`.
102
102
 
103
- ### 2) Create AGENTS.md when missing
103
+ ### 2) Create AGENTS.md/CLAUDE.md when missing
104
104
 
105
- When `AGENTS.md` is absent:
105
+ When `AGENTS.md/CLAUDE.md` is absent:
106
106
 
107
- - Create a new root-level `AGENTS.md`.
107
+ - Create a new root-level `AGENTS.md/CLAUDE.md`.
108
108
  - Document architecture, business flow, purpose, and coding conventions from observed facts.
109
109
  - Write `Core project purpose` as the repository's macro intent, such as the problem it aims to solve or the outcome it exists to achieve, rather than as a feature list.
110
110
  - Document the repository's common commands from observed command entry points and docs.
@@ -112,9 +112,9 @@ When `AGENTS.md` is absent:
112
112
  - Write `Common commands` as short bullets in the style of ``- `command` — when to use it.``.
113
113
  - Keep language specific to this repository; avoid generic boilerplate.
114
114
 
115
- ### 3) Align AGENTS.md when drift is detected
115
+ ### 3) Align AGENTS.md/CLAUDE.md when drift is detected
116
116
 
117
- When `AGENTS.md` exists but is outdated:
117
+ When `AGENTS.md/CLAUDE.md` exists but is outdated:
118
118
 
119
119
  - Re-read changed or high-impact modules.
120
120
  - Update only sections that no longer match reality.
@@ -124,7 +124,7 @@ When `AGENTS.md` exists but is outdated:
124
124
 
125
125
  ### 4) Quality checks before finishing
126
126
 
127
- - Ensure every statement in `AGENTS.md` is traceable to current repository files.
127
+ - Ensure every statement in `AGENTS.md/CLAUDE.md` is traceable to current repository files.
128
128
  - Remove stale paths, renamed components, and obsolete workflows.
129
129
  - Remove stale commands, flags, or task names that no longer exist.
130
130
  - Verify every command in `Common Commands` is either documented in repository docs or directly supported by the current codebase.
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Maintain Project Constraints"
3
- short_description: "Automatically create and maintain AGENTS.md so it stays aligned with the current repository architecture, core business flow, common commands, macro project purpose, and coding conventions. Use when AGENTS.md is missing or may be outdated after code changes."
4
- default_prompt: "Use $maintain-project-constraints to automatically create and maintain AGENTS.md so it stays aligned with the current repository architecture, core business flow, common commands, macro project purpose, and coding conventions. Use when AGENTS.md is missing or may be outdated after code changes."
3
+ short_description: "Automatically create and maintain AGENTS.md/CLAUDE.md so it stays aligned with the current repository architecture, core business flow, common commands, macro project purpose, and coding conventions. Use when AGENTS.md/CLAUDE.md is missing or may be outdated after code changes."
4
+ default_prompt: "Use $maintain-project-constraints to automatically create and maintain AGENTS.md/CLAUDE.md so it stays aligned with the current repository architecture, core business flow, common commands, macro project purpose, and coding conventions. Use when AGENTS.md/CLAUDE.md is missing or may be outdated after code changes."
@@ -6,7 +6,7 @@ Maintain a repository of installable skills by auditing skill definitions, depen
6
6
 
7
7
  - Scans top-level skills before adding or splitting new ones to avoid duplicate scope.
8
8
  - Audits standardized `## Dependencies` sections and separates vendored, local-only, external, and alias dependencies.
9
- - Syncs catalog docs such as `README.md` and `AGENTS.md` with actual skill capabilities.
9
+ - Syncs catalog docs such as `README.md` and `AGENTS.md/CLAUDE.md` with actual skill capabilities.
10
10
  - Catches catalog-wide validation issues like missing `agents/openai.yaml` files or stale prompt references.
11
11
  - Encodes user corrections into durable catalog rules so the same classification mistakes do not repeat.
12
12
 
@@ -29,7 +29,7 @@ Keep a skill repository coherent when many top-level skills evolve together.
29
29
 
30
30
  - List the tracked top-level skill directories and read the relevant `SKILL.md` files before deciding that a new skill is needed.
31
31
  - Check whether the requested workflow already exists under another name or can be handled by a focused update.
32
- - Read current `README.md`, `AGENTS.md`, validator scripts, and any existing dependency notes that may need synchronization.
32
+ - Read current `README.md`, `AGENTS.md/CLAUDE.md/CLAUDE.md`, validator scripts, and any existing dependency notes that may need synchronization.
33
33
  - When the task involves external dependencies, inspect local installed skills under `~/.codex/skills` first to confirm the exact skill names.
34
34
 
35
35
  ### 2) Audit dependency declarations and shared conventions
@@ -48,7 +48,7 @@ Keep a skill repository coherent when many top-level skills evolve together.
48
48
 
49
49
  - Keep edits minimal and repo-wide only where necessary.
50
50
  - Update `README.md` skill lists and external dependency sections when the catalog actually changes.
51
- - Update `AGENTS.md` when the repository gains or loses a user-visible capability or a standing convention changes.
51
+ - Update `AGENTS.md/CLAUDE.md` when the repository gains or loses a user-visible capability or a standing convention changes.
52
52
  - When creating a new shared skill, align naming, frontmatter, `agents/openai.yaml`, and any lightweight README with neighboring skills.
53
53
  - When a failure comes from validator drift or a metadata constraint that was not caught early, tighten the validator or CI path in the same change instead of only fixing the offending skill text.
54
54
  - Do not treat unpublished local skills as external dependencies just because they are not yet installed elsewhere.
@@ -119,7 +119,7 @@ For each in-scope named branch:
119
119
 
120
120
  - After all in-scope merges succeed and the current-branch state has been verified, invoke `archive-specs`.
121
121
  - Let `archive-specs` convert and archive any completed `docs/plans/...` spec sets that now reflect the delivered outcome.
122
- - Let `archive-specs` synchronize durable project docs and `AGENTS.md` when the merged result changed operator workflows, repository guidance, or user-visible behavior.
122
+ - Let `archive-specs` synchronize durable project docs and `AGENTS.md/CLAUDE.md` when the merged result changed operator workflows, repository guidance, or user-visible behavior.
123
123
  - Do not proceed to the final submission commit while required archival or documentation updates remain unfinished.
124
124
  - If no completed spec sets or project-doc drift are present, record that evidence explicitly before moving on.
125
125
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laitszkin/apollo-toolkit",
3
- "version": "3.6.1",
3
+ "version": "3.6.3",
4
4
  "description": "Apollo Toolkit npm installer for managed skill copying across Codex, OpenClaw, and Trae.",
5
5
  "license": "MIT",
6
6
  "author": "LaiTszKin",
@@ -16,7 +16,7 @@ description: Resolve a GitHub issue in an existing repository and submit the fix
16
16
 
17
17
  - Evidence: Read the remote issue and the real implementation before deciding scope, process, or fixes.
18
18
  - Execution: Prefer the repo's existing issue-reading helpers, fall back to raw `gh issue` commands when helpers are missing, use spec planning only when the actual change surface justifies it, and push directly to the user-requested branch when submission is requested.
19
- - Quality: Treat localized bug fixes and narrow optimizations as direct implementation work unless the explored scope proves they need shared planning; finish tests, spec backfill, docs sync, and `AGENTS.md` sync before handing off submission.
19
+ - Quality: Treat localized bug fixes and narrow optimizations as direct implementation work unless the explored scope proves they need shared planning; finish tests, spec backfill, docs sync, and `AGENTS.md/CLAUDE.md` sync before handing off submission.
20
20
  - Output: Report the issue context, chosen workflow, implemented fix, validation evidence, and commit/push result.
21
21
 
22
22
  ## Overview
@@ -54,7 +54,7 @@ Use this skill for the recurring workflow where the user wants one GitHub issue
54
54
 
55
55
  - If the user asked to commit or push, hand off to `$commit-and-push`.
56
56
  - Preserve the user's explicit branch target; when the user says `push to main`, treat direct push to `main` as the default goal.
57
- - Before the final commit, ensure any required spec backfill, docs synchronization, and `AGENTS.md` alignment are completed.
57
+ - Before the final commit, ensure any required spec backfill, docs synchronization, and `AGENTS.md/CLAUDE.md` alignment are completed.
58
58
  - Do not convert this flow into a PR workflow unless the user explicitly requests a PR.
59
59
  - Do not perform version bumps, tags, or GitHub Releases in this skill.
60
60
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: submission-readiness-check
3
- description: Prepare a repository for safe submission by synchronizing `CHANGELOG.md`, project docs, `AGENTS.md`, and completed planning artifacts before commit, push, PR creation, or release. Use when a workflow is about to submit changes and must avoid missing finalization steps such as stale `Unreleased` notes, unarchived completed spec sets, or unsynchronized agent constraints.
3
+ description: Prepare a repository for safe submission by synchronizing `CHANGELOG.md`, project docs, `AGENTS.md/CLAUDE.md`, and completed planning artifacts before commit, push, PR creation, or release. Use when a workflow is about to submit changes and must avoid missing finalization steps such as stale `Unreleased` notes, unarchived completed spec sets, or unsynchronized agent constraints.
4
4
  ---
5
5
 
6
6
  # Submission Readiness Check
@@ -15,7 +15,7 @@ description: Prepare a repository for safe submission by synchronizing `CHANGELO
15
15
  ## Standards
16
16
 
17
17
  - Evidence: Inspect the actual git diff, staged set, planning artifacts, `CHANGELOG.md`, and current project docs before declaring the repository ready to submit.
18
- - Execution: Decide whether the target flow is commit/push, PR, or release; normalize completed spec sets when appropriate; synchronize project docs plus `AGENTS.md`; then enforce changelog readiness before any commit, tag, push, PR creation, or release publishing step.
18
+ - Execution: Decide whether the target flow is commit/push, PR, or release; normalize completed spec sets when appropriate; synchronize project docs plus `AGENTS.md/CLAUDE.md`; then enforce changelog readiness before any commit, tag, push, PR creation, or release publishing step.
19
19
  - Quality: Treat missing or stale changelog entries as blocking issues for submit workflows, preserve unrelated pending `Unreleased` bullets, do not archive active plan sets that still track unfinished scope, and do not hand back a ready verdict until every conditional gate whose scenario is met has actually been completed.
20
20
  - Output: Return a ready-to-submit verdict with the synchronized files and any blocking items that must be fixed before the owning submit workflow continues.
21
21
 
@@ -28,7 +28,7 @@ Use this skill as the shared finalization pass before repository submission work
28
28
  ### 1) Inventory the real submission surface
29
29
 
30
30
  - Read `git status -sb`, `git diff --stat`, and `git diff --cached --stat`.
31
- - Check whether the repository has root `CHANGELOG.md`, top-level `AGENTS.md`, and categorized project docs already in use.
31
+ - Check whether the repository has root `CHANGELOG.md`, top-level `AGENTS.md/CLAUDE.md`, and categorized project docs already in use.
32
32
  - Inventory planning artifacts across the repository, not only staged files, so completed plan sets are not missed.
33
33
  - Classify the intended downstream flow:
34
34
  - `commit-push`
@@ -46,7 +46,7 @@ Use this skill as the shared finalization pass before repository submission work
46
46
 
47
47
  - Run `$align-project-documents` after spec conversion or doc inspection is complete.
48
48
  - Run `$maintain-project-constraints` immediately before the owning submission workflow mutates git history.
49
- - Apply the resulting doc and `AGENTS.md` updates when behavior, operator workflow, or standing project rules changed.
49
+ - Apply the resulting doc and `AGENTS.md/CLAUDE.md` updates when behavior, operator workflow, or standing project rules changed.
50
50
 
51
51
  ### 4) Enforce changelog readiness
52
52
 
@@ -67,7 +67,7 @@ Use this skill as the shared finalization pass before repository submission work
67
67
 
68
68
  - Confirm which files were synchronized:
69
69
  - project docs
70
- - `AGENTS.md`
70
+ - `AGENTS.md/CLAUDE.md`
71
71
  - `CHANGELOG.md`
72
72
  - archived plan sets
73
73
  - If anything remains unsynchronized, report it as a blocking item rather than letting the submit workflow continue optimistically.
@@ -87,7 +87,7 @@ Load only when needed:
87
87
  - Reset `Unreleased` to an empty placeholder after the version entry is created.
88
88
  - Remove duplicate section headers or bullets only when the move would otherwise create repeated content.
89
89
  - Update `README.md` only when behavior or usage changed.
90
- - Update `AGENTS.md` only when agent workflow/rules changed.
90
+ - Update `AGENTS.md/CLAUDE.md` only when agent workflow/rules changed.
91
91
  8. Commit and tag
92
92
  - Create a release-oriented commit message (for example `chore(release): publish 2.12.1`) when applicable.
93
93
  - For new-version flows, create the version tag locally after commit.
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Version Release"
3
3
  short_description: "Prepare a versioned release with bump, changelog, tag, GitHub release, and push"
4
- default_prompt: "Use $version-release only for explicit release/version/tag requests, including direct semver wording like patch/minor/major update or requests to trigger release-published automation: inspect the current repository state, read the current version plus existing tag/release state, and inspect root CHANGELOG.md Unreleased content. Treat every conditional gate whose scenario is met as blocking before any version bump, tag, or release step: if the release includes code changes, run $review-change-set; if the reviewed risk profile says edge-case or security review is needed, run $discover-edge-cases and $harden-app-security as blocking gates too; if completed specs should be converted or docs need normalization, ensure $archive-specs runs through $submission-readiness-check; if changelog synchronization is needed, complete it before continuing. Then run any additional required code-quality skills, hand the repository to $submission-readiness-check so completed plan archives, project docs, AGENTS.md, and changelog readiness are settled before any version bump or tag, confirm CHANGELOG.md Unreleased is release-ready, update version files, cut the release directly from CHANGELOG.md Unreleased, create the release commit and matching tag, push commits and tags, and publish the matching GitHub release before reporting success."
4
+ default_prompt: "Use $version-release only for explicit release/version/tag requests, including direct semver wording like patch/minor/major update or requests to trigger release-published automation: inspect the current repository state, read the current version plus existing tag/release state, and inspect root CHANGELOG.md Unreleased content. Treat every conditional gate whose scenario is met as blocking before any version bump, tag, or release step: if the release includes code changes, run $review-change-set; if the reviewed risk profile says edge-case or security review is needed, run $discover-edge-cases and $harden-app-security as blocking gates too; if completed specs should be converted or docs need normalization, ensure $archive-specs runs through $submission-readiness-check; if changelog synchronization is needed, complete it before continuing. Then run any additional required code-quality skills, hand the repository to $submission-readiness-check so completed plan archives, project docs, AGENTS.md/CLAUDE.md, and changelog readiness are settled before any version bump or tag, confirm CHANGELOG.md Unreleased is release-ready, update version files, cut the release directly from CHANGELOG.md Unreleased, create the release commit and matching tag, push commits and tags, and publish the matching GitHub release before reporting success."