@laitszkin/apollo-toolkit 2.4.3 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/AGENTS.md +4 -2
  2. package/CHANGELOG.md +23 -0
  3. package/README.md +5 -2
  4. package/{specs-to-project-docs → archive-specs}/README.md +3 -3
  5. package/{specs-to-project-docs → archive-specs}/SKILL.md +10 -10
  6. package/archive-specs/agents/openai.yaml +4 -0
  7. package/codex-memory-manager/SKILL.md +2 -0
  8. package/commit-and-push/README.md +3 -3
  9. package/commit-and-push/SKILL.md +16 -15
  10. package/commit-and-push/agents/openai.yaml +1 -1
  11. package/develop-new-features/README.md +2 -2
  12. package/develop-new-features/SKILL.md +4 -3
  13. package/develop-new-features/agents/openai.yaml +1 -1
  14. package/enhance-existing-features/README.md +1 -1
  15. package/enhance-existing-features/SKILL.md +3 -1
  16. package/enhance-existing-features/agents/openai.yaml +1 -1
  17. package/jupiter-development/SKILL.md +89 -0
  18. package/jupiter-development/agents/openai.yaml +4 -0
  19. package/jupiter-development/references/official-docs.md +157 -0
  20. package/learn-skill-from-conversations/SKILL.md +11 -2
  21. package/lib/cli.js +2 -1
  22. package/lib/installer.js +7 -1
  23. package/{codex-subagent-orchestration → marginfi-development}/LICENSE +1 -1
  24. package/marginfi-development/README.md +31 -0
  25. package/marginfi-development/SKILL.md +125 -0
  26. package/marginfi-development/agents/openai.yaml +4 -0
  27. package/marginfi-development/references/official-development-notes.md +191 -0
  28. package/marginfi-development/references/source-index.md +31 -0
  29. package/package.json +1 -1
  30. package/solana-development/SKILL.md +89 -0
  31. package/solana-development/agents/openai.yaml +4 -0
  32. package/solana-development/references/official-solana-rust.md +199 -0
  33. package/version-release/README.md +3 -3
  34. package/version-release/SKILL.md +16 -15
  35. package/version-release/agents/openai.yaml +1 -1
  36. package/codex-subagent-orchestration/README.md +0 -39
  37. package/codex-subagent-orchestration/SKILL.md +0 -224
  38. package/codex-subagent-orchestration/agents/openai.yaml +0 -6
  39. package/codex-subagent-orchestration/references/custom-agent-template.toml +0 -40
  40. package/codex-subagent-orchestration/references/routing-rubric.md +0 -100
  41. package/specs-to-project-docs/agents/openai.yaml +0 -4
  42. /package/{specs-to-project-docs → archive-specs}/LICENSE +0 -0
  43. /package/{specs-to-project-docs → archive-specs}/references/templates/architecture.md +0 -0
  44. /package/{specs-to-project-docs → archive-specs}/references/templates/configuration.md +0 -0
  45. /package/{specs-to-project-docs → archive-specs}/references/templates/developer-guide.md +0 -0
  46. /package/{specs-to-project-docs → archive-specs}/references/templates/docs-index.md +0 -0
  47. /package/{specs-to-project-docs → archive-specs}/references/templates/features.md +0 -0
  48. /package/{specs-to-project-docs → archive-specs}/references/templates/getting-started.md +0 -0
  49. /package/{specs-to-project-docs → archive-specs}/references/templates/readme.md +0 -0
package/AGENTS.md CHANGED
@@ -12,12 +12,11 @@
12
12
  This repository enables users to install and run a curated set of reusable agent skills for software delivery, research, repository maintenance, and media-generation workflows.
13
13
 
14
14
  - Users can align project documentation with the current codebase.
15
- - Users can consolidate accumulated project specs into a standardized README and categorized project documentation set.
15
+ - Users can consolidate completed project specs into a standardized README and categorized project documentation set, then archive the consumed planning files.
16
16
  - Users can investigate application logs and produce evidence-backed root-cause findings.
17
17
  - Users can answer repository-backed questions with additional web research when needed.
18
18
  - Users can commit and push local changes without performing version or release work.
19
19
  - Users can manage Codex user-preference memory by reviewing the last 24 hours of chats, storing categorized memory documents under `~/.codex/memory`, and syncing a memory index into `~/.codex/AGENTS.md`.
20
- - Users can orchestrate Codex subagents for most non-trivial tasks by reusing or creating focused custom agents under `~/.codex/agents`, then delegating exploration, review, verification, and unrelated module work while keeping tightly coupled execution in the main agent.
21
20
  - Users can research a topic deeply and produce evidence-based deliverables.
22
21
  - Users can research the latest completed market week and produce a PDF watchlist of tradeable instruments for the coming week.
23
22
  - Users can turn a marked weekly finance PDF into a concise evidence-based financial event report.
