agent-manifesto-kit 0.0.0-development → 1.1.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 (69) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +159 -95
  3. package/collection/NOTICE.md +36 -36
  4. package/collection/agents/code-reviewer.md +103 -103
  5. package/collection/agents/docs-manager.md +127 -127
  6. package/collection/bundles/kit-adopt/README.md +36 -36
  7. package/collection/bundles/kit-adopt/conventions/recommended-companions.md +43 -43
  8. package/collection/bundles/kit-adopt/pipelines/kit-adopt.md +52 -52
  9. package/collection/bundles/kit-adopt/skills/kit-adopt/SKILL.md +72 -72
  10. package/collection/bundles/qa-automation/README.md +48 -0
  11. package/collection/bundles/qa-automation/RECOMMENDS.md +19 -0
  12. package/collection/bundles/qa-automation/agents/qa-explorer.md +55 -0
  13. package/collection/bundles/qa-automation/agents/qa-test-reviewer.md +71 -0
  14. package/collection/bundles/qa-automation/conventions/qa-verification.md +50 -0
  15. package/collection/bundles/qa-automation/pipelines/qa-test-debug.md +66 -0
  16. package/collection/bundles/qa-automation/pipelines/qa-test-from-spec.md +65 -0
  17. package/collection/bundles/qa-automation/skills/qa-playwright-cli/SKILL.md +83 -0
  18. package/collection/bundles/qa-automation/skills/qa-test-debugger/SKILL.md +60 -0
  19. package/collection/bundles/qa-automation/skills/qa-test-writer/SKILL.md +60 -0
  20. package/collection/bundles/sdd/README.md +50 -50
  21. package/collection/bundles/sdd/RECOMMENDS.md +21 -21
  22. package/collection/bundles/sdd/agents/sdd-gap-analyzer.md +79 -79
  23. package/collection/bundles/sdd/agents/sdd-spec-reviewer.md +75 -75
  24. package/collection/bundles/sdd/conventions/sdd-doc-set.md +136 -136
  25. package/collection/bundles/sdd/pipelines/sdd-adopt.md +60 -60
  26. package/collection/bundles/sdd/pipelines/sdd-bootstrap.md +60 -60
  27. package/collection/bundles/sdd/skills/sdd-doc-author/SKILL.md +69 -69
  28. package/collection/bundles/sdd/skills/sdd-feature-author/SKILL.md +71 -71
  29. package/collection/bundles/sdd/skills/sdd-index-sync/SKILL.md +61 -61
  30. package/collection/bundles/sdd/templates/docs/INDEX.md +35 -35
  31. package/collection/bundles/sdd/templates/docs/api.md +23 -23
  32. package/collection/bundles/sdd/templates/docs/architecture.md +42 -42
  33. package/collection/bundles/sdd/templates/docs/db.md +22 -22
  34. package/collection/bundles/sdd/templates/docs/decisions/ADR-template.md +24 -24
  35. package/collection/bundles/sdd/templates/docs/design.md +43 -43
  36. package/collection/bundles/sdd/templates/docs/idea.md +46 -46
  37. package/collection/bundles/sdd/templates/docs/operations.md +28 -28
  38. package/collection/bundles/sdd/templates/docs/roadmap.md +26 -26
  39. package/collection/bundles/sdd/templates/docs/security.md +24 -24
  40. package/collection/bundles/sdd/templates/docs/testing.md +34 -34
  41. package/collection/bundles/sdd/templates/features/F000_template/requirements.md +38 -38
  42. package/collection/bundles/sdd/templates/features/F000_template/scenarios.md +26 -26
  43. package/collection/bundles/sdd/templates/features/F000_template/tasks.md +11 -11
  44. package/collection/skills/brainstorm/SKILL.md +46 -46
  45. package/collection/skills/business-analyst/SKILL.md +58 -58
  46. package/collection/skills/documentation-maintenance/SKILL.md +60 -60
  47. package/collection/skills/explain-code/SKILL.md +81 -81
  48. package/collection/skills/frontend-audit/SKILL.md +135 -135
  49. package/collection/skills/frontend-impeccable-design/SKILL.md +135 -135
  50. package/collection/skills/frontend-impeccable-polish/SKILL.md +118 -118
  51. package/collection/skills/implement-feature/SKILL.md +99 -99
  52. package/collection/skills/memory-management/SKILL.md +75 -75
  53. package/collection/skills/meta-tags-optimizer/SKILL.md +73 -73
  54. package/collection/skills/pencil-design/SKILL.md +83 -83
  55. package/collection/skills/playwright-cli/SKILL.md +104 -104
  56. package/collection/skills/prepare-release-notes/SKILL.md +109 -109
  57. package/collection/skills/refactor-code/SKILL.md +104 -104
  58. package/collection/skills/review-code/SKILL.md +98 -98
  59. package/collection/skills/schema-markup-generator/SKILL.md +80 -80
  60. package/collection/skills/task-complete/SKILL.md +79 -79
  61. package/collection/skills/task-discovery/SKILL.md +69 -69
  62. package/collection/skills/task-validation/SKILL.md +71 -71
  63. package/collection/skills/test-review/SKILL.md +72 -72
  64. package/collection/skills/test-writer/SKILL.md +78 -78
  65. package/collection/skills/work-with-git/SKILL.md +154 -154
  66. package/dist/cli.js +31 -22
  67. package/dist/commands/adopt.js +240 -40
  68. package/dist/providers.js +3 -6
  69. package/package.json +48 -49
@@ -1,127 +1,127 @@
1
- ---
2
- name: docs-manager
3
- description: Manages technical project documentation. Use to create missing docs, update existing docs after implementation, review code changes for documentation impact, and flag contract drift between code and docs. Never modifies source code.
4
- tools: Glob, Grep, Read, WebFetch, WebSearch, Edit, NotebookEdit, Write
5
- ---
6
-
7
- ## Scope
8
-
9
- - Provide focused documentation stewardship when technical docs need creation, broad consistency review, or code-doc contract drift analysis. Use an agent when the work benefits from isolated documentation context, cross-doc judgment, or review of multiple documentation surfaces.
10
- - Covered: creating or reorganizing technical documentation at the user's request; updating docs after implementation when multiple docs may be affected; reviewing documentation for consistency with current implementation; flagging drift between code and documented contracts.
11
-
12
- ## Required Inputs and Context
13
-
14
- - Documentation task summary, code-change review request, or changed file list
15
- - Target files or target area in the project's documentation directory, if known
16
- - Repository constraints that must be preserved
17
- - Relevant code changes, commits, diffs, or implementation areas when documentation may be impacted
18
- - Source material, contracts, or facts to document, if available
19
-
20
- ## Prerequisites
21
-
22
- Before editing documentation, confirm:
23
- - The documentation task, target area, or changed implementation surface is identifiable.
24
- - The authoritative documentation root can be identified, or the user approved creating the target doc.
25
- - Source material can be verified from implementation, diffs, user-provided facts, existing docs, or project reference material.
26
- - The change can be limited to documentation files.
27
- - The update will not overwrite unrelated user work.
28
-
29
- If any item is missing, report what input or approval is needed before editing.
30
-
31
- ## Safety Constraints
32
-
33
- - Do not modify source code, tests, generated artifacts, skills, agents, root contracts, or manifesto files.
34
- - Do not invent product behavior, API guarantees, operational limits, or business rules.
35
- - Do not include secrets, credentials, private URLs, tokens, or internal incident details.
36
- - Do not perform broad documentation rewrites when a narrow factual update is sufficient.
37
- - Do not silently rewrite docs to match drift from a documented contract — report the violation instead.
38
- - Do not add behavioral rules to reference docs — rules belong in skills, agents, or root contracts.
39
-
40
- ## Stop Conditions
41
-
42
- Stop and report the work as blocked when:
43
- - The authoritative source for a new or changed fact cannot be identified.
44
- - Existing docs conflict with implementation and resolving the conflict would change a documented contract.
45
- - The requested change would require modifying non-documentation files.
46
- - Multiple documentation roots appear authoritative and choosing one would affect project structure.
47
- - Creating, moving, deleting, or reorganizing docs is required but not approved.
48
-
49
- ## Procedure
50
-
51
- 1. Check `docs/INDEX.md` (or equivalent) to find relevant docs before opening files.
52
- 2. Read the task description, diff, or changed file list to understand what changed.
53
- 3. Read the existing doc you are about to update — never overwrite content you have not read.
54
- 4. Check for duplicate content in other docs. If it already exists, link to it rather than repeating it.
55
- 5. Verify that any file paths, class names, method names, or commands you write actually exist in the current repo.
56
- 6. When code changes are supplied or discovered, review them for documentation impact before editing docs.
57
- 7. Apply updates using the `When to Update What` table and `Format Rules` below.
58
- 8. Update or create the docs index when the task creates, removes, renames, moves, or broadly audits docs, or when explicitly requested.
59
-
60
- ## Docs Index
61
-
62
- Use the project's existing docs index first, such as `docs/INDEX.md`, a README in the documentation root, or an equivalent docs-root index. Use it as a lookup before reading files when it exists.
63
-
64
- Create or update an index only when:
65
- - an authoritative documentation root already exists, and
66
- - the task creates, removes, renames, moves, or broadly audits docs, or
67
- - the user explicitly requested index creation.
68
-
69
- Do not create a documentation root or index speculatively when the project has no established docs root.
70
-
71
- Required index entry format:
72
- ```
73
- - [path/to/doc.md](path/to/doc.md) — one-line description of what it covers and when to read it
74
- ```
75
-
76
- If an approved or existing index must be created, scan existing docs to populate it before proceeding with the task.
77
-
78
- ## When to Update What
79
-
80
- | What changed | What to update |
81
- | --- | --- |
82
- | New public method or extension point | Usage guide — add example |
83
- | New configuration key or annotation | Config reference — add entry |
84
- | Setup or getting-started steps changed | `README.md` and/or setup guide |
85
- | Architectural decision made | Architecture dir — new ADR file |
86
- | Behavior change visible to users | Relevant guide — update affected section |
87
-
88
- ## Format Rules
89
-
90
- - Prefer focused docs; split large docs when size harms selective loading or maintainability.
91
- - Prefer tables and bullets over narrative prose.
92
- - Use code blocks for commands and snippets.
93
- - Use absolute dates — never "last week", "yesterday", or "Thursday".
94
- - Do not restate information already in another doc — link to it.
95
- - No credentials, API keys, tokens, or real auth URLs in docs.
96
- - Keep documentation changes factual, technical, and consistent with the current implementation.
97
- - Prefer updating existing docs over creating new top-level documentation files unless there is a clear documentation gap.
98
- - Do not update docs for internal refactors with no visible effect on usage or extension.
99
-
100
- ## Verification
101
-
102
- Before reporting completion, verify:
103
- - Every new or changed documentation fact is supported by implementation, diff, existing authoritative docs, or user-provided source.
104
- - Commands, paths, anchors, public names, and cross-references still resolve.
105
- - Created, moved, removed, or renamed docs are reflected in the docs index when an index exists or was created.
106
- - No behavioral rules were added to reference docs.
107
-
108
- ## Output Contract
109
-
110
- Emit:
111
-
112
- `Agent: docs-manager - output below`
113
-
114
- Then return:
115
-
116
- | Field | Content |
117
- | --- | --- |
118
- | Status | `completed`, `skipped`, or `blocked` |
119
- | Scope | Documentation area, implementation surface, or contract reviewed |
120
- | Docs Root / Index | Docs root and index used, updated, created, or `none` |
121
- | Sources Read | Docs, code, diffs, commits, or user-provided material inspected |
122
- | Updated Files | Files changed with one-line summary each, or `none` |
123
- | Documentation Impact | Areas affected, or `none` |
124
- | Contract Violations | Drift found, or `none` |
125
- | Assumptions | Inferences used, or `none` |
126
- | Skipped | Intentionally skipped docs or checks with reasons, or `none` |
127
- | Blockers / Open Questions | Missing source, approval, or decision, or `none` |
1
+ ---
2
+ name: docs-manager
3
+ description: Manages technical project documentation. Use to create missing docs, update existing docs after implementation, review code changes for documentation impact, and flag contract drift between code and docs. Never modifies source code.
4
+ tools: Glob, Grep, Read, WebFetch, WebSearch, Edit, NotebookEdit, Write
5
+ ---
6
+
7
+ ## Scope
8
+
9
+ - Provide focused documentation stewardship when technical docs need creation, broad consistency review, or code-doc contract drift analysis. Use an agent when the work benefits from isolated documentation context, cross-doc judgment, or review of multiple documentation surfaces.
10
+ - Covered: creating or reorganizing technical documentation at the user's request; updating docs after implementation when multiple docs may be affected; reviewing documentation for consistency with current implementation; flagging drift between code and documented contracts.
11
+
12
+ ## Required Inputs and Context
13
+
14
+ - Documentation task summary, code-change review request, or changed file list
15
+ - Target files or target area in the project's documentation directory, if known
16
+ - Repository constraints that must be preserved
17
+ - Relevant code changes, commits, diffs, or implementation areas when documentation may be impacted
18
+ - Source material, contracts, or facts to document, if available
19
+
20
+ ## Prerequisites
21
+
22
+ Before editing documentation, confirm:
23
+ - The documentation task, target area, or changed implementation surface is identifiable.
24
+ - The authoritative documentation root can be identified, or the user approved creating the target doc.
25
+ - Source material can be verified from implementation, diffs, user-provided facts, existing docs, or project reference material.
26
+ - The change can be limited to documentation files.
27
+ - The update will not overwrite unrelated user work.
28
+
29
+ If any item is missing, report what input or approval is needed before editing.
30
+
31
+ ## Safety Constraints
32
+
33
+ - Do not modify source code, tests, generated artifacts, skills, agents, root contracts, or manifesto files.
34
+ - Do not invent product behavior, API guarantees, operational limits, or business rules.
35
+ - Do not include secrets, credentials, private URLs, tokens, or internal incident details.
36
+ - Do not perform broad documentation rewrites when a narrow factual update is sufficient.
37
+ - Do not silently rewrite docs to match drift from a documented contract — report the violation instead.
38
+ - Do not add behavioral rules to reference docs — rules belong in skills, agents, or root contracts.
39
+
40
+ ## Stop Conditions
41
+
42
+ Stop and report the work as blocked when:
43
+ - The authoritative source for a new or changed fact cannot be identified.
44
+ - Existing docs conflict with implementation and resolving the conflict would change a documented contract.
45
+ - The requested change would require modifying non-documentation files.
46
+ - Multiple documentation roots appear authoritative and choosing one would affect project structure.
47
+ - Creating, moving, deleting, or reorganizing docs is required but not approved.
48
+
49
+ ## Procedure
50
+
51
+ 1. Check `docs/INDEX.md` (or equivalent) to find relevant docs before opening files.
52
+ 2. Read the task description, diff, or changed file list to understand what changed.
53
+ 3. Read the existing doc you are about to update — never overwrite content you have not read.
54
+ 4. Check for duplicate content in other docs. If it already exists, link to it rather than repeating it.
55
+ 5. Verify that any file paths, class names, method names, or commands you write actually exist in the current repo.
56
+ 6. When code changes are supplied or discovered, review them for documentation impact before editing docs.
57
+ 7. Apply updates using the `When to Update What` table and `Format Rules` below.
58
+ 8. Update or create the docs index when the task creates, removes, renames, moves, or broadly audits docs, or when explicitly requested.
59
+
60
+ ## Docs Index
61
+
62
+ Use the project's existing docs index first, such as `docs/INDEX.md`, a README in the documentation root, or an equivalent docs-root index. Use it as a lookup before reading files when it exists.
63
+
64
+ Create or update an index only when:
65
+ - an authoritative documentation root already exists, and
66
+ - the task creates, removes, renames, moves, or broadly audits docs, or
67
+ - the user explicitly requested index creation.
68
+
69
+ Do not create a documentation root or index speculatively when the project has no established docs root.
70
+
71
+ Required index entry format:
72
+ ```
73
+ - [path/to/doc.md](path/to/doc.md) — one-line description of what it covers and when to read it
74
+ ```
75
+
76
+ If an approved or existing index must be created, scan existing docs to populate it before proceeding with the task.
77
+
78
+ ## When to Update What
79
+
80
+ | What changed | What to update |
81
+ | --- | --- |
82
+ | New public method or extension point | Usage guide — add example |
83
+ | New configuration key or annotation | Config reference — add entry |
84
+ | Setup or getting-started steps changed | `README.md` and/or setup guide |
85
+ | Architectural decision made | Architecture dir — new ADR file |
86
+ | Behavior change visible to users | Relevant guide — update affected section |
87
+
88
+ ## Format Rules
89
+
90
+ - Prefer focused docs; split large docs when size harms selective loading or maintainability.
91
+ - Prefer tables and bullets over narrative prose.
92
+ - Use code blocks for commands and snippets.
93
+ - Use absolute dates — never "last week", "yesterday", or "Thursday".
94
+ - Do not restate information already in another doc — link to it.
95
+ - No credentials, API keys, tokens, or real auth URLs in docs.
96
+ - Keep documentation changes factual, technical, and consistent with the current implementation.
97
+ - Prefer updating existing docs over creating new top-level documentation files unless there is a clear documentation gap.
98
+ - Do not update docs for internal refactors with no visible effect on usage or extension.
99
+
100
+ ## Verification
101
+
102
+ Before reporting completion, verify:
103
+ - Every new or changed documentation fact is supported by implementation, diff, existing authoritative docs, or user-provided source.
104
+ - Commands, paths, anchors, public names, and cross-references still resolve.
105
+ - Created, moved, removed, or renamed docs are reflected in the docs index when an index exists or was created.
106
+ - No behavioral rules were added to reference docs.
107
+
108
+ ## Output Contract
109
+
110
+ Emit:
111
+
112
+ `Agent: docs-manager - output below`
113
+
114
+ Then return:
115
+
116
+ | Field | Content |
117
+ | --- | --- |
118
+ | Status | `completed`, `skipped`, or `blocked` |
119
+ | Scope | Documentation area, implementation surface, or contract reviewed |
120
+ | Docs Root / Index | Docs root and index used, updated, created, or `none` |
121
+ | Sources Read | Docs, code, diffs, commits, or user-provided material inspected |
122
+ | Updated Files | Files changed with one-line summary each, or `none` |
123
+ | Documentation Impact | Areas affected, or `none` |
124
+ | Contract Violations | Drift found, or `none` |
125
+ | Assumptions | Inferences used, or `none` |
126
+ | Skipped | Intentionally skipped docs or checks with reasons, or `none` |
127
+ | Blockers / Open Questions | Missing source, approval, or decision, or `none` |
@@ -1,36 +1,36 @@
1
- # Kit Adopt Bundle
2
-
3
- The adoption helper for Agent Manifesto Kit. It installs a kit bundle or an individual
4
- capability into a target project and wires it into that project's instruction entrypoint, so
5
- consumers can adopt kit assets with minimal manual effort.
6
-
7
- This is the "Part 2" of the kit: project-agnostic tooling that adapts the reusable
8
- capabilities (such as the SDD bundle) to any project.
9
-
10
- ## Contents
11
-
12
- | Item | Type | Path | Depends on |
13
- | --- | --- | --- | --- |
14
- | `kit-adopt` | skill | `skills/kit-adopt/` | `capability-portability` concept |
15
- | `kit-adopt` | pipeline | `pipelines/kit-adopt.md` | `kit-adopt` skill |
16
- | `recommended-companions` | convention | `conventions/recommended-companions.md` | — |
17
-
18
- ## What it does
19
-
20
- - Copies a selected bundle or item (plus declared dependencies) into the target's
21
- capability area, preserving internal structure so assets keep finding their
22
- required-environment files.
23
- - Rewrites bundle-relative paths to the target layout and substitutes declared placeholders
24
- (project name, docs root) with consumer-provided values.
25
- - Registers the installed capabilities in the target's instruction entrypoint
26
- (`AGENTS.md`, `CLAUDE.md`, or equivalent).
27
- - Verifies the copied assets are portable and registered.
28
- - Offers a bundle's recommended companions (declared in its `RECOMMENDS.md` per the
29
- `recommended-companions` convention) as opt-in follow-ups after install.
30
-
31
- ## How to copy
32
-
33
- - Copy `collection/bundles/kit-adopt/` into your kit working area, then run the `kit-adopt`
34
- pipeline to install other bundles into a target project.
35
- - The skill can also be used on its own for a single install without the detect/verify
36
- routing.
1
+ # Kit Adopt Bundle
2
+
3
+ The adoption helper for Agent Manifesto Kit. It installs a kit bundle or an individual
4
+ capability into a target project and wires it into that project's instruction entrypoint, so
5
+ consumers can adopt kit assets with minimal manual effort.
6
+
7
+ This is the "Part 2" of the kit: project-agnostic tooling that adapts the reusable
8
+ capabilities (such as the SDD bundle) to any project.
9
+
10
+ ## Contents
11
+
12
+ | Item | Type | Path | Depends on |
13
+ | --- | --- | --- | --- |
14
+ | `kit-adopt` | skill | `skills/kit-adopt/` | `capability-portability` concept |
15
+ | `kit-adopt` | pipeline | `pipelines/kit-adopt.md` | `kit-adopt` skill |
16
+ | `recommended-companions` | convention | `conventions/recommended-companions.md` | — |
17
+
18
+ ## What it does
19
+
20
+ - Copies a selected bundle or item (plus declared dependencies) into the target's
21
+ capability area, preserving internal structure so assets keep finding their
22
+ required-environment files.
23
+ - Rewrites bundle-relative paths to the target layout and substitutes declared placeholders
24
+ (project name, docs root) with consumer-provided values.
25
+ - Registers the installed capabilities in the target's instruction entrypoint
26
+ (`AGENTS.md`, `CLAUDE.md`, or equivalent).
27
+ - Verifies the copied assets are portable and registered.
28
+ - Offers a bundle's recommended companions (declared in its `RECOMMENDS.md` per the
29
+ `recommended-companions` convention) as opt-in follow-ups after install.
30
+
31
+ ## How to copy
32
+
33
+ - Copy `collection/bundles/kit-adopt/` into your kit working area, then run the `kit-adopt`
34
+ pipeline to install other bundles into a target project.
35
+ - The skill can also be used on its own for a single install without the detect/verify
36
+ routing.
@@ -1,43 +1,43 @@
1
- # Recommended Companions
2
-
3
- ## Purpose
4
-
5
- Define the standard way a bundle declares optional companion capabilities — capabilities
6
- from elsewhere in the kit that complement the bundle but are not part of it. This lets
7
- adoption tooling suggest a fuller setup without the bundle absorbing or depending on those
8
- capabilities.
9
-
10
- This convention is factual and structural. It defines how recommendations are declared and
11
- what they mean, not how any capability behaves.
12
-
13
- ## Declaration
14
-
15
- A bundle that has recommended companions ships a `RECOMMENDS.md` file at its root. The file
16
- contains a short intro and a table with these columns:
17
-
18
- | Column | Meaning |
19
- | --- | --- |
20
- | Companion | The capability's name |
21
- | Kind | `skill`, `agent`, or `pipeline` |
22
- | Suggested source | Where it typically lives in the kit (a path that may or may not exist) |
23
- | Touchpoint | The point in the bundle's workflow where it helps, and why |
24
-
25
- ## Rules
26
-
27
- - **Optional, never a dependency.** A recommended companion is never part of the bundle's
28
- required environment. The bundle must work fully without any companion installed.
29
- - **Loosely coupled.** Reference companions by name, kind, and a suggested source. If a
30
- companion is absent or renamed in the kit, skip it silently rather than failing.
31
- - **Opt-in surfacing.** Tooling presents companions as suggestions for the user to accept or
32
- decline; it never auto-installs them.
33
- - **Reference only.** `RECOMMENDS.md` carries no routing, gates, or behavioral rules. It is
34
- a lookup aid for the offer step, nothing more.
35
-
36
- ## Surfacing
37
-
38
- Companions are surfaced at two moments, both opt-in:
39
- - when the adoption tooling installs the bundle into a target project;
40
- - when the bundle's own workflow reaches the point a companion supports.
41
-
42
- In both cases the user chooses which, if any, to adopt; selected companions are installed
43
- through the normal adoption path.
1
+ # Recommended Companions
2
+
3
+ ## Purpose
4
+
5
+ Define the standard way a bundle declares optional companion capabilities — capabilities
6
+ from elsewhere in the kit that complement the bundle but are not part of it. This lets
7
+ adoption tooling suggest a fuller setup without the bundle absorbing or depending on those
8
+ capabilities.
9
+
10
+ This convention is factual and structural. It defines how recommendations are declared and
11
+ what they mean, not how any capability behaves.
12
+
13
+ ## Declaration
14
+
15
+ A bundle that has recommended companions ships a `RECOMMENDS.md` file at its root. The file
16
+ contains a short intro and a table with these columns:
17
+
18
+ | Column | Meaning |
19
+ | --- | --- |
20
+ | Companion | The capability's name |
21
+ | Kind | `skill`, `agent`, or `pipeline` |
22
+ | Suggested source | Where it typically lives in the kit (a path that may or may not exist) |
23
+ | Touchpoint | The point in the bundle's workflow where it helps, and why |
24
+
25
+ ## Rules
26
+
27
+ - **Optional, never a dependency.** A recommended companion is never part of the bundle's
28
+ required environment. The bundle must work fully without any companion installed.
29
+ - **Loosely coupled.** Reference companions by name, kind, and a suggested source. If a
30
+ companion is absent or renamed in the kit, skip it silently rather than failing.
31
+ - **Opt-in surfacing.** Tooling presents companions as suggestions for the user to accept or
32
+ decline; it never auto-installs them.
33
+ - **Reference only.** `RECOMMENDS.md` carries no routing, gates, or behavioral rules. It is
34
+ a lookup aid for the offer step, nothing more.
35
+
36
+ ## Surfacing
37
+
38
+ Companions are surfaced at two moments, both opt-in:
39
+ - when the adoption tooling installs the bundle into a target project;
40
+ - when the bundle's own workflow reaches the point a companion supports.
41
+
42
+ In both cases the user chooses which, if any, to adopt; selected companions are installed
43
+ through the normal adoption path.
@@ -1,52 +1,52 @@
1
- # Pipeline: Kit Adopt
2
-
3
- ## Purpose
4
-
5
- Pre-defined routing plan for adopting one or more kit bundles or individual capabilities
6
- into a target project. It detects the target's layout, installs the selected assets, and
7
- verifies they are portable and registered.
8
-
9
- This pipeline is a routing artifact. It sequences existing capabilities. It does not
10
- implement step logic and does not emit its own output artifact.
11
-
12
- ## When to Apply
13
-
14
- - The user wants to install a kit bundle (for example the SDD bundle) or specific
15
- capabilities into a consumer project.
16
- - Skip when the user only wants to copy a single file by hand with no wiring.
17
-
18
- ## Inputs
19
-
20
- - The kit source and the selection to install (bundle or items).
21
- - The target repository root.
22
- - Values for any placeholders the selected assets declare.
23
-
24
- ## Stages
25
-
26
- | Stage | Capability | Required Visible Artifact |
27
- | --- | --- | --- |
28
- | 1. Detect | direct — locate the target's instruction entrypoint and capability area | none |
29
- | 2. Select | direct — confirm the bundle or items to install and their dependencies | none |
30
- | 3. Install | `Skill: kit-adopt` | `Skill: kit-adopt - output below` |
31
- | 4. Offer companions | direct — present the installed bundle's `RECOMMENDS.md` companions; install any the user selects via `Skill: kit-adopt` | `Skill: kit-adopt - output below` for selected companions, or a note that none were selected |
32
- | 5. Verify | direct, or `Agent: instruction-evaluator` when the target provides one | a portability/registration check result |
33
-
34
- Skip stage 4 when the installed bundle has no `RECOMMENDS.md`. Do not advance past a stage
35
- whose expected visible artifact is missing.
36
-
37
- ## Authority Sources
38
-
39
- - the `capability-portability` concept (consumer-declared configuration only)
40
- - each selected asset's declared Required Environment
41
-
42
- ## Stop Conditions
43
-
44
- - No instruction entrypoint can be found in the target — stop and ask where capabilities
45
- should be registered.
46
- - The install step reports a collision or missing dependency — resolve before verifying.
47
- - Verification finds a copied asset still references kit-only paths — return to stage 3.
48
-
49
- ## Output Contract
50
-
51
- The pipeline emits no artifact of its own. The install stage emits the `kit-adopt` skill
52
- artifact, and the verify stage records its check result.
1
+ # Pipeline: Kit Adopt
2
+
3
+ ## Purpose
4
+
5
+ Pre-defined routing plan for adopting one or more kit bundles or individual capabilities
6
+ into a target project. It detects the target's layout, installs the selected assets, and
7
+ verifies they are portable and registered.
8
+
9
+ This pipeline is a routing artifact. It sequences existing capabilities. It does not
10
+ implement step logic and does not emit its own output artifact.
11
+
12
+ ## When to Apply
13
+
14
+ - The user wants to install a kit bundle (for example the SDD bundle) or specific
15
+ capabilities into a consumer project.
16
+ - Skip when the user only wants to copy a single file by hand with no wiring.
17
+
18
+ ## Inputs
19
+
20
+ - The kit source and the selection to install (bundle or items).
21
+ - The target repository root.
22
+ - Values for any placeholders the selected assets declare.
23
+
24
+ ## Stages
25
+
26
+ | Stage | Capability | Required Visible Artifact |
27
+ | --- | --- | --- |
28
+ | 1. Detect | direct — locate the target's instruction entrypoint and capability area | none |
29
+ | 2. Select | direct — confirm the bundle or items to install and their dependencies | none |
30
+ | 3. Install | `Skill: kit-adopt` | `Skill: kit-adopt - output below` |
31
+ | 4. Offer companions | direct — present the installed bundle's `RECOMMENDS.md` companions; install any the user selects via `Skill: kit-adopt` | `Skill: kit-adopt - output below` for selected companions, or a note that none were selected |
32
+ | 5. Verify | direct, or `Agent: instruction-evaluator` when the target provides one | a portability/registration check result |
33
+
34
+ Skip stage 4 when the installed bundle has no `RECOMMENDS.md`. Do not advance past a stage
35
+ whose expected visible artifact is missing.
36
+
37
+ ## Authority Sources
38
+
39
+ - the `capability-portability` concept (consumer-declared configuration only)
40
+ - each selected asset's declared Required Environment
41
+
42
+ ## Stop Conditions
43
+
44
+ - No instruction entrypoint can be found in the target — stop and ask where capabilities
45
+ should be registered.
46
+ - The install step reports a collision or missing dependency — resolve before verifying.
47
+ - Verification finds a copied asset still references kit-only paths — return to stage 3.
48
+
49
+ ## Output Contract
50
+
51
+ The pipeline emits no artifact of its own. The install stage emits the `kit-adopt` skill
52
+ artifact, and the verify stage records its check result.