@laitszkin/apollo-toolkit 3.11.7 → 3.12.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 (62) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +0 -2
  3. package/align-project-documents/SKILL.md +20 -69
  4. package/align-project-documents/references/templates/standardized-docs-template.md +1 -1
  5. package/analyse-app-logs/scripts/__pycache__/filter_logs_by_time.cpython-312.pyc +0 -0
  6. package/analyse-app-logs/scripts/__pycache__/log_cli_utils.cpython-312.pyc +0 -0
  7. package/analyse-app-logs/scripts/__pycache__/search_logs.cpython-312.pyc +0 -0
  8. package/archive-specs/SKILL.md +18 -70
  9. package/commit-and-push/SKILL.md +24 -52
  10. package/develop-new-features/SKILL.md +15 -60
  11. package/discover-edge-cases/SKILL.md +16 -75
  12. package/discover-security-issues/SKILL.md +49 -83
  13. package/docs-to-voice/SKILL.md +3 -30
  14. package/docs-to-voice/scripts/__pycache__/docs_to_voice.cpython-312.pyc +0 -0
  15. package/enhance-existing-features/SKILL.md +36 -57
  16. package/generate-spec/SKILL.md +51 -130
  17. package/generate-spec/references/templates/coordination.md +0 -1
  18. package/generate-spec/scripts/__pycache__/create-specscpython-312.pyc +0 -0
  19. package/implement-specs/SKILL.md +27 -62
  20. package/implement-specs-with-subagents/SKILL.md +28 -71
  21. package/implement-specs-with-worktree/SKILL.md +38 -62
  22. package/init-project-html/SKILL.md +27 -137
  23. package/init-project-html/lib/atlas/cli.js +897 -43
  24. package/init-project-html/scripts/architecture.js +4 -25
  25. package/katex/scripts/__pycache__/render_katex.cpython-312.pyc +0 -0
  26. package/lib/cli.js +166 -20
  27. package/lib/tool-runner.js +418 -2
  28. package/maintain-project-constraints/SKILL.md +24 -78
  29. package/maintain-project-constraints/references/constraint-file-reference.md +58 -0
  30. package/merge-changes-from-local-branches/SKILL.md +36 -99
  31. package/open-github-issue/SKILL.md +7 -98
  32. package/open-github-issue/scripts/__pycache__/open_github_issue.cpython-312.pyc +0 -0
  33. package/optimise-skill/SKILL.md +7 -6
  34. package/optimise-skill/references/definition.md +38 -0
  35. package/optimise-skill/references/example_skill.md +7 -6
  36. package/package.json +1 -1
  37. package/read-github-issue/SKILL.md +6 -46
  38. package/read-github-issue/scripts/__pycache__/find_issues.cpython-312.pyc +0 -0
  39. package/read-github-issue/scripts/__pycache__/read_issue.cpython-312.pyc +0 -0
  40. package/resolve-review-comments/SKILL.md +4 -26
  41. package/resolve-review-comments/scripts/__pycache__/review_threads.cpython-312.pyc +0 -0
  42. package/review-change-set/SKILL.md +41 -91
  43. package/review-codebases/SKILL.md +42 -99
  44. package/review-spec-related-changes/SKILL.md +42 -77
  45. package/scripts/validate_openai_agent_config.py +16 -1
  46. package/scripts/validate_skill_frontmatter.py +16 -1
  47. package/solve-issues-found-during-review/SKILL.md +38 -66
  48. package/spec-to-project-html/SKILL.md +27 -88
  49. package/submission-readiness-check/SKILL.md +35 -55
  50. package/systematic-debug/SKILL.md +37 -53
  51. package/test-case-strategy/SKILL.md +38 -85
  52. package/text-to-short-video/scripts/__pycache__/enforce_video_aspect_ratio.cpython-312.pyc +0 -0
  53. package/update-project-html/SKILL.md +25 -110
  54. package/version-release/SKILL.md +39 -74
  55. package/weekly-financial-event-report/scripts/extract_pdf_text_pdfkit.swift +32 -4
  56. package/archive-specs/references/templates/architecture.md +0 -21
  57. package/archive-specs/references/templates/docs-index.md +0 -39
  58. package/archive-specs/references/templates/features.md +0 -25
  59. package/archive-specs/references/templates/principles.md +0 -28
  60. package/maintain-skill-catalog/README.md +0 -18
  61. package/maintain-skill-catalog/SKILL.md +0 -72
  62. package/maintain-skill-catalog/agents/openai.yaml +0 -4