@@ -33,6 +32,7 @@ This repository enables users to install and run a curated set of reusable agent
33
32
  - Users can learn new or improved skills from recent Codex conversation history.
34
33
  - Users can audit and maintain the skill catalog itself, including dependency classification and shared-skill extraction decisions.
35
34
  - Users can summarize mistakes into a learning error book and render it to PDF.
35
+ - Users can build or review marginfi protocol integrations using official SDK, CLI, protocol, and The Arena documentation.
36
36
  - Users can create or maintain `AGENTS.md` so project constraints stay aligned with the repository.
37
37
  - Users can turn novel content into a loopable short-form video with generated assets.
38
38
  - Users can publish structured GitHub issues or feature proposals with auth fallbacks.
@@ -43,7 +43,9 @@ This repository enables users to install and run a curated set of reusable agent
43
43
  - Users can process GitHub pull request review comments and resolve addressed threads.
44
44
  - Users can perform repository-wide code reviews and publish confirmed findings as GitHub issues.
45
45
  - Users can schedule a bounded project runtime window, stop it automatically, and analyze module health from captured logs.
46
+ - Users can build and maintain Solana programs and Rust clients using official Solana development workflows.
46
47
  - Users can add focused observability to opaque workflows through targeted logs, metrics, traces, and tests.
48
+ - Users can build against Jupiter's official Solana swap, token, price, lending, trigger, recurring, and portfolio APIs with an evidence-based development guide.
47
49
  - Users can debug software systematically by reproducing causes, validating fixes, and testing outcomes.
48
50
  - Users can generate 30-60 second short videos directly from text prompts.
49
51
  - Users can prepare and publish versioned releases with changelog and tag workflows.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,29 @@ All notable changes to this repository are documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [v2.6.0] - 2026-03-20
8
+
9
+ ### Added
10
+ - Add `jupiter-development` for building Jupiter-based Solana integrations from current official docs, including swap, token, price, lend, trigger, recurring, and portfolio surfaces.
11
+ - Add `marginfi-development` for building or reviewing marginfi integrations with official SDK, CLI, protocol, and The Arena references.
12
+ - Add `solana-development` for native Solana Rust programs and Rust client workflows grounded in official Solana documentation.
13
+
14
+ ### Changed
15
+ - Update `learn-skill-from-conversations` to prefer inventorying the current skill catalog, weighting user corrections and error-driven lessons more heavily, and tightening when to update an existing skill versus creating a new one.
16
+ - Update `codex-memory-manager` so memory reports include already-stored relevant preferences when users ask what memory exists or why a known preference was omitted.
17
+ - Refresh new protocol reference snapshots against current official Jupiter, marginfi, and Solana docs before release.
18
+
19
+ ## [v2.5.0] - 2026-03-19
20
+
21
+ ### Changed
22
+ - Rename `specs-to-project-docs` to `archive-specs` and refocus the skill on converting completed specs into project docs while archiving the consumed planning files.
23
+ - Update `develop-new-features` and `enhance-existing-features` so completed work must backfill requirement completion status in `spec.md` alongside `tasks.md` and `checklist.md`.
24
+ - Update `commit-and-push` and `version-release` to treat planning-file checkboxes semantically during conversion, and to invoke `archive-specs` when completed spec sets should become project documentation.
25
+ - Update the npm installer to remove stale linked skills that no longer exist in the latest packaged skill list during managed installs.
26
+
27
+ ### Removed
28
+ - Remove the `codex-subagent-orchestration` skill and clean related multi-agent guidance from affected skill documents.
29
+
7
30
  ## [v2.4.3] - 2026-03-19
8
31
 
9
32
  ### Changed
package/README.md CHANGED
@@ -6,10 +6,10 @@ A curated skill catalog for Codex, OpenClaw, and Trae with a managed installer t
6
6
 
7
7
  - align-project-documents
8
8
  - analyse-app-logs
9
+ - archive-specs
9
10
  - answering-questions-with-research
10
11
  - commit-and-push
11
12
  - codex-memory-manager
12
- - codex-subagent-orchestration
13
13
  - deep-research-topics
14
14
  - develop-new-features
15
15
  - discover-edge-cases
@@ -21,8 +21,10 @@ A curated skill catalog for Codex, OpenClaw, and Trae with a managed installer t
21
21
  - generate-spec
22
22
  - harden-app-security
23
23
  - improve-observability
24
+ - jupiter-development
24
25
  - learn-skill-from-conversations
25
26
  - learning-error-book
27
+ - marginfi-development
26
28
  - maintain-project-constraints
27
29
  - maintain-skill-catalog
28
30
  - novel-to-short-video
@@ -34,7 +36,7 @@ A curated skill catalog for Codex, OpenClaw, and Trae with a managed installer t
34
36
  - review-change-set
35
37
  - review-codebases
