dev-process-kit 0.0.2-beta.1 → 0.0.3

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 (36) hide show
  1. package/README.md +22 -9
  2. package/dist/chunks/shared-B2K3LoOU.js +1016 -0
  3. package/dist/chunks/shared-BqW3KAJ4.js +613 -0
  4. package/dist/chunks/shared-Byv6cc0r.js +2779 -0
  5. package/dist/chunks/{shared-CmM4cgd6.js → shared-CKG_SQh5.js} +1 -1
  6. package/dist/chunks/shared-CPAT0Cgk.js +29 -0
  7. package/dist/chunks/shared-CwbzACTe.js +1874 -0
  8. package/dist/chunks/shared-DBDgdVsd.js +1 -0
  9. package/dist/chunks/shared-DMlMTd3c.js +1018 -0
  10. package/dist/chunks/shared-DaoPCw6-.js +556 -0
  11. package/dist/chunks/shared-DqB_TR20.js +1599 -0
  12. package/dist/chunks/shared-DsVxrO_3.js +609 -0
  13. package/dist/chunks/shared-iQIywbRc.js +676 -0
  14. package/dist/chunks/shared-xrCdgpNS.js +1 -0
  15. package/dist/components.js +1 -1
  16. package/dist/index.js +1 -1
  17. package/dist/templates/event-storming.js +1 -1
  18. package/dist/templates/example-mapping.js +1 -1
  19. package/dist/templates/grill.js +1 -1
  20. package/dist/templates/plain.js +1 -1
  21. package/dist/templates/prototype.js +1 -1
  22. package/dist/templates/slides.js +1 -0
  23. package/dist/templates/task-board.js +1 -0
  24. package/dist/templates/usm.js +1 -1
  25. package/package.json +4 -2
  26. package/dist/chunks/shared-5C6fORCL.js +0 -1404
  27. package/dist/chunks/shared-B1lFGiYZ.js +0 -1
  28. package/dist/chunks/shared-BEjjbZ0X.js +0 -2543
  29. package/dist/chunks/shared-BFAVBf4I.js +0 -1
  30. package/dist/chunks/shared-BybvAQye.js +0 -579
  31. package/dist/chunks/shared-DKxAm7wL.js +0 -27
  32. package/dist/chunks/shared-DgusMFKr.js +0 -1
  33. package/dist/chunks/shared-Dx0MEuAf.js +0 -921
  34. package/dist/chunks/shared-RclF4vSf.js +0 -692
  35. package/dist/chunks/shared-ao1beBgL.js +0 -544
  36. package/dist/chunks/shared-eiZoh1aF.js +0 -521
package/README.md CHANGED
@@ -19,6 +19,7 @@ browser, and the review comes back as structured change requests the agent can a
19
19
  - **Rich diagrams with almost no code.** Parts for the traditional diagrams a development process uses, ready to drop into your markup.
20
20
  - **No setup.** The components are made for a single-file HTML page and ship as Web Components: one `<script>` tag, and they are there.
21
21
  - **Feedback without leaving the page.** Operate the diagram and comment on individual elements in the UI, then copy the operations and the comments out as a hand-off to an agent.
22
+ - **First-class support for Claude Artifacts.** Published from Claude Code as a Claude Artifact, the page follows the claude.ai theme and sends the review straight back to the Claude session with one click: no copy and paste.
22
23
 
23
24
  ## Why dev-process-kit?
24
25
 
@@ -50,6 +51,16 @@ Create a USM for this product.
50
51
  Follow https://raw.githubusercontent.com/d-kimuson/dev-process-kit/main/skills/dev-process-kit/SKILL.md.
