create-quiver 0.4.0 → 0.5.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 (31) hide show
  1. package/README.md +56 -22
  2. package/README_FOR_AI.md +28 -10
  3. package/docs/AI_CONTEXT.md.template +58 -0
  4. package/docs/AI_ONBOARDING_PROMPT.md.template +56 -0
  5. package/docs/CONTEXTO.md.template +1 -1
  6. package/docs/DOCUMENTATION_GUIDE.md.template +9 -7
  7. package/docs/INDEX.md.template +4 -0
  8. package/docs/WORKFLOW.md.template +6 -1
  9. package/package.json +1 -1
  10. package/scripts/init-docs.sh +53 -8
  11. package/scripts/package-quiver.sh +2 -0
  12. package/specs/quiver-v07-ai-context-pack/EVIDENCE_REPORT.md +24 -0
  13. package/specs/quiver-v07-ai-context-pack/SPEC.md +40 -0
  14. package/specs/quiver-v07-ai-context-pack/STATUS.md +24 -0
  15. package/specs/quiver-v07-ai-context-pack/slices/slice-01-ai-context-pack/slice.json +79 -0
  16. package/specs/quiver-v08-agent-onboarding-analysis/EVIDENCE_REPORT.md +49 -0
  17. package/specs/quiver-v08-agent-onboarding-analysis/SPEC.md +53 -0
  18. package/specs/quiver-v08-agent-onboarding-analysis/STATUS.md +26 -0
  19. package/specs/quiver-v08-agent-onboarding-analysis/slices/slice-01-project-scan-command/slice.json +73 -0
  20. package/specs/quiver-v08-agent-onboarding-analysis/slices/slice-02-ai-onboarding-prompt/slice.json +82 -0
  21. package/specs/quiver-v08-agent-onboarding-analysis/slices/slice-03-doctor-readme-adoption-flow/slice.json +76 -0
  22. package/specs/quiver-v09-onboarding-readme-flow/EVIDENCE_REPORT.md +33 -0
  23. package/specs/quiver-v09-onboarding-readme-flow/SPEC.md +44 -0
  24. package/specs/quiver-v09-onboarding-readme-flow/STATUS.md +25 -0
  25. package/specs/quiver-v09-onboarding-readme-flow/slices/slice-01-developer-readme-onboarding-flow/slice.json +69 -0
  26. package/specs/quiver-v09-onboarding-readme-flow/slices/slice-02-ai-handoff-doctor-guidance/slice.json +71 -0
  27. package/specs/quiver-v10-local-project-installation-guidance/EVIDENCE_REPORT.md +25 -0
  28. package/specs/quiver-v10-local-project-installation-guidance/SPEC.md +42 -0
  29. package/specs/quiver-v10-local-project-installation-guidance/STATUS.md +24 -0
  30. package/specs/quiver-v10-local-project-installation-guidance/slices/slice-01-local-project-installation-guidance/slice.json +75 -0
  31. package/src/create-quiver/index.js +608 -4