36
38
  - scheduled-runtime-health-check
37
- - specs-to-project-docs
39
+ - solana-development
38
40
  - systematic-debug
39
41
  - text-to-short-video
40
42
  - version-release
@@ -54,6 +56,7 @@ The interactive installer:
54
56
  - installs a managed copy into `~/.apollo-toolkit`
55
57
  - lets you multi-select `codex`, `openclaw`, `trae`, or `all`
56
58
  - creates symlinks from `~/.apollo-toolkit/<skill>` into each selected target
59
+ - in the same npm/npx install flow, removes stale linked skills that existed in the previous installed version but no longer exist in the current package skill list
57
60
 
58
61
  ### Global install
59
62
 
@@ -1,6 +1,6 @@
1
- # specs-to-project-docs
1
+ # archive-specs
2
2
 
3
- A documentation skill that consolidates scattered spec files into standardized project docs. It produces a concise `README.md` plus a categorized document set grounded in real repository evidence.
3
+ A documentation skill that converts completed spec files into standardized project docs and archives the consumed planning files. It produces a concise `README.md` plus a categorized document set grounded in real repository evidence.
4
4
 
5
5
  ## Core capabilities
6
6
 
@@ -8,7 +8,7 @@ A documentation skill that consolidates scattered spec files into standardized p
8
8
  - Reconciles spec claims against code, config, scripts, and deployment files.
9
9
  - Standardizes both new and existing project docs into topic-based files for setup, configuration, architecture, features, and developer onboarding.
10
10
  - Provides dedicated reference templates for the top-level README, the documentation index/reference list, and each category document.
11
- - Deletes superseded spec source files after a successful conversion, unless they still need to stay active or be archived explicitly.
11
+ - Archives superseded spec source files after a successful conversion, and deletes them only when the repository clearly does not need historical retention.
12
12
  - Keeps unknown or unverifiable details explicit instead of guessing.
13
13
 
14
14
  ## Repository layout
@@ -1,9 +1,9 @@
1
1
  ---
2
- name: specs-to-project-docs
3
- description: Turn a project's accumulated spec files into standardized project documentation and README content. Use when users want to consolidate `spec.md`/`tasks.md`/`checklist.md` files into maintainable docs covering installation and deployment, configuration, external service setup, architecture, feature introductions, and developer onboarding context.
2
+ name: archive-specs
3
+ description: Convert completed project spec sets into maintainable project documentation and archive the consumed planning files. Use when users want to consolidate `spec.md`/`tasks.md`/`checklist.md` files into evidence-backed docs covering installation and deployment, configuration, external service setup, architecture, feature introductions, and developer onboarding context.
4
4
  ---
5
5
 
6
- # Specs To Project Docs
6
+ # Archive Specs
7
7
 
8
8
  ## Dependencies
9
9
 
@@ -17,11 +17,11 @@ description: Turn a project's accumulated spec files into standardized project d
17
17
  - Evidence: Treat code, config, deployment files, and current spec files as evidence sources; never guess when a detail is missing.
18
18
  - Execution: Inventory all relevant specs first, reconcile them with the current repository, then generate or update standardized docs from the provided templates.
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 a concise `README.md` plus a categorized project-doc set, then remove superseded spec files after the conversion is complete.
20
+ - Output: Produce a concise `README.md` plus a categorized project-doc set, then archive or remove superseded spec files after the conversion is complete.
21
21
 
22
22
  ## Goal
23
23
 
24
- Convert scattered planning artifacts into stable, standardized project documentation that helps operators and developers quickly open the exact document they need for setup, configuration, architecture, feature understanding, or development onboarding.
24
+ Convert completed planning artifacts into stable, standardized project documentation, then archive the consumed specs so active planning files stay separate from durable project docs.
25
25
 
26
26
  ## Workflow
27
27
 
@@ -85,12 +85,12 @@ Ensure the split project docs cover all of the following:
85
85
  - Each category doc should stay focused on one topic instead of acting like another monolithic handbook.
86
86
  - Remove template placeholders and stale planning language before finishing.
87
87
 
88
- ### 7) Remove superseded spec files after successful conversion
88
+ ### 7) Archive superseded spec files after successful conversion
89
89
 
90
- - After the standardized project docs are complete and verified, delete the old source spec files that were converted.
91
- - Remove the full spec directory when it only exists to hold the consumed `spec.md`, `tasks.md`, and `checklist.md` files.
92
- - Do not delete any spec file that is still actively needed for unfinished implementation work or explicit archival requirements.
93
- - If a repository needs historical retention, move the source specs into a clearly marked archive path instead of leaving them mixed with active docs.
90
+ - After the standardized project docs are complete and verified, archive the old source spec files that were converted.
91
+ - Prefer moving the consumed `spec.md`, `tasks.md`, and `checklist.md` files, or their containing plan directory, into a clearly marked archive path instead of leaving them mixed with active docs.
92
+ - Delete converted spec files only when the repository clearly does not need historical retention.
93
+ - Do not archive or delete any spec file that is still actively needed for unfinished implementation work.
94
94
 
