@ambystech/ambykit 1.1.0 → 1.2.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/CHANGELOG.md +127 -0
- package/README.md +60 -21
- package/dist/cli/dashboard.d.ts +13 -2
- package/dist/cli/dashboard.js +144 -23
- package/dist/cli/dashboard.js.map +1 -1
- package/dist/cli/ui/capabilities.js +20 -1
- package/dist/cli/ui/capabilities.js.map +1 -1
- package/dist/cli/ui/dashboard/attention.d.ts +10 -0
- package/dist/cli/ui/dashboard/attention.js +41 -0
- package/dist/cli/ui/dashboard/attention.js.map +1 -0
- package/dist/cli/ui/dashboard/burndown-chart.d.ts +16 -0
- package/dist/cli/ui/dashboard/burndown-chart.js +117 -0
- package/dist/cli/ui/dashboard/burndown-chart.js.map +1 -0
- package/dist/cli/ui/dashboard/cards.d.ts +25 -0
- package/dist/cli/ui/dashboard/cards.js +93 -0
- package/dist/cli/ui/dashboard/cards.js.map +1 -0
- package/dist/cli/ui/dashboard/feature-chart.d.ts +14 -0
- package/dist/cli/ui/dashboard/feature-chart.js +70 -0
- package/dist/cli/ui/dashboard/feature-chart.js.map +1 -0
- package/dist/cli/ui/dashboard/feature-view.d.ts +18 -0
- package/dist/cli/ui/dashboard/feature-view.js +95 -0
- package/dist/cli/ui/dashboard/feature-view.js.map +1 -0
- package/dist/cli/ui/dashboard/layout.d.ts +7 -0
- package/dist/cli/ui/dashboard/layout.js +12 -0
- package/dist/cli/ui/dashboard/layout.js.map +1 -0
- package/dist/cli/ui/dashboard/panel.d.ts +25 -0
- package/dist/cli/ui/dashboard/panel.js +92 -0
- package/dist/cli/ui/dashboard/panel.js.map +1 -0
- package/dist/cli/ui/dashboard/render-overview.d.ts +29 -0
- package/dist/cli/ui/dashboard/render-overview.js +125 -0
- package/dist/cli/ui/dashboard/render-overview.js.map +1 -0
- package/dist/cli/ui/dashboard/status-chart.d.ts +21 -0
- package/dist/cli/ui/dashboard/status-chart.js +93 -0
- package/dist/cli/ui/dashboard/status-chart.js.map +1 -0
- package/dist/cli/ui/dashboard/tokens.d.ts +988 -0
- package/dist/cli/ui/dashboard/tokens.js +1024 -0
- package/dist/cli/ui/dashboard/tokens.js.map +1 -0
- package/dist/cli/ui/dashboard/up-next.d.ts +13 -0
- package/dist/cli/ui/dashboard/up-next.js +41 -0
- package/dist/cli/ui/dashboard/up-next.js.map +1 -0
- package/dist/cli/ui/interactive/fullscreen.d.ts +6 -0
- package/dist/cli/ui/interactive/fullscreen.js +8 -0
- package/dist/cli/ui/interactive/fullscreen.js.map +1 -1
- package/dist/cli/ui/interactive/overview.d.ts +38 -0
- package/dist/cli/ui/interactive/overview.js +170 -0
- package/dist/cli/ui/interactive/overview.js.map +1 -0
- package/dist/cli/ui/theme.d.ts +13 -0
- package/dist/cli/ui/theme.js +17 -0
- package/dist/cli/ui/theme.js.map +1 -1
- package/dist/cli/ui/types.d.ts +4 -0
- package/dist/core/analyze.d.ts +6 -0
- package/dist/core/analyze.js +1 -1
- package/dist/core/analyze.js.map +1 -1
- package/dist/core/burndown.d.ts +62 -0
- package/dist/core/burndown.js +169 -0
- package/dist/core/burndown.js.map +1 -0
- package/dist/core/clarifications.d.ts +7 -0
- package/dist/core/clarifications.js +31 -0
- package/dist/core/clarifications.js.map +1 -0
- package/dist/core/dashboard.d.ts +7 -2
- package/dist/core/dashboard.js +24 -8
- package/dist/core/dashboard.js.map +1 -1
- package/dist/core/features.d.ts +14 -0
- package/dist/core/features.js +97 -0
- package/dist/core/features.js.map +1 -0
- package/dist/core/git.d.ts +5 -0
- package/dist/core/git.js +13 -0
- package/dist/core/git.js.map +1 -1
- package/dist/core/overview-types.d.ts +99 -0
- package/dist/core/overview-types.js +11 -0
- package/dist/core/overview-types.js.map +1 -0
- package/dist/core/overview.d.ts +42 -0
- package/dist/core/overview.js +259 -0
- package/dist/core/overview.js.map +1 -0
- package/docs/architecture.md +93 -0
- package/docs/artifacts/plan.md +31 -0
- package/docs/artifacts/spec.md +70 -0
- package/docs/artifacts/tasks.md +40 -0
- package/docs/artifacts/ui-design.md +59 -0
- package/docs/cli-reference.md +196 -0
- package/docs/concepts/constitution.md +35 -0
- package/docs/concepts/spec-driven-development.md +34 -0
- package/docs/contributing.md +50 -0
- package/docs/getting-started.md +106 -0
- package/docs/index.md +35 -0
- package/docs/tool-compatibility.md +78 -0
- package/docs/workflow.md +109 -0
- package/package.json +16 -4
- package/src/roles/architect.md +17 -0
- package/src/roles/developer.md +17 -0
- package/src/roles/pm.md +17 -0
- package/src/roles/qa.md +17 -0
- package/src/roles/tech-lead.md +17 -0
- package/src/roles/ux.md +17 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ambystech/ambykit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Spec-Driven Development framework that helps AI coding assistants build better software — author your specs, user stories, UI design, plans and tasks once, and emit native config for Claude Code, OpenCode, GitHub Copilot, Cursor, Antigravity and more.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"spec-driven-development",
|
|
@@ -13,7 +13,15 @@
|
|
|
13
13
|
"cursor",
|
|
14
14
|
"antigravity",
|
|
15
15
|
"agents.md",
|
|
16
|
-
"codex"
|
|
16
|
+
"codex",
|
|
17
|
+
"agents-md",
|
|
18
|
+
"spec-kit",
|
|
19
|
+
"ai-agents",
|
|
20
|
+
"slash-commands",
|
|
21
|
+
"requirements",
|
|
22
|
+
"ears",
|
|
23
|
+
"prd",
|
|
24
|
+
"design-tokens"
|
|
17
25
|
],
|
|
18
26
|
"license": "MIT",
|
|
19
27
|
"author": "ambystech",
|
|
@@ -38,7 +46,11 @@
|
|
|
38
46
|
"src/templates",
|
|
39
47
|
"src/prompts",
|
|
40
48
|
"src/reference",
|
|
41
|
-
"
|
|
49
|
+
"src/roles",
|
|
50
|
+
"README.md",
|
|
51
|
+
"LICENSE",
|
|
52
|
+
"CHANGELOG.md",
|
|
53
|
+
"docs"
|
|
42
54
|
],
|
|
43
55
|
"engines": {
|
|
44
56
|
"node": ">=20"
|
|
@@ -61,7 +73,7 @@
|
|
|
61
73
|
},
|
|
62
74
|
"dependencies": {
|
|
63
75
|
"gray-matter": "^4.0.3",
|
|
64
|
-
"zod": "^
|
|
76
|
+
"zod": "^4.6.6"
|
|
65
77
|
},
|
|
66
78
|
"allowScripts": {
|
|
67
79
|
"esbuild@0.21.5": true
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: architect
|
|
3
|
+
name: Architect
|
|
4
|
+
phases: [plan]
|
|
5
|
+
---
|
|
6
|
+
Own the HOW. Choose the simplest design that satisfies every requirement and the constitution.
|
|
7
|
+
|
|
8
|
+
**Focus:**
|
|
9
|
+
- Every FR/SC maps to a mechanism, by ID
|
|
10
|
+
- Boundaries: pure core, side effects at the edges
|
|
11
|
+
- Reuse before invention; cite existing patterns being followed
|
|
12
|
+
- Risks named with mitigations, not hidden
|
|
13
|
+
- Formats and external contracts verified, never guessed
|
|
14
|
+
- Token/performance cost of each choice stated
|
|
15
|
+
|
|
16
|
+
**Hand-off:** the Tech Lead must find a phased approach and requirement mapping precise enough to
|
|
17
|
+
break into ordered tasks without re-deciding the design.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: developer
|
|
3
|
+
name: Developer
|
|
4
|
+
phases: [implement]
|
|
5
|
+
---
|
|
6
|
+
Own the code. Implement exactly the mapped requirements, prove them with tests, leave the tree green.
|
|
7
|
+
|
|
8
|
+
**Focus:**
|
|
9
|
+
- Satisfy the task's FR/acceptance criteria — no scope creep
|
|
10
|
+
- Match surrounding style, naming, and idiom
|
|
11
|
+
- Tests accompany the change; typecheck and suite pass before done
|
|
12
|
+
- Patch artifacts in place: checkboxes, story status
|
|
13
|
+
- Load only the slice needed (token frugality)
|
|
14
|
+
- Stop at checkpoints for review
|
|
15
|
+
|
|
16
|
+
**Hand-off:** QA must find checked tasks that each correspond to real, tested behavior in the
|
|
17
|
+
codebase.
|
package/src/roles/pm.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: pm
|
|
3
|
+
name: Product Manager
|
|
4
|
+
phases: [specify, clarify, revise]
|
|
5
|
+
---
|
|
6
|
+
Own the WHAT and WHY. Turn ideas into specs a team can build and measure, and keep scope honest.
|
|
7
|
+
|
|
8
|
+
**Focus:**
|
|
9
|
+
- User value: every story names a real role and benefit
|
|
10
|
+
- Scope boundaries: what is explicitly out, not just in
|
|
11
|
+
- Priorities reflect user impact, not implementation ease
|
|
12
|
+
- Success criteria are measurable and tech-agnostic
|
|
13
|
+
- Ambiguity is flagged, never guessed
|
|
14
|
+
- Negative and edge scenarios get acceptance criteria too
|
|
15
|
+
|
|
16
|
+
**Hand-off:** the Architect must find testable EARS requirements, resolved clarifications, and
|
|
17
|
+
priorities they can sequence without asking what the feature is for.
|
package/src/roles/qa.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: qa
|
|
3
|
+
name: QA Engineer
|
|
4
|
+
phases: [analyze, converge]
|
|
5
|
+
---
|
|
6
|
+
Own verification. Assume the artifact is wrong until evidence says otherwise.
|
|
7
|
+
|
|
8
|
+
**Focus:**
|
|
9
|
+
- Every FR/SC traced to implementation and to a test
|
|
10
|
+
- Untestable or unmeasurable statements called out by ID
|
|
11
|
+
- Negative cases and edge cases covered, not just happy paths
|
|
12
|
+
- Checked tasks spot-verified against real deliverables
|
|
13
|
+
- Gaps become tasks, never prose
|
|
14
|
+
- Idempotent, append-only reporting — never edit source
|
|
15
|
+
|
|
16
|
+
**Hand-off:** the team must see a verdict (converged / gaps found) with every finding tied to a
|
|
17
|
+
stable ID and a one-line reason.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: tech-lead
|
|
3
|
+
name: Tech Lead
|
|
4
|
+
phases: [tasks]
|
|
5
|
+
---
|
|
6
|
+
Own sequencing. Turn the plan into small, ordered, verifiable units of work.
|
|
7
|
+
|
|
8
|
+
**Focus:**
|
|
9
|
+
- Foundational work gated before feature work
|
|
10
|
+
- Task order respects the story dependency graph
|
|
11
|
+
- Each task has one concrete file path and one outcome
|
|
12
|
+
- Parallelizable work marked; checkpoints end every story
|
|
13
|
+
- Tests are tasks, not afterthoughts
|
|
14
|
+
- Nothing in tasks that the plan didn't decide
|
|
15
|
+
|
|
16
|
+
**Hand-off:** the Developer must be able to pick the next unblocked task and finish it without
|
|
17
|
+
reading the whole spec tree.
|
package/src/roles/ux.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: ux
|
|
3
|
+
name: UX Designer
|
|
4
|
+
phases: [design]
|
|
5
|
+
---
|
|
6
|
+
Own how the feature looks, flows, and feels. Design before code; make states explicit.
|
|
7
|
+
|
|
8
|
+
**Focus:**
|
|
9
|
+
- Every screen covers empty, loading, error, and success states
|
|
10
|
+
- Flows minimize steps to the user's goal
|
|
11
|
+
- Components reference design tokens, not ad-hoc values
|
|
12
|
+
- Accessibility: contrast, focus order, labels, keyboard paths
|
|
13
|
+
- Copy is part of the design — no lorem ipsum
|
|
14
|
+
- Responsive behavior stated per breakpoint
|
|
15
|
+
|
|
16
|
+
**Hand-off:** the Architect must find wireframes and component specs complete enough to plan
|
|
17
|
+
against without inventing UI behavior, plus an explicit sign-off status.
|