@@ -0,0 +1,71 @@
1
+ {
2
+ "slice_id": "slice-02-ai-handoff-doctor-guidance",
3
+ "ticket": "QUIVER-02",
4
+ "type": "docs",
5
+ "title": "AI Handoff and Doctor Guidance",
6
+ "objective": "Align AI-facing guidance and doctor output with the README onboarding flow so the CLI tells users when to run the generated prompt.",
7
+ "description": "Once README onboarding is clear, the CLI and AI guide should reinforce the same handoff: analyze the project, validate the generated contract, then ask the AI agent to execute `docs/AI_ONBOARDING_PROMPT.md` before creating slices.",
8
+ "git": {
9
+ "branch_type": "docs",
10
+ "base_branch": "main",
11
+ "branch_slug": "onboarding-readme-flow",
12
+ "branch_name": "docs/QUIVER-09-onboarding-readme-flow"
13
+ },
14
+ "must": [
15
+ "Update `doctor` output to point to `docs/AI_ONBOARDING_PROMPT.md` after scan artifacts exist",
16
+ "Update `README_FOR_AI.md` so agents understand onboarding means preparing context before feature work",
17
+ "Extend create-quiver smoke coverage for the new doctor handoff guidance",
18
+ "Run package smoke to confirm the published template still includes the onboarding artifacts",
19
+ "Close the spec evidence and status files"
20
+ ],
21
+ "not_included": [
22
+ "Changing generated prompt content beyond references needed for consistency",
23
+ "Changing analyzer output shape",
24
+ "Changing release publishing behavior",
25
+ "Opening multiple PRs for this spec"
26
+ ],
27
+ "acceptance": [
28
+ "After `analyze`, `doctor` tells the developer to run `docs/AI_ONBOARDING_PROMPT.md` with their AI agent",
29
+ "`README_FOR_AI.md` says the initial AI job is context preparation, not product implementation",
30
+ "Smoke tests verify the new doctor output",
31
+ "Package smoke still passes",
32
+ "The spec status and evidence show both slices completed"
33
+ ],
34
+ "files": [
35
+ "README_FOR_AI.md",
36
+ "src/create-quiver/index.js",
37
+ "scripts/ci/smoke-create-quiver.sh",
38
+ "scripts/package-quiver.sh",
39
+ "specs/quiver-v09-onboarding-readme-flow/SPEC.md",
40
+ "specs/quiver-v09-onboarding-readme-flow/STATUS.md",
41
+ "specs/quiver-v09-onboarding-readme-flow/EVIDENCE_REPORT.md",
42
+ "specs/quiver-v09-onboarding-readme-flow/slices/slice-02-ai-handoff-doctor-guidance/slice.json"
43
+ ],
44
+ "tests": [
45
+ "node -c src/create-quiver/index.js",
46
+ "bash scripts/ci/smoke-create-quiver.sh",
47
+ "bash scripts/package-quiver.sh",
48
+ "git diff --check"
49
+ ],
50
+ "documentation": [
51
+ "README_FOR_AI.md",
52
+ "specs/quiver-v09-onboarding-readme-flow/SPEC.md",
53
+ "specs/quiver-v09-onboarding-readme-flow/STATUS.md",
54
+ "specs/quiver-v09-onboarding-readme-flow/EVIDENCE_REPORT.md"
55
+ ],
56
+ "dependencies": [
57
+ "slice-01-developer-readme-onboarding-flow"
58
+ ],
59
+ "assumptions": [
60
+ "Doctor should guide next steps but not execute the AI prompt automatically",
61
+ "The generated prompt remains provider-neutral",
62
+ "The same branch can hold both slice commits for one spec PR"
63
+ ],
64
+ "estimated_hours": 2,
65
+ "actual_hours": 2,
66
+ "status": "completed",
67
+ "blocked_reason": null,
68
+ "ready_at": "2026-04-21T00:00:00Z",
69
+ "started_at": "2026-04-21T00:00:00Z",
70
+ "completed_at": "2026-04-21T00:00:00Z"
71
+ }
@@ -0,0 +1,25 @@
1
+ # Quiver v0.10 Evidence Report
2
+
3
+ **Spec:** quiver-v10-local-project-installation-guidance
4
+ **Last updated:** 2026-04-21
5
+ **Status:** Completed
6
+
7
+ ## Summary
8
+
9
+ | Slice | Acceptance criteria | Status | Evidence |
10
+ |-------|---------------------|--------|----------|
11
+ | slice-01 | 5 | Completed | `bash scripts/ci/smoke-init-docs.sh`, `bash scripts/ci/smoke-create-quiver.sh` |
12
+
13
+ ## Evidence by Slice
14
+
15
+ ### slice-01-local-project-installation-guidance
16
+
17
+ - Updated the root README to prioritize running Quiver from the target project root with `npx`
18
+ - Documented project-local pinned installation with `npm install --save-dev create-quiver`
19
+ - Explicitly discouraged global installation
20
+ - Updated generated README guidance in `scripts/init-docs.sh`
21
+ - Updated AI-facing guidance in `README_FOR_AI.md` and `docs/AI_CONTEXT.md.template`
22
+ - Added smoke assertions for generated README guidance
23
+ - Verified shell syntax with `bash -n scripts/init-docs.sh scripts/ci/smoke-init-docs.sh scripts/ci/smoke-create-quiver.sh`
24
+ - Verified generated docs with `bash scripts/ci/smoke-init-docs.sh`
25
+ - Verified CLI smoke with `bash scripts/ci/smoke-create-quiver.sh`
@@ -0,0 +1,42 @@
1
+ # Quiver v0.10 - Local Project Installation Guidance
2
+
3
+ **Date:** 2026-04-21
4
+ **Status:** Completed
5
+
6
+ Slice numbering resets here: this spec starts at `slice-01` and does not continue any previous spec's numbering.
7
+
8
+ ## Objective
9
+
10
+ Clarify that Quiver should be run from the project where the workflow will live, preferably through `npx`, and should not be installed globally.
11
+
12
+ ## Scope
13
+
14
+ ### Included
15
+
16
+ - Update the root README to recommend running Quiver from the project root
17
+ - Make `npx create-quiver --name "Project Name"` the primary path
18
+ - Document `npm install --save-dev create-quiver` as the pinned project-local option
19
+ - Explicitly discourage global installation
20
+ - Update generated project README and AI-facing docs with the same guidance
21
+ - Add smoke checks for the new guidance
22
+
23
+ ### Excluded
24
+
25
+ - CLI behavior changes
26
+ - npm package version changes
27
+ - Release publishing
28
+ - Windows-specific installation changes
29
+
30
+ ## Slices
31
+
32
+ | Slice | Title | Status | Spec |
33
+ |-------|-------|--------|------|
34
+ | 01 | Local Project Installation Guidance | Completed | [slice-01](./slices/slice-01-local-project-installation-guidance/slice.json) |
35
+
36
+ ## Definition of Done
37
+
38
+ - The README tells developers to run Quiver from the target project root
39
+ - The README does not recommend global installation
40
+ - The generated project README includes the same local-project guidance
41
+ - AI-facing docs refer to the local project root as the operating context
42
+ - Smoke checks verify the generated README guidance
@@ -0,0 +1,24 @@
1
+ # Quiver v0.10 Spec Status
2
+
3
+ **Spec:** quiver-v10-local-project-installation-guidance
4
+ **Last updated:** 2026-04-21
5
+
6
+ Slice numbering is local to this spec. The first slice is `slice-01`.
7
+
8
+ ## Status
9
+
10
+ | Slice | Title | Status | PR | Estimated hours | Actual hours |
11
+ |-------|-------|--------|----|-----------------|--------------|
12
+ | slice-01 | Local Project Installation Guidance | Completed | - | 1 | 1 |
13
+
14
+ ## Progress
15
+
16
+ - Completed slices: 1 / 1
17
+ - Estimated hours: 1
18
+ - Actual hours: 1
19
+
20
+ ## Blockers
21
+
22
+ | Slice | Blocker | Since | Action needed |
23
+ |-------|---------|-------|---------------|
24
+ | - | - | - | - |
@@ -0,0 +1,75 @@
1
+ {
2
+ "slice_id": "slice-01-local-project-installation-guidance",
3
+ "ticket": "QUIVER-01",
4
+ "type": "docs",
5
+ "title": "Local Project Installation Guidance",
6
+ "objective": "Clarify that Quiver should be run from the target project root with `npx`, or installed as a devDependency when a pinned project-local version is needed.",
7
+ "description": "The README currently shows `--dir` as the primary path, which can make users think Quiver should be installed or run outside the project. This slice makes the local project root the canonical onboarding location and explicitly discourages global installation.",
8
+ "git": {
9
+ "branch_type": "docs",
10
+ "base_branch": "main",
11
+ "branch_slug": "local-project-installation-guidance",
12
+ "branch_name": "docs/QUIVER-10-local-project-installation-guidance"
13
+ },
14
+ "must": [
15
+ "Make `cd <project>` plus `npx create-quiver --name \"Project Name\"` the primary README flow",
16
+ "Keep `--dir` as an alternate path for scaffolding another directory",
17
+ "Document `npm install --save-dev create-quiver` as the pinned local option",
18
+ "Explicitly say not to install Quiver globally",
19
+ "Update generated project README and AI-facing docs with matching guidance"
20
+ ],
21
+ "not_included": [
22
+ "Changing CLI behavior",
23
+ "Changing package version",
24
+ "Publishing a release",
25
+ "Adding global install support"
26
+ ],
27
+ "acceptance": [
28
+ "The root README recommends running Quiver from the target project root",
29
+ "The root README discourages global installation",
30
+ "The generated project README contains the local-project guidance",
31
+ "AI-facing docs reference the local project root as the working context",
32
+ "Smoke checks pass"
33
+ ],
34
+ "files": [
35
+ "README.md",
36
+ "README_FOR_AI.md",
37
+ "docs/AI_CONTEXT.md.template",
38
+ "scripts/init-docs.sh",
39
+ "scripts/ci/smoke-init-docs.sh",
40
+ "scripts/ci/smoke-create-quiver.sh",
41
+ "specs/quiver-v10-local-project-installation-guidance/SPEC.md",
42
+ "specs/quiver-v10-local-project-installation-guidance/STATUS.md",
43
+ "specs/quiver-v10-local-project-installation-guidance/EVIDENCE_REPORT.md",
44
+ "specs/quiver-v10-local-project-installation-guidance/slices/slice-01-local-project-installation-guidance/slice.json"
45
+ ],
46
+ "tests": [
47
+ "bash -n scripts/init-docs.sh scripts/ci/smoke-init-docs.sh scripts/ci/smoke-create-quiver.sh",
48
+ "bash scripts/ci/smoke-init-docs.sh",
49
+ "bash scripts/ci/smoke-create-quiver.sh",
50
+ "git diff --check"
51
+ ],
52
+ "documentation": [
53
+ "README.md",
54
+ "README_FOR_AI.md",
55
+ "docs/AI_CONTEXT.md.template",
56
+ "specs/quiver-v10-local-project-installation-guidance/SPEC.md",
57
+ "specs/quiver-v10-local-project-installation-guidance/STATUS.md",
58
+ "specs/quiver-v10-local-project-installation-guidance/EVIDENCE_REPORT.md"
59
+ ],
60
+ "dependencies": [
61
+ "quiver-v09-onboarding-readme-flow"
62
+ ],
63
+ "assumptions": [
64
+ "`npx` is the lowest-friction default for new adopters",
65
+ "Teams that need pinned versions can keep `create-quiver` as a devDependency",
66
+ "Global installation should not be part of the recommended path"
67
+ ],
68
+ "estimated_hours": 1,
69
+ "actual_hours": 1,
70
+ "status": "completed",
71
+ "blocked_reason": null,
72
+ "ready_at": "2026-04-21T00:00:00Z",
73
+ "started_at": "2026-04-21T00:00:00Z",
74
+ "completed_at": "2026-04-21T00:00:00Z"
75
+ }