95
95
  ## Working Rules
96
96
 
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "archive-specs"
3
+ short_description: "Convert completed specs into project docs and archive the consumed plans"
4
+ default_prompt: "Use $archive-specs to inventory the project's spec.md/tasks.md/checklist.md files, reconcile them with the current repository, rewrite existing project docs into a standardized categorized structure when needed, generate or update a concise README plus split project docs for getting started, configuration, architecture, features, and developer guidance, maintain a docs/README.md reference list, then archive the consumed source specs after successful conversion, deleting them only when the repository clearly does not need historical retention."
@@ -114,6 +114,8 @@ python3 ~/.codex/skills/codex-memory-manager/scripts/sync_memory_index.py \
114
114
  - which categories were created or updated
115
115
  - whether a new category was introduced
116
116
  - whether the AGENTS memory index changed
117
+ - When the user asks what memory exists or asks why a known preference was not mentioned, include the already-stored preferences that are directly relevant to the question instead of summarizing only newly added entries.
118
+ - When a stable preference already existed and was still reinforced by recent chats, say that it remains stored and point to the category where it lives.
117
119
  - If no durable preferences were found, say so explicitly and avoid creating placeholder memory files.
118
120
 
119
121
  ## Guardrails
@@ -7,9 +7,9 @@ A Codex skill for commit-and-push workflows without release/version operations.
7
7
  `commit-and-push` helps agents safely submit local changes by:
8
8
 
9
9
  1. Inspecting git status and staged state.
10
- 2. Running `specs-to-project-docs` when the repository contains spec files or existing project docs need normalization.
10
+ 2. Running `archive-specs` during submission to convert completed spec sets and archive them, or when existing project docs need normalization.
11
11
  3. Running `align-project-documents` and `maintain-project-constraints` before commit.
12
- 4. Running additional dependency skills for code-affecting diffs through isolated parallel review subagents when available.
12
+ 4. Running additional dependency skills for code-affecting diffs when their coverage is needed.
13
13
  5. Committing with a concise Conventional Commit message.
14
14
  6. Pushing to the current branch.
15
15
 
@@ -21,6 +21,6 @@ Use this skill when the user asks to commit/push/submit changes and does **not**
21
21
  - tagging
22
22
  - release changelog workflows
23
23
 
24
- If the repository contains spec files, or if existing project docs still use a non-standard layout, normalize them into the categorized `specs-to-project-docs` structure first and let that skill remove or archive superseded spec files when appropriate.
24
+ If the repository contains a completed spec set, convert it into the categorized `archive-specs` project-doc structure during submission and archive the consumed plan files. Treat `spec.md`, `tasks.md`, and `checklist.md` semantically: unchecked task or decision checkboxes do not automatically mean the work is unfinished when the docs clearly show they were not selected, replaced, deferred, or marked `N/A`.
25
25
 
26
26
  For release workflows, use `version-release`.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: commit-and-push
3
- description: "Guide the agent to submit local changes with commit and push only (no versioning). Use when users ask to commit, submit, or push changes without requesting tag/version/release operations. If the repository contains active planning artifacts or existing project docs do not match the `specs-to-project-docs` structure, run `specs-to-project-docs` before the final commit so project docs are standardized into categorized files and the old specs are removed or archived when appropriate."
3
+ description: "Guide the agent to submit local changes with commit and push only (no versioning). Use when users ask to commit, submit, or push changes without requesting tag/version/release operations. During submission, run `archive-specs` to convert completed spec sets into project documentation and archive the consumed plans, and also use it when existing project docs do not match the standardized project-doc structure."
4
4
  ---
5
5
 
6
6
  # Commit and Push
@@ -8,15 +8,15 @@ description: "Guide the agent to submit local changes with commit and push only
8
8
  ## Dependencies
9
9
 
10
10
  - Required: `align-project-documents` and `maintain-project-constraints` before the final commit.
11
- - Conditional: `review-change-set`, `discover-edge-cases`, and `harden-app-security` for code-affecting changes; `specs-to-project-docs` when the repository contains active planning artifacts or existing project docs need normalization into the standard categorized structure.
11
+ - Conditional: `review-change-set`, `discover-edge-cases`, and `harden-app-security` for code-affecting changes; `archive-specs` during submission when completed spec sets should be converted into project docs and archived, or when existing project docs need normalization into the standard categorized structure.
12
12
  - Optional: none.
13
- - Fallback: If any required dependency is unavailable, or if `specs-to-project-docs` is required for spec conversion but unavailable, stop and report the missing dependency.
13
+ - Fallback: If any required dependency is unavailable, or if `archive-specs` is required for spec conversion but unavailable, stop and report the missing dependency.
14
14
 
