@windyroad/c4 0.1.2 → 0.1.3-preview.27

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/README.md ADDED
@@ -0,0 +1,46 @@
1
+ # @windyroad/c4
2
+
3
+ **C4 architecture diagram generation and validation for Claude Code.** Generates C4 model diagrams from your source code and checks whether they're up to date.
4
+
5
+ Part of [Windy Road Agent Plugins](../../README.md).
6
+
7
+ ## What It Does
8
+
9
+ Architecture diagrams go stale. The C4 plugin keeps them current by generating C3 (component) and C4 (code) views directly from your source code. No manual diagram maintenance.
10
+
11
+ ## Install
12
+
13
+ ```bash
14
+ npx @windyroad/c4
15
+ ```
16
+
17
+ Restart Claude Code after installing.
18
+
19
+ ## Usage
20
+
21
+ **Generate or regenerate C4 diagrams:**
22
+
23
+ ```
24
+ /wr-c4:generate
25
+ ```
26
+
27
+ Analyses your source code and produces C3 component and C4 code-level architecture diagrams.
28
+
29
+ **Check whether diagrams are up to date:**
30
+
31
+ ```
32
+ /wr-c4:check
33
+ ```
34
+
35
+ Compares the current source code against existing diagrams and reports whether they need regeneration.
36
+
37
+ ## Updating and Uninstalling
38
+
39
+ ```bash
40
+ npx @windyroad/c4 --update
41
+ npx @windyroad/c4 --uninstall
42
+ ```
43
+
44
+ ## Licence
45
+
46
+ [MIT](../../LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windyroad/c4",
3
- "version": "0.1.2",
3
+ "version": "0.1.3-preview.27",
4
4
  "description": "C4 architecture diagram generation and validation",
5
5
  "bin": {
6
6
  "windyroad-c4": "./bin/install.mjs"
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wr:c4-check
2
+ name: wr-c4:check
3
3
  description: Check whether C4 architecture diagrams are up to date with source code
4
4
  allowed-tools: Bash(node *)
5
5
  ---
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: wr:c4
2
+ name: wr-c4:generate
3
3
  description: Regenerate C4 architecture diagrams (C3 component + C4 code views) from source code
4
4
  allowed-tools: Bash(node *)
5
5
  ---
File without changes