@ui8kit/uxdx 0.1.0 → 0.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ui8kit/uxdx",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "CLI to accumulate operator and developer experience packs",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,18 +1,28 @@
1
1
  # SDLC harness packs (solo)
2
2
 
3
- Copy-paste packs for the AI-native loop, sized for one operator. Source method:
4
- [`.manual/sdlc-en`](../.manual/sdlc-en/README.md). Which product gets which pack:
5
- [`.project/sdlc-scope.md`](../.project/sdlc-scope.md).
3
+ Copy-ready packs for the AI-native loop, sized for one operator. Method:
4
+ [The AI-Native SDLC Playbook](https://academy.claude.com/courses/ai-native-sdlc-playbook)
5
+ (public course). Map `plan.md` / `CLAUDE.md` onto Cursor Plan mode and
6
+ `AGENTS.md`.
6
7
 
7
- Later this tree can move to its own repo or a CLI (`sdlc init --level full`).
8
- Until then the consumer copies **one** pack into **`.sdlc/`**.
8
+ This tree is the source of truth. Install a pack with the published CLI:
9
+
10
+ ```text
11
+ npx @ui8kit/uxdx sdlc --level light|core|full
12
+ ```
13
+
14
+ That copies **one** pack into the target repo’s `.sdlc/` and, unless
15
+ `--no-install`, overlays Cursor rules/skills and merges `AGENTS.md`.
16
+ Never stack two levels. Do not copy this tree by hand.
17
+
18
+ Package: [`@ui8kit/uxdx`](https://www.npmjs.com/package/@ui8kit/uxdx)
9
19
 
10
20
  ## How it works
11
21
 
12
22
  ```
13
- hinddy/brainstorm/.harness-sdlc/<level>/ (this gym)
23
+ @ui8kit/uxdx packages/sdlc/harness/<level>/
14
24
 
15
- copy (do not merge levels)
25
+ npx @ui8kit/uxdx sdlc --level <level>
16
26
 
17
27
  your-repo/.sdlc/ artifacts + overlay text
18
28
 
@@ -23,9 +33,15 @@ your-repo/.sdlc/ artifacts + overlay text
23
33
  └── cursor/rules/ copy → .cursor/rules/
24
34
  ```
25
35
 
26
- 1. Pick **full**, **core**, or **light** from `sdlc-scope.md`. Never stack two packs.
27
- 2. Copy the pack directory contents into `<repo>/.sdlc/` (keep `manifest.yaml`).
28
- 3. **Activate Cursor** (rules/skills are not loaded from `.sdlc` by default):
36
+ 1. Pick **full**, **core**, or **light**. Never stack two packs.
37
+ 2. Run `npx @ui8kit/uxdx sdlc --level <level>` (add `--dir` if needed).
38
+ 3. **Activate Cursor** is done by `sdlc.sh install` (default). To copy only:
39
+
40
+ ```text
41
+ npx @ui8kit/uxdx sdlc --level <level> --no-install
42
+ ```
43
+
44
+ then overlay yourself:
29
45
 
30
46
  ```bash
31
47
  mkdir -p .cursor/rules .cursor/skills
@@ -33,26 +49,29 @@ your-repo/.sdlc/ artifacts + overlay text
33
49
  cp -R .sdlc/skills/* .cursor/skills/
34
50
  ```
35
51
 
36
- 4. **AGENTS.md**: if the repo already has a product `AGENTS.md` (SiteStarter, YPanel, …), **append** a short pointer. Do not replace stack-contract text. If there is no root file, copy `.sdlc/AGENTS.md` to the repo root.
37
- 5. For each change: copy `intent.md` / `spec.md` / `plan.md` into `.sdlc/changes/<slug>/` and fill them. Leave the pack-root files as templates.
38
- 6. Existing product rules (`.cursor/rules/stack-contract.mdc`, …) stay. The harness adds SDLC rules; it does not own Codex IA.
52
+ 4. **AGENTS.md**: if the repo already has one, the install **appends** a
53
+ marked overlay. Do not replace product contract text. If there is no root
54
+ file, install writes `.sdlc/AGENTS.md` to the repo root.
55
+ 5. For each change: copy templates into `.sdlc/changes/<slug>/` (`sdlc.sh
56
+ start <slug>`) and fill them. Leave the pack-root files as templates.
57
+ 6. Existing product rules stay. The harness adds SDLC rules only.
39
58
 
40
- Human still merges. The agent writes artifacts and code; you accept `plan.md` before a large diff.
59
+ Human still merges. The agent writes artifacts and code; you accept `plan.md`
60
+ before a large diff.
41
61
 
42
62
  ## Levels
43
63
 
44
64
  | Pack | Use when | Artifacts | Extra |
45
65
  | --- | --- | --- | --- |
46
- | `light/` | Product on an existing contract; small blast radius | `plan.md` required; `intent.md` optional; skip `spec.md` unless IA changes | No evals, no maintain bands |
47
- | `core/` | Kernel, API, ARIA, shared library | `intent.md` + `plan.md`; compressed `spec.md` on boundary changes | Invariant skills; short `REVIEW.md` |
48
- | `full/` | Portable Codex path, YPanel, anything that ships + is pinned | Full chain including `spec.md` | `REVIEW.md`, `evals/` stub, `bands.yaml` stub |
49
-
50
- ## Future CLI (not built)
66
+ | `light/` | Product already has a contract; small blast radius | `plan.md` required; `intent.md` optional; skip `spec.md` unless the public contract changes | No evals, no maintain bands |
67
+ | `core/` | Kernel, API, or shared library | `intent.md` + `plan.md`; short `spec.md` on boundary changes | Invariant skills; short `REVIEW.md` |
68
+ | `full/` | Shipping product or high-stakes operator surface | Full chain including `spec.md` | `REVIEW.md`, `evals/` stub, `bands.yaml` stub |
51
69
 
52
- Suggested commands, matching `manifest.yaml` in each pack:
70
+ ## Commands
53
71
 
54
- - `sdlc init --level full` → copy pack to `.sdlc`, overlay rules/skills, patch root `AGENTS.md` between markers
55
- - `sdlc change start <slug>` → copy templates into `.sdlc/changes/<slug>/`
56
- - `sdlc change accept` → remind to commit artifacts with the diff
57
-
58
- Do not invent a second content REST or product kinds from this harness.
72
+ ```text
73
+ npx @ui8kit/uxdx sdlc --level full
74
+ bash .sdlc/sdlc.sh install
75
+ bash .sdlc/sdlc.sh start <slug>
76
+ bash .sdlc/sdlc.sh status
77
+ ```
@@ -1,7 +1,7 @@
1
1
  <!-- sdlc-harness:begin -->
2
2
  ## SDLC harness (core)
3
3
 
4
- This repo uses the **core** pack (`.harness-sdlc/core` `.sdlc/`).
4
+ This repo uses the **core** pack from [`@ui8kit/uxdx`](https://www.npmjs.com/package/@ui8kit/uxdx) (`.sdlc/`).
5
5
 
6
6
  - Boundary, API, and policy changes: `intent.md` + short `spec.md` + `plan.md`.
7
7
  - Mechanical fixes: `plan.md` only, still name the invariant you must not break.
@@ -1,9 +1,12 @@
1
1
  # Core harness
2
2
 
3
3
  For kernels, shared libraries, and high blast-radius contracts.
4
- Examples: FormSet, Framework, Panel, ui8kit/aria, Context.
5
4
 
6
- Copy this directory to `<repo>/.sdlc/`. Overlay Cursor files — `../README.md`.
5
+ Install:
6
+
7
+ ```text
8
+ npx @ui8kit/uxdx sdlc --level core
9
+ ```
7
10
 
8
11
  ## Per change
9
12
 
@@ -1,7 +1,7 @@
1
1
  <!-- sdlc-harness:begin -->
2
2
  ## SDLC harness (full)
3
3
 
4
- This repo uses the **full** pack (`.harness-sdlc/full` `.sdlc/`).
4
+ This repo uses the **full** pack from [`@ui8kit/uxdx`](https://www.npmjs.com/package/@ui8kit/uxdx) (`.sdlc/`).
5
5
 
6
6
  Loop: accepted `intent.md` → `spec.md` → `plan.md` → diff + existing verify
7
7
  → PR against `.sdlc/REVIEW.md` → you merge. Optional later: `evals/` on
@@ -1,9 +1,12 @@
1
1
  # Full harness
2
2
 
3
- For the portable Codex path and high-stakes operators.
4
- Examples: SiteStarter, GoBackend, SvelteCMS, YPanel.
3
+ For shipping products and high-stakes operator surfaces.
5
4
 
6
- Copy this directory to `<repo>/.sdlc/`. Overlay Cursor files — `../README.md`.
5
+ Install:
6
+
7
+ ```text
8
+ npx @ui8kit/uxdx sdlc --level full
9
+ ```
7
10
 
8
11
  Solo adaptation: no MDM, no weekly committee. You still accept `spec.md` and
9
12
  `plan.md`, merge PRs, and authorize production.
@@ -20,4 +23,4 @@ Solo adaptation: no MDM, no weekly committee. You still accept `spec.md` and
20
23
 
21
24
  ## Per change
22
25
 
23
- `mkdir -p .sdlc/changes/<slug>` and copy `intent.md`, `spec.md`, `plan.md`.
26
+ `bash .sdlc/sdlc.sh start <slug>` (copies `intent.md`, `spec.md`, `plan.md`).
@@ -12,6 +12,6 @@ repo, for example:
12
12
  Keep approval prompts off the build hot path so parallel sessions are not
13
13
  serialized. Production gates belong at deploy, not on every file save.
14
14
 
15
- Example PreToolUse shape lives in the playbook
16
- (`.manual/sdlc-en/10-hooks-as-approval-gates.md`). Do not enable managed-only
17
- enterprise settings unless you actually operate MDM.
15
+ Example PreToolUse shape lives in the public playbook
16
+ ([hooks as approval gates](https://academy.claude.com/courses/ai-native-sdlc-playbook/hooks-as-approval-gates)).
17
+ Do not enable managed-only enterprise settings unless you actually operate MDM.
@@ -1,7 +1,7 @@
1
1
  <!-- sdlc-harness:begin -->
2
2
  ## SDLC harness (light)
3
3
 
4
- This repo uses the **light** pack from `hinddy/brainstorm` (`.harness-sdlc/light`).
4
+ This repo uses the **light** pack from [`@ui8kit/uxdx`](https://www.npmjs.com/package/@ui8kit/uxdx).
5
5
  Working copy: `.sdlc/`. Per-change artifacts: `.sdlc/changes/<slug>/`.
6
6
 
7
7
  - Non-trivial work starts in plan mode. Commit `plan.md` before a large diff.
@@ -1,15 +1,17 @@
1
1
  # Light harness
2
2
 
3
- For product repos that already have a contract (`AGENTS.md`, stack rules, tests).
4
- Examples: AlexY OS, GitCourse, Lab, BrandOSS, ui8px-cli, FastyGo UI.
3
+ For product repos that already have a contract (`AGENTS.md`, rules, tests).
5
4
 
6
- Copy this directory to `<repo>/.sdlc/`. Then overlay Cursor files — see
7
- `../README.md`.
5
+ Install:
6
+
7
+ ```text
8
+ npx @ui8kit/uxdx sdlc --level light
9
+ ```
8
10
 
9
11
  ## Per change
10
12
 
11
- 1. `mkdir -p .sdlc/changes/<slug>`
12
- 2. Copy `plan.md` into that folder and fill it.
13
- 3. Add `intent.md` only if the origin is unclear (incident, external request).
14
- 4. Skip `spec.md` unless you are changing published IA or a user-visible contract.
15
- 5. Run the repo's existing verify command before calling the task done.
13
+ 1. `bash .sdlc/sdlc.sh start <slug>` (or `mkdir -p .sdlc/changes/<slug>`).
14
+ 2. Fill `plan.md` in that folder.
15
+ 3. Add `intent.md` only if the origin is unclear.
16
+ 4. Skip `spec.md` unless you are changing a published or user-visible contract.
17
+ 5. Run the repos existing verify command before calling the task done.
@@ -2,7 +2,8 @@
2
2
  name: sdlc-light
3
3
  description: >-
4
4
  Light AI-native SDLC for a solo developer. Use when planning or implementing
5
- work in a repo that copied .harness-sdlc/light into .sdlc. Write plan.md,
5
+ work in a repo whose `.sdlc` was installed with `@ui8kit/uxdx` at level
6
+ light. Write plan.md,
6
7
  skip spec.md unless IA changes, run existing verify commands.
7
8
  ---
8
9