15
15
  ## Standards
16
16
 
17
17
  - Evidence: Inspect git state and classify the change set before deciding which quality gates apply.
18
- - Execution: Run code-review dependency skills as independent parallel subagents when applicable, keep their contexts isolated to reduce review bias, standardize project docs into categorized outputs whenever specs or doc-structure mismatches are present, preserve staging intent, then commit and push without release steps.
19
- - Quality: Re-run relevant validation for runtime changes and keep project docs plus agent constraints synchronized before committing; treat `specs-to-project-docs` outputs as the canonical project-doc structure when normalization is required.
18
+ - Execution: Run the required quality-gate skills when applicable, convert completed spec sets into categorized project docs during submission, normalize non-standard project docs when needed, preserve staging intent, then commit and push without release steps.
19
+ - Quality: Re-run relevant validation for runtime changes and keep project docs plus agent constraints synchronized before committing; treat `archive-specs` outputs as the canonical project-doc structure when normalization is required.
20
20
  - Output: Produce a concise Conventional Commit and push it to the current branch only.
21
21
 
22
22
  ## Overview
@@ -39,23 +39,24 @@ Load only when needed:
39
39
  2. Classify changes
40
40
  - `code-affecting`: runtime code, tests, build scripts, CI logic, or behavior-changing config.
41
41
  - `docs-only`: content updates only (for example README, docs, comments).
42
- - `repo-specs-present`: the repository contains active project planning artifacts such as `spec.md`, `tasks.md`, `checklist.md`, or plan directories that represent unfinished or recently completed work; exclude reference examples, templates, and archived samples that are not live project plans.
43
- - `project-doc-structure-mismatch`: existing `README.md` and project docs do not match the categorized structure required by `specs-to-project-docs`.
42
+ - `repo-specs-present`: the repository contains live project planning artifacts such as `spec.md`, `tasks.md`, `checklist.md`, or plan directories; exclude reference examples, templates, and archived samples.
43
+ - `repo-specs-ready-for-conversion`: the relevant `spec.md`, `tasks.md`, and `checklist.md` have been updated to reflect the actual outcome of the work, and any unchecked task/decision checkbox that is clearly not selected, replaced, deferred, or `N/A` (for example, E2E intentionally not created) does not by itself mean the spec set is unfinished.
44
+ - `project-doc-structure-mismatch`: existing `README.md` and project docs do not match the categorized structure required by `archive-specs`.
44
45
  3. Run code-affecting dependency skills (when applicable)
45
- - Launch `review-change-set`, `discover-edge-cases`, and `harden-app-security` as parallel review subagents for the same code-affecting scope when delegation is available.
46
- - Keep each review subagent in an isolated context window; do not reuse the implementation thread as the reviewer context.
47
- - Treat every reviewer as independent and unbiased, then consolidate and resolve all confirmed findings before continuing.
46
+ - Run `review-change-set`, `discover-edge-cases`, and `harden-app-security` for the same code-affecting scope when their coverage is needed.
47
+ - Consolidate and resolve all confirmed findings before continuing.
48
48
  - Re-run relevant tests when runtime logic changes.
49
49
  4. Standardize project docs when specs or doc normalization is needed
50
- - Execute `specs-to-project-docs` when `repo-specs-present` or `project-doc-structure-mismatch` is true and the related implementation scope is already complete enough for documentation consolidation.
51
- - Let `specs-to-project-docs` convert the relevant specs into categorized project docs such as `docs/README.md`, `docs/getting-started.md`, `docs/configuration.md`, `docs/architecture.md`, `docs/features.md`, and `docs/developer-guide.md`.
52
- - Let the skill normalize any existing project docs to the same structure and remove or archive superseded source spec files.
53
- - If the specs still represent active unfinished work, do not convert them yet; report that the spec files remain active and should not be deleted.
50
+ - During submission, execute `archive-specs` when `repo-specs-ready-for-conversion` is true or when `project-doc-structure-mismatch` is true.
51
+ - Let `archive-specs` convert the relevant specs into categorized project docs such as `docs/README.md`, `docs/getting-started.md`, `docs/configuration.md`, `docs/architecture.md`, `docs/features.md`, and `docs/developer-guide.md`.
52
+ - Let the skill normalize any existing project docs to the same structure and archive superseded source spec files.
53
+ - Do not treat unchecked task or decision checkboxes alone as blocking unfinished work; read the surrounding notes and requirement status semantically.
54
+ - If the docs still show unresolved implementation scope that is neither completed, intentionally deferred, nor explicitly `N/A`, do not convert them yet; report that the spec files remain active and should not be deleted.
54
55
  5. Run pre-commit sync dependencies
55
56
  - Execute `align-project-documents` after spec conversion and code/doc scans are complete.
