@windyroad/c4 0.1.2 → 0.1.3-preview.26
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 +46 -0
- package/package.json +1 -1
- package/skills/{wr:c4-check → check}/SKILL.md +1 -1
- package/skills/{wr:c4 → generate}/SKILL.md +1 -1
- /package/skills/{wr:c4-check → check}/scripts/c4-check.mjs +0 -0
- /package/skills/{wr:c4 → generate}/scripts/c4-generate.mjs +0 -0
- /package/skills/{wr:c4 → generate}/scripts/c4-lib.mjs +0 -0
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
|
File without changes
|
|
File without changes
|
|
File without changes
|