@turquoisehealth/pit-viper 2.182.1-dev.5 → 2.183.1-dev.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.
- package/claude-plugin/skills/pit-viper/SKILL.md +28 -31
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterGroupMenu.vue.d.ts +21 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +9 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1610 -1426
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/claude-plugin/skills/pit-viper/references/design-language.md +0 -80
- package/claude-plugin/skills/pit-viper/references/design-rules.md +0 -265
- package/claude-plugin/skills/pit-viper/references/html-patterns.md +0 -468
- package/claude-plugin/skills/pit-viper/references/layout-patterns.md +0 -367
- package/claude-plugin/skills/pit-viper/references/patterns-core.md +0 -97
- package/claude-plugin/skills/pit-viper/references/theme-guide.md +0 -160
- package/claude-plugin/skills/pit-viper/references/vue-guidelines.md +0 -526
|
@@ -6,7 +6,11 @@ allowed-tools: Read Glob Grep Write Edit WebFetch
|
|
|
6
6
|
|
|
7
7
|
# Pit Viper Design System
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Fetch the endpoint index and orientation before starting:
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
WebFetch https://pitviper.turquoise.health/llms.txt
|
|
13
|
+
```
|
|
10
14
|
|
|
11
15
|
## Workflow
|
|
12
16
|
|
|
@@ -67,34 +71,22 @@ WebFetch https://pitviper.turquoise.health/llm/tokens?category=color
|
|
|
67
71
|
WebFetch https://pitviper.turquoise.health/llm/tokens?category=spacing
|
|
68
72
|
```
|
|
69
73
|
|
|
70
|
-
###
|
|
71
|
-
|
|
72
|
-
Base URL: `https://pitviper.turquoise.health`
|
|
73
|
-
|
|
74
|
-
| Endpoint | Purpose |
|
|
75
|
-
|----------|---------|
|
|
76
|
-
| `GET /llm` | API index |
|
|
77
|
-
| `GET /llm/search?q={query}` | Search Vue + CSS components |
|
|
78
|
-
| `GET /llm/component` | List all Vue components |
|
|
79
|
-
| `GET /llm/component/{name}` | Get component details (props, stories, source) |
|
|
80
|
-
| `GET /llm/css` | List all CSS components |
|
|
81
|
-
| `GET /llm/css/{component}` | Get CSS component docs |
|
|
82
|
-
| `GET /llm/css/themes` | Get theme CDN URLs |
|
|
83
|
-
| `GET /llm/tokens` | List design tokens |
|
|
84
|
-
| `GET /llm/tokens?category={cat}` | Filter tokens (color, spacing, typography, border, shadow) |
|
|
74
|
+
### Step 4: Generate Output
|
|
85
75
|
|
|
86
|
-
|
|
76
|
+
For all modes, first fetch the composition model:
|
|
87
77
|
|
|
88
|
-
|
|
78
|
+
```
|
|
79
|
+
WebFetch https://pitviper.turquoise.health/llm/composition
|
|
80
|
+
```
|
|
89
81
|
|
|
90
|
-
|
|
82
|
+
Then based on detected mode, read the appropriate reference and generate:
|
|
91
83
|
|
|
92
|
-
- **Vue Mode**:
|
|
93
|
-
- **HTML Mode**:
|
|
94
|
-
- **Design Review**:
|
|
84
|
+
- **Vue Mode**: WebFetch https://pitviper.turquoise.health/llm/guides/vue, produce Vue 3 SFC
|
|
85
|
+
- **HTML Mode**: WebFetch https://pitviper.turquoise.health/llm/guides/html, produce HTML with pv-* classes. Starter template: `assets/pv-html-starter.html`. Full example: `examples/pv-html-example.html`
|
|
86
|
+
- **Design Review**: WebFetch https://pitviper.turquoise.health/llm/guides/design-language, explain component selection
|
|
95
87
|
|
|
96
|
-
For page-level layouts, also
|
|
97
|
-
For theme decisions, also
|
|
88
|
+
For page-level layouts, also WebFetch https://pitviper.turquoise.health/llm/guides/layouts.
|
|
89
|
+
For theme decisions, also WebFetch https://pitviper.turquoise.health/llm/guides/themes.
|
|
98
90
|
|
|
99
91
|
## Anti-Patterns
|
|
100
92
|
|
|
@@ -120,22 +112,27 @@ If `/llm/search` returns no match for a legitimate UI need:
|
|
|
120
112
|
|
|
121
113
|
## References
|
|
122
114
|
|
|
115
|
+
### All modes — fetch first:
|
|
116
|
+
- `WebFetch https://pitviper.turquoise.health/llm/composition` — composition mental model, custom property API, flow vs. stack, failure modes
|
|
117
|
+
|
|
123
118
|
### Vue Mode — load these:
|
|
124
|
-
1.
|
|
125
|
-
2.
|
|
126
|
-
3.
|
|
119
|
+
1. WebFetch https://pitviper.turquoise.health/llm/guides/rules — spacing, typography, colors
|
|
120
|
+
2. WebFetch https://pitviper.turquoise.health/llm/guides/patterns — utility class patterns
|
|
121
|
+
3. WebFetch https://pitviper.turquoise.health/llm/guides/vue — Vue setup and patterns
|
|
127
122
|
|
|
128
123
|
### HTML Mode — load these:
|
|
129
|
-
1.
|
|
124
|
+
1. WebFetch https://pitviper.turquoise.health/llm/guides/html — CDN setup, web components, vanilla JS patterns
|
|
130
125
|
2. Starter template: `assets/pv-html-starter.html`
|
|
131
126
|
3. Full example: `examples/pv-html-example.html` — complete layout with nav, filters, table, sidebar
|
|
132
127
|
|
|
133
128
|
### Design Review — load these:
|
|
134
|
-
1.
|
|
129
|
+
1. WebFetch https://pitviper.turquoise.health/llm/guides/design-language — token validation, rationale
|
|
130
|
+
2. WebFetch https://pitviper.turquoise.health/llm/guides/philosophy — full composition model, reasoning, and failure modes
|
|
135
131
|
|
|
136
132
|
### Optional (any mode):
|
|
137
|
-
-
|
|
138
|
-
-
|
|
133
|
+
- WebFetch https://pitviper.turquoise.health/llm/guides/layouts — full page or multi-component layouts
|
|
134
|
+
- WebFetch https://pitviper.turquoise.health/llm/guides/philosophy — full philosophy doc when the user asks for design rationale or reasoning (not just code generation)
|
|
135
|
+
- WebFetch https://pitviper.turquoise.health/llm/guides/themes — Platform vs Consumer theme selection
|
|
139
136
|
|
|
140
137
|
## Quick Component Map
|
|
141
138
|
|