56
57
  - Execute `maintain-project-constraints` immediately before the commit.
57
58
  6. Keep docs synchronized when needed
58
- - Apply the output from `specs-to-project-docs` when repository specs were converted or existing project docs were normalized into categorized project docs.
59
+ - Apply the output from `archive-specs` when repository specs were converted or existing project docs were normalized into categorized project docs.
59
60
  - Apply the output from `align-project-documents` when behavior or usage changed.
60
61
  - Apply the output from `maintain-project-constraints` when agent workflow/rules changed.
61
62
  7. Commit
@@ -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, classify the diff, run required dependency skills ($align-project-documents and $maintain-project-constraints, plus $review-change-set, $discover-edge-cases, and $harden-app-security as isolated parallel review subagents for code-affecting changes when available), run $specs-to-project-docs when the repository contains spec files or existing project docs need normalization so project docs are standardized into categorized files and old specs are removed or archived when appropriate, then create a concise Conventional Commit and push to the current branch without any versioning or release steps."
4
+ default_prompt: "Use $commit-and-push to inspect the current git state, classify the diff, run required dependency skills ($align-project-documents and $maintain-project-constraints, plus $review-change-set, $discover-edge-cases, and $harden-app-security for code-affecting changes when their coverage is needed), then during submission run $archive-specs to convert any completed spec set into categorized project docs, archive the consumed plans, and normalize existing project docs when needed. Treat spec.md, tasks.md, and checklist.md semantically: unchecked task or decision checkboxes alone do not block conversion when the docs show they were not selected, replaced, deferred, or marked N/A. Then create a concise Conventional Commit and push to the current branch without any versioning or release steps."
@@ -8,7 +8,7 @@ A spec-first feature development skill for new behavior and greenfield work. It
8
8
  - Treats `spec.md`, `tasks.md`, and `checklist.md` as approval-gated artifacts, not optional notes.
9
9
  - Covers unit, regression, property-based, integration, E2E, and adversarial testing based on actual risk.
10
10
  - Reuses existing architecture and avoids speculative expansion.
11
- - Backfills planning docs after implementation and testing complete.
11
+ - Backfills `spec.md`, `tasks.md`, and `checklist.md` after implementation and testing complete.
12
12
 
13
13
  ## Repository layout
14
14
 
@@ -32,7 +32,7 @@ A spec-first feature development skill for new behavior and greenfield work. It
32
32
  2. Run `generate-spec` to create and maintain `docs/plans/{YYYY-MM-DD}_{change_name}/`.
33
33
  3. Wait for explicit approval on the spec set.
34
34
  4. Implement the approved behavior with minimal changes.
35
- 5. Run risk-driven tests and backfill `tasks.md` and `checklist.md`.
35
+ 5. Run risk-driven tests and backfill `spec.md`, `tasks.md`, and `checklist.md`.
36
36
 
37
37
  ## Testing expectations
38
38
 
@@ -17,7 +17,7 @@ description: >-
17
17
 
18
18
  ## Dependencies
19
19
 
20
- - Required: `generate-spec` for `spec.md`, `tasks.md`, `checklist.md`, clarification handling, approval gating, and status backfill.
20
+ - Required: `generate-spec` for `spec.md`, `tasks.md`, `checklist.md`, clarification handling, approval gating, and completion-status backfill.
21
21
  - Conditional: none.
22
22
  - Optional: none.
23
23
  - Fallback: If `generate-spec` is unavailable, stop and report the missing dependency.
@@ -50,7 +50,7 @@ Use a shared spec-generation workflow for all new feature work, then implement t
50
50
  - filling BDD requirements and risk-driven test plans
51
51
  - handling clarification responses
52
52
  - obtaining explicit approval before coding
53
- - backfilling document status after implementation and testing
53
+ - backfilling document status after implementation and testing, including requirement completion in `spec.md`
54
54
  - Do not modify product code before the approved spec set exists.
55
55
 
56
56
  ### 3) Explore architecture and reuse opportunities
@@ -86,7 +86,8 @@ Rules:
86
86
 
87
87
  ### 6) Completion updates
88
88
 
89
- - Backfill `tasks.md` and `checklist.md` through `$generate-spec` workflow after implementation and testing.
89
+ - Backfill `spec.md`, `tasks.md`, and `checklist.md` through `$generate-spec` workflow after implementation and testing.
90
+ - In `spec.md`, mark each approved requirement with its actual completion state, such as completed, partially completed, deferred, or not implemented, plus brief evidence or rationale where needed.
90
91
  - Report the implemented scope, test execution, and any concrete `N/A` reasons.
91
92
 
92
93
  ## Working Rules
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Develop New Features"
3
3
  short_description: "Spec-first feature development that depends on generate-spec"