51
52
  ```
52
53
 
54
+ ### Claude Artifacts
55
+
56
+ Claude Code can publish the page as a Claude Artifact instead of a local file, and dev-process-kit supports that as a first-class target:
57
+
58
+ - **One-click hand-off.** With the `comments` and `db` capabilities declared, the review rail offers **Send to Claude** in place of copying. The review arrives in the Claude Code session that published the page, which applies it and republishes to the same URL.
59
+ - **Fits the viewer.** The template follows the reader's claude.ai light / dark theme and sizes itself to the viewer's frame.
60
+ - **Nothing to configure.** The page detects the Artifact at runtime; outside one, or when a send cannot land, the copy hand-off stays as it is.
61
+
62
+ The skill's [Claude Artifact reference](skills/dev-process-kit/references/claude-artifact.md) tells the agent how to write and publish such a page.
63
+
53
64
  ### Install the skill
54
65
 
55
66
  The `dev-process-kit` agent skill tells the agent when to reach for a page and how to keep it focused.
@@ -71,20 +82,22 @@ dev-process-kit ships **templates**, which make up a whole page, and **component
71
82
 
72
83
  ### Templates
73
84
 
74
- | Template | Element | What it is |
75
- | ------------------ | ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
76
- | UX Prototype | `dpk-template-prototype` | `Activity › UserStory › Step › Preview[]`: one step is one page or experience state, with previews per viewport |
77
- | User Story Mapping | `dpk-template-usm` | The backbone (activity › step) as columns, milestones as rows |
78
- | Event Storming | `dpk-template-event-storming` | Sticky notes on swimlanes in timeline order, with causality links between them |
79
- | Example Mapping | `dpk-template-example-mapping` | One story per column, rules beneath it, examples beneath each rule, questions pinned to any of them |
80
- | Grill | `dpk-template-grill` | A review of questions over whatever you put in the main area: the questions are base data, the answers are draft actions, the badges sit on your own markup |
81
- | Plain | `dpk-template-plain` | For a page no other template fits: only the header and the review (comments) pipeline around your own markup |
85
+ | Template | Element | What it is |
86
+ | ------------------ | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
87
+ | UX Prototype | `dpk-template-prototype` | `Activity › UserStory › Step › Preview[]`: one step is one page or experience state, with previews per viewport |
88
+ | User Story Mapping | `dpk-template-usm` | The backbone (activity › step) as columns, milestones as rows |
89
+ | Event Storming | `dpk-template-event-storming` | Sticky notes on swimlanes in timeline order, with causality links between them |
90
+ | Example Mapping | `dpk-template-example-mapping` | One story per column, rules beneath it, examples beneath each rule, questions pinned to any of them |
91
+ | Grill | `dpk-template-grill` | A review of questions over whatever you put in the main area: the questions are base data, the answers are draft actions, the badges sit on your own markup |
92
+ | Plain | `dpk-template-plain` | For a page no other template fits: only the header and the review (comments) pipeline around your own markup |
93
+ | Slides | `dpk-template-slides` | A slide deck for explaining something step by step: slide titles and points are base data, richer bodies are your own markup, comments go on the slide on screen |
94
+ | Task Context Board | `dpk-template-task-board` | Where a task shared by an agent and a person stands: why and what (a short design doc, with diagrams), todos with assignees and proposals, outputs (URLs / paths), the conversation log with the current status, and questions the agent works around on an assumption; replies and todo changes go back as drafts |
82
95
 
83
96
  ### Components
84
97
 
85
98
  | Component | Element | What it is |
86
99
  | ---------------- | -------------------------------- | -------------------------------------------------------------------------------------------- |
87
- | Review rail | `dpk-component-comment-panel` | The draft actions and comments, stale markers, deletion, and the copy hand-off for the agent |
100
+ | Review rail | `dpk-component-comment-panel` | Draft actions and comments, stale markers, deletion, and the copy or send-to-Claude hand-off |
88
101
  | Inline editing | `dpk-component-inline-edit` | A text/multiline editor that emits `dpk-commit` |
89
102
  | State diagram | `dpk-component-state-diagram` | Which states exist, and what moves between them |
90
103
  | Sequence diagram | `dpk-component-sequence-diagram` | In what order participants talk |