@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.
Files changed (94) hide show
  1. package/CHANGELOG.md +127 -0
  2. package/README.md +60 -21
  3. package/dist/cli/dashboard.d.ts +13 -2
  4. package/dist/cli/dashboard.js +144 -23
  5. package/dist/cli/dashboard.js.map +1 -1
  6. package/dist/cli/ui/capabilities.js +20 -1
  7. package/dist/cli/ui/capabilities.js.map +1 -1
  8. package/dist/cli/ui/dashboard/attention.d.ts +10 -0
  9. package/dist/cli/ui/dashboard/attention.js +41 -0
  10. package/dist/cli/ui/dashboard/attention.js.map +1 -0
  11. package/dist/cli/ui/dashboard/burndown-chart.d.ts +16 -0
  12. package/dist/cli/ui/dashboard/burndown-chart.js +117 -0
  13. package/dist/cli/ui/dashboard/burndown-chart.js.map +1 -0
  14. package/dist/cli/ui/dashboard/cards.d.ts +25 -0
  15. package/dist/cli/ui/dashboard/cards.js +93 -0
  16. package/dist/cli/ui/dashboard/cards.js.map +1 -0
  17. package/dist/cli/ui/dashboard/feature-chart.d.ts +14 -0
  18. package/dist/cli/ui/dashboard/feature-chart.js +70 -0
  19. package/dist/cli/ui/dashboard/feature-chart.js.map +1 -0
  20. package/dist/cli/ui/dashboard/feature-view.d.ts +18 -0
  21. package/dist/cli/ui/dashboard/feature-view.js +95 -0
  22. package/dist/cli/ui/dashboard/feature-view.js.map +1 -0
  23. package/dist/cli/ui/dashboard/layout.d.ts +7 -0
  24. package/dist/cli/ui/dashboard/layout.js +12 -0
  25. package/dist/cli/ui/dashboard/layout.js.map +1 -0
  26. package/dist/cli/ui/dashboard/panel.d.ts +25 -0
  27. package/dist/cli/ui/dashboard/panel.js +92 -0
  28. package/dist/cli/ui/dashboard/panel.js.map +1 -0
  29. package/dist/cli/ui/dashboard/render-overview.d.ts +29 -0
  30. package/dist/cli/ui/dashboard/render-overview.js +125 -0
  31. package/dist/cli/ui/dashboard/render-overview.js.map +1 -0
  32. package/dist/cli/ui/dashboard/status-chart.d.ts +21 -0
  33. package/dist/cli/ui/dashboard/status-chart.js +93 -0
  34. package/dist/cli/ui/dashboard/status-chart.js.map +1 -0
  35. package/dist/cli/ui/dashboard/tokens.d.ts +988 -0
  36. package/dist/cli/ui/dashboard/tokens.js +1024 -0
  37. package/dist/cli/ui/dashboard/tokens.js.map +1 -0
  38. package/dist/cli/ui/dashboard/up-next.d.ts +13 -0
  39. package/dist/cli/ui/dashboard/up-next.js +41 -0
  40. package/dist/cli/ui/dashboard/up-next.js.map +1 -0
  41. package/dist/cli/ui/interactive/fullscreen.d.ts +6 -0
  42. package/dist/cli/ui/interactive/fullscreen.js +8 -0
  43. package/dist/cli/ui/interactive/fullscreen.js.map +1 -1
  44. package/dist/cli/ui/interactive/overview.d.ts +38 -0
  45. package/dist/cli/ui/interactive/overview.js +170 -0
  46. package/dist/cli/ui/interactive/overview.js.map +1 -0
  47. package/dist/cli/ui/theme.d.ts +13 -0
  48. package/dist/cli/ui/theme.js +17 -0
  49. package/dist/cli/ui/theme.js.map +1 -1
  50. package/dist/cli/ui/types.d.ts +4 -0
  51. package/dist/core/analyze.d.ts +6 -0
  52. package/dist/core/analyze.js +1 -1
  53. package/dist/core/analyze.js.map +1 -1
  54. package/dist/core/burndown.d.ts +62 -0
  55. package/dist/core/burndown.js +169 -0
  56. package/dist/core/burndown.js.map +1 -0
  57. package/dist/core/clarifications.d.ts +7 -0
  58. package/dist/core/clarifications.js +31 -0
  59. package/dist/core/clarifications.js.map +1 -0
  60. package/dist/core/dashboard.d.ts +7 -2
  61. package/dist/core/dashboard.js +24 -8
  62. package/dist/core/dashboard.js.map +1 -1
  63. package/dist/core/features.d.ts +14 -0
  64. package/dist/core/features.js +97 -0
  65. package/dist/core/features.js.map +1 -0
  66. package/dist/core/git.d.ts +5 -0
  67. package/dist/core/git.js +13 -0
  68. package/dist/core/git.js.map +1 -1
  69. package/dist/core/overview-types.d.ts +99 -0
  70. package/dist/core/overview-types.js +11 -0
  71. package/dist/core/overview-types.js.map +1 -0
  72. package/dist/core/overview.d.ts +42 -0
  73. package/dist/core/overview.js +259 -0
  74. package/dist/core/overview.js.map +1 -0
  75. package/docs/architecture.md +93 -0
  76. package/docs/artifacts/plan.md +31 -0
  77. package/docs/artifacts/spec.md +70 -0
  78. package/docs/artifacts/tasks.md +40 -0
  79. package/docs/artifacts/ui-design.md +59 -0
  80. package/docs/cli-reference.md +196 -0
  81. package/docs/concepts/constitution.md +35 -0
  82. package/docs/concepts/spec-driven-development.md +34 -0
  83. package/docs/contributing.md +50 -0
  84. package/docs/getting-started.md +106 -0
  85. package/docs/index.md +35 -0
  86. package/docs/tool-compatibility.md +78 -0
  87. package/docs/workflow.md +109 -0
  88. package/package.json +16 -4
  89. package/src/roles/architect.md +17 -0
  90. package/src/roles/developer.md +17 -0
  91. package/src/roles/pm.md +17 -0
  92. package/src/roles/qa.md +17 -0
  93. package/src/roles/tech-lead.md +17 -0
  94. 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.1.0",
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
- "README.md"
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": "^3.23.0"
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.
@@ -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.
@@ -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.
@@ -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.