@laitszkin/apollo-toolkit 3.8.2 → 3.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/align-project-documents/SKILL.md +136 -130
  3. package/align-project-documents/agents/openai.yaml +2 -2
  4. package/align-project-documents/references/templates/standardized-docs-template.md +119 -0
  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/README.md +12 -25
  9. package/archive-specs/SKILL.md +24 -47
  10. package/archive-specs/agents/openai.yaml +2 -2
  11. package/archive-specs/references/templates/architecture.md +13 -21
  12. package/archive-specs/references/templates/docs-index.md +24 -24
  13. package/archive-specs/references/templates/features.md +18 -18
  14. package/archive-specs/references/templates/principles.md +28 -0
  15. package/archive-specs/references/templates/readme.md +4 -13
  16. package/docs-to-voice/scripts/__pycache__/docs_to_voice.cpython-312.pyc +0 -0
  17. package/generate-spec/scripts/__pycache__/create-specscpython-312.pyc +0 -0
  18. package/katex/scripts/__pycache__/render_katex.cpython-312.pyc +0 -0
  19. package/maintain-project-constraints/SKILL.md +90 -88
  20. package/maintain-project-constraints/agents/openai.yaml +2 -2
  21. package/open-github-issue/scripts/__pycache__/open_github_issue.cpython-312.pyc +0 -0
  22. package/package.json +1 -1
  23. package/read-github-issue/scripts/__pycache__/find_issues.cpython-312.pyc +0 -0
  24. package/read-github-issue/scripts/__pycache__/read_issue.cpython-312.pyc +0 -0
  25. package/resolve-review-comments/scripts/__pycache__/review_threads.cpython-312.pyc +0 -0
  26. package/text-to-short-video/scripts/__pycache__/enforce_video_aspect_ratio.cpython-312.pyc +0 -0
  27. package/align-project-documents/references/templates/category-based-project-docs-template.md +0 -170
  28. package/archive-specs/references/templates/configuration.md +0 -29
  29. package/archive-specs/references/templates/developer-guide.md +0 -33
  30. package/archive-specs/references/templates/getting-started.md +0 -38
@@ -1,4 +1,4 @@
1
1
  interface:
2
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/contract.md/design.md files plus any batch-level coordination.md, reconcile them with the current repository, use coordination.md to understand shared preparation and legacy-replacement direction across parallel plan sets, 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 plans after successful conversion, deleting them only when the repository clearly does not need historical retention and keeping coordination.md active while any spec set still depends on it."
3
+ short_description: "Convert completed specs into standardized project docs and archive the consumed plans"
4
+ default_prompt: "Use $archive-specs to inventory the project's spec.md/tasks.md/checklist.md/contract.md/design.md files plus any batch-level coordination.md, reconcile them with the current repository, use coordination.md to understand shared preparation and legacy-replacement direction across parallel plan sets, delegate documentation generation to align-project-documents which produces standardized docs under docs/features/ (BDD user-facing features), docs/architecture/ (macro-level design principles), and docs/principles/ (code conventions and constraints), then delegate AGENTS.md/CLAUDE.md refresh to maintain-project-constraints which writes business goals, common commands, and the project documentation index. Archive the consumed source plans after successful conversion, deleting them only when the repository clearly does not need historical retention and keeping coordination.md active while any spec set still depends on it."
@@ -1,29 +1,21 @@
1
- # Architecture
1
+ # <模組/層名稱> 設計原則
2
2
 
