@laitszkin/apollo-toolkit 2.14.12 → 2.14.13
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 -0
- package/CHANGELOG.md +5 -0
- package/README.md +1 -0
- package/implement-specs/SKILL.md +122 -0
- package/implement-specs/agents/openai.yaml +4 -0
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -34,6 +34,7 @@ This repository enables users to install and run a curated set of reusable agent
|
|
|
34
34
|
- Users can run a shared submission-readiness pass that synchronizes changelog, project docs, `AGENTS.md`, and completed plan archives before commit, push, PR creation, or release.
|
|
35
35
|
- Users can learn new or improved skills from recent Codex conversation history.
|
|
36
36
|
- Users can audit and maintain the skill catalog itself, including dependency classification and shared-skill extraction decisions.
|
|
37
|
+
- Users can implement approved spec planning sets directly in the current checkout and commit them to the active branch.
|
|
37
38
|
- Users can summarize mistakes into separate multiple-choice and long-answer error books backed by structured reference files and rendered PDFs.
|
|
38
39
|
- Users can build or review marginfi protocol integrations using official SDK, CLI, protocol, and The Arena documentation.
|
|
39
40
|
- Users can create or maintain `AGENTS.md` so project constraints stay aligned with the repository.
|
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,11 @@ All notable changes to this repository are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [v2.14.13] - 2026-04-10
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- Add `implement-specs` for executing approved spec sets directly in the current checkout without creating a branch or git worktree.
|
|
11
|
+
|
|
7
12
|
## [v2.14.12] - 2026-04-10
|
|
8
13
|
|
|
9
14
|
### Changed
|
package/README.md
CHANGED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: implement-specs
|
|
3
|
+
description: >-
|
|
4
|
+
Read a specs planning set (spec.md, tasks.md, checklist.md, contract.md, design.md)
|
|
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 the approved tasks
|
|
7
|
+
directly in the current checkout. Use when the user asks to implement from an
|
|
8
|
+
existing spec set, execute a spec plan, or complete approved planning work
|
|
9
|
+
without creating a new branch or isolated git worktree. Commit the completed
|
|
10
|
+
implementation to the current branch when done.
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Implement Specs
|
|
14
|
+
|
|
15
|
+
## Dependencies
|
|
16
|
+
|
|
17
|
+
- Required: `enhance-existing-features` and `develop-new-features` for implementation standards.
|
|
18
|
+
- Conditional: `generate-spec` if spec files need clarification or updates; `recover-missing-plan` if the requested plan path is missing from the current checkout.
|
|
19
|
+
- Optional: none.
|
|
20
|
+
- Fallback: If `enhance-existing-features` or `develop-new-features` is unavailable, stop and report the missing dependency.
|
|
21
|
+
|
|
22
|
+
## Standards
|
|
23
|
+
|
|
24
|
+
- Evidence: Read and understand the complete specs set before starting implementation, and when the requested plan path is missing verify where the authoritative copy actually lives before substituting any nearby spec.
|
|
25
|
+
- Execution: Work directly in the current checkout, do not create or switch branches, do not add git worktrees, follow the implementation standards from the dependent skills, and commit to the current branch when done.
|
|
26
|
+
- Quality: Complete all planned tasks, run relevant tests, backfill the spec documents with actual completion status, and avoid dragging unrelated sibling specs into scope just because they share a batch directory.
|
|
27
|
+
- Output: Leave the current branch with a focused implementation commit containing only the intended changes.
|
|
28
|
+
|
|
29
|
+
## Goal
|
|
30
|
+
|
|
31
|
+
Implement approved spec planning sets directly in the current checkout when the user wants the work to land on the active branch instead of an isolated implementation branch.
|
|
32
|
+
|
|
33
|
+
## Workflow
|
|
34
|
+
|
|
35
|
+
### 1) Identify and read the specs set
|
|
36
|
+
|
|
37
|
+
- Locate the specs directory. The path format is `docs/plans/{YYYY-MM-DD}/{change_name}/` for single-spec work, or `docs/plans/{YYYY-MM-DD}/{batch_name}/{change_name}/` for coordinated multi-spec work.
|
|
38
|
+
- If the user provides a specific path, use that directly.
|
|
39
|
+
- If only a `change_name` or date is given, search for matching directories under `docs/plans/`.
|
|
40
|
+
- If the requested path is absent from the current checkout, stop and identify the authoritative source before implementing:
|
|
41
|
+
- inspect the repository history and relevant local branches for that exact `docs/plans/...` path
|
|
42
|
+
- use `recover-missing-plan` when the plan must be restored or reconstructed before work can continue
|
|
43
|
+
- prefer the exact matching plan directory from the authoritative branch or main working tree over archived, approximate, or sibling plan directories
|
|
44
|
+
- if the plan lives under a batch directory, recover only the requested spec directory plus the shared `coordination.md` that governs it
|
|
45
|
+
- do not copy neighboring sibling spec directories into scope unless the user explicitly expands scope
|
|
46
|
+
- When the plan sits under a batch directory, also read the sibling `coordination.md` before implementation.
|
|
47
|
+
- Read all five spec files:
|
|
48
|
+
- `spec.md` — requirements and BDD behaviors
|
|
49
|
+
- `tasks.md` — task breakdown
|
|
50
|
+
- `checklist.md` — behavior-to-test alignment and completion tracking
|
|
51
|
+
- `contract.md` — API/interface contracts
|
|
52
|
+
- `design.md` — design decisions and architecture notes
|
|
53
|
+
- If `coordination.md` exists in the parent batch directory, read it as the shared source of truth for ownership boundaries, shared preparation, replacement direction, merge order, and cross-spec integration checkpoints.
|
|
54
|
+
- Understand the scope, requirements, and planned tasks before proceeding.
|
|
55
|
+
|
|
56
|
+
### 2) Check current branch state
|
|
57
|
+
|
|
58
|
+
- Run `git status -sb` and identify the current branch.
|
|
59
|
+
- Preserve unrelated user changes. If the checkout contains unrelated dirty files, avoid editing them and report any blockers before proceeding.
|
|
60
|
+
- Confirm that the current branch is the intended destination for the implementation. Do not create, rename, or switch branches unless the user explicitly changes scope.
|
|
61
|
+
- If the exact requested plan was recovered into the current checkout, re-read the recovered files before coding so implementation and backfill use the same plan snapshot.
|
|
62
|
+
|
|
63
|
+
### 3) Implement the planned tasks
|
|
64
|
+
|
|
65
|
+
- Explore the existing codebase relevant to the planned tasks.
|
|
66
|
+
- Verify latest authoritative docs for involved stacks/integrations.
|
|
67
|
+
- When `coordination.md` exists, respect its shared-field preparation, legacy-replacement direction, and allowed touch-point boundaries before editing.
|
|
68
|
+
- Implement each task in `tasks.md` systematically.
|
|
69
|
+
- 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.
|
|
70
|
+
- For each implemented change, add appropriate tests:
|
|
71
|
+
- Unit tests for changed logic
|
|
72
|
+
- Regression tests for bug-prone behavior
|
|
73
|
+
- Property-based tests for business logic changes
|
|
74
|
+
- Integration tests for cross-module chains
|
|
75
|
+
- E2E tests for key user-visible paths
|
|
76
|
+
- Adversarial tests for abuse paths
|
|
77
|
+
- Run relevant tests and fix failures.
|
|
78
|
+
- Do not skip testing even for seemingly small changes.
|
|
79
|
+
|
|
80
|
+
### 4) Backfill completion status
|
|
81
|
+
|
|
82
|
+
After implementation and testing:
|
|
83
|
+
|
|
84
|
+
- Update `spec.md` with actual completion state for each requirement.
|
|
85
|
+
- Mark completed tasks in `tasks.md`.
|
|
86
|
+
- Update `checklist.md` with test execution results, N/A reasons, and any scope adjustments.
|
|
87
|
+
- If the shared implementation direction changed, update the parent `coordination.md` as well before finishing.
|
|
88
|
+
- Do not mark unused template examples or non-applicable items as complete.
|
|
89
|
+
|
|
90
|
+
### 5) Commit changes
|
|
91
|
+
|
|
92
|
+
- Stage the implementation files:
|
|
93
|
+
```bash
|
|
94
|
+
git add <implementation-files> <test-files> <updated-specs>
|
|
95
|
+
```
|
|
96
|
+
- Write a concise Conventional Commit message describing the implemented scope.
|
|
97
|
+
- Commit to the current branch:
|
|
98
|
+
```bash
|
|
99
|
+
git commit -m "<conventional-commit-message>"
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### 6) Report completion
|
|
103
|
+
|
|
104
|
+
- Summarize what was implemented.
|
|
105
|
+
- Note the current branch and commit hash.
|
|
106
|
+
- Confirm which tests ran and which planned documents were backfilled.
|
|
107
|
+
|
|
108
|
+
## Working Rules
|
|
109
|
+
|
|
110
|
+
- Always work in the current checkout; never create a branch or git worktree inside this skill unless the user explicitly changes the request.
|
|
111
|
+
- Complete all planned tasks before committing; do not stop with partial work.
|
|
112
|
+
- Treat the specs as the source of truth for scope — do not deviate without user approval.
|
|
113
|
+
- When `coordination.md` exists, treat it as the source of truth for batch-level ownership and cutover direction.
|
|
114
|
+
- 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.
|
|
115
|
+
- Follow the testing standards from `enhance-existing-features` and `develop-new-features`.
|
|
116
|
+
- Do not push to remote unless the user explicitly requests it.
|
|
117
|
+
|
|
118
|
+
## References
|
|
119
|
+
|
|
120
|
+
- `enhance-existing-features`: implementation standards for brownfield work
|
|
121
|
+
- `develop-new-features`: implementation standards for new feature work
|
|
122
|
+
- `recover-missing-plan`: recovery workflow for missing or mismatched spec sets
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
interface:
|
|
2
|
+
display_name: "Implement Specs"
|
|
3
|
+
short_description: "Implement approved specs in the current checkout"
|
|
4
|
+
default_prompt: "Use $implement-specs to read the full plan set under docs/plans, including parent coordination.md when the spec belongs to a parallel batch, implement all approved tasks in the current checkout without creating branches or git worktrees, backfill completion status into the planning docs, and commit the result to the current branch."
|
package/package.json
CHANGED