4
- default_prompt: "Use $develop-new-features to design new behavior through a spec-first workflow: review the required external docs, run $generate-spec to create and maintain docs/plans/<date>_<change_name>/{spec.md,tasks.md,checklist.md}, wait for explicit approval, then implement the approved feature with risk-driven tests and backfill the planning docs after execution."
4
+ default_prompt: "Use $develop-new-features to design new behavior through a spec-first workflow: review the required external docs, run $generate-spec to create and maintain docs/plans/<date>_<change_name>/{spec.md,tasks.md,checklist.md}, wait for explicit approval, then implement the approved feature with risk-driven tests and backfill spec.md, tasks.md, and checklist.md after execution, including requirement completion status in spec.md."
@@ -32,7 +32,7 @@ A brownfield feature-extension skill: map dependencies first, decide whether sha
32
32
  2. Trigger `generate-spec` only when the change is high complexity, hits a critical module, or crosses module boundaries.
33
33
  3. Wait for explicit approval if planning docs were generated.
34
34
  4. Implement the smallest safe brownfield change.
35
- 5. Run risk-driven tests and backfill planning docs when they exist.
35
+ 5. Run risk-driven tests and backfill `spec.md`, `tasks.md`, and `checklist.md` when specs exist.
36
36
 
37
37
  ## Test requirements
38
38
 
@@ -59,6 +59,7 @@ If triggered:
59
59
  - Run `$generate-spec` and follow its workflow completely.
60
60
  - Use it to create or update `docs/plans/{YYYY-MM-DD}_{change_name}/spec.md`, `tasks.md`, and `checklist.md`.
61
61
  - Ensure planned behaviors and edge cases cover external dependency states, abuse/adversarial paths, and any relevant authorization/idempotency/concurrency/data-integrity risks.
62
+ - After implementation and testing, update the same plan set so `spec.md` reflects requirement completion status in addition to task and checklist progress.
62
63
  - If users answer clarification questions, update the planning docs and obtain explicit approval again before implementation.
63
64
  - Do not modify implementation code before approval.
64
65
 
@@ -100,7 +101,8 @@ Rules:
100
101
 
101
102
  ### 6) Completion updates
102
103
 
103
- - If specs were used, backfill `tasks.md` and `checklist.md` through `$generate-spec` workflow based on actual completion and test outcomes.
104
+ - If specs were used, backfill `spec.md`, `tasks.md`, and `checklist.md` through `$generate-spec` workflow based on actual completion and test outcomes.
105
+ - In `spec.md`, mark each relevant requirement with its actual completion state, such as completed, partially completed, deferred, or not implemented, plus brief evidence or rationale where needed.
104
106
  - If specs were not used, provide a concise execution summary including test IDs/results, regression coverage, mock scenario coverage, adversarial coverage, and any `N/A` reasons.
105
107
 
106
108
  ## Working Rules
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "enhance-existing-features"
3
3
  short_description: "Extend brownfield features with conditional generate-spec planning and risk-driven tests"
