@laitszkin/apollo-toolkit 3.6.0 → 3.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +14 -0
- package/analyse-app-logs/scripts/__pycache__/filter_logs_by_time.cpython-312.pyc +0 -0
- package/analyse-app-logs/scripts/__pycache__/log_cli_utils.cpython-312.pyc +0 -0
- package/analyse-app-logs/scripts/__pycache__/search_logs.cpython-312.pyc +0 -0
- package/archive-specs/SKILL.md +4 -4
- package/commit-and-push/agents/openai.yaml +1 -1
- package/docs-to-voice/scripts/__pycache__/docs_to_voice.cpython-312.pyc +0 -0
- package/feature-propose/README.md +2 -2
- package/feature-propose/SKILL.md +9 -9
- package/generate-spec/README.md +19 -3
- package/generate-spec/SKILL.md +34 -9
- package/generate-spec/agents/openai.yaml +1 -1
- package/generate-spec/references/templates/coordination.md +2 -11
- package/generate-spec/references/templates/preparation.md +69 -0
- package/generate-spec/scripts/__pycache__/create-specscpython-312.pyc +0 -0
- package/generate-spec/scripts/create-specs +34 -1
- package/generate-spec/tests/test_create_specs.py +35 -1
- package/implement-specs-with-subagents/SKILL.md +26 -6
- package/implement-specs-with-subagents/agents/openai.yaml +1 -1
- package/implement-specs-with-worktree/SKILL.md +10 -6
- package/iterative-code-performance/README.md +1 -1
- package/iterative-code-performance/SKILL.md +3 -3
- package/iterative-code-performance/agents/openai.yaml +1 -1
- package/iterative-code-performance/references/iteration-gates.md +1 -1
- package/iterative-code-performance/references/repository-scan.md +1 -1
- package/iterative-code-quality/README.md +1 -1
- package/iterative-code-quality/SKILL.md +3 -3
- package/iterative-code-quality/agents/openai.yaml +1 -1
- package/iterative-code-quality/references/iteration-gates.md +1 -1
- package/iterative-code-quality/references/module-boundaries.md +1 -1
- package/iterative-code-quality/references/repository-scan.md +1 -1
- package/katex/scripts/__pycache__/render_katex.cpython-312.pyc +0 -0
- package/maintain-project-constraints/SKILL.md +15 -15
- package/maintain-project-constraints/agents/openai.yaml +2 -2
- package/maintain-skill-catalog/README.md +1 -1
- package/maintain-skill-catalog/SKILL.md +2 -2
- package/merge-changes-from-local-branches/SKILL.md +1 -1
- package/open-github-issue/scripts/__pycache__/open_github_issue.cpython-312.pyc +0 -0
- package/package.json +1 -1
- package/read-github-issue/scripts/__pycache__/find_issues.cpython-312.pyc +0 -0
- package/read-github-issue/scripts/__pycache__/read_issue.cpython-312.pyc +0 -0
- package/resolve-review-comments/scripts/__pycache__/review_threads.cpython-312.pyc +0 -0
- package/ship-github-issue-fix/SKILL.md +2 -2
- package/submission-readiness-check/SKILL.md +5 -5
- package/text-to-short-video/scripts/__pycache__/enforce_video_aspect_ratio.cpython-312.pyc +0 -0
- package/version-release/SKILL.md +1 -1
- package/version-release/agents/openai.yaml +1 -1
|
@@ -5,9 +5,10 @@ description: >-
|
|
|
5
5
|
each `docs/plans/.../<change_name>/` spec directory to a separate subagent that
|
|
6
6
|
uses `implement-specs-with-worktree`. Use when a user asks to implement a
|
|
7
7
|
multi-spec batch with subagents, parallel agents, delegated agents, or isolated
|
|
8
|
-
workers while
|
|
9
|
-
|
|
10
|
-
|
|
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.
|
|
11
12
|
---
|
|
12
13
|
|
|
13
14
|
# Implement Specs with Subagents
|
|
@@ -21,9 +22,9 @@ description: >-
|
|
|
21
22
|
|
|
22
23
|
## Standards
|
|
23
24
|
|
|
24
|
-
- Evidence: Read the batch-level `coordination.md` when present, enumerate the exact spec directories to implement,
|
|
25
|
-
- Execution:
|
|
26
|
-
- Quality: Preserve spec ownership boundaries, avoid duplicate delegation for the same spec, track branch/worktree/commit/test outcomes for every subagent, and pause new launches when a shared blocker, collision, or rate-limit pressure appears.
|
|
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.
|
|
27
|
+
- 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.
|
|
27
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.
|
|
28
29
|
|
|
29
30
|
## Goal
|
|
@@ -36,6 +37,7 @@ Coordinate a multi-spec implementation batch safely by delegating each approved
|
|
|
36
37
|
|
|
37
38
|
- Locate the requested batch under `docs/plans/{YYYY-MM-DD}/{batch_name}/`.
|
|
38
39
|
- Read `coordination.md` first when it exists.
|
|
40
|
+
- Read `preparation.md` when it exists.
|
|
39
41
|
- Enumerate only the spec directories that are in scope for this request.
|
|
40
42
|
- For each spec directory, verify the presence of:
|
|
41
43
|
- `spec.md`
|
|
@@ -45,6 +47,19 @@ Coordinate a multi-spec implementation batch safely by delegating each approved
|
|
|
45
47
|
- `design.md`
|
|
46
48
|
- Do not delegate archived, sibling, or approximate specs unless the user explicitly includes them.
|
|
47
49
|
- If `coordination.md` says the batch is not ready for parallel implementation, stop and report the blocking coordination item instead of spawning subagents.
|
|
50
|
+
- If `preparation.md` exists, or if the in-scope spec documents explicitly state that prerequisite work must be completed before parallel implementation, treat that preparation as blocking before subagent launch.
|
|
51
|
+
|
|
52
|
+
### 1.5) Complete documented prerequisite preparation
|
|
53
|
+
|
|
54
|
+
- Use this step only when `preparation.md` exists or the specs clearly annotate required pre-work.
|
|
55
|
+
- The coordinating agent owns the prerequisite work; do not delegate it to implementation subagents.
|
|
56
|
+
- Read the preparation tasks, expected outputs, and verification hooks before editing.
|
|
57
|
+
- Complete only the shared prerequisite scope that all specs must assume before parallel work starts.
|
|
58
|
+
- Run the verification commands or checks listed for the preparation.
|
|
59
|
+
- Commit the preparation to the working branch that future implementation worktrees or subagents will use as their base.
|
|
60
|
+
- Record the preparation commit in the ledger.
|
|
61
|
+
- Do not start implementation subagents until the preparation commit exists and the working branch is clean.
|
|
62
|
+
- If preparation cannot be completed or verified, stop and report the blocker instead of launching subagents.
|
|
48
63
|
|
|
49
64
|
### 2) Build a delegation plan
|
|
50
65
|
|
|
@@ -58,6 +73,7 @@ Coordinate a multi-spec implementation batch safely by delegating each approved
|
|
|
58
73
|
- commit
|
|
59
74
|
- tests
|
|
60
75
|
- blockers
|
|
76
|
+
- If preparation was completed, include the preparation commit that all subagents must treat as their base.
|
|
61
77
|
- Determine the model policy before launch:
|
|
62
78
|
- If the user specifies a model, use that model for the implementation subagents when the environment supports model selection.
|
|
63
79
|
- If the user does not specify a model, let subagents use the same model or default model policy as the coordinating agent.
|
|
@@ -79,6 +95,7 @@ For each subagent, provide only task-local instructions:
|
|
|
79
95
|
- Exact spec directory path.
|
|
80
96
|
- Parent `coordination.md` path when present.
|
|
81
97
|
- Requirement to use `implement-specs-with-worktree`.
|
|
98
|
+
- Requirement to base work on the committed prerequisite-preparation branch state when preparation was performed.
|
|
82
99
|
- Requirement to read the full spec bundle before editing.
|
|
83
100
|
- Requirement to implement inside its own isolated worktree.
|
|
84
101
|
- Requirement to run relevant tests.
|
|
@@ -107,11 +124,13 @@ Do not pass the coordinating agent's full reasoning, unrelated sibling specs, or
|
|
|
107
124
|
## Working Rules
|
|
108
125
|
|
|
109
126
|
- One spec directory maps to one implementation subagent.
|
|
127
|
+
- Explicitly documented prerequisite preparation is completed, verified, and committed by the coordinating agent before any implementation subagent starts.
|
|
110
128
|
- Maximum active implementation subagents: four.
|
|
111
129
|
- Subagents must be started gradually, not all at once.
|
|
112
130
|
- Every subagent must have independent context scoped to its assigned spec.
|
|
113
131
|
- Every implementation subagent must use `implement-specs-with-worktree`.
|
|
114
132
|
- The coordinating agent owns scheduling, ledger tracking, and conflict escalation; implementation subagents own their assigned worktree commits.
|
|
133
|
+
- The coordinating agent owns shared prerequisite commits; implementation subagents must not redo or overlap that preparation unless the preparation commit is missing or invalid.
|
|
115
134
|
- User-specified subagent model choices should be honored when supported; otherwise inherit the coordinating agent's model/default model policy.
|
|
116
135
|
- Do not use this skill for a single spec unless the user explicitly wants subagent delegation.
|
|
117
136
|
|
|
@@ -119,4 +138,5 @@ Do not pass the coordinating agent's full reasoning, unrelated sibling specs, or
|
|
|
119
138
|
|
|
120
139
|
- `implement-specs-with-worktree`: required per-spec worktree implementation workflow.
|
|
121
140
|
- `generate-spec`: clarification and planning repair workflow when a batch is not ready for parallel implementation.
|
|
141
|
+
- `preparation.md`: optional batch-level prerequisite plan that must be completed before parallel subagent work starts.
|
|
122
142
|
- `review-change-set`: optional post-implementation review workflow before merge or 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 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, 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."
|
|
@@ -3,9 +3,9 @@ name: implement-specs-with-worktree
|
|
|
3
3
|
description: >-
|
|
4
4
|
Read a specs planning set (spec.md, tasks.md, checklist.md, contract.md, design.md)
|
|
5
5
|
from `docs/plans/{YYYY-MM-DD}/{change_name}/` or `docs/plans/{YYYY-MM-DD}/{batch_name}/{change_name}/`
|
|
6
|
-
plus parent `coordination.md` when present, and implement
|
|
7
|
-
within an isolated git worktree, with every code, test, and
|
|
8
|
-
inside that worktree rather than the parent checkout. Use when the user asks
|
|
6
|
+
plus parent `coordination.md` and `preparation.md` when present, and implement
|
|
7
|
+
the approved tasks within an isolated git worktree, with every code, test, and
|
|
8
|
+
spec edit made inside that worktree rather than the parent checkout. Use when the user asks
|
|
9
9
|
to implement from an existing spec set, execute a spec plan, or work on a
|
|
10
10
|
feature branch without affecting the parent working tree. If not already in a
|
|
11
11
|
worktree, create a new worktree with a spec-named branch from the same parent
|
|
@@ -24,7 +24,7 @@ description: >-
|
|
|
24
24
|
|
|
25
25
|
## Standards
|
|
26
26
|
|
|
27
|
-
- Evidence: Read and understand the complete specs set before starting implementation, identify the authoritative parent branch that the worktree should inherit from, verify whether the requested scope is already implemented on that parent branch or current main working tree, and when the requested plan path is missing from the current worktree verify where the authoritative copy actually lives before substituting any nearby spec.
|
|
27
|
+
- Evidence: Read and understand the complete specs set before starting implementation, including parent `coordination.md` and `preparation.md` when present, identify the authoritative parent branch that the worktree should inherit from, verify whether the requested scope is already implemented on that parent branch or current main working tree, and when the requested plan path is missing from the current worktree verify where the authoritative copy actually lives before substituting any nearby spec.
|
|
28
28
|
- Execution: Create or use an isolated worktree for implementation only when the requested spec still needs work, sync the exact approved plan set into that worktree when it is missing there, create the worktree branch from the same parent branch as the worktree base, use the spec-set name as the canonical branch/worktree name, inspect sibling worktrees for the same batch before editing shared files when parallel implementations may already be active, prefer direct `git` ref checks over brittle shell inference when deciding whether a branch or worktree already exists, and commit to a local branch when done. Do not edit product files from the parent checkout; every implementation, test, and spec backfill change must happen inside the active worktree directory after verifying `git rev-parse --show-toplevel` and `pwd` point at the same worktree root.
|
|
29
29
|
- Quality: Complete all planned tasks, run relevant tests, backfill the spec documents with actual completion status, avoid dragging unrelated sibling specs into the worktree just because they share a batch directory, inspect overlapping runtime/config/shared touch points before diverging from another active sibling worktree in the same batch, revert unrelated formatter-only noise outside the spec-owned scope before committing, if branch/worktree creation reports ambiguous state re-check the actual git refs and worktree list before retrying, and when using targeted Rust `cargo test` selectors remember Cargo accepts only one positional test filter so each distinct selector needs its own confirmed command.
|
|
30
30
|
- Output: Keep the worktree branch clean with only the intended implementation commits.
|
|
@@ -45,14 +45,15 @@ Implement approved spec planning sets in an isolated git worktree, ensuring the
|
|
|
45
45
|
- prefer the exact matching plan directory from the repository's authoritative branch or main working tree over archived, approximate, or sibling plan directories
|
|
46
46
|
- if the plan lives under a batch directory, sync only the requested spec directory plus the shared `coordination.md` that governs it
|
|
47
47
|
- do not copy neighboring sibling spec directories into the worktree unless the user explicitly expanded scope
|
|
48
|
-
- When the plan sits under a batch directory, also read the sibling `coordination.md` before implementation.
|
|
48
|
+
- When the plan sits under a batch directory, also read the sibling `coordination.md` and `preparation.md` before implementation when those files exist.
|
|
49
49
|
- Read all five spec files:
|
|
50
50
|
- `spec.md` — requirements and BDD behaviors
|
|
51
51
|
- `tasks.md` — task breakdown
|
|
52
52
|
- `checklist.md` — behavior-to-test alignment and completion tracking
|
|
53
53
|
- `contract.md` — API/interface contracts
|
|
54
54
|
- `design.md` — design decisions and architecture notes
|
|
55
|
-
- If `coordination.md` exists in the parent batch directory, read it as the shared source of truth for ownership boundaries,
|
|
55
|
+
- If `coordination.md` exists in the parent batch directory, read it as the shared source of truth for ownership boundaries, replacement direction, merge order, and cross-spec integration checkpoints.
|
|
56
|
+
- If `preparation.md` exists in the parent batch directory, treat it as the already-completed prerequisite baseline for this spec; do not redo its tasks inside the member spec unless the preparation commit is missing or the document says the prerequisite remains blocked.
|
|
56
57
|
- Understand the scope, requirements, and planned tasks before proceeding.
|
|
57
58
|
|
|
58
59
|
### 2) Check current worktree state
|
|
@@ -106,6 +107,7 @@ Use branch naming from `references/branch-naming.md`.
|
|
|
106
107
|
- Explore the existing codebase relevant to the planned tasks.
|
|
107
108
|
- Verify latest authoritative docs for involved stacks/integrations.
|
|
108
109
|
- When `coordination.md` exists, respect its shared-field preparation, legacy-replacement direction, and allowed touch-point boundaries before editing.
|
|
110
|
+
- When `preparation.md` exists, implement against its prepared baseline assumptions and avoid duplicating preparation tasks in the member spec.
|
|
109
111
|
- Implement each task in `tasks.md` systematically.
|
|
110
112
|
- When `coordination.md` defines file ownership guardrails, additive-only shared-contract rules, or compatibility-shim retention requirements, treat them as blocking execution constraints rather than optional guidance.
|
|
111
113
|
- For each implemented change, add appropriate tests:
|
|
@@ -128,6 +130,7 @@ After implementation and testing:
|
|
|
128
130
|
- Mark completed tasks in `tasks.md`.
|
|
129
131
|
- Update `checklist.md` with test execution results, N/A reasons, and any scope adjustments.
|
|
130
132
|
- If the shared implementation direction changed, update the parent `coordination.md` as well before finishing.
|
|
133
|
+
- If preparation assumptions changed or were found missing, update `preparation.md` or stop for re-coordination instead of silently moving prerequisite work into the member spec.
|
|
131
134
|
- Do not mark unused template examples or non-applicable items as complete.
|
|
132
135
|
|
|
133
136
|
### 6) Commit changes
|
|
@@ -158,6 +161,7 @@ After implementation and testing:
|
|
|
158
161
|
- Complete all planned tasks before committing; do not stop with partial work.
|
|
159
162
|
- Treat the specs as the source of truth for scope — do not deviate without user approval.
|
|
160
163
|
- When `coordination.md` exists, treat it as the source of truth for batch-level ownership and cutover direction.
|
|
164
|
+
- When `preparation.md` exists, treat it as a prerequisite baseline owned outside the member spec; do not duplicate or alter its tasks unless explicitly requested.
|
|
161
165
|
- Never remove a shared shim, rename a shared field, or rewrite a shared file outside the ownership map unless `coordination.md` explicitly allows that change or the user approves a coordination update first.
|
|
162
166
|
- Revert formatter-only edits outside the owned spec scope before the final commit so the worktree stays reviewable and merge-safe.
|
|
163
167
|
- Follow the testing standards from `enhance-existing-features` and `develop-new-features`.
|
|
@@ -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`.
|
|
Binary file
|
|
@@ -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
|
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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.
|
|
Binary file
|
package/version-release/SKILL.md
CHANGED
|
@@ -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."
|