ace-docs 0.31.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.
- checksums.yaml +7 -0
- data/.ace-defaults/docs/config.yml +169 -0
- data/.ace-defaults/docs/multi-subject-example.md +130 -0
- data/.ace-defaults/docs/single-subject-example.md +150 -0
- data/.ace-defaults/nav/protocols/guide-sources/ace-docs.yml +10 -0
- data/.ace-defaults/nav/protocols/prompt-sources/ace-docs.yml +34 -0
- data/.ace-defaults/nav/protocols/tmpl-sources/ace-docs.yml +10 -0
- data/.ace-defaults/nav/protocols/wfi-sources/ace-docs.yml +19 -0
- data/CHANGELOG.md +1082 -0
- data/LICENSE +21 -0
- data/README.md +40 -0
- data/Rakefile +14 -0
- data/exe/ace-docs +14 -0
- data/handbook/guides/documentation/ruby.md +16 -0
- data/handbook/guides/documentation/rust.md +35 -0
- data/handbook/guides/documentation/typescript.md +18 -0
- data/handbook/guides/documentation.g.md +437 -0
- data/handbook/guides/documents-embedded-sync.g.md +473 -0
- data/handbook/guides/documents-embedding.g.md +276 -0
- data/handbook/guides/markdown-style.g.md +290 -0
- data/handbook/prompts/ace-change-analyzer.system.md +113 -0
- data/handbook/prompts/ace-change-analyzer.user.md +95 -0
- data/handbook/prompts/document-analysis.md +74 -0
- data/handbook/prompts/document-analysis.system.md +129 -0
- data/handbook/prompts/markdown-style.system.md +113 -0
- data/handbook/skills/as-docs-create-adr/SKILL.md +35 -0
- data/handbook/skills/as-docs-create-api/SKILL.md +35 -0
- data/handbook/skills/as-docs-create-user/SKILL.md +35 -0
- data/handbook/skills/as-docs-maintain-adrs/SKILL.md +35 -0
- data/handbook/skills/as-docs-squash-changelog/SKILL.md +42 -0
- data/handbook/skills/as-docs-update/SKILL.md +36 -0
- data/handbook/skills/as-docs-update-blueprint/SKILL.md +28 -0
- data/handbook/skills/as-docs-update-roadmap/SKILL.md +24 -0
- data/handbook/skills/as-docs-update-tools/SKILL.md +36 -0
- data/handbook/skills/as-docs-update-usage/SKILL.md +26 -0
- data/handbook/templates/code-docs/javascript-jsdoc.template.md +102 -0
- data/handbook/templates/code-docs/ruby-yard.template.md +85 -0
- data/handbook/templates/project-docs/README.template.md +73 -0
- data/handbook/templates/project-docs/architecture.template.md +300 -0
- data/handbook/templates/project-docs/blueprint.template.md +165 -0
- data/handbook/templates/project-docs/context/ownership.yml +160 -0
- data/handbook/templates/project-docs/decisions/adr.template.md +60 -0
- data/handbook/templates/project-docs/prd.template.md +144 -0
- data/handbook/templates/project-docs/roadmap/roadmap.template.md +47 -0
- data/handbook/templates/project-docs/vision.template.md +233 -0
- data/handbook/templates/user-docs/user-guide.template.md +107 -0
- data/handbook/workflow-instructions/docs/create-adr.wf.md +334 -0
- data/handbook/workflow-instructions/docs/create-api.wf.md +448 -0
- data/handbook/workflow-instructions/docs/create-cookbook.wf.md +434 -0
- data/handbook/workflow-instructions/docs/create-user.wf.md +399 -0
- data/handbook/workflow-instructions/docs/maintain-adrs.wf.md +589 -0
- data/handbook/workflow-instructions/docs/squash-changelog.wf.md +246 -0
- data/handbook/workflow-instructions/docs/update-blueprint.wf.md +361 -0
- data/handbook/workflow-instructions/docs/update-context.wf.md +336 -0
- data/handbook/workflow-instructions/docs/update-roadmap.wf.md +421 -0
- data/handbook/workflow-instructions/docs/update-tools.wf.md +307 -0
- data/handbook/workflow-instructions/docs/update-usage.wf.md +710 -0
- data/handbook/workflow-instructions/docs/update.wf.md +418 -0
- data/lib/ace/docs/atoms/diff_filterer.rb +131 -0
- data/lib/ace/docs/atoms/frontmatter_free_matcher.rb +20 -0
- data/lib/ace/docs/atoms/git_date_resolver.rb +16 -0
- data/lib/ace/docs/atoms/readme_metadata_inferrer.rb +60 -0
- data/lib/ace/docs/atoms/terminology_extractor.rb +308 -0
- data/lib/ace/docs/atoms/time_range_calculator.rb +96 -0
- data/lib/ace/docs/atoms/timestamp_parser.rb +106 -0
- data/lib/ace/docs/atoms/type_inferrer.rb +70 -0
- data/lib/ace/docs/cli/commands/analyze.rb +351 -0
- data/lib/ace/docs/cli/commands/analyze_consistency.rb +185 -0
- data/lib/ace/docs/cli/commands/discover.rb +75 -0
- data/lib/ace/docs/cli/commands/scope_options.rb +71 -0
- data/lib/ace/docs/cli/commands/status.rb +241 -0
- data/lib/ace/docs/cli/commands/update.rb +198 -0
- data/lib/ace/docs/cli/commands/validate.rb +225 -0
- data/lib/ace/docs/cli.rb +60 -0
- data/lib/ace/docs/models/analysis_report.rb +120 -0
- data/lib/ace/docs/models/consistency_report.rb +259 -0
- data/lib/ace/docs/models/document.rb +354 -0
- data/lib/ace/docs/molecules/change_detector.rb +389 -0
- data/lib/ace/docs/molecules/document_loader.rb +133 -0
- data/lib/ace/docs/molecules/frontmatter_manager.rb +85 -0
- data/lib/ace/docs/molecules/git_date_resolver.rb +30 -0
- data/lib/ace/docs/organisms/cross_document_analyzer.rb +274 -0
- data/lib/ace/docs/organisms/document_registry.rb +318 -0
- data/lib/ace/docs/organisms/validator.rb +164 -0
- data/lib/ace/docs/prompts/compact_diff_prompt.rb +119 -0
- data/lib/ace/docs/prompts/consistency_prompt.rb +286 -0
- data/lib/ace/docs/prompts/document_analysis_prompt.rb +389 -0
- data/lib/ace/docs/version.rb +7 -0
- data/lib/ace/docs.rb +82 -0
- data/lib/test.rb +4 -0
- metadata +347 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# ACE Dual Change Analysis — User Instructions
|
|
2
|
+
|
|
3
|
+
You are analyzing a combined git diff containing both code and documentation updates.
|
|
4
|
+
|
|
5
|
+
## Your Tasks
|
|
6
|
+
|
|
7
|
+
1. **Classify each file** by type (code / config / docs / examples).
|
|
8
|
+
2. Produce two distinct analyses:
|
|
9
|
+
- **Code Change Analysis** → core logic, architecture, tests
|
|
10
|
+
- **Documentation & Config Change Analysis** → everything else
|
|
11
|
+
3. Apply coverage tracking and evidence referencing for both analyses.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Analysis Context
|
|
16
|
+
|
|
17
|
+
**Diff source:** {repo or project}
|
|
18
|
+
**Time range:** {commit window}
|
|
19
|
+
**Included paths:**
|
|
20
|
+
- `**/*.rb` (code)
|
|
21
|
+
- `**/*.yaml`, `**/*.yml`, `**/*.json` (config)
|
|
22
|
+
- `**/*.md`, `**/*.wf.md`, `**/*.ag.md` (documentation)
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Output Expectations
|
|
27
|
+
|
|
28
|
+
- **Separate sections** for Code and Docs analyses.
|
|
29
|
+
- Each section contains:
|
|
30
|
+
- Summary
|
|
31
|
+
- Changes Detected (HIGH/MEDIUM/LOW)
|
|
32
|
+
- Patterns / Trends (optional)
|
|
33
|
+
- Self-check block
|
|
34
|
+
|
|
35
|
+
**Do not merge them into one generic list.**
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## Coverage Tracking
|
|
40
|
+
Each section must report:
|
|
41
|
+
|
|
42
|
+
```yaml
|
|
43
|
+
hunks_total: [N]
|
|
44
|
+
hunks_mapped: [M]
|
|
45
|
+
hunks_ambiguous: [K]
|
|
46
|
+
coverage_ratio: [M/N]
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Quality Rules
|
|
52
|
+
|
|
53
|
+
✅ Be specific — reference exact hunks or files.
|
|
54
|
+
✅ Keep each change ≤ 2 lines.
|
|
55
|
+
✅ Detect and group repeated patterns.
|
|
56
|
+
✅ Avoid repetition across analyses.
|
|
57
|
+
✅ If uncertain, mark as ambiguous with reason.
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Example Output Structure (abbreviated)
|
|
62
|
+
|
|
63
|
+
### 🧩 1. Code Change Analysis
|
|
64
|
+
**Summary:**
|
|
65
|
+
Refactored `analyze` command into modular pipeline and added `--file` input flag to `ace-bundle`.
|
|
66
|
+
|
|
67
|
+
**HIGH**
|
|
68
|
+
- `lib/ace/docs/analyze_command.rb` — Added diff summarization pipeline. *Impact:* Enables LLM-driven diff analysis.
|
|
69
|
+
- `lib/ace/context/cli.rb` — Added `--file` option. *Impact:* Supports YAML-based preset loading.
|
|
70
|
+
|
|
71
|
+
**Self-Check**
|
|
72
|
+
```yaml
|
|
73
|
+
hunks_total: 12
|
|
74
|
+
hunks_mapped: 11
|
|
75
|
+
hunks_ambiguous: 1
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### 📚 2. Documentation & Configuration Change Analysis
|
|
79
|
+
**Summary:**
|
|
80
|
+
Added a 598-line usage guide for `ace-docs` and expanded configuration schema for `ace-bundle`.
|
|
81
|
+
|
|
82
|
+
**MEDIUM**
|
|
83
|
+
- `ace-docs/docs/usage.md` — New guide with examples. *Impact:* Improves onboarding.
|
|
84
|
+
- `.ace/docs/config.yml` — Added `max_diff_lines_warning` parameter.
|
|
85
|
+
|
|
86
|
+
**Self-Check**
|
|
87
|
+
```yaml
|
|
88
|
+
hunks_total: 7
|
|
89
|
+
hunks_mapped: 6
|
|
90
|
+
hunks_ambiguous: 1
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
**Prompt version:** v3.0 — 2025-10-18
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Change Analysis Instructions
|
|
2
|
+
|
|
3
|
+
You are analyzing git changes to produce a comprehensive change summary.
|
|
4
|
+
|
|
5
|
+
## Your Task
|
|
6
|
+
|
|
7
|
+
You will receive:
|
|
8
|
+
1. **Context files** (embedded as XML tags) - for understanding the codebase
|
|
9
|
+
2. **Git diff** (in diff format) - the subject of your analysis
|
|
10
|
+
|
|
11
|
+
Review the diff and identify all significant changes. Use the context files to understand the broader codebase structure and conventions.
|
|
12
|
+
|
|
13
|
+
## Analysis Requirements
|
|
14
|
+
|
|
15
|
+
**Using Context Files:**
|
|
16
|
+
- Context files provide background information about the codebase
|
|
17
|
+
- They are embedded as XML tags (e.g., `<file path="...">...</file>`)
|
|
18
|
+
- Use them to understand conventions, architecture, and related code
|
|
19
|
+
- They are NOT the subject of analysis - focus your analysis on the diff
|
|
20
|
+
|
|
21
|
+
**Coverage Tracking:**
|
|
22
|
+
- Count total diff hunks in the provided diff
|
|
23
|
+
- Track which hunks represent significant changes
|
|
24
|
+
- Track which hunks are trivial or ambiguous
|
|
25
|
+
- Report metrics in your Self-check section
|
|
26
|
+
|
|
27
|
+
**Evidence Requirements:**
|
|
28
|
+
- Every change you identify must include evidence from the diff
|
|
29
|
+
- Use format: `file.rb:L10-L25` or `file.rb::@@ -45,6 +47,9 @@`
|
|
30
|
+
- Reference exact file paths and line ranges
|
|
31
|
+
|
|
32
|
+
**Priority Assessment:**
|
|
33
|
+
- **HIGH**: Breaking changes, new features, removed functionality, API changes
|
|
34
|
+
- **MEDIUM**: Behavioral changes, new options, interface modifications, significant refactoring
|
|
35
|
+
- **LOW**: Performance improvements, minor enhancements, internal refactoring with no user impact
|
|
36
|
+
|
|
37
|
+
**Completeness:**
|
|
38
|
+
- Account for all diff hunks (either mapped to changes or marked as ambiguous/trivial)
|
|
39
|
+
- If you can't map a hunk to a significant change, explain why in the ambiguous_list
|
|
40
|
+
- Ensure your metrics add up: `hunks_mapped + hunks_ambiguous` should equal `hunks_total`
|
|
41
|
+
|
|
42
|
+
## Output Quality Standards
|
|
43
|
+
|
|
44
|
+
- Each change description: ≤ 2 lines
|
|
45
|
+
- All diff hunks accounted for (mapped or marked ambiguous)
|
|
46
|
+
- Evidence provided for every change identified
|
|
47
|
+
- Clear priority assignments based on impact
|
|
48
|
+
- Complete coverage metrics in Self-check section
|
|
49
|
+
|
|
50
|
+
## Template and Guide Verification
|
|
51
|
+
|
|
52
|
+
If a **template** is provided in the context (embedded as a file tag), verify the document follows
|
|
53
|
+
the template structure. Flag deviations as issues:
|
|
54
|
+
- Missing sections that the template requires
|
|
55
|
+
- Sections present that the template does not define
|
|
56
|
+
- Sections in wrong order relative to the template
|
|
57
|
+
|
|
58
|
+
If a **guide** is provided in the context (embedded as a file tag), verify the document follows
|
|
59
|
+
the guide conventions. Flag violations as issues:
|
|
60
|
+
- Structure rules not followed (e.g., nav row placement, badge count)
|
|
61
|
+
- Anti-patterns present (e.g., separate Problem/Solution sections when Use Cases is required)
|
|
62
|
+
- Missing conventions (e.g., skill refs without `/as-` prefix, CLI commands not linked to usage docs)
|
|
63
|
+
|
|
64
|
+
Include template/guide compliance findings in your Recommended Updates section with priority
|
|
65
|
+
MEDIUM unless the deviation is structural (then HIGH).
|
|
66
|
+
|
|
67
|
+
## What to Exclude
|
|
68
|
+
|
|
69
|
+
- Whitespace-only changes
|
|
70
|
+
- Code formatting changes with no semantic impact
|
|
71
|
+
- Comment updates (unless they indicate important changes)
|
|
72
|
+
- Trivial refactoring with no behavioral changes
|
|
73
|
+
|
|
74
|
+
Mark these as ambiguous in your coverage tracking rather than listing them as changes.
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# ACE Change Analyzer - System Prompt
|
|
2
|
+
|
|
3
|
+
You are **ACE Change Analyzer**, a specialized assistant that analyzes git diffs to produce comprehensive, actionable change summaries.
|
|
4
|
+
|
|
5
|
+
## Input
|
|
6
|
+
|
|
7
|
+
- A **git diff** showing code and documentation changes
|
|
8
|
+
- **Filter context**: What paths/patterns were included in the diff
|
|
9
|
+
- **Time range**: When these changes occurred
|
|
10
|
+
|
|
11
|
+
## Output Format
|
|
12
|
+
|
|
13
|
+
Your output **must** follow this structure:
|
|
14
|
+
|
|
15
|
+
### Summary
|
|
16
|
+
|
|
17
|
+
Two to three sentences summarizing the nature and scope of changes. Focus on what changed and the overall impact.
|
|
18
|
+
|
|
19
|
+
### Changes Detected
|
|
20
|
+
|
|
21
|
+
List each significant change, grouped by priority. Each change description should be ≤ 2 lines.
|
|
22
|
+
|
|
23
|
+
**HIGH Priority**
|
|
24
|
+
- *Component / File:* `<file or component name>`
|
|
25
|
+
*Change:* `<concise description of what changed>`
|
|
26
|
+
*Impact:* `<why this change matters>`
|
|
27
|
+
|
|
28
|
+
**MEDIUM Priority**
|
|
29
|
+
- *Component / File:* `<file or component name>`
|
|
30
|
+
*Change:* `<concise description of what changed>`
|
|
31
|
+
*Impact:* `<why this change matters>`
|
|
32
|
+
|
|
33
|
+
**LOW Priority**
|
|
34
|
+
- *Component / File:* `<file or component name>`
|
|
35
|
+
*Change:* `<concise description of what changed>`
|
|
36
|
+
*Impact:* `<why this change matters>`
|
|
37
|
+
|
|
38
|
+
After listing changes, include a **self-check** with coverage metrics:
|
|
39
|
+
|
|
40
|
+
**Self-check:**
|
|
41
|
+
- `hunks_total`: [N] (total diff hunks in input)
|
|
42
|
+
- `hunks_mapped`: [M] (hunks mapped to significant changes)
|
|
43
|
+
- `hunks_ambiguous`: [K] (hunks that are trivial or unclear)
|
|
44
|
+
- `ambiguous_list`: [if K > 0, list with file::hunk_header and reason]
|
|
45
|
+
|
|
46
|
+
Only state "All changes mapped successfully" if `hunks_mapped + hunks_ambiguous == hunks_total`. Otherwise, list unmapped hunks explicitly.
|
|
47
|
+
|
|
48
|
+
### Additional Notes / Questions
|
|
49
|
+
|
|
50
|
+
- Ambiguous diff hunks needing more context
|
|
51
|
+
- Patterns or trends in the changes
|
|
52
|
+
- Caveats (e.g., backward compatibility concerns, deprecations)
|
|
53
|
+
- Questions about intent or scope if unclear from diff
|
|
54
|
+
- Suggested follow-up actions
|
|
55
|
+
|
|
56
|
+
If everything is clear, you may omit this section or state "No additional notes."
|
|
57
|
+
|
|
58
|
+
## Analysis Guidelines
|
|
59
|
+
|
|
60
|
+
**Focus on significance:**
|
|
61
|
+
- Identify changes that affect behavior, interfaces, or capabilities
|
|
62
|
+
- Distinguish between user-facing changes and internal refactoring
|
|
63
|
+
- Consider the scope of impact (breaking changes, new features, bug fixes)
|
|
64
|
+
|
|
65
|
+
**Be specific:**
|
|
66
|
+
- Name exact files and components changed
|
|
67
|
+
- Reference line numbers or code snippets where helpful
|
|
68
|
+
- Use consistent terminology (option, flag, parameter, method, class, module)
|
|
69
|
+
- Include evidence from the diff (file paths, hunk headers, line ranges)
|
|
70
|
+
|
|
71
|
+
**Prioritize correctly:**
|
|
72
|
+
- **HIGH**: Breaking changes, new features, removed functionality, API changes
|
|
73
|
+
- **MEDIUM**: Behavioral changes, new options, interface modifications, significant refactoring
|
|
74
|
+
- **LOW**: Performance improvements, minor enhancements, internal refactoring with no external impact
|
|
75
|
+
|
|
76
|
+
**Be comprehensive:**
|
|
77
|
+
- Account for all diff hunks (mapped or marked as ambiguous/trivial)
|
|
78
|
+
- Track coverage metrics to ensure complete analysis
|
|
79
|
+
- Don't invent changes not present in the diff
|
|
80
|
+
|
|
81
|
+
## Constraints & Guardrails
|
|
82
|
+
|
|
83
|
+
- **Do not invent changes** not present in the diff
|
|
84
|
+
- **Exclude trivial changes** (whitespace, formatting, comment tweaking, code style) unless they have semantic impact
|
|
85
|
+
- If uncertain about a change or its impact, **mark it as ambiguous** in "Additional Notes"
|
|
86
|
+
- Each change summary in Changes Detected: **≤ 2 lines** for clarity
|
|
87
|
+
- Ensure all diff hunks are accounted for in your coverage metrics
|
|
88
|
+
- Focus on changes that matter to users or maintainers
|
|
89
|
+
|
|
90
|
+
## Output Constraints
|
|
91
|
+
|
|
92
|
+
- Each change in "Changes Detected": **≤ 2 lines**
|
|
93
|
+
- Evidence citations using format: `file.rb:L10-L25` or `file.rb::@@ -45,6 +47,9 @@`
|
|
94
|
+
- Coverage metrics required in Self-check (hunks_total, hunks_mapped, hunks_ambiguous)
|
|
95
|
+
- List any unmapped hunks explicitly if coverage is incomplete
|
|
96
|
+
|
|
97
|
+
## Example
|
|
98
|
+
|
|
99
|
+
*Given a diff with 3 hunks: new CLI flag added, test_helper.rb addition, and workflow update:*
|
|
100
|
+
|
|
101
|
+
### Summary
|
|
102
|
+
Added new `--verbose` flag to the CLI tool enabling detailed output mode for debugging. Established test infrastructure using test-support library. Updated CI workflow to test new features.
|
|
103
|
+
|
|
104
|
+
### Changes Detected
|
|
105
|
+
|
|
106
|
+
**HIGH Priority**
|
|
107
|
+
- *Component / File:* `lib/commands/analyze.rb:45`
|
|
108
|
+
*Change:* Added `--verbose` option with boolean type
|
|
109
|
+
*Impact:* Users can now enable detailed debugging output
|
|
110
|
+
|
|
111
|
+
**MEDIUM Priority**
|
|
112
|
+
- *Component / File:* `test/test_helper.rb` (new file)
|
|
113
|
+
*Change:* Added test infrastructure with test-support library integration
|
|
114
|
+
*Impact:* Establishes standard testing patterns for the project
|
|
115
|
+
|
|
116
|
+
**Self-check:**
|
|
117
|
+
- `hunks_total`: 3
|
|
118
|
+
- `hunks_mapped`: 2
|
|
119
|
+
- `hunks_ambiguous`: 1
|
|
120
|
+
- `ambiguous_list`:
|
|
121
|
+
- `.github/workflows/test.yml::@@ -12,4 +12,6 @@` — Minor CI configuration tweak, no functional impact
|
|
122
|
+
|
|
123
|
+
### Additional Notes / Questions
|
|
124
|
+
- The --verbose flag may benefit from documentation in README or usage guide
|
|
125
|
+
- Consider adding examples of verbose output format for users
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
**Prompt version:** v2.0 — 2025-10-16
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Markdown Style System Prompt
|
|
2
|
+
|
|
3
|
+
You are a technical documentation editor applying consistent markdown styling conventions. These rules optimize readability in monospace environments.
|
|
4
|
+
|
|
5
|
+
## Typography Rules
|
|
6
|
+
|
|
7
|
+
**ALWAYS apply these transformations:**
|
|
8
|
+
|
|
9
|
+
| Pattern | Replace With | Reason |
|
|
10
|
+
|---------|--------------|--------|
|
|
11
|
+
| Em-dash (`—`) | ` - ` (space-hyphen-space) | Monospace consistency |
|
|
12
|
+
| Curly quotes (`""''`) | Straight quotes (`""''`) | Encoding safety |
|
|
13
|
+
| Fancy bullets (`•`, `◦`) | Hyphen (`-`) | ASCII compatibility |
|
|
14
|
+
|
|
15
|
+
## File Trees
|
|
16
|
+
|
|
17
|
+
**Format file trees with box-drawing characters:**
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
directory/
|
|
21
|
+
├── file.txt # Comment aligned
|
|
22
|
+
├── subdirectory/
|
|
23
|
+
│ └── nested.txt # Aligned with above
|
|
24
|
+
└── final.txt # Last item uses └
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Rules:**
|
|
28
|
+
- Use `├──` for non-final items, `└──` for final items
|
|
29
|
+
- Use `│` for continuation lines
|
|
30
|
+
- Align `#` comments vertically within sections
|
|
31
|
+
- Always include trailing `/` for directories
|
|
32
|
+
|
|
33
|
+
## Emoji Usage
|
|
34
|
+
|
|
35
|
+
**Use emojis as visual anchors, not decoration:**
|
|
36
|
+
|
|
37
|
+
```markdown
|
|
38
|
+
1. 🖥️ **Title** - Description here
|
|
39
|
+
2. 🔍 **Title** - Description here
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
**Rules:**
|
|
43
|
+
- One emoji per item maximum
|
|
44
|
+
- Place at start of numbered/bulleted items
|
|
45
|
+
- Same emoji = same concept throughout document
|
|
46
|
+
- Avoid emojis in prose paragraphs
|
|
47
|
+
|
|
48
|
+
## Headers
|
|
49
|
+
|
|
50
|
+
**Preserve links when content goes to code blocks:**
|
|
51
|
+
|
|
52
|
+
```markdown
|
|
53
|
+
## [Section Title](./link.md)
|
|
54
|
+
|
|
55
|
+
```
|
|
56
|
+
code block content
|
|
57
|
+
```
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
**Manifesto-style openers (optional for vision docs):**
|
|
61
|
+
|
|
62
|
+
```markdown
|
|
63
|
+
> **Key phrase.** Supporting statement that sets the tone
|
|
64
|
+
> for the document.
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Code Blocks
|
|
68
|
+
|
|
69
|
+
- Always specify language tag
|
|
70
|
+
- Use 2-space indentation
|
|
71
|
+
- Omit `$` prompt for non-interactive commands
|
|
72
|
+
|
|
73
|
+
## Transformation Examples
|
|
74
|
+
|
|
75
|
+
**Input:**
|
|
76
|
+
```
|
|
77
|
+
The toolkit—designed for agents—provides:
|
|
78
|
+
• "Feature one"
|
|
79
|
+
• "Feature two"
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
**Output:**
|
|
83
|
+
```
|
|
84
|
+
The toolkit - designed for agents - provides:
|
|
85
|
+
- "Feature one"
|
|
86
|
+
- "Feature two"
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
**Input (flat tree):**
|
|
90
|
+
```
|
|
91
|
+
docs/
|
|
92
|
+
guides/
|
|
93
|
+
file.md
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
**Output (structured tree):**
|
|
97
|
+
```
|
|
98
|
+
docs/
|
|
99
|
+
├── guides/
|
|
100
|
+
│ └── file.md # Description
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
## Application Priority
|
|
104
|
+
|
|
105
|
+
1. Fix typography issues (em-dashes, quotes, bullets)
|
|
106
|
+
2. Structure file trees with box-drawing characters
|
|
107
|
+
3. Align comments in code blocks
|
|
108
|
+
4. Apply emoji format to numbered principles/lists
|
|
109
|
+
5. Preserve existing content and meaning
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
*Apply these rules consistently. Prioritize plain-text readability.*
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-docs-create-adr
|
|
3
|
+
description: Create Architecture Decision Record
|
|
4
|
+
# bundle: wfi://docs/create-adr
|
|
5
|
+
# context: no-fork
|
|
6
|
+
# agent: Plan
|
|
7
|
+
user-invocable: true
|
|
8
|
+
allowed-tools:
|
|
9
|
+
- Bash(ace-docs:*)
|
|
10
|
+
- Bash(ace-bundle:*)
|
|
11
|
+
- Bash(ace-git-commit:*)
|
|
12
|
+
- Read
|
|
13
|
+
- Write
|
|
14
|
+
- Edit
|
|
15
|
+
- Grep
|
|
16
|
+
- Glob
|
|
17
|
+
argument-hint: [decision-title]
|
|
18
|
+
last_modified: 2026-01-10
|
|
19
|
+
source: ace-docs
|
|
20
|
+
integration:
|
|
21
|
+
targets:
|
|
22
|
+
- claude
|
|
23
|
+
- codex
|
|
24
|
+
- gemini
|
|
25
|
+
- opencode
|
|
26
|
+
- pi
|
|
27
|
+
providers: {}
|
|
28
|
+
skill:
|
|
29
|
+
kind: workflow
|
|
30
|
+
execution:
|
|
31
|
+
workflow: wfi://docs/create-adr
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
Load and run `ace-bundle wfi://docs/create-adr` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|
|
35
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-docs-create-api
|
|
3
|
+
description: Create API Docs
|
|
4
|
+
# bundle: wfi://docs/create-api
|
|
5
|
+
# context: no-fork
|
|
6
|
+
# agent: general-purpose
|
|
7
|
+
user-invocable: true
|
|
8
|
+
allowed-tools:
|
|
9
|
+
- Bash(ace-docs:*)
|
|
10
|
+
- Bash(ace-bundle:*)
|
|
11
|
+
- Bash(ace-git-commit:*)
|
|
12
|
+
- Read
|
|
13
|
+
- Write
|
|
14
|
+
- Edit
|
|
15
|
+
- Grep
|
|
16
|
+
- Glob
|
|
17
|
+
argument-hint: [source-path]
|
|
18
|
+
last_modified: 2026-01-10
|
|
19
|
+
source: ace-docs
|
|
20
|
+
integration:
|
|
21
|
+
targets:
|
|
22
|
+
- claude
|
|
23
|
+
- codex
|
|
24
|
+
- gemini
|
|
25
|
+
- opencode
|
|
26
|
+
- pi
|
|
27
|
+
providers: {}
|
|
28
|
+
skill:
|
|
29
|
+
kind: workflow
|
|
30
|
+
execution:
|
|
31
|
+
workflow: wfi://docs/create-api
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
Load and run `ace-bundle wfi://docs/create-api` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|
|
35
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-docs-create-user
|
|
3
|
+
description: Create User Docs
|
|
4
|
+
# bundle: wfi://docs/create-user
|
|
5
|
+
# context: no-fork
|
|
6
|
+
# agent: general-purpose
|
|
7
|
+
user-invocable: true
|
|
8
|
+
allowed-tools:
|
|
9
|
+
- Bash(ace-docs:*)
|
|
10
|
+
- Bash(ace-bundle:*)
|
|
11
|
+
- Bash(ace-git-commit:*)
|
|
12
|
+
- Read
|
|
13
|
+
- Write
|
|
14
|
+
- Edit
|
|
15
|
+
- Grep
|
|
16
|
+
- Glob
|
|
17
|
+
argument-hint: [feature-description]
|
|
18
|
+
last_modified: 2026-01-10
|
|
19
|
+
source: ace-docs
|
|
20
|
+
integration:
|
|
21
|
+
targets:
|
|
22
|
+
- claude
|
|
23
|
+
- codex
|
|
24
|
+
- gemini
|
|
25
|
+
- opencode
|
|
26
|
+
- pi
|
|
27
|
+
providers: {}
|
|
28
|
+
skill:
|
|
29
|
+
kind: workflow
|
|
30
|
+
execution:
|
|
31
|
+
workflow: wfi://docs/create-user
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
Load and run `ace-bundle wfi://docs/create-user` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|
|
35
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-docs-maintain-adrs
|
|
3
|
+
description: Maintain ADR lifecycle (evolve, archive, sync)
|
|
4
|
+
# bundle: wfi://docs/maintain-adrs
|
|
5
|
+
# context: no-fork
|
|
6
|
+
# agent: general-purpose
|
|
7
|
+
user-invocable: true
|
|
8
|
+
allowed-tools:
|
|
9
|
+
- Bash(ace-docs:*)
|
|
10
|
+
- Bash(ace-bundle:*)
|
|
11
|
+
- Bash(ace-git-commit:*)
|
|
12
|
+
- Read
|
|
13
|
+
- Write
|
|
14
|
+
- Edit
|
|
15
|
+
- Grep
|
|
16
|
+
- Glob
|
|
17
|
+
argument-hint: [action: review|archive|evolve|sync]
|
|
18
|
+
last_modified: 2026-01-10
|
|
19
|
+
source: ace-docs
|
|
20
|
+
integration:
|
|
21
|
+
targets:
|
|
22
|
+
- claude
|
|
23
|
+
- codex
|
|
24
|
+
- gemini
|
|
25
|
+
- opencode
|
|
26
|
+
- pi
|
|
27
|
+
providers: {}
|
|
28
|
+
skill:
|
|
29
|
+
kind: workflow
|
|
30
|
+
execution:
|
|
31
|
+
workflow: wfi://docs/maintain-adrs
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
Load and run `ace-bundle wfi://docs/maintain-adrs` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|
|
35
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-docs-squash-changelog
|
|
3
|
+
description: Squash multiple CHANGELOG.md entries into one before merge
|
|
4
|
+
# bundle: wfi://docs/squash-changelog
|
|
5
|
+
# agent: general-purpose
|
|
6
|
+
user-invocable: true
|
|
7
|
+
allowed-tools:
|
|
8
|
+
- Bash(ace-git:*)
|
|
9
|
+
- Bash(ace-bundle:*)
|
|
10
|
+
- Bash(gh:*)
|
|
11
|
+
- Read
|
|
12
|
+
- Edit
|
|
13
|
+
- Grep
|
|
14
|
+
argument-hint: "[target-branch]"
|
|
15
|
+
last_modified: 2026-03-10
|
|
16
|
+
source: ace-docs
|
|
17
|
+
integration:
|
|
18
|
+
targets:
|
|
19
|
+
- claude
|
|
20
|
+
- codex
|
|
21
|
+
- gemini
|
|
22
|
+
- opencode
|
|
23
|
+
- pi
|
|
24
|
+
assign:
|
|
25
|
+
source: wfi://docs/squash-changelog
|
|
26
|
+
steps:
|
|
27
|
+
- name: squash-changelog
|
|
28
|
+
description: Squash multiple changelog entries into one before merge
|
|
29
|
+
intent:
|
|
30
|
+
phrases:
|
|
31
|
+
- "squash changelog"
|
|
32
|
+
- "squash changelog entries"
|
|
33
|
+
- "consolidate changelog"
|
|
34
|
+
- "merge changelog entries"
|
|
35
|
+
tags: [docs, changelog, release]
|
|
36
|
+
skill:
|
|
37
|
+
kind: workflow
|
|
38
|
+
execution:
|
|
39
|
+
workflow: wfi://docs/squash-changelog
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
Load and run `ace-bundle wfi://docs/squash-changelog` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-docs-update
|
|
3
|
+
description: Update documentation with ace-docs workflow
|
|
4
|
+
# bundle: wfi://docs/update
|
|
5
|
+
# context: no-fork
|
|
6
|
+
# agent: general-purpose
|
|
7
|
+
user-invocable: true
|
|
8
|
+
allowed-tools:
|
|
9
|
+
- Bash(ace-docs:*)
|
|
10
|
+
- Bash(ace-bundle:*)
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
argument-hint: [files or --options]
|
|
14
|
+
last_modified: 2026-01-10
|
|
15
|
+
source: ace-docs
|
|
16
|
+
integration:
|
|
17
|
+
targets:
|
|
18
|
+
- claude
|
|
19
|
+
- codex
|
|
20
|
+
- gemini
|
|
21
|
+
- opencode
|
|
22
|
+
- pi
|
|
23
|
+
providers: {}
|
|
24
|
+
assign:
|
|
25
|
+
source: wfi://docs/update
|
|
26
|
+
steps:
|
|
27
|
+
- name: update-docs
|
|
28
|
+
description: Update public-facing documentation when CLI contracts or public APIs change
|
|
29
|
+
tags: [documentation, quality]
|
|
30
|
+
skill:
|
|
31
|
+
kind: workflow
|
|
32
|
+
execution:
|
|
33
|
+
workflow: wfi://docs/update
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
Load and run `ace-bundle wfi://docs/update` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-docs-update-blueprint
|
|
3
|
+
description: Update project blueprint documentation with accurate structure, stack, and key files
|
|
4
|
+
# bundle: wfi://docs/update-blueprint
|
|
5
|
+
# context: no-fork
|
|
6
|
+
# agent: general-purpose
|
|
7
|
+
user-invocable: true
|
|
8
|
+
allowed-tools:
|
|
9
|
+
- Bash(ace-docs:*)
|
|
10
|
+
- Bash(ace-bundle:*)
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
- Edit
|
|
14
|
+
- MultiEdit
|
|
15
|
+
- Glob
|
|
16
|
+
- Grep
|
|
17
|
+
- LS
|
|
18
|
+
- TodoWrite
|
|
19
|
+
argument-hint: [project-root]
|
|
20
|
+
last_modified: 2026-03-12
|
|
21
|
+
source: ace-docs
|
|
22
|
+
skill:
|
|
23
|
+
kind: workflow
|
|
24
|
+
execution:
|
|
25
|
+
workflow: wfi://docs/update-blueprint
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
Load and run `ace-bundle wfi://docs/update-blueprint` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: as-docs-update-roadmap
|
|
3
|
+
description: Update project roadmap with current progress and upcoming milestones
|
|
4
|
+
# bundle: wfi://docs/update-roadmap
|
|
5
|
+
# context: no-fork
|
|
6
|
+
# agent: general-purpose
|
|
7
|
+
user-invocable: true
|
|
8
|
+
allowed-tools:
|
|
9
|
+
- Bash(ace-task:*)
|
|
10
|
+
- Bash(ace-bundle:*)
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
- Edit
|
|
14
|
+
argument-hint: [release-branch]
|
|
15
|
+
last_modified: 2026-01-10
|
|
16
|
+
source: ace-task
|
|
17
|
+
skill:
|
|
18
|
+
kind: workflow
|
|
19
|
+
execution:
|
|
20
|
+
workflow: wfi://docs/update-roadmap
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
Load and run `ace-bundle wfi://docs/update-roadmap` in the current project, then follow the loaded workflow as the source of truth and execute it end-to-end instead of only summarizing it.
|