4
- default_prompt: "Use $enhance-existing-features to extend a brownfield feature: map the affected code and dependencies first, decide whether the change is high complexity / critical module / cross-module, run $generate-spec when specs are required, wait for explicit approval before coding, and always add risk-driven tests plus clear N/A reasons when a category truly does not apply."
4
+ default_prompt: "Use $enhance-existing-features to extend a brownfield feature: map the affected code and dependencies first, decide whether the change is high complexity / critical module / cross-module, run $generate-spec when specs are required, wait for explicit approval before coding, and always add risk-driven tests plus clear N/A reasons when a category truly does not apply, then backfill spec.md, tasks.md, and checklist.md when a spec set exists, including requirement completion status in spec.md."
@@ -0,0 +1,89 @@
1
+ ---
2
+ name: jupiter-development
3
+ description: Build integrations against Jupiter's official Solana APIs and SDKs, including Ultra Swap, Metis Swap, Tokens API V2, Price API V3, Lend, Trigger, Recurring, and Portfolio. Use when implementing Jupiter-based swaps, token search, pricing, lending, DCA, limit-order, or portfolio features, or when updating code that depends on Jupiter official developer docs.
4
+ ---
5
+
6
+ # Jupiter Development
7
+
8
+ ## Dependencies
9
+
10
+ - Required: none.
11
+ - Conditional: none.
12
+ - Optional: none.
13
+ - Fallback: If official Jupiter docs are unavailable, stop and report the missing source instead of guessing endpoint behavior.
14
+
15
+ ## Standards
16
+
17
+ - Evidence: Treat `https://dev.jup.ag/llms.txt` and linked official pages as the source of truth; re-check them when the task depends on current API behavior.
18
+ - Execution: Identify the exact Jupiter product first, then implement against the narrowest official API or SDK that fits the job.
19
+ - Quality: Prefer the default happy-path integrations before custom transaction assembly, and call out routing, auth, fee, and rate-limit tradeoffs explicitly.
20
+ - Output: Leave the user with working integration changes plus a short note covering which Jupiter surface was used and which official docs were followed.
21
+
22
+ ## Goal
23
+
24
+ Implement Jupiter-backed Solana features safely by following the current official developer documentation instead of relying on stale examples or assumptions.
25
+
26
+ ## Required Workflow
27
+
28
+ ### 1) Reconfirm the official surface before coding
29
+
30
+ - Start from `https://dev.jup.ag/llms.txt` to discover the current product map and page URLs.
31
+ - Read only the product pages needed for the task.
32
+ - If the task depends on exact request or response fields, follow through to the linked API reference or OpenAPI page before editing code.
33
+
34
+ ### 2) Choose the right Jupiter integration path
35
+
36
+ - For token swaps, default to Ultra Swap.
37
+ - Use `GET /ultra/v1/order` plus `POST /ultra/v1/execute` for the standard path with the least integration work.
38
+ - Use Metis Swap only when the app must own quote-to-transaction construction, compose instructions, or integrate through CPI/Flash Fill style flows.
39
+ - For token discovery and token metadata, use Tokens API V2.
40
+ - Use search for symbol, name, or mint lookup.
41
+ - Use tag/category/recent endpoints for discovery experiences such as verified lists, trending tokens, or newly tradable assets.
42
+ - For USD token pricing, use Price API V3.
43
+ - Expect `null` or missing prices for assets that Jupiter considers unreliable.
44
+ - Do not invent fallback prices without telling the user.
45
+ - For lending, use Jupiter Lend.
46
+ - Use the REST API for Earn when HTTP access is enough.
47
+ - Use `@jup-ag/lend` and `@jup-ag/lend-read` when the task needs instruction building, on-chain composition, flashloans, Borrow flows, or read-side analytics.
48
+ - For advanced trading automations, use the product-specific APIs instead of overloading Swap.
49
+ - Trigger for limit-order and stop-style flows.
50
+ - Recurring for DCA.
51
+ - Portfolio for wallet position aggregation.
52
+
53
+ ### 3) Apply Jupiter-specific guardrails while implementing
54
+
55
+ - Treat Jupiter hostnames and auth rules as time-sensitive.
56
+ - Current official docs still show some `lite-api.jup.ag` quick-start examples.
57
+ - Current migration and Portal docs recommend `api.jup.ag` with `x-api-key`.
58
+ - Reconfirm the exact hostname and auth rule for the chosen product before coding.
59
+ - Respect Jupiter Portal rate limits and keep API keys in configuration rather than source control.
60
+ - Do not add optional swap parameters blindly.
61
+ - Payer, referral, fee, and router-selection fields can change routing, fee behavior, or gasless support.
62
+ - Re-read the exact product page before shipping these options.
63
+ - Match the fee model to the integration path.
64
+ - Ultra handles the quote and execution flow end to end.
65
+ - Metis gives more transaction control but also pushes more assembly responsibility onto the integrator.
66
+ - Treat Jupiter token and price data as curated but evolving.
67
+ - Tokens V2 responses can change as Jupiter improves the schema.
68
+ - Price V3 intentionally withholds unreliable prices.
69
+ - For Jupiter Lend advanced recipes, expect versioned transactions, address lookup tables, and sometimes extra compute budget.
70
+ - Never commit private keys. Use environment variables, wallet adapters, secure signers, or managed key systems.
71
+
72
+ ### 4) Verify the integration path end to end
73
+
74
+ - Confirm the base URL, auth header, and required parameters match the official docs you used.
75
+ - Verify that any routing, payer, referral, or fee assumptions still hold after optional parameters are added.
76
+ - When building transactions manually, verify quote endpoint compatibility, instruction order, compute budget, address lookup tables, and signing flow.
77
+ - When the task involves on-chain actions, report any remaining environment needs clearly, such as API keys, RPC endpoints, or wallet secrets that were intentionally not embedded.
78
+
79
+ ## Reference Files
80
+
81
+ - Read `references/official-docs.md` for the condensed official guidance and page map before diving into deeper Jupiter pages.
82
+
83
+ ## Output Expectations
84
+
85
+ When finishing a Jupiter task:
86
+
87
+ - state which Jupiter product surface was used
88
+ - mention the main official pages consulted
89
+ - call out any known tradeoffs such as rate limits, routing restrictions, null prices, or SDK versus REST constraints
@@ -0,0 +1,4 @@
1
+ interface:
2
+ display_name: "Jupiter Development"
3
+ short_description: "Build against Jupiter's official Solana APIs and SDKs."
4
+ default_prompt: "Use $jupiter-development to build or update this Jupiter integration by confirming the current official docs first, choosing the correct Jupiter API or SDK surface, and implementing with the right routing, auth, rate-limit, and transaction-construction guardrails."