3
- ## 1. High-Level Structure
3
+ [One-sentence summary of this module's role in the system.]
4
4
 
5
- - Entry points: [CLI/server/app/worker]
6
- - Major modules: [module names and responsibilities]
7
- - Data flow summary: [request/event/job flow]
8
- - Integration boundaries: [DB/API/queue/filesystem]
5
+ ## <原則標題>
9
6
 
10
- ## 2. Directory Guide
7
+ <原則描述:這條原則規範什麼、為什麼這樣設計、適用範圍>
11
8
 
12
- | Path | Responsibility |
13
- | --- | --- |
14
- | `[path]` | [What lives here] |
15
- | `[path]` | [What lives here] |
9
+ ## <原則標題>
16
10
 
17
- ## 3. Key Flows
11
+ <原則描述>
18
12
 
19
- ### [Flow Name]
20
- - Trigger: [route/command/job]
21
- - Main steps: [step summary]
22
- - Dependencies: [internal/external]
23
- - Failure boundaries: [where failures surface]
13
+ ---
24
14
 
25
- ## 4. Operational Notes
15
+ ## Writing Rules
26
16
 
27
- - State/storage model: [DB/files/cache/queue]
28
- - Concurrency or ordering concerns: [if any]
29
- - Observability entrypoints: [logs/metrics/traces/dashboards]
17
+ - State design principles, not implementation details.
18
+ - Keep each principle macro-level so it survives minor code changes.
19
+ - Focus on: module responsibilities, boundary rules, data flow direction, and integration contracts.
20
+ - Each file covers one module or architectural layer.
21
+ - Before writing a principle, ask: "Would a refactor that renames files or extracts a helper violate this principle?" If yes, the principle is too specific.
@@ -1,35 +1,35 @@
1
- # [Project Name] Documentation
1
+ # [Project Name] Documentation Index
2
2
 
3
- ## Start Here
3
+ ## Features (`docs/features/`)
4
4
 
5
- - Project overview: `README.md`
6
- - Setup and deployment: `docs/getting-started.md`
7
- - Configuration and external services: `docs/configuration.md`
8
- - Architecture: `docs/architecture.md`
9
- - Features and workflows: `docs/features.md`
10
- - Developer guide: `docs/developer-guide.md`
5
+ User-facing capabilities described with BDD scenarios (Given/When/Then). Each file covers one functional category.
11
6
 
12
- ## Document Guide
7
+ | File | Category | Description |
8
+ | --- | --- | --- |
9
+ | `docs/features/[category].md` | [category name] | [One-line description] |
13
10
 
14
- ### Getting Started
15
- - Audience: [operators / developers / both]
16
- - Covers: installation, prerequisites, local run, deployment flow
11
+ ## Architecture (`docs/architecture/`)
17
12
 
18
- ### Configuration
19
- - Audience: [operators / developers / both]
20
- - Covers: env vars, config files, secrets, external services, API key setup
13
+ Macro-level design principles organized by module or layer. Each principle is abstract enough to survive minor code changes.
21
14
 
22
- ### Architecture
23
- - Audience: [developers / maintainers]
24
- - Covers: system boundaries, module responsibilities, data flow, key directories
15
+ | File | Module | Description |
16
+ | --- | --- | --- |
17
+ | `docs/architecture/[module].md` | [module name] | [One-line description] |
25
18
 
26
- ### Features
27
- - Audience: [users / support / developers]
28
- - Covers: major workflows, entrypoints, user value, important edge cases
19
+ ## Principles (`docs/principles/`)
29
20
 
30
- ### Developer Guide
31
- - Audience: [developers / maintainers]
32
- - Covers: domain concepts, risk hotspots, testing expectations, debugging entrypoints
21
+ Code style, naming conventions, and development constraints extracted from the codebase.
22
+
23
+ | File | Topic | Description |
24
+ | --- | --- | --- |
25
+ | `docs/principles/[topic].md` | [topic name] | [One-line description] |
26
+
27
+ ## Root Documents
28
+
29
+ - `README.md` — project overview and quick start
30
+ - `CONTRIBUTING.md` — contribution workflow (if applicable)
31
+ - `SECURITY.md` — vulnerability reporting (if applicable)
32
+ - `CHANGELOG.md` — release history (if applicable)
33
33
 
34
34
  ## Reference List
35
35
 
@@ -1,25 +1,25 @@
1
- # Features
1
+ # <功能類別名稱>
2
2
 
3
- ## 1. Feature Summary
3
+ [One-sentence summary of this functional category from a user perspective.]
4
4
 
5
- - Supported user workflows: [short list]
6
- - Primary entrypoints: [routes/pages/commands/jobs]
7
- - Notable limitations or guardrails: [if any]
5
+ ## <功能名稱>
8
6
 
9
- ## 2. Feature Details
7
+ - **Given** <前置條件>
8
+ - **When** <使用者操作>
9
+ - **Then** <預期結果>
10
10
 
11
- ### [Feature or Workflow Name]
11
+ ## <功能名稱>
12
12
 
13
- - User value: [Why it matters]
14
- - Trigger or entrypoint: [route/command/page/job]
15
- - Core flow: [happy path summary]
16
- - Edge or failure notes: [important caveats]
17
- - Evidence: [spec/code/doc path]
13
+ - **Given** <前置條件>
14
+ - **When** <使用者操作>
15
+ - **Then** <預期結果>
18
16
 
19
- ### [Feature or Workflow Name]
17
+ ---
20
18
 
21
- - User value: [Why it matters]
22
- - Trigger or entrypoint: [route/command/page/job]
23
- - Core flow: [happy path summary]
24
- - Edge or failure notes: [important caveats]
25
- - Evidence: [spec/code/doc path]
19
+ ## Writing Rules
20
+
21
+ - Describe behavior from a user's perspective; never mention file paths, function names, or database tables.
22
+ - Use BDD phrasing: **Given** (precondition) → **When** (action) → **Then** (outcome).
23
+ - Each file covers exactly one functional category (e.g., authentication, data export, notifications).
24
+ - Group related features under descriptive subheadings.
25
+ - Title the file with a term users would recognize, not a module name.
@@ -0,0 +1,28 @@
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.
@@ -29,20 +29,11 @@
29
29
 
30
30
  ## Documentation
31
31
 
32
- - Project docs index: `docs/README.md`
33
- - Setup and deployment: `docs/getting-started.md`
34
- - Configuration: `docs/configuration.md`
35
- - Architecture: `docs/architecture.md`
36
- - Features: `docs/features.md`
37
- - Developer guide: `docs/developer-guide.md`
32
+ Detailed documentation is available under `docs/` and indexed in `AGENTS.md`/`CLAUDE.md`:
38
33
 
39
- ## Main Features
40
-
41
- ### [Feature Area 1]
42
- [Short explanation of the user-facing value and the main flow.]
43
-
44
- ### [Feature Area 2]
45
- [Short explanation of the user-facing value and the main flow.]
34
+ - **Features** (`docs/features/`): user-facing capabilities described with BDD scenarios
35
+ - **Architecture** (`docs/architecture/`): macro-level design principles by module
36
+ - **Principles** (`docs/principles/`): code style, naming conventions, and development constraints
46
37
 
47
38
  ## Notes
48
39
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: maintain-project-constraints
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.
3
+ description: Create and maintain AGENTS.md/CLAUDE.md with the project's macro business goals, common development commands, and an index of all standardized project documentation under docs/. Use when AGENTS.md/CLAUDE.md is missing or may be outdated.
4
4
  ---
5
5
 
6
6
  # Maintain Project Constraints
@@ -14,130 +14,132 @@ description: Automatically create and maintain AGENTS.md/CLAUDE.md so it stays a
14
14
 
15
15
  ## Standards
16
16
 
17
- - Evidence: Infer repository architecture, business flow, and conventions from current code and docs rather than assumptions.
18
- - Execution: Create or align `AGENTS.md/CLAUDE.md` only after building a concrete inventory of implemented capabilities.
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/CLAUDE.md` with the required sections, repository-specific wording, and a factual `Common Commands` section when the repository exposes stable command entry points.
17
+ - Evidence: Infer project business goals and common commands from current code, configuration, and existing project documentation — not assumptions.
18
+ - Execution: Read the entire codebase or existing project docs before writing; create or update only after building a concrete inventory.
19
+ - Quality: Remove stale commands, paths, and references; keep AGENTS.md/CLAUDE.md focused on the three required sections only.
20
+ - Output: Maintain a concise root-level `AGENTS.md`/`CLAUDE.md` with common development commands, macro business goals, and a project documentation index.
21
21
 
22
22
  ## Goal
23
23
 
24
- Keep `AGENTS.md/CLAUDE.md` accurate, actionable, and synchronized with the latest state of the repository.
24
+ Keep `AGENTS.md`/`CLAUDE.md` accurate and synchronized with the current state of the repository, focused on helping agents understand the project's purpose, navigate its documentation, and run common development tasks.
25
25
 
26
26
  ## Trigger Conditions
27
27
 
28
- Invoke this skill when either condition is true:
28
+ Invoke this skill when:
29
29
 
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.
30
+ 1. `AGENTS.md` or `CLAUDE.md` does not exist.
31
+ 2. `AGENTS.md` or `CLAUDE.md` exists but may have drifted after code changes, documentation updates, or workflow changes.
32
+ 3. After `align-project-documents` has updated the `docs/` structure and the document index needs to be refreshed.
32
33
 
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
+ ## Required Output Format
34
35
 
35
- ## Required Outputs
36
+ `AGENTS.md`/`CLAUDE.md` must contain exactly three sections:
36
37
 
37
- `AGENTS.md/CLAUDE.md` must include these sections (use concise, repository-specific content):
38
+ ### 1. Common Development Commands
38
39
 
39
- - Project architecture
40
- - Core business flow
41
- - Common commands
42
- - Core project purpose
43
- - Code style and coding conventions
40
+ - Include only commands that are real, current, and useful in this repository.
41
+ - Prefer repository-owned entry points: package scripts, CLIs, `bin/` programs, `scripts/`, `Makefile`, `justfile`, or equivalent task runners.
42
+ - For each command, explain when to use it in one short phrase.
43
+ - Prioritize commands that help an agent inspect, validate, build, test, or operate the repository.
44
+ - Do not invent commands, aliases, flags, or task names not traceable to the repository.
44
45
 
45
- For the `Core project purpose` section, always use this format:
46
+ ### 2. Project Business Goals
46
47
 
47
- 1. Describe the repository's macro purpose instead of repeating implemented features.
48
- 2. State what broader problem the project is meant to solve or what outcome it aims to achieve.
49
- 3. Prefer product- or business-level intent framing when applicable.
50
- 4. Keep it concise, but make sure the purpose is understandable without reading the rest of the document.
48
+ - Describe the project's macro business purpose: what problem it solves, what outcome it aims to achieve, who it serves.
49
+ - Write at the product or business level, not at the implementation level.
50
+ - Keep it concise but self-contained a reader should understand why the project exists without reading other documents.
51
51
 
52
- For the `Common Commands` section, always use this format:
52
+ ### 3. Project Documentation Index
53
53
 
54
- 1. Include only commands that are real, current, and useful in this repository.
55
- 2. Prefer repository-owned entry points such as package scripts, CLIs, `bin/` programs, `scripts/`, `Makefile`, `justfile`, or other documented task runners.
56
- 3. For each command, explain when to use it in one short phrase instead of listing bare commands with no context.
57
- 4. Prioritize commands that help an agent inspect, validate, build, test, or operate repository-specific workflows.
58
- 5. Do not invent commands, aliases, flags, or task names that are not traceable to the repository.
54
+ - List all standardized project documentation files under `docs/`.
55
+ - Organize by category: `docs/features/`, `docs/architecture/`, `docs/principles/`.
56
+ - For each document, provide the file path and a one-line description of what it covers.
57
+ - List any additional root-level documentation files (e.g., `README.md`, `CONTRIBUTING.md`, `SECURITY.md`).
59
58
 
60
- For the `Core business flow` section, always use this format:
61
-
62
- 1. One short sentence that summarizes what the repository currently enables.
63
- 2. An exhaustive unordered list of the repository's current existing functions/capabilities.
64
- 3. Each bullet must be a short capability statement, preferably in the style of `- Users can ...` or the repository-equivalent actor phrasing.
65
-
66
- Example:
59
+ ### Template Example
67
60
 
68
61
  ```markdown
62
+ ## Common Development Commands
69
63
 
70
- ## Common Commands
71
-
72
- - `npm test` — run the repository's automated test suite.
64
+ - `npm test` — run the test suite.
65
+ - `npm run build` — compile the project for production.
73
66
  - `apltk validate-skill-frontmatter` — validate every top-level `SKILL.md` frontmatter block.
74
- - `apltk validate-openai-agent-config` — validate every `agents/openai.yaml` interface config.
75
- - `apltk codex` — install the current toolkit into the local Codex skills directory.
76
67
 
77
- ## Core Business Flow
68
+ ## Project Business Goals
78
69
 
79
70
  This project enables users to manage and run reusable automation workflows.
71
+ It solves the problem of scattered, inconsistent automation scripts by providing a unified catalog of versioned, validated skills.
72
+
73
+ ## Project Documentation Index
74
+
75
+ ### Features (`docs/features/`)
76
+
77
+ - `docs/features/skill-management.md` — skill creation, editing, and lifecycle management
78
+ - `docs/features/validation.md` — skill and configuration validation workflows
79
+
80
+ ### Architecture (`docs/architecture/`)
81
+
82
+ - `docs/architecture/skill-system.md` — skill loading, resolution, and execution model
83
+ - `docs/architecture/validation-pipeline.md` — validation pipeline design
84
+
85
+ ### Principles (`docs/principles/`)
86
+
87
+ - `docs/principles/naming-conventions.md` — file and identifier naming rules
88
+ - `docs/principles/dependency-management.md` — internal and external dependency rules
89
+
90
+ ### Root Documents
80
91
 
81
- - Users can create a workflow from a local template.
82
- - Users can update an existing workflow configuration.
83
- - Users can validate workflow inputs before execution.
84
- - Users can run the workflow and inspect the result.
92
+ - `README.md` project overview and quick start
85
93
  ```
86
94
 
87
95
  ## Workflow
88
96
 
89
- ### 1) Build factual understanding first
97
+ ### 1) Build factual understanding
90
98
 
91
- - Confirm whether `AGENTS.md/CLAUDE.md` exists.
92
- - Read the repository before writing:
93
- - root docs (`README`, contribution docs, design docs)
94
- - key source directories and entry points
95
- - repository command surfaces such as `package.json`, `bin/`, `scripts/`, `Makefile`, `justfile`, or equivalent task runners
96
- - user-facing features such as commands, routes, workflows, tasks, or installable modules
97
- - representative modules that show coding patterns
98
- - test directories and tooling/config files
99
- - Infer architecture and conventions from real code, not assumptions.
100
- - Build a concrete inventory of all currently implemented capabilities before drafting `Core business flow`.
101
- - Build a separate inventory of stable, repository-specific commands before drafting `Common Commands`.
99
+ - Read the repository entry points, configuration, and command surfaces (`package.json`, `bin/`, `scripts/`, `Makefile`, etc.).
100
+ - If standardized project documentation exists under `docs/`, read `docs/features/`, `docs/architecture/`, and `docs/principles/` to understand the documented capabilities and to build the index.
101
+ - If `docs/` does not exist or is incomplete, read the source code directly to extract business goals and common commands.
102
+ - Build a concrete inventory of:
103
+ - Every stable, repository-specific command.
104
+ - The project's macro business purpose (from docs, README, or inferred from the codebase's capabilities).
105
+ - Every file under `docs/` that should appear in the index.
102
106
 
103
- ### 2) Create AGENTS.md/CLAUDE.md when missing
107
+ ### 2) Extract macro business goals
104
108
 
105
- When `AGENTS.md/CLAUDE.md` is absent:
109
+ - Derive the project's business purpose from:
110
+ 1. Existing documentation (`README.md`, `docs/features/`) if available.
111
+ 2. The set of user-facing capabilities found in the codebase.
112
+ - Write at the product level: what problem does this solve? who uses it? what outcome does it produce?
113
+ - Do not restate implementation details or list features; the document index already points to feature docs.
106
114
 
107
- - Create a new root-level `AGENTS.md/CLAUDE.md`.
108
- - Document architecture, business flow, purpose, and coding conventions from observed facts.
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
- - Document the repository's common commands from observed command entry points and docs.
111
- - Write `Core business flow` as one summary sentence followed by unordered bullets that cover every current capability found in the repository.
112
- - Write `Common commands` as short bullets in the style of ``- `command` — when to use it.``.
113
- - Keep language specific to this repository; avoid generic boilerplate.
115
+ ### 3) Write or update AGENTS.md/CLAUDE.md
114
116
 
115
- ### 3) Align AGENTS.md/CLAUDE.md when drift is detected
117
+ - If `AGENTS.md` exists, update it. If `CLAUDE.md` exists, update it. If both exist, update both with identical content for the three sections.
118
+ - If neither exists, check for the repository's convention and create the appropriate file.
119
+ - Write only the three sections: Common Development Commands, Project Business Goals, Project Documentation Index.
120
+ - Do not add architecture descriptions, code style guidance, business flows, or any content that belongs in `docs/`.
116
121
 
117
- When `AGENTS.md/CLAUDE.md` exists but is outdated:
122
+ ### 4) Maintain the project documentation index
118
123
 
119
- - Re-read changed or high-impact modules.
120
- - Update only sections that no longer match reality.
121
- - Expand or trim the `Core business flow` bullet list so it still covers all currently implemented capabilities.
122
- - Expand, trim, or replace the `Common Commands` list whenever command entry points or recommended workflows have changed.
123
- - Preserve correct existing content and structure where possible.
124
+ - Enumerate every file under `docs/features/`, `docs/architecture/`, and `docs/principles/`.
125
+ - For each file, write a one-line description of what it covers.
126
+ - List root-level documentation files (`README.md`, `CONTRIBUTING.md`, `SECURITY.md`, `CHANGELOG.md`, etc.) that exist in the repository.
127
+ - Keep the index synchronized with the actual files on disk; remove entries for deleted files and add entries for new files.
124
128
 
125
- ### 4) Quality checks before finishing
129
+ ### 5) Quality checks before finishing
126
130
 
127
- - Ensure every statement in `AGENTS.md/CLAUDE.md` is traceable to current repository files.
128
- - Remove stale paths, renamed components, and obsolete workflows.
129
- - Remove stale commands, flags, or task names that no longer exist.
130
- - Verify every command in `Common Commands` is either documented in repository docs or directly supported by the current codebase.
131
- - Verify the `Core business flow` section includes a one-sentence summary plus unordered bullets for all currently existing capabilities; do not leave major functions unlisted.
132
- - Verify `Core project purpose` explains the repository's macro goal and does not merely restate the feature inventory.
133
- - Keep instructions concise, concrete, and operational for future agents.
131
+ - Verify every command in Common Development Commands is traceable to a repository entry point.
132
+ - Verify Project Business Goals describes the macro purpose, not a feature list.
133
+ - Verify every file listed in the Documentation Index exists on disk.
134
+ - Verify the index covers all files under `docs/features/`, `docs/architecture/`, and `docs/principles/`.
135
+ - If both `AGENTS.md` and `CLAUDE.md` exist, verify their content is consistent.
136
+ - Remove any sections beyond the three required ones.
134
137
 
135
138
  ## Writing Rules
136
139
 
137
- - Use clear headings and short bullet points.
138
- - Prefer repository terms already used in code/docs.
139
- - Do not include speculative architecture claims.
140
- - In `Core project purpose`, describe why the project exists at a macro level; for example, what user or business problem it solves, not a restatement of `Core business flow`.
141
- - In `Core business flow`, prefer many short bullets over a few vague bullets; when the product grows, add more bullets so the list remains exhaustive.
142
- - In `Common Commands`, prefer the smallest useful set of high-signal commands over an exhaustive dump of every helper script.
143
- - Keep the document focused on how agents should understand and operate in this project.
140
+ - Keep the document concise and scannable.
141
+ - Use the repository's own terminology.
142
+ - Do not speculate about architecture or implementation details.
143
+ - In Project Business Goals, describe the macro purpose; for example, the user or business problem the project solves.
144
+ - In the Documentation Index, prefer descriptive one-line summaries over bare file paths.
145
+ - When both `AGENTS.md` and `CLAUDE.md` exist, keep their content identical for the three sections.
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Maintain Project Constraints"
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."
3
+ short_description: "Create and maintain AGENTS.md/CLAUDE.md with business goals, common commands, and project doc index"
4
+ default_prompt: "Use $maintain-project-constraints to read the codebase or existing project docs, extract the project's macro business goals, inventory common development commands, enumerate all standardized docs under docs/features/, docs/architecture/, and docs/principles/, then write or update AGENTS.md/CLAUDE.md with exactly three sections: Common Development Commands, Project Business Goals, and Project Documentation Index. If both AGENTS.md and CLAUDE.md exist, keep their content consistent."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laitszkin/apollo-toolkit",
3
- "version": "3.8.2",
3
+ "version": "3.8.3",
4
4
  "description": "Apollo Toolkit npm installer for managed skill copying across Codex, OpenClaw, and Trae.",
5
5
  "license": "MIT",
6
6
  "author": "LaiTszKin",