@@ -1,28 +0,0 @@
1
- # <慣例類別>
2
-
3
- [One-sentence summary of what this convention area covers.]
4
-
5
- ## <慣例名稱>
6
-
7
- <慣例描述>
8
-
9
- **理由**: <為什麼採用此慣例>
10
-
11
- **範例**: <從代碼庫提取的具體範例>
12
-
13
- ## <慣例名稱>
14
-
15
- <慣例描述>
16
-
17
- **理由**: <為什麼採用此慣例>
18
-
19
- **範例**: <從代碼庫提取的具體範例>
20
-
21
- ---
22
-
23
- ## Writing Rules
24
-
25
- - Each file covers one convention area (e.g., naming, coding style, dependency management, error handling, testing).
26
- - State the convention clearly.
27
- - Provide rationale traceable to the codebase.
28
- - Include a brief example from the codebase, not an invented one.
@@ -1,18 +0,0 @@
1
- # maintain-skill-catalog
2
-
3
- Maintain a repository of installable skills by auditing skill definitions, dependency declarations, shared conventions, and catalog validation.
4
-
5
- ## Core capabilities
6
-
7
- - Scans top-level skills before adding or splitting new ones to avoid duplicate scope.
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/CLAUDE.md` with actual skill capabilities.
10
- - Catches catalog-wide validation issues like missing `agents/openai.yaml` files or stale prompt references.
11
- - Encodes user corrections into durable catalog rules so the same classification mistakes do not repeat.
12
-
13
- ## Typical triggers
14
-
15
- - Standardize all skills to one dependency format.
16
- - Check which skills rely on external skills and document how to install them.
17
- - Split repeated workflow steps into a new shared skill.
18
- - Fix skill-catalog CI failures caused by missing metadata or agent config files.
@@ -1,72 +0,0 @@
1
- ---
2
- name: maintain-skill-catalog
3
- description: >-
4
- Maintain this SKILL catalog repo: reconcile `SKILL.md` frontmatter/`Dependencies`, `agents/openai.yaml`, README inventory, classify vendored vs external vs unpublished-local aliases, prefer extracting shared workflows over duplicating long prose, and always rerun `apltk validate-skill-frontmatter` plus `apltk validate-openai-agent-config` before finishing—never invent package names or installers for unverified deps.
5
- Use when CI metadata breaks, users ask to “sync skills”, or dependency docs drift. Do not use for random application repos that are not this catalog layout.
6
- Bad: marketing a `~/.claude` draft as an npm dependency… Good: label it “local optional” and link once in README instead of pasting the blurb into five skills…
7
- ---
8
-
9
- # Maintain Skill Catalog
10
-
11
- ## Dependencies
12
-
13
- - Required: none.
14
- - Conditional: `find-skills` when a dependency is external and the installation source is unknown.
15
- - Optional: `skill-creator` when extracting a repeated workflow into a new shared skill or heavily reshaping a skill.
16
- - Fallback: If an external dependency cannot be verified, **MUST** document unknowns honestly—**MUST NOT** invent package names, install commands, or skill aliases.
17
-
18
- ## Non-negotiables
19
-
20
- - **MUST** read actual skill directories, validator scripts (`scripts/validate_*.py`, CI), `README.md`, and `agents/openai.yaml` patterns **before** reclassifying dependencies or rewriting catalog prose.
21
- - **MUST** treat each skill’s `## Dependencies` block as authoritative for skill-to-skill references; reconcile docs to match folders, not the reverse by guess.
22
- - **MUST** classify each dependency edge as: vendored-in-repo · local unpublished (not advertised as external) · external-with-install-guidance · alias-only (explain, don’t duplicate as separate dep).
23
- - **MUST NOT** duplicate skills or paste long prose into README without verifying whether a narrower edit or extraction fixes the repetition.
24
- - **MUST NOT** advertise a colleague’s unpublished `~/.codex/skills/...` name as if it were an npm-installable artifact unless verified.
25
- - After metadata or agent-config edits, **MUST** run **`apltk validate-skill-frontmatter`** and **`apltk validate-openai-agent-config`** (or fail the session with explanation if CLI unavailable)—**MUST NOT** declare the catalog consistent while validators fail.
26
- - If validator failures reveal a **systemic** gap, **MUST** prefer tightening the validator/CI in the **same** change set when appropriate, not only patching one skill ad hoc.
27
-
28
- ## Standards (summary)
29
-
30
- - **Evidence**: Folders + scripts + frontmatter reality; optional `~/.codex/skills` spot-check for external names.
31
- - **Execution**: Inventory → classify → minimal focused edits → validate → report.
32
- - **Quality**: One skill one purpose; naming matches folder; agent configs synchronized.
33
- - **Output**: Updated lists/docs + green validators + explicit unknowns.
34
-
35
- ## Workflow
36
-
37
- **Chain-of-thought:** Answer **`Pause →`** before moving to the next subsection; validator red **MUST** block “done.”
38
-
39
- ### 1) Inventory
40
-
41
- - Enumerate top-level skill dirs (`SKILL.md` present); read touched `SKILL.md` files before inventing merges or new skills.
42
- - Read `README.md`, `AGENTS.md`/`CLAUDE.md`, and existing dependency notes.
43
- - **Pause →** Is the requested change already satisfied by renaming or merging **existing** skill text instead of adding a sibling skill?
44
- - **Pause →** Which validator script actually enforces description length and keys—did I open its source?
45
-
46
- ### 2) Audit dependencies and conventions
47
-
48
- - Align `## Dependencies` across skills with shared vocabulary (`Required` / `Conditional` / `Optional` / `Fallback`).
49
- - Exact external strings only—verify spelling/plural vs installed tree.
50
- - Repeated workflows ⇒ prefer **extract** to new skill (`skill-creator`) over copy-paste.
51
- - **Pause →** Would classifying dep X as “external” confuse installers—could it actually be repo-vendored or optional?
52
-
53
- ### 3) Apply catalog edits
54
-
55
- - Minimal diffs; update `README` skill lists and external-dep sections **only when** inventory changed facts.
56
- - New shared skill: kebab-case folder = frontmatter `name`; add `agents/openai.yaml` following neighbors.
57
- - **Pause →** Did I treat a **template** path under `references/` as a runtime skill—classification error?
58
-
59
- ### 4) Validate
60
-
61
- - Run `apltk validate-skill-frontmatter` and `apltk validate-openai-agent-config`. If installer/discovery scripts changed behavior, smoke the paths they document.
62
- - **Pause →** Any skill missing `agents/openai.yaml` or stale tool names—still acceptable for this repo’s rules?
63
-
64
- ### 5) Report
65
-
66
- - Skills touched, conventions updated, external deps verified vs unknown; encode user-stated repo rules into skill or README so regressions recur less.
67
-
68
- ## Sample hints
69
-
70
- - **Classification**: Skill A says `Conditional: Foo` but `Foo` lives only under `~/.claude/` unpublished → document as **local optional**, not “install Foo from npm.”
71
- - **Validator**: frontmatter `description` 1100 chars → expect **fail** if limit 1024—fix text, don’t disable check.
72
- - **Anti-pattern**: “We should mention skill X everywhere” → add **once** to README index + Dependencies of callers, not five duplicate paragraphs.
@@ -1,4 +0,0 @@
1
- interface:
2
- display_name: "maintain-skill-catalog"
3
- short_description: "Audit and keep a skill repository consistent"
4
- default_prompt: "Use $maintain-skill-catalog to audit top-level skills, classify internal versus external dependencies, sync catalog docs, extract repeated workflows into shared skills when justified, and run repository validators before finishing."