@v11g/agents-rock 1.0.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.
- package/README.md +65 -0
- package/bin/agents-rock.mjs +4 -0
- package/package.json +13 -0
- package/plugins/solution-architect/.claude-plugin/plugin.json +9 -0
- package/plugins/solution-architect/skills/analyze-requirements/README.md +75 -0
- package/plugins/solution-architect/skills/analyze-requirements/SKILL.md +31 -0
- package/plugins/solution-architect/skills/analyze-requirements/assets/fonts/OFL.txt +98 -0
- package/plugins/solution-architect/skills/analyze-requirements/assets/fonts/ibm-plex-mono-latin-400-normal.woff2 +0 -0
- package/plugins/solution-architect/skills/analyze-requirements/assets/fonts/ibm-plex-mono-latin-600-normal.woff2 +0 -0
- package/plugins/solution-architect/skills/analyze-requirements/assets/fonts/ibm-plex-sans-latin-400-normal.woff2 +0 -0
- package/plugins/solution-architect/skills/analyze-requirements/assets/fonts/ibm-plex-sans-latin-500-normal.woff2 +0 -0
- package/plugins/solution-architect/skills/analyze-requirements/assets/fonts/ibm-plex-sans-latin-600-normal.woff2 +0 -0
- package/plugins/solution-architect/skills/analyze-requirements/assets/mermaid-theme.json +52 -0
- package/plugins/solution-architect/skills/analyze-requirements/assets/section-help.json +101 -0
- package/plugins/solution-architect/skills/analyze-requirements/assets/viewer-template.html +2389 -0
- package/plugins/solution-architect/skills/analyze-requirements/references/interview.md +53 -0
- package/plugins/solution-architect/skills/analyze-requirements/references/likec4.md +157 -0
- package/plugins/solution-architect/skills/analyze-requirements/references/project-types.md +60 -0
- package/plugins/solution-architect/skills/analyze-requirements/references/research.md +78 -0
- package/plugins/solution-architect/skills/analyze-requirements/references/viewer.md +772 -0
- package/plugins/solution-architect/skills/analyze-requirements/references/writing.md +206 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/cdp.mjs +74 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/chrome.mjs +66 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/companion-links.mjs +20 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/doc-kinds.mjs +37 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/doc-links.mjs +26 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/doc-routes.mjs +27 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/doc-sections.mjs +78 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/embed.mjs +8 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/er-entities.mjs +16 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/fonts.mjs +39 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/frontmatter.mjs +17 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/inputs.mjs +41 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/likec4-config.mjs +41 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/likec4-extract.mjs +29 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/likec4-steps.mjs +22 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/md-defs.mjs +20 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/md-flows.mjs +46 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/md-inline.mjs +31 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/md-links.mjs +7 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/md-list.mjs +64 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/md-render.mjs +127 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/md-shape.mjs +19 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/md-tables.mjs +30 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/md-views.mjs +48 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/md-wide.mjs +44 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/nav.mjs +72 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/offline.mjs +19 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/port.mjs +13 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/quality-gate.mjs +113 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/section-help.mjs +49 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/slug-registry.mjs +11 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/validate-clusters.mjs +15 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/validate-deployment.mjs +8 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/validate-elections.mjs +20 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/validate-links.mjs +23 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/validate-model-tables.mjs +24 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/validate-palette.mjs +34 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/validate-provenance.mjs +20 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/lib/validate-tree.mjs +16 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/likec4-config.mjs +19 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/likec4-export.mjs +35 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/likec4-gen.mjs +39 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/render.mjs +130 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/serve.mjs +71 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/browser.test.mjs +553 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/companion-links.test.mjs +60 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/doc-kinds.test.mjs +41 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/doc-links.test.mjs +104 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/doc-routes.test.mjs +54 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/doc-sections.test.mjs +197 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/embed.test.mjs +28 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/er-entities.test.mjs +14 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/fixtures/docs-pass/ARCHITECTURE.md +47 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/fixtures/docs-pass/c4-src/broken/model.c4 +27 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/fixtures/docs-pass/c4-src/pass/model.c4 +29 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/fixtures/docs-pass/docs/adr/0001-sample.md +18 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/fixtures/docs-pass/docs/estimate.html +2 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/fixtures/docs-pass/docs/estimation.md +8 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/fixtures/docs-pass/model-broken.json +1 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/fixtures/docs-pass/model.json +1 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/fixtures/docs-pass/threat-model.md +8 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/fixtures/sample-model.json +1 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/fixtures/sample.c4 +28 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/fonts.test.mjs +38 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/frontmatter.test.mjs +27 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/inputs.test.mjs +72 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/likec4-config-cli.test.mjs +26 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/likec4-config.test.mjs +74 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/likec4-export-cli.test.mjs +61 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/likec4-extract.test.mjs +37 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/likec4-gen-cli.test.mjs +73 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/likec4-steps.test.mjs +32 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/md-flows.test.mjs +82 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/md-links.test.mjs +16 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/md-provenance.test.mjs +42 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/md-render.test.mjs +226 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/md-tables.test.mjs +30 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/md-views.test.mjs +76 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/md-wide.test.mjs +76 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/nav.test.mjs +236 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/offline.test.mjs +37 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/quality-gate.test.mjs +86 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/quality-gates.test.mjs +20 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/render.test.mjs +171 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/research-workflow.test.mjs +38 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/section-help.test.mjs +101 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/serve.test.mjs +48 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/validate-clusters.test.mjs +46 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/validate-deployment.test.mjs +23 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/validate-elections.test.mjs +30 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/validate-links.test.mjs +38 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/validate-model-tables.test.mjs +51 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/validate-provenance.test.mjs +28 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/validate-tree.test.mjs +43 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/test/viewer-template.test.mjs +1206 -0
- package/plugins/solution-architect/skills/analyze-requirements/scripts/validate.mjs +88 -0
- package/plugins/solution-architect/skills/analyze-requirements/workflows/research.js +57 -0
- package/plugins/solution-architect/skills/estimate/README.md +67 -0
- package/plugins/solution-architect/skills/estimate/SKILL.md +64 -0
- package/plugins/solution-architect/skills/estimate/assets/estimate-template.html +1128 -0
- package/plugins/solution-architect/skills/estimate/references/ai-multipliers.md +95 -0
- package/plugins/solution-architect/skills/estimate/references/interview.md +80 -0
- package/plugins/solution-architect/skills/estimate/references/slicing.md +55 -0
- package/plugins/solution-architect/skills/estimate/references/techniques.md +111 -0
- package/plugins/solution-architect/skills/estimate/references/writing.md +211 -0
- package/plugins/solution-architect/skills/estimate/scripts/compute.mjs +23 -0
- package/plugins/solution-architect/skills/estimate/scripts/lib/checks.mjs +128 -0
- package/plugins/solution-architect/skills/estimate/scripts/lib/components.mjs +19 -0
- package/plugins/solution-architect/skills/estimate/scripts/lib/estimate-math.mjs +85 -0
- package/plugins/solution-architect/skills/estimate/scripts/lib/inline.mjs +10 -0
- package/plugins/solution-architect/skills/estimate/scripts/lib/redact.mjs +30 -0
- package/plugins/solution-architect/skills/estimate/scripts/lib/roadmap.mjs +32 -0
- package/plugins/solution-architect/skills/estimate/scripts/lib/rollup.mjs +122 -0
- package/plugins/solution-architect/skills/estimate/scripts/lib/schema.mjs +128 -0
- package/plugins/solution-architect/skills/estimate/scripts/render.mjs +65 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/browser.test.mjs +623 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/compute.test.mjs +88 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/e2e.test.mjs +34 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/estimate-math.test.mjs +112 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/booking-inputs.json +58 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/estimation-fail.md +30 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/fixtures/estimation-pass.md +60 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/quality-gates.test.mjs +20 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/references.test.mjs +71 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/render.test.mjs +121 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/schema.test.mjs +129 -0
- package/plugins/solution-architect/skills/estimate/scripts/test/validate.test.mjs +72 -0
- package/plugins/solution-architect/skills/estimate/scripts/validate.mjs +20 -0
- package/plugins/solution-architect/skills/new-lead/README.md +48 -0
- package/plugins/solution-architect/skills/new-lead/SKILL.md +113 -0
- package/plugins/solution-architect/skills/new-lead/assets/dashboard/detail.html +842 -0
- package/plugins/solution-architect/skills/new-lead/assets/dashboard/index.html +655 -0
- package/plugins/solution-architect/skills/new-lead/assets/dashboard/start.sh +3 -0
- package/plugins/solution-architect/skills/new-lead/assets/dashboard/stats.mjs +98 -0
- package/plugins/solution-architect/skills/new-lead/assets/dashboard/vendor/reactflow-bundle.js +473 -0
- package/plugins/solution-architect/skills/new-lead/assets/vendor-build/entry.jsx +33 -0
- package/plugins/solution-architect/skills/new-lead/assets/vendor-build/package-lock.json +1055 -0
- package/plugins/solution-architect/skills/new-lead/assets/vendor-build/package.json +19 -0
- package/plugins/solution-architect/skills/new-lead/scripts/init-root.mjs +73 -0
- package/plugins/solution-architect/skills/new-lead/scripts/lead-upsert.mjs +31 -0
- package/plugins/solution-architect/skills/new-lead/scripts/lib/enrich.mjs +20 -0
- package/plugins/solution-architect/skills/new-lead/scripts/lib/map-nodes.mjs +124 -0
- package/plugins/solution-architect/skills/new-lead/scripts/lib/map.mjs +117 -0
- package/plugins/solution-architect/skills/new-lead/scripts/lib/port.mjs +15 -0
- package/plugins/solution-architect/skills/new-lead/scripts/lib/registry.mjs +116 -0
- package/plugins/solution-architect/skills/new-lead/scripts/serve.mjs +163 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/e2e-workspace.test.mjs +59 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/enrich.test.mjs +16 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/ARCHITECTURE.md +16 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/brief.md +4 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/dist/index.html +11 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/dist/proposal-non-tech.html +2 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/dist/threat-model.html +2 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/estimation-inputs.json +6 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/estimation.json +10 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/notes.md +3 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/proposal-non-tech.md +3 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/fixtures/root/leads/acme-crm/rfp.md +3 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/fixtures/root/leads.json +25 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/init-root.test.mjs +81 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/lead-upsert.test.mjs +67 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/map.test.mjs +72 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/port.test.mjs +31 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/registry-io.test.mjs +57 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/registry.test.mjs +49 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/serve.test.mjs +205 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/stats.test.mjs +92 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/validate-cli.test.mjs +24 -0
- package/plugins/solution-architect/skills/new-lead/scripts/test/vendor-bundle.test.mjs +9 -0
- package/plugins/solution-architect/skills/new-lead/scripts/validate.mjs +9 -0
- package/plugins/solution-architect/skills/proposal/README.md +36 -0
- package/plugins/solution-architect/skills/proposal/SKILL.md +58 -0
- package/plugins/solution-architect/skills/proposal/assets/proposal-template.html +82 -0
- package/plugins/solution-architect/skills/proposal/references/interview.md +63 -0
- package/plugins/solution-architect/skills/proposal/references/review.md +28 -0
- package/plugins/solution-architect/skills/proposal/references/writing.md +102 -0
- package/plugins/solution-architect/skills/proposal/scripts/derive.mjs +22 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/checks-client.mjs +75 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/checks-doc.mjs +54 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/checks.mjs +17 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/figures.mjs +43 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/jargon.mjs +9 -0
- package/plugins/solution-architect/skills/proposal/scripts/lib/sections.mjs +32 -0
- package/plugins/solution-architect/skills/proposal/scripts/render.mjs +60 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/checks-client.test.mjs +144 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/checks-doc.test.mjs +93 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/docs.test.mjs +51 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/e2e.test.mjs +30 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/figures.test.mjs +81 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/fixtures/proposal-fail.md +22 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/fixtures/proposal-pass.md +55 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/quality-gates.test.mjs +20 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/render.test.mjs +70 -0
- package/plugins/solution-architect/skills/proposal/scripts/test/validate.test.mjs +40 -0
- package/plugins/solution-architect/skills/proposal/scripts/validate.mjs +20 -0
- package/src/cli/agents.mjs +12 -0
- package/src/cli/args.mjs +46 -0
- package/src/cli/install.mjs +68 -0
- package/src/cli/main.mjs +124 -0
- package/src/cli/picker.mjs +78 -0
- package/src/cli/registry.mjs +26 -0
- package/src/cli/uninstall.mjs +38 -0
package/README.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# agents-rock
|
|
2
|
+
|
|
3
|
+
A Claude Code plugin marketplace.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/plugin marketplace add git@github.com:vukhanhtruong/agents-rock.git
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
(HTTPS equivalent: `https://github.com/vukhanhtruong/agents-rock.git`)
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
/plugin install solution-architect@agents-rock
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### Install via npx (Claude Code + Codex)
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
npx @v11g/agents-rock # interactive picker
|
|
21
|
+
npx @v11g/agents-rock -p solution-architect -a codex # install solution-architect for Codex
|
|
22
|
+
npx @v11g/agents-rock -p solution-architect -a claude -a codex # both agents
|
|
23
|
+
npx @v11g/agents-rock uninstall -p solution-architect # remove for all agents
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Skills are copied to `.agents/skills/<skill>` in your project and symlinked
|
|
27
|
+
from `.claude/skills/` (Claude Code) and/or `.codex/skills/` (Codex).
|
|
28
|
+
Use `--force` to overwrite collisions.
|
|
29
|
+
|
|
30
|
+
## Plugins
|
|
31
|
+
|
|
32
|
+
| Plugin | Description | Version |
|
|
33
|
+
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------- |
|
|
34
|
+
| `solution-architect` | Solution-architecture toolkit: interview-driven architecture documentation with interactive diagrams and provenance-tagged facts, AI-aware project estimation, and client-ready proposals. | 1.0.0 |
|
|
35
|
+
|
|
36
|
+
`solution-architect` ships four skills: `analyze-requirements` (architecture
|
|
37
|
+
documentation), `estimate` (interview-driven, AI-aware project estimation
|
|
38
|
+
with an interactive what-if page), `proposal` (pre-sales client proposal
|
|
39
|
+
rendered as a print-ready page), and `new-lead` (launches all three in order,
|
|
40
|
+
stopping between each, plus a leads dashboard).
|
|
41
|
+
`-p solution-architect` installs all four.
|
|
42
|
+
|
|
43
|
+
## Repo conventions
|
|
44
|
+
|
|
45
|
+
Each plugin follows the same layout:
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
plugins/<plugin>/
|
|
49
|
+
├── .claude-plugin/plugin.json
|
|
50
|
+
└── skills/<skill>/
|
|
51
|
+
├── SKILL.md orchestration: entry point loaded by Claude Code
|
|
52
|
+
├── README.md user-facing docs
|
|
53
|
+
├── assets/ static files the skill ships (templates, themes)
|
|
54
|
+
├── references/ supporting docs the skill points agents to
|
|
55
|
+
├── scripts/ zero-dep scripts the skill invokes
|
|
56
|
+
└── workflows/ Workflow scripts the skill invokes
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Bundling a plugin
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
./bundle.sh <plugin>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Zips `plugins/<plugin>/` into `build/<plugin>.zip` (excluding `node_modules/`, `.git/`, and other zips).
|
package/package.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@v11g/agents-rock",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"publishConfig": { "access": "public" },
|
|
5
|
+
"description": "Install agents-rock plugin skills for Claude Code and Codex via npx",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": { "agents-rock": "bin/agents-rock.mjs" },
|
|
8
|
+
"files": ["bin", "src", "plugins"],
|
|
9
|
+
"engines": { "node": ">=18.3" },
|
|
10
|
+
"scripts": { "test": "node --test tests/*.test.mjs plugins/*/skills/*/scripts/test/*.test.mjs" },
|
|
11
|
+
"repository": { "type": "git", "url": "https://github.com/vukhanhtruong/agents-rock.git" },
|
|
12
|
+
"license": "MIT"
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "solution-architect",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Solution-architecture toolkit: interview-driven architecture documentation with interactive diagrams and provenance-tagged facts, AI-aware project estimation, and client-ready proposals.",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Truong Vu",
|
|
7
|
+
"email": "vukhanhtruong@gmail.com"
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# analyze-requirements
|
|
2
|
+
|
|
3
|
+
Produce professional architecture documentation for any project, then serve it on
|
|
4
|
+
localhost as an interactive site for review.
|
|
5
|
+
|
|
6
|
+
## What it produces
|
|
7
|
+
|
|
8
|
+
**`ARCHITECTURE.md`** — a fixed 16-section spine (arc42 + 2 additions):
|
|
9
|
+
|
|
10
|
+
1. Goals & Scope
|
|
11
|
+
2. Constraints
|
|
12
|
+
3. Project Structure (brownfield only)
|
|
13
|
+
4. Solution Strategy
|
|
14
|
+
5. Architecture Model (LikeC4 C1/C2/C3 diagrams)
|
|
15
|
+
6. Core Components
|
|
16
|
+
7. Runtime Behaviour (LikeC4 dynamic views)
|
|
17
|
+
8. Data Stores (ER diagram + table)
|
|
18
|
+
9. External Integrations
|
|
19
|
+
10. Deployment & Infrastructure
|
|
20
|
+
11. Crosscutting Concepts
|
|
21
|
+
12. Security
|
|
22
|
+
13. Quality Requirements & SLOs
|
|
23
|
+
14. Decisions (index of ADRs)
|
|
24
|
+
15. Risks & Technical Debt
|
|
25
|
+
16. Glossary
|
|
26
|
+
|
|
27
|
+
**Companion documents** — always: ADRs under `docs/adr/`. Elected based on your
|
|
28
|
+
project (and recorded with a reason when skipped): `threat-model.md`, an interface
|
|
29
|
+
contract (OpenAPI, tool schemas, data contracts, or wire protocol depending on your
|
|
30
|
+
stack), `estimation.md`, and `DOMAIN-OVERVIEW.md` for domain-heavy projects.
|
|
31
|
+
|
|
32
|
+
Every fact in every doc is tagged with where it came from: `observed` (from your
|
|
33
|
+
code), `stated` (from you), `researched` (verified against a source), or `proposed`
|
|
34
|
+
(a suggestion). Nothing invented gets to look verified.
|
|
35
|
+
|
|
36
|
+
## Two modes
|
|
37
|
+
|
|
38
|
+
- **Brownfield** — the target already has source code. analyze-requirements scans it first and
|
|
39
|
+
documents what's there.
|
|
40
|
+
- **Greenfield** — no code yet. analyze-requirements designs the architecture with you.
|
|
41
|
+
|
|
42
|
+
Mode is auto-detected from whether the target has code; you can override it.
|
|
43
|
+
|
|
44
|
+
## Dependency
|
|
45
|
+
|
|
46
|
+
Node ≥ 20 with npm, so `npx likec4` can render diagrams. analyze-requirements tells you this
|
|
47
|
+
upfront and stops before writing anything if it's missing.
|
|
48
|
+
|
|
49
|
+
## Install
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
/plugin marketplace add vukhanhtruong/agents-rock
|
|
53
|
+
/plugin install analyze-requirements@agents-rock
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Run it
|
|
57
|
+
|
|
58
|
+
Ask for any of:
|
|
59
|
+
|
|
60
|
+
- "document this codebase" / "generate architecture docs"
|
|
61
|
+
- "design the architecture for X"
|
|
62
|
+
- "add C4 diagrams" / "write ADRs" / "create a threat model"
|
|
63
|
+
|
|
64
|
+
## The viewer
|
|
65
|
+
|
|
66
|
+
After validation passes, analyze-requirements renders one self-contained HTML file — no CDN,
|
|
67
|
+
works offline — with the LikeC4 diagrams, ARCHITECTURE.md, and every companion doc,
|
|
68
|
+
and serves it on `localhost:4173` (or the next free port). You get zoom, pan, expand,
|
|
69
|
+
and fullscreen on every diagram, dark/light toggle, and deep links per section.
|
|
70
|
+
|
|
71
|
+
## Why the honesty rules
|
|
72
|
+
|
|
73
|
+
An architecture doc that guesses and hides the guess is worse than no doc — it looks
|
|
74
|
+
authoritative right up until someone relies on it. analyze-requirements marks every fact with
|
|
75
|
+
its source and renders what it doesn't know as a stated absence, never a placeholder.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: analyze-requirements
|
|
3
|
+
description: Create or update professional architecture documentation through a structured interview, live research, and code scanning. Use when the user asks for architecture docs, system documentation, an architecture review doc, C4 diagrams, ADRs, a threat model, or to document an existing codebase.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# analyze-requirements
|
|
7
|
+
|
|
8
|
+
Produce provenance-tagged architecture documentation with interactive diagrams,
|
|
9
|
+
served on localhost for review.
|
|
10
|
+
|
|
11
|
+
## Hard rules
|
|
12
|
+
|
|
13
|
+
1. Every fact carries provenance: `observed` | `stated` | `researched` (with source) | `proposed`. A claim nobody verified must never render like one that was.
|
|
14
|
+
2. One home per fact — diagrams own topology, tables own properties, prose owns neither.
|
|
15
|
+
3. Unknowns render as honest absences (`Not applicable — <reason>`, `not estimated`, `Not provided`) — never placeholders, never `[TODO]`, never `0`.
|
|
16
|
+
4. Validation blocks rendering: `node scripts/validate.mjs` must exit 0 before the viewer is generated.
|
|
17
|
+
5. mattpocock files (`CONTEXT.md`, `CONTEXT-MAP.md`, `docs/adr/`) are written into their existing formats — never restructured. Invoke the `domain-modeling` skill for term work.
|
|
18
|
+
|
|
19
|
+
## Flow
|
|
20
|
+
|
|
21
|
+
1. **Detect mode**: target has source code → brownfield, else greenfield. State the detection and let the user override.
|
|
22
|
+
2. **Scan** (brownfield): `index_repository` if needed, then `get_architecture` — clusters seed §6 Core Components. Read `manage_adr` if present; never write it.
|
|
23
|
+
3. **Interview**: follow `references/interview.md`. Detect project type per `references/project-types.md`.
|
|
24
|
+
4. **Research**: run `workflows/research.js` per `references/research.md`. Surface dropped items before writing.
|
|
25
|
+
5. **Write**: model first (`references/likec4.md`), then ARCHITECTURE.md and companions (`references/writing.md`).
|
|
26
|
+
6. **Validate**: export the model with `node scripts/likec4-export.mjs --dir ... --out ...`, then `node scripts/validate.mjs --arch ... --model ...` (add `--mode brownfield --clusters ...` when applicable). Fix findings; re-run until clean.
|
|
27
|
+
7. **Render + serve**: follow `references/viewer.md`; report the URL.
|
|
28
|
+
|
|
29
|
+
## Dependency
|
|
30
|
+
|
|
31
|
+
Node ≥ 20 with npm (`npx likec4`). State this upfront; without it, stop before step 5.
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
IBM Plex — Copyright 2017 IBM Corp. All rights reserved.
|
|
2
|
+
|
|
3
|
+
Embedded in the generated viewer as base64 woff2 (latin subsets only), via
|
|
4
|
+
scripts/lib/fonts.mjs. Source: @fontsource/ibm-plex-sans and
|
|
5
|
+
@fontsource/ibm-plex-mono 5.3.0.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
9
|
+
This license is copied below, and is also available with a FAQ at:
|
|
10
|
+
http://scripts.sil.org/OFL
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
-----------------------------------------------------------
|
|
14
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
15
|
+
-----------------------------------------------------------
|
|
16
|
+
|
|
17
|
+
PREAMBLE
|
|
18
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
19
|
+
development of collaborative font projects, to support the font creation
|
|
20
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
21
|
+
open framework in which fonts may be shared and improved in partnership
|
|
22
|
+
with others.
|
|
23
|
+
|
|
24
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
25
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
26
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
27
|
+
redistributed and/or sold with any software provided that any reserved
|
|
28
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
29
|
+
however, cannot be released under any other type of license. The
|
|
30
|
+
requirement for fonts to remain under this license does not apply
|
|
31
|
+
to any document created using the fonts or their derivatives.
|
|
32
|
+
|
|
33
|
+
DEFINITIONS
|
|
34
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
35
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
36
|
+
include source files, build scripts and documentation.
|
|
37
|
+
|
|
38
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
39
|
+
copyright statement(s).
|
|
40
|
+
|
|
41
|
+
"Original Version" refers to the collection of Font Software components as
|
|
42
|
+
distributed by the Copyright Holder(s).
|
|
43
|
+
|
|
44
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
45
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
46
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
47
|
+
new environment.
|
|
48
|
+
|
|
49
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
50
|
+
writer or other person who contributed to the Font Software.
|
|
51
|
+
|
|
52
|
+
PERMISSION & CONDITIONS
|
|
53
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
54
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
55
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
56
|
+
Software, subject to the following conditions:
|
|
57
|
+
|
|
58
|
+
1) Neither the Font Software nor any of its individual components,
|
|
59
|
+
in Original or Modified Versions, may be sold by itself.
|
|
60
|
+
|
|
61
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
62
|
+
redistributed and/or sold with any software, provided that each copy
|
|
63
|
+
contains the above copyright notice and this license. These can be
|
|
64
|
+
included either as stand-alone text files, human-readable headers or
|
|
65
|
+
in the appropriate machine-readable metadata fields within text or
|
|
66
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
67
|
+
|
|
68
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
69
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
70
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
71
|
+
presented to the users.
|
|
72
|
+
|
|
73
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
74
|
+
Software shall not be used to promote, endorse or advertise any
|
|
75
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
76
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
77
|
+
permission.
|
|
78
|
+
|
|
79
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
80
|
+
must be distributed entirely under this license, and must not be
|
|
81
|
+
distributed under any other license. The requirement for fonts to
|
|
82
|
+
remain under this license does not apply to any document created
|
|
83
|
+
using the Font Software.
|
|
84
|
+
|
|
85
|
+
TERMINATION
|
|
86
|
+
This license becomes null and void if any of the above conditions are
|
|
87
|
+
not met.
|
|
88
|
+
|
|
89
|
+
DISCLAIMER
|
|
90
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
91
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
92
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
93
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
94
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
95
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
96
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
97
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
98
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"likec4": {
|
|
3
|
+
"brand": "#0f766e",
|
|
4
|
+
"brandStroke": "#00524b",
|
|
5
|
+
"brandText": "#c7ffff",
|
|
6
|
+
"muted": "#475569",
|
|
7
|
+
"mutedStroke": "#263447",
|
|
8
|
+
"mutedText": "#e8f7ff",
|
|
9
|
+
"relationLine": "#8d8d8d",
|
|
10
|
+
"light": {
|
|
11
|
+
"canvas": "#ffffff",
|
|
12
|
+
"groupFill": "#dae8e7",
|
|
13
|
+
"groupStroke": "#719591",
|
|
14
|
+
"groupText": "#19524e"
|
|
15
|
+
},
|
|
16
|
+
"dark": {
|
|
17
|
+
"canvas": "#121a19",
|
|
18
|
+
"groupFill": "#102523",
|
|
19
|
+
"groupStroke": "#0c342f",
|
|
20
|
+
"groupText": "#93cbc5"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"themeVariables": {
|
|
24
|
+
"fontFamily": "'IBM Plex Sans', system-ui, sans-serif",
|
|
25
|
+
"fontSize": "16px",
|
|
26
|
+
"primaryColor": "#0f766e",
|
|
27
|
+
"primaryBorderColor": "#00524b",
|
|
28
|
+
"primaryTextColor": "#c7ffff",
|
|
29
|
+
"rowOdd": "#0f766e",
|
|
30
|
+
"rowEven": "#0b5f59",
|
|
31
|
+
"secondaryColor": "#475569",
|
|
32
|
+
"secondaryBorderColor": "#263447",
|
|
33
|
+
"secondaryTextColor": "#e8f7ff",
|
|
34
|
+
"tertiaryColor": "#18191b",
|
|
35
|
+
"lineColor": "#8d8d8d",
|
|
36
|
+
"noteBkgColor": "#0f766e",
|
|
37
|
+
"noteBorderColor": "#00524b",
|
|
38
|
+
"noteTextColor": "#c7ffff"
|
|
39
|
+
},
|
|
40
|
+
"light": {
|
|
41
|
+
"textColor": "#1c1b18",
|
|
42
|
+
"clusterBkg": "#dae8e7",
|
|
43
|
+
"clusterBorder": "#719591",
|
|
44
|
+
"titleColor": "#19524e"
|
|
45
|
+
},
|
|
46
|
+
"dark": {
|
|
47
|
+
"textColor": "#e9e7e1",
|
|
48
|
+
"clusterBkg": "#102523",
|
|
49
|
+
"clusterBorder": "#0c342f",
|
|
50
|
+
"titleColor": "#93cbc5"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spine": {
|
|
3
|
+
"Goals & Scope": {
|
|
4
|
+
"what": "The two or three outcomes this system exists to deliver, who it serves, and an explicit list of what it will not do.",
|
|
5
|
+
"why": "Without a stated boundary every later section drifts. The out-of-scope half is the one that prevents argument later.",
|
|
6
|
+
"good": "A reader can name something plausible that the system deliberately does not do."
|
|
7
|
+
},
|
|
8
|
+
"Constraints": {
|
|
9
|
+
"what": "Fixed conditions the design had no freedom over: mandated technology, budget, deadlines, compliance regimes, team skills, existing systems it must interoperate with.",
|
|
10
|
+
"why": "A constraint recorded as a decision invites someone to relitigate it. Recorded as a constraint, it tells them who to go and ask instead.",
|
|
11
|
+
"good": "Every entry names who or what imposes it, not merely that it holds."
|
|
12
|
+
},
|
|
13
|
+
"Project Structure": {
|
|
14
|
+
"what": "The directory tree to depth two, and which architectural boundary each top-level directory maps to.",
|
|
15
|
+
"why": "The tree is the first thing a new contributor reads and the last thing anyone documents. Left implicit, folder names become the de facto architecture.",
|
|
16
|
+
"good": "Someone can map a feature request to a directory without resorting to grep."
|
|
17
|
+
},
|
|
18
|
+
"Solution Strategy": {
|
|
19
|
+
"what": "The handful of decisions that shaped everything else, each pointing at the decision record that argued it.",
|
|
20
|
+
"why": "This is what a reader consults to learn why the system is like this at all, before spending an hour in the detail.",
|
|
21
|
+
"good": "Five bullets or fewer, each linking a decision record, none restating the rationale."
|
|
22
|
+
},
|
|
23
|
+
"Architecture Model": {
|
|
24
|
+
"what": "The C4 views of the system, from context down through containers to components, as diagrams rather than prose.",
|
|
25
|
+
"why": "A structural claim buried in a paragraph cannot be checked. In a diagram, a missing dependency is visible.",
|
|
26
|
+
"good": "The diagrams answer what talks to what without a sentence of help."
|
|
27
|
+
},
|
|
28
|
+
"Core Components": {
|
|
29
|
+
"what": "Each significant building block: what it is responsible for, what it is built with, where it deploys, which paths hold it, and what must always be true of it.",
|
|
30
|
+
"why": "Responsibility is the thing people actually disagree about. Written down, a component that has quietly acquired three jobs becomes visible.",
|
|
31
|
+
"good": "Every row states one responsibility. A row that needs the word \"and\" is either two components or a problem."
|
|
32
|
+
},
|
|
33
|
+
"Runtime Behaviour": {
|
|
34
|
+
"what": "Two to four named flows through the system as dynamic views: request paths, scheduled work, failure handling.",
|
|
35
|
+
"why": "Structure says what exists, never what happens. Most defects live in an ordering that no structure diagram can show.",
|
|
36
|
+
"good": "Each flow is named for something a stakeholder would recognise, not for the components it happens to touch."
|
|
37
|
+
},
|
|
38
|
+
"Data Stores": {
|
|
39
|
+
"what": "Every persistent store: a diagram of its shape, plus type, purpose, retention, whether it holds personal data, and how it is migrated.",
|
|
40
|
+
"why": "Data outlives the code that wrote it. Retention and personal-data flags are the two facts nobody can reconstruct afterwards.",
|
|
41
|
+
"good": "Every store names a retention period and a migration tool, including where the honest answer is none. The shape here is how data is stored, which is not the same thing as what the business means by it."
|
|
42
|
+
},
|
|
43
|
+
"External Integrations": {
|
|
44
|
+
"what": "Every system across the boundary: how it is called, how it is authenticated and where that credential lives, what happens when it fails, its rate limit and cost, what data leaves, and how hard it would be to replace.",
|
|
45
|
+
"why": "External dependencies are where availability and compliance are really decided, and they are usually recorded as a name and a URL.",
|
|
46
|
+
"good": "Every entry states a failure mode, so \"it is down, then what\" has an answer for each row."
|
|
47
|
+
},
|
|
48
|
+
"Deployment & Infrastructure": {
|
|
49
|
+
"what": "Where the system runs, per environment, and the pipeline stages that put it there.",
|
|
50
|
+
"why": "The gap between the documented architecture and the deployed reality is where incidents come from.",
|
|
51
|
+
"good": "A reader can tell which environments exist and what differs between them."
|
|
52
|
+
},
|
|
53
|
+
"Crosscutting Concepts": {
|
|
54
|
+
"what": "The patterns that apply everywhere rather than in one place: observability, error handling, validation, configuration and secrets, authentication mechanics, testing strategy.",
|
|
55
|
+
"why": "A concern documented per component gets documented inconsistently. One home means one answer.",
|
|
56
|
+
"good": "A contributor adding a component knows what it must do about logging and errors without having to ask."
|
|
57
|
+
},
|
|
58
|
+
"Security": {
|
|
59
|
+
"what": "The trust boundaries as a data-flow diagram, the authorisation model, and a link to the threat model.",
|
|
60
|
+
"why": "Security stated as an intention is not reviewable. Boundaries and an authorisation model are.",
|
|
61
|
+
"good": "Every boundary crossing on the diagram has a stated authentication mechanism."
|
|
62
|
+
},
|
|
63
|
+
"Quality Requirements & SLOs": {
|
|
64
|
+
"what": "The quality attributes that matter here, each with a number and a way of measuring it.",
|
|
65
|
+
"why": "Fast, reliable and scalable are unfalsifiable. A number is something a test can fail against.",
|
|
66
|
+
"good": "No entry is an adjective. Each carries a value and a measurement method."
|
|
67
|
+
},
|
|
68
|
+
"Decisions": {
|
|
69
|
+
"what": "The index of architecture decision records: what was decided, its current status, and where the full record lives.",
|
|
70
|
+
"why": "The reasoning behind a decision decays faster than the code implementing it. A decision record is what stops the same debate recurring every year.",
|
|
71
|
+
"good": "Every record states the options that were considered, not only the one chosen."
|
|
72
|
+
},
|
|
73
|
+
"Risks & Technical Debt": {
|
|
74
|
+
"what": "Known weaknesses: what could go wrong, what is already wrong, and what has been deliberately deferred.",
|
|
75
|
+
"why": "Debt nobody wrote down is indistinguishable from a design choice, and eventually gets defended as one.",
|
|
76
|
+
"good": "Each entry says what would trigger acting on it."
|
|
77
|
+
},
|
|
78
|
+
"Glossary": {
|
|
79
|
+
"what": "The domain and technical terms these documents use, defined once.",
|
|
80
|
+
"why": "Two people using one word for two things is the most expensive ambiguity a project can carry and the cheapest to fix.",
|
|
81
|
+
"good": "Every term a newcomer would have to ask about appears exactly once, here."
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"companions": {
|
|
85
|
+
"threat-model": {
|
|
86
|
+
"what": "A data-flow diagram with its trust boundaries, the threats identified against it, and the mitigation for each.",
|
|
87
|
+
"why": "A threat list without a diagram cannot be checked for completeness, and a diagram without a list is decoration.",
|
|
88
|
+
"good": "Every threat has either a mitigation or an explicit note that the risk was accepted."
|
|
89
|
+
},
|
|
90
|
+
"estimation": {
|
|
91
|
+
"what": "Effort estimates per scope item, each carrying a confidence level and the assumptions it rests on.",
|
|
92
|
+
"why": "An estimate without its assumptions is a number that gets held against you once the assumptions change.",
|
|
93
|
+
"good": "Nothing unestimated reads as zero. It reads as not estimated."
|
|
94
|
+
},
|
|
95
|
+
"domain-overview": {
|
|
96
|
+
"what": "Three parts and nothing else: the actors, the processes they drive, and the business rules that govern them.",
|
|
97
|
+
"why": "A data model shows how information is stored, never what the business means by it. The two legitimately differ.",
|
|
98
|
+
"good": "Every rule links the component that enforces it and the decision it came from."
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|