agent-manifesto-kit 0.0.0-development
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.
- package/LICENSE +21 -0
- package/README.md +95 -0
- package/collection/NOTICE.md +36 -0
- package/collection/agents/code-reviewer.md +103 -0
- package/collection/agents/docs-manager.md +127 -0
- package/collection/bundles/kit-adopt/README.md +36 -0
- package/collection/bundles/kit-adopt/conventions/recommended-companions.md +43 -0
- package/collection/bundles/kit-adopt/pipelines/kit-adopt.md +52 -0
- package/collection/bundles/kit-adopt/skills/kit-adopt/SKILL.md +72 -0
- package/collection/bundles/sdd/README.md +50 -0
- package/collection/bundles/sdd/RECOMMENDS.md +21 -0
- package/collection/bundles/sdd/agents/sdd-gap-analyzer.md +79 -0
- package/collection/bundles/sdd/agents/sdd-spec-reviewer.md +75 -0
- package/collection/bundles/sdd/conventions/sdd-doc-set.md +136 -0
- package/collection/bundles/sdd/pipelines/sdd-adopt.md +60 -0
- package/collection/bundles/sdd/pipelines/sdd-bootstrap.md +60 -0
- package/collection/bundles/sdd/skills/sdd-doc-author/SKILL.md +69 -0
- package/collection/bundles/sdd/skills/sdd-feature-author/SKILL.md +71 -0
- package/collection/bundles/sdd/skills/sdd-index-sync/SKILL.md +61 -0
- package/collection/bundles/sdd/templates/docs/INDEX.md +35 -0
- package/collection/bundles/sdd/templates/docs/api.md +23 -0
- package/collection/bundles/sdd/templates/docs/architecture.md +42 -0
- package/collection/bundles/sdd/templates/docs/db.md +22 -0
- package/collection/bundles/sdd/templates/docs/decisions/ADR-template.md +24 -0
- package/collection/bundles/sdd/templates/docs/design.md +43 -0
- package/collection/bundles/sdd/templates/docs/idea.md +46 -0
- package/collection/bundles/sdd/templates/docs/operations.md +28 -0
- package/collection/bundles/sdd/templates/docs/roadmap.md +26 -0
- package/collection/bundles/sdd/templates/docs/security.md +24 -0
- package/collection/bundles/sdd/templates/docs/testing.md +34 -0
- package/collection/bundles/sdd/templates/features/F000_template/requirements.md +38 -0
- package/collection/bundles/sdd/templates/features/F000_template/scenarios.md +26 -0
- package/collection/bundles/sdd/templates/features/F000_template/tasks.md +11 -0
- package/collection/skills/brainstorm/SKILL.md +46 -0
- package/collection/skills/business-analyst/SKILL.md +58 -0
- package/collection/skills/documentation-maintenance/SKILL.md +60 -0
- package/collection/skills/explain-code/SKILL.md +81 -0
- package/collection/skills/frontend-audit/SKILL.md +135 -0
- package/collection/skills/frontend-impeccable-design/SKILL.md +135 -0
- package/collection/skills/frontend-impeccable-polish/SKILL.md +118 -0
- package/collection/skills/implement-feature/SKILL.md +99 -0
- package/collection/skills/memory-management/SKILL.md +75 -0
- package/collection/skills/meta-tags-optimizer/SKILL.md +73 -0
- package/collection/skills/pencil-design/SKILL.md +83 -0
- package/collection/skills/playwright-cli/SKILL.md +104 -0
- package/collection/skills/prepare-release-notes/SKILL.md +109 -0
- package/collection/skills/refactor-code/SKILL.md +104 -0
- package/collection/skills/review-code/SKILL.md +98 -0
- package/collection/skills/schema-markup-generator/SKILL.md +80 -0
- package/collection/skills/task-complete/SKILL.md +79 -0
- package/collection/skills/task-discovery/SKILL.md +69 -0
- package/collection/skills/task-validation/SKILL.md +71 -0
- package/collection/skills/test-review/SKILL.md +72 -0
- package/collection/skills/test-writer/SKILL.md +78 -0
- package/collection/skills/work-with-git/SKILL.md +154 -0
- package/dist/catalog.js +146 -0
- package/dist/cli.js +108 -0
- package/dist/commands/adopt.js +100 -0
- package/dist/commands/lint.js +26 -0
- package/dist/commands/list.js +30 -0
- package/dist/portability.js +41 -0
- package/dist/providers.js +37 -0
- package/package.json +49 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Alexey Platkovsky
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# agent-manifesto-kit
|
|
2
|
+
|
|
3
|
+
A curated library of Agent Manifesto-compatible AI capabilities — **skills**, **agents**,
|
|
4
|
+
**pipelines**, and **conventions**, plus cohesive **bundles** (such as the Spec-Driven
|
|
5
|
+
Development kit) — and the `agentkit` CLI to discover and adopt them into your project for
|
|
6
|
+
Claude, Codex, or AI-agnostic targets.
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install -g agent-manifesto-kit
|
|
12
|
+
# then use the `agentkit` command
|
|
13
|
+
agentkit --version
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Or run without installing:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npx agent-manifesto-kit list
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Commands
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
agentkit list # list every capability and bundle in the kit
|
|
26
|
+
agentkit lint [name] # flag breaking provider-specific tokens (all, or one capability)
|
|
27
|
+
agentkit adopt <name> [opts] # copy a capability or bundle into your project for a provider
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
`<name>` is either a single capability (skill, agent, pipeline, or convention) or a bundle.
|
|
31
|
+
|
|
32
|
+
Options for `adopt`:
|
|
33
|
+
|
|
34
|
+
| Option | Default | Meaning |
|
|
35
|
+
|---|---|---|
|
|
36
|
+
| `--provider claude\|codex\|agnostic` | `claude` | target AI provider |
|
|
37
|
+
| `--dest <dir>` | current directory | target project root |
|
|
38
|
+
|
|
39
|
+
Global: `--version` / `-v`, `--help` / `-h`.
|
|
40
|
+
|
|
41
|
+
### Bundles
|
|
42
|
+
|
|
43
|
+
A bundle is a cohesive set of capabilities meant to be adopted together (for example `sdd`,
|
|
44
|
+
the Spec-Driven Development kit). Adopting a bundle copies the whole folder intact — so its
|
|
45
|
+
internal cross-references keep resolving — and surfaces any **recommended companions** the
|
|
46
|
+
bundle declares (optional capabilities from the general collection) as opt-in follow-ups.
|
|
47
|
+
Companions are never installed automatically.
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
agentkit adopt sdd --provider claude # the whole SDD bundle
|
|
51
|
+
agentkit adopt brainstorm # a single skill from the general collection
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Items that live inside a bundle are adopted as part of that bundle, not on their own.
|
|
55
|
+
|
|
56
|
+
### Provider model
|
|
57
|
+
|
|
58
|
+
`adopt` is a deterministic, AI-free transform. Capabilities are authored provider-neutral, so
|
|
59
|
+
adopting differs only by mechanical edits:
|
|
60
|
+
|
|
61
|
+
| Provider | Destination | Transform |
|
|
62
|
+
|---|---|---|
|
|
63
|
+
| `claude` | `.claude/` | copied verbatim |
|
|
64
|
+
| `codex` | `.codex/` | swap `.claude/` path tokens → `.codex/`; strip Claude-only `tools:` frontmatter |
|
|
65
|
+
| `agnostic` | `.ai/` | swap `.claude/` path tokens → `.ai/` |
|
|
66
|
+
|
|
67
|
+
Neutrality is enforced at authoring time (the kit's review gate) and checked by
|
|
68
|
+
`agentkit lint`, so the runtime stays mechanical. See `.ai/conventions/capability-portability.md`.
|
|
69
|
+
|
|
70
|
+
## Develop
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
npm install
|
|
74
|
+
npm run build # tsc → dist/
|
|
75
|
+
npm test # build + node:test
|
|
76
|
+
node dist/cli.js list
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Releases
|
|
80
|
+
|
|
81
|
+
This package is released automatically with
|
|
82
|
+
[semantic-release](https://semantic-release.gitbook.io/). Every push to `main` runs CI; if
|
|
83
|
+
there are releasable commits, a new version is published to npm with a changelog and GitHub
|
|
84
|
+
release.
|
|
85
|
+
|
|
86
|
+
Versions are derived from [Conventional Commits](https://www.conventionalcommits.org/):
|
|
87
|
+
|
|
88
|
+
- `fix:` → patch (1.2.**3**)
|
|
89
|
+
- `feat:` → minor (1.**3**.0)
|
|
90
|
+
- `feat!:` or a `BREAKING CHANGE:` footer → major (**2**.0.0)
|
|
91
|
+
- `docs:`, `chore:`, `test:`, `refactor:` → no release
|
|
92
|
+
|
|
93
|
+
## License
|
|
94
|
+
|
|
95
|
+
MIT © Alexey Platkovsky
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# NOTICE
|
|
2
|
+
|
|
3
|
+
This collection contains skills and agents derived in part from third-party open-source work. The attributions below cover those derivations. Original authors retain copyright over their original work; derivative content in this collection is provided under the same license terms unless explicitly relicensed.
|
|
4
|
+
|
|
5
|
+
## frontend-polish
|
|
6
|
+
|
|
7
|
+
- **Source:** `impeccable` skill by Philipp Bakaus — https://github.com/pbakaus/impeccable
|
|
8
|
+
- **License:** Apache License 2.0
|
|
9
|
+
- **Upstream attribution:** `impeccable` is itself derived from Anthropic's `frontend-design` skill.
|
|
10
|
+
- **Nature of derivation:** Distilled from the upstream skill's shared design laws and the `polish` sub-command reference. Routing, sub-command system, loader scripts, `pin`/`unpin` machinery, and the `npx impeccable` runtime dependency are not carried over. Behavioral checklist and AI-slop patterns are adapted and rewritten for this collection's single-file skill format.
|
|
11
|
+
|
|
12
|
+
## frontend-design
|
|
13
|
+
|
|
14
|
+
- **Sources:**
|
|
15
|
+
- `frontend-design` skill by Anthropic — https://github.com/anthropics/skills/blob/main/skills/frontend-design/SKILL.md
|
|
16
|
+
- `impeccable` skill by Philipp Bakaus — https://github.com/pbakaus/impeccable (specifically the `shape` / `craft` sub-command lineage and shared design laws)
|
|
17
|
+
- **License:** Apache License 2.0 for `impeccable`; license terms for Anthropic's skill per its repository LICENSE.txt.
|
|
18
|
+
- **Nature of derivation:** Generative aesthetic guidance distilled from the Anthropic upstream and the `impeccable` shape/craft references. Routing, sub-commands, loader scripts, and runtime dependencies are not carried over. Procedure, design laws, AI-slop list, and output contract are rewritten for this collection's single-file skill format.
|
|
19
|
+
|
|
20
|
+
## frontend-audit
|
|
21
|
+
|
|
22
|
+
- **Source:** `impeccable` skill by Philipp Bakaus — https://github.com/pbakaus/impeccable (specifically the `audit` sub-command reference)
|
|
23
|
+
- **License:** Apache License 2.0
|
|
24
|
+
- **Nature of derivation:** Diagnostic checklist adapted from the `audit` sub-command, rewritten as a guide-only single-file skill. WCAG criterion references are independently verifiable; no upstream tool-invocation or script content is carried over.
|
|
25
|
+
|
|
26
|
+
## schema-markup-generator
|
|
27
|
+
|
|
28
|
+
- **Source:** `schema-markup-generator` skill by Aaron He Zhu — https://github.com/aaron-he-zhu/seo-geo-claude-skills/tree/main/build/schema-markup-generator
|
|
29
|
+
- **License:** Apache License 2.0
|
|
30
|
+
- **Nature of derivation:** Concept and rich-result type coverage adapted from the upstream skill. Upstream coupling to `memory/content/`, `memory/hot-cache.md`, `memory/open-loops.md`, the CORE-EEAT framework, the multi-platform `compatibility` field, the cross-skill "next step" routing, and the extended metadata frontmatter are not carried over. Procedure, safety constraints, and output contract are rewritten for this collection's single-file skill format.
|
|
31
|
+
|
|
32
|
+
## meta-tags-optimizer
|
|
33
|
+
|
|
34
|
+
- **Source:** `meta-tags-optimizer` skill by Aaron He Zhu — https://github.com/aaron-he-zhu/seo-geo-claude-skills/tree/main/build/meta-tags-optimizer
|
|
35
|
+
- **License:** Apache License 2.0
|
|
36
|
+
- **Nature of derivation:** Concept, length budgets, and tag-set coverage (title / meta description / Open Graph / Twitter Card / supporting tags) adapted from the upstream skill. Upstream coupling to `memory/content/`, `memory/hot-cache.md`, `memory/open-loops.md`, the CORE-EEAT alignment check, the cross-skill "next step" routing to `schema-markup-generator`, and the multi-language preset list are not carried over. Procedure, safety constraints, and output contract are rewritten for this collection's single-file skill format.
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-reviewer
|
|
3
|
+
description: Independent code reviewer for non-trivial changes. Use after implementation, refactoring, or mixed code/test changes to review the completed diff before handoff. Validates for correctness, regressions, test quality, and validation gaps.
|
|
4
|
+
tools: Bash, Glob, Grep, Read
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Scope
|
|
8
|
+
|
|
9
|
+
- Provide an isolated, judgment-heavy review of a completed non-trivial code diff before handoff. Use an agent so the review benefits from fresh context, skeptical evaluation, and separation from the implementer's assumptions.
|
|
10
|
+
- Find substantive issues: behavioral regressions, brittle or misleading tests, incorrect assumptions, cross-platform problems, missing validation for risky paths, hidden coupling across files or modules.
|
|
11
|
+
|
|
12
|
+
## Required Inputs and Context
|
|
13
|
+
|
|
14
|
+
The calling agent should provide:
|
|
15
|
+
1. Task summary
|
|
16
|
+
2. Files changed
|
|
17
|
+
3. Diff or patch (required)
|
|
18
|
+
4. Validation run and results
|
|
19
|
+
5. Any known assumptions, intentional tradeoffs, or blocked checks
|
|
20
|
+
|
|
21
|
+
If input 3 is absent, emit a blocked review under the output contract and request the diff. If inputs 1, 2, 4, or 5 are missing, note the gap briefly and review with available context.
|
|
22
|
+
|
|
23
|
+
## Safety Constraints
|
|
24
|
+
|
|
25
|
+
- Do not modify files, apply patches, stage changes, commit, or run destructive commands.
|
|
26
|
+
- Do not treat style preferences as findings unless they create correctness, maintainability, or operational risk.
|
|
27
|
+
- Do not invent issues to produce output.
|
|
28
|
+
- Distinguish confirmed defects from risks, questions, and missing evidence.
|
|
29
|
+
- Do not praise, cheerlead, rewrite code, or produce a summary before findings.
|
|
30
|
+
|
|
31
|
+
## Review Priorities
|
|
32
|
+
|
|
33
|
+
Review in this order:
|
|
34
|
+
1. Correctness
|
|
35
|
+
2. Regression risk
|
|
36
|
+
3. Test quality
|
|
37
|
+
4. Validation gaps
|
|
38
|
+
5. Maintainability risks likely to cause future bugs
|
|
39
|
+
|
|
40
|
+
Be especially alert for:
|
|
41
|
+
- missed requirements
|
|
42
|
+
- security, concurrency, and data-loss risks
|
|
43
|
+
- compatibility and CI/runtime risks
|
|
44
|
+
- tests that pass for the wrong reason
|
|
45
|
+
- mocks that do not reflect real runtime behavior
|
|
46
|
+
- assertions too vague to protect behavior
|
|
47
|
+
- unnecessary complexity or abstractions not justified by the change
|
|
48
|
+
- duplication that creates maintenance, correctness, or behavior-drift risk
|
|
49
|
+
- boundary, layer, public API, or contract changes
|
|
50
|
+
- platform-specific path or shell assumptions
|
|
51
|
+
- async timing hacks instead of deterministic waits
|
|
52
|
+
- config changes that pass locally but fail in CI
|
|
53
|
+
|
|
54
|
+
## Procedure
|
|
55
|
+
|
|
56
|
+
1. Confirm the diff or patch and changed files can be read; stop and emit a blocked review if not.
|
|
57
|
+
2. Read the diff, related implementation, tests, and validation evidence.
|
|
58
|
+
3. Apply the review priorities and alerts above.
|
|
59
|
+
4. Verify each finding has severity, file/line reference when available, risk, and likely fix direction.
|
|
60
|
+
5. Emit the review under the output contract, ordered by severity.
|
|
61
|
+
|
|
62
|
+
## Verification
|
|
63
|
+
|
|
64
|
+
Before emitting the review, verify:
|
|
65
|
+
- Every finding has a severity, file/line reference when available, risk, and likely fix direction.
|
|
66
|
+
- Findings are ordered by severity.
|
|
67
|
+
- Questions are limited to ambiguities that affect correctness, acceptance, or review confidence.
|
|
68
|
+
- Validation gaps name the missing check and the risk left uncovered.
|
|
69
|
+
|
|
70
|
+
## Output Contract
|
|
71
|
+
|
|
72
|
+
Emit:
|
|
73
|
+
|
|
74
|
+
`Agent: code-reviewer - output below`
|
|
75
|
+
|
|
76
|
+
Then format each finding as:
|
|
77
|
+
|
|
78
|
+
- `<Severity>` `[path:line]` concise problem statement — why it matters and the likely fix in 1-2 sentences.
|
|
79
|
+
|
|
80
|
+
Severity levels:
|
|
81
|
+
- `High` — likely bug, regression, or broken workflow
|
|
82
|
+
- `Medium` — meaningful risk, brittle test, or likely future breakage
|
|
83
|
+
- `Low` — minor but real issue with practical impact
|
|
84
|
+
|
|
85
|
+
After findings, include only the sections that apply:
|
|
86
|
+
- `Open questions` — if something important is ambiguous
|
|
87
|
+
- `Validation gaps` — if executed checks don't cover meaningful risk
|
|
88
|
+
|
|
89
|
+
Then include:
|
|
90
|
+
|
|
91
|
+
| Field | Content |
|
|
92
|
+
| --- | --- |
|
|
93
|
+
| Status | `completed`, `skipped`, or `blocked` |
|
|
94
|
+
| Scope | Diff, patch, branch, files, or artifact set reviewed |
|
|
95
|
+
| Sources Read | Diff, changed files, related code, tests, docs, or validation evidence inspected |
|
|
96
|
+
| Assumptions | Inferences used, or `none` |
|
|
97
|
+
| Blockers | Missing diff, unreadable context, unavailable validation, or `none` |
|
|
98
|
+
|
|
99
|
+
If no issues found:
|
|
100
|
+
|
|
101
|
+
`No findings.`
|
|
102
|
+
|
|
103
|
+
Then optionally note any residual risk or unverified area in one short paragraph.
|
|
@@ -0,0 +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` |
|
|
@@ -0,0 +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.
|
|
@@ -0,0 +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.
|
|
@@ -0,0 +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.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: kit-adopt
|
|
3
|
+
description: Installs a kit bundle or an individual capability into a target project — copies the assets into the target's capability area, rewrites bundle-relative paths and declared placeholders to the target, and registers the capabilities in the target's instruction entrypoint. Use when adopting kit assets into a consumer project.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Scope
|
|
7
|
+
|
|
8
|
+
- Install a selected source: a whole bundle, or one skill/agent/pipeline plus its declared
|
|
9
|
+
dependencies.
|
|
10
|
+
- Copy the assets into the target's capability area, adapt them to the target, and register
|
|
11
|
+
them so the target's tooling can discover them.
|
|
12
|
+
- Do not modify unrelated target files, source code, or assets the user did not select.
|
|
13
|
+
|
|
14
|
+
## Required Environment
|
|
15
|
+
|
|
16
|
+
- The kit source tree containing the bundle or item to install.
|
|
17
|
+
- A target project with an instruction entrypoint (for example `AGENTS.md`, `CLAUDE.md`, or
|
|
18
|
+
an equivalent root contract) and a capability area to receive the assets.
|
|
19
|
+
- The `capability-portability` concept: copied assets work in the target after consumer-
|
|
20
|
+
declared configuration (paths, project vocabulary) is supplied, without other source edits.
|
|
21
|
+
|
|
22
|
+
## Inputs
|
|
23
|
+
|
|
24
|
+
- Source selection: bundle path or item path(s) in the kit.
|
|
25
|
+
- Target repository root and the capability area to install into.
|
|
26
|
+
- Values for any placeholders the assets declare (project name, docs root, etc.).
|
|
27
|
+
|
|
28
|
+
## Procedure
|
|
29
|
+
|
|
30
|
+
Apply the Stop Conditions throughout; halt and report when any is met.
|
|
31
|
+
|
|
32
|
+
1. Confirm the source selection and resolve its declared dependencies; confirm the target
|
|
33
|
+
root, capability area, and instruction entrypoint.
|
|
34
|
+
2. Copy the assets into the target, preserving each bundle's internal structure so that
|
|
35
|
+
assets keep finding their required-environment files (conventions, templates).
|
|
36
|
+
3. Rewrite bundle-relative references to match where the assets now live in the target.
|
|
37
|
+
4. Substitute declared placeholders with the consumer-provided values. Leave undeclared
|
|
38
|
+
project-specific content untouched.
|
|
39
|
+
5. Register the installed capabilities in the target's instruction entrypoint under its
|
|
40
|
+
capability registry or equivalent list. If the entrypoint has no such section, add a
|
|
41
|
+
clearly labeled one rather than inventing routing rules.
|
|
42
|
+
6. If the installed source declares recommended companions (a `RECOMMENDS.md`), surface them
|
|
43
|
+
as optional follow-ups for the user to accept or decline. Do not auto-install them;
|
|
44
|
+
install only the ones the user selects, through this same skill.
|
|
45
|
+
7. Report what was installed, rewritten, registered, and surfaced.
|
|
46
|
+
|
|
47
|
+
## Stop Conditions
|
|
48
|
+
|
|
49
|
+
Stop and report a blocker when:
|
|
50
|
+
- the target instruction entrypoint cannot be found or is ambiguous;
|
|
51
|
+
- installing would overwrite an existing target asset (report the collision; do not
|
|
52
|
+
overwrite without confirmation);
|
|
53
|
+
- the source selection or a declared dependency cannot be located.
|
|
54
|
+
|
|
55
|
+
## Output Contract
|
|
56
|
+
|
|
57
|
+
Emit:
|
|
58
|
+
|
|
59
|
+
`Skill: kit-adopt - output below`
|
|
60
|
+
|
|
61
|
+
Then include:
|
|
62
|
+
|
|
63
|
+
| Field | Content |
|
|
64
|
+
| --- | --- |
|
|
65
|
+
| Status | `completed`, `blocked`, or `skipped` |
|
|
66
|
+
| Installed | Assets copied, with target paths |
|
|
67
|
+
| Dependencies | Dependencies pulled in, or `none` |
|
|
68
|
+
| Rewrites | Path and placeholder substitutions applied |
|
|
69
|
+
| Registry | Entrypoint edits made to register the capabilities |
|
|
70
|
+
| Companions surfaced | Optional companions offered from the source's `RECOMMENDS.md`, or `none` |
|
|
71
|
+
| Collisions | Existing target assets that blocked install, or `none` |
|
|
72
|
+
| Blockers | Unresolved issues, or `none` |
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# SDD Bundle
|
|
2
|
+
|
|
3
|
+
Spec-Driven Development kit: a cohesive, project-agnostic set of capabilities for
|
|
4
|
+
creating and maintaining a `docs/` specification tree that drives implementation,
|
|
5
|
+
plus reviewing and adopting one into an existing project.
|
|
6
|
+
|
|
7
|
+
This bundle is product output. It is meant to be copied into a consumer project and
|
|
8
|
+
adapted with minimal effort. The bundle is independently copyable as a unit; each
|
|
9
|
+
item below is also copyable on its own, subject to the dependencies listed.
|
|
10
|
+
|
|
11
|
+
## Contents
|
|
12
|
+
|
|
13
|
+
| Item | Type | Path | Depends on |
|
|
14
|
+
| --- | --- | --- | --- |
|
|
15
|
+
| `sdd-doc-set` | convention | `conventions/sdd-doc-set.md` | — |
|
|
16
|
+
| Doc + feature templates | templates | `templates/` | `sdd-doc-set` |
|
|
17
|
+
| `sdd-doc-author` | skill | `skills/sdd-doc-author/` | `sdd-doc-set`, templates |
|
|
18
|
+
| `sdd-feature-author` | skill | `skills/sdd-feature-author/` | `sdd-doc-set`, templates |
|
|
19
|
+
| `sdd-index-sync` | skill | `skills/sdd-index-sync/` | `sdd-doc-set` |
|
|
20
|
+
| `sdd-spec-reviewer` | agent | `agents/sdd-spec-reviewer.md` | `sdd-doc-set` |
|
|
21
|
+
| `sdd-gap-analyzer` | agent | `agents/sdd-gap-analyzer.md` | `sdd-doc-set` |
|
|
22
|
+
| `sdd-bootstrap` | pipeline | `pipelines/sdd-bootstrap.md` | skills + `sdd-spec-reviewer` |
|
|
23
|
+
| `sdd-adopt` | pipeline | `pipelines/sdd-adopt.md` | `sdd-gap-analyzer` + skills + reviewer |
|
|
24
|
+
| Recommended companions | manifest | `RECOMMENDS.md` | — (optional companions only) |
|
|
25
|
+
|
|
26
|
+
> The SDD bundle is complete: convention, templates, three skills, two agents, and two
|
|
27
|
+
> pipelines. The Part 2 `kit-adopt` installer (which copies and wires any bundle into a
|
|
28
|
+
> target project) is tracked separately from this bundle.
|
|
29
|
+
|
|
30
|
+
## The document set it produces
|
|
31
|
+
|
|
32
|
+
This bundle produces and maintains a `docs/` specification tree (main docs, optional
|
|
33
|
+
extension docs, ADRs, and per-feature folders). The structure, document ownership, tiers,
|
|
34
|
+
ID scheme, and traceability spine are defined once in `conventions/sdd-doc-set.md` — that
|
|
35
|
+
convention is the single source of truth. This README does not restate it.
|
|
36
|
+
|
|
37
|
+
## Recommended companions
|
|
38
|
+
|
|
39
|
+
`RECOMMENDS.md` lists optional capabilities from the general collection that complement the
|
|
40
|
+
spec-to-build-to-verify loop (brainstorm, business-analyst, implement-feature, test-writer,
|
|
41
|
+
code-reviewer, and so on). None are required — the bundle works on its own. `kit-adopt` and
|
|
42
|
+
the SDD pipelines surface them as opt-in suggestions at install time and after the spec docs
|
|
43
|
+
are created.
|
|
44
|
+
|
|
45
|
+
## How to copy
|
|
46
|
+
|
|
47
|
+
- Whole bundle: copy `collection/bundles/sdd/` into your project's capability area.
|
|
48
|
+
- A single item: copy its file/folder plus anything in its "Depends on" column.
|
|
49
|
+
- Every template under `templates/` is plain Markdown and can be copied directly
|
|
50
|
+
into a project's `docs/` and edited by hand if you are not using the skills.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Recommended Companions
|
|
2
|
+
|
|
3
|
+
Optional capabilities from the general collection that complement the SDD bundle across the
|
|
4
|
+
spec-to-build-to-verify loop. None are required: the SDD bundle works fully on its own. These
|
|
5
|
+
are surfaced as opt-in suggestions by `kit-adopt` and by the SDD pipelines. If a companion is
|
|
6
|
+
absent or renamed in the kit, skip it.
|
|
7
|
+
|
|
8
|
+
See `../kit-adopt/conventions/recommended-companions.md` for the declaration format.
|
|
9
|
+
|
|
10
|
+
| Companion | Kind | Suggested source | Touchpoint |
|
|
11
|
+
| --- | --- | --- | --- |
|
|
12
|
+
| `brainstorm` | skill | `collection/skills/brainstorm/` | Shaping `idea.md` and scope before authoring |
|
|
13
|
+
| `business-analyst` | skill | `collection/skills/business-analyst/` | Clarifying `features/*/requirements.md` and acceptance criteria |
|
|
14
|
+
| `task-discovery` | skill | `collection/skills/task-discovery/` | Breaking work into `tasks.md` |
|
|
15
|
+
| `task-validation` | skill | `collection/skills/task-validation/` | Validating `tasks.md` before implementation |
|
|
16
|
+
| `implement-feature` | skill | `collection/skills/implement-feature/` | Executing a feature's tasks (the build step) |
|
|
17
|
+
| `test-writer` | skill | `collection/skills/test-writer/` | Turning `scenarios.md` into automated tests |
|
|
18
|
+
| `test-review` | skill | `collection/skills/test-review/` | Reviewing tests against the scenarios |
|
|
19
|
+
| `code-reviewer` | agent | `collection/agents/code-reviewer.md` | Reviewing implementation against the spec |
|
|
20
|
+
| `documentation-maintenance` | skill | `collection/skills/documentation-maintenance/` | Keeping docs in sync after the build |
|
|
21
|
+
| `prepare-release-notes` | skill | `collection/skills/prepare-release-notes/` | Closing a `roadmap.md` milestone |
|