softr-vibe-coding 1.1.0 → 1.3.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/README.md +33 -4
- package/SKILL.md +1 -1
- package/datasources/airtable.md +2 -0
- package/datasources/writing.md +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> Turn Claude into a Softr Vibe Coding expert — generate production-ready JSX blocks with polished UI, correct data fetching, and all 14 Softr data sources supported out of the box.
|
|
4
4
|
|
|
5
5
|

|
|
6
|
-

|
|
7
7
|

|
|
8
8
|
|
|
9
9
|
> **UNOFFICIAL** — This is a community-maintained Claude skill. It is not affiliated with, endorsed by, or officially supported by Softr. Use as-is.
|
|
@@ -84,6 +84,27 @@ Build me a Softr Vibe Coding block that shows a team directory with cards
|
|
|
84
84
|
|
|
85
85
|
---
|
|
86
86
|
|
|
87
|
+
## Companion skill — `building-design-md`
|
|
88
|
+
|
|
89
|
+
This skill is **Step 2** of a two-skill brand-to-blocks pipeline:
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
New client → building-design-md (brand → DESIGN.md) → softr-vibe-coding (DESIGN.md → JSX blocks) → shipped Softr app
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
The upstream skill is [`building-design-md`](https://github.com/leo-softr/design-md-extractor-skill), which extracts a brand foundation (colors, typography, voice) from a website URL or brand guide into a portable `DESIGN.md` file. When that file exists in your project folder, this skill picks it up automatically and applies the brand tokens throughout every block it generates — no re-asking about colors or fonts.
|
|
96
|
+
|
|
97
|
+
**Install both for the full workflow:**
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
npx building-design-md@latest init
|
|
101
|
+
npx softr-vibe-coding@latest init
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Both auto-update on every Claude Code session. Skip the first one if you only want default Softr styling.
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
87
108
|
## Updating
|
|
88
109
|
|
|
89
110
|
**If you used the recommended `npx ... init` install**, updates are automatic — the SessionStart hook pulls the latest published version on every Claude Code session, so you're always at most one session behind the latest release.
|
|
@@ -147,16 +168,24 @@ softr-vibe-coding/
|
|
|
147
168
|
│ # spacing, motion, accessibility, AI slop checklist
|
|
148
169
|
│
|
|
149
170
|
├── references/ # Advanced patterns (loaded on demand)
|
|
150
|
-
│ ├── helper-blocks.md # Cross-block communication (
|
|
171
|
+
│ ├── helper-blocks.md # Cross-block communication (370 lines)
|
|
151
172
|
│ │ # Invisible helper blocks, window globals,
|
|
152
173
|
│ │ # CustomEvent, useWindowData hook, breadcrumbs,
|
|
153
174
|
│ │ # saved views, companion field helpers
|
|
175
|
+
│ ├── airtable-automations.md # Airtable automation scripting (350 lines)
|
|
176
|
+
│ │ # "Run a script" automation action vs.
|
|
177
|
+
│ │ # Scripting Extension, cross-table cascades,
|
|
178
|
+
│ │ # batch update gotchas, field-ID discipline,
|
|
179
|
+
│ │ # Airtable formulas
|
|
154
180
|
│ ├── advanced-integrations.md # Shadow DOM CSS isolation (69 lines)
|
|
155
181
|
│ │ # Leaflet, Mapbox, TinyMCE, Quill, FullCalendar
|
|
156
|
-
│ ├── anti-patterns.md # Categorized violation catalog (
|
|
182
|
+
│ ├── anti-patterns.md # Categorized violation catalog (86 lines)
|
|
157
183
|
│ │ # Data access, mutations, hooks, layout,
|
|
158
184
|
│ │ # permissions, helper blocks
|
|
159
|
-
│
|
|
185
|
+
│ ├── common-patterns.md # Small reusable patterns (102 lines)
|
|
186
|
+
│ │ # localStorage cross-page state,
|
|
187
|
+
│ │ # clipboard copy button
|
|
188
|
+
│ └── quick-reference.md # Syntax cheat sheet (207 lines)
|
|
160
189
|
│ # Imports, hook signatures, mutation shapes,
|
|
161
190
|
│ # field mapping, component skeleton
|
|
162
191
|
│
|
package/SKILL.md
CHANGED
|
@@ -40,7 +40,7 @@ You generate complete, production-ready Softr Vibe Coding blocks as JSX files. A
|
|
|
40
40
|
- **If `./DESIGN.md` is NOT found:** Tell the user:
|
|
41
41
|
|
|
42
42
|
> "No DESIGN.md found in this project. Three options:
|
|
43
|
-
> A. **Set up a brand foundation first** —
|
|
43
|
+
> A. **Set up a brand foundation first** — use the `building-design-md` skill to extract brand tokens from the client's website or a brand guide, then come back here. (Recommended for client work. Not installed? Run `npx building-design-md@latest init` in your terminal.)
|
|
44
44
|
> B. **Quick brand override** — paste the brand's primary color, accent color, and font name now. I'll apply just those.
|
|
45
45
|
> C. **Use the default Softr style** — primary `#386AF5`, accent `#FCB500`, Inter font."
|
|
46
46
|
|
package/datasources/airtable.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Airtable
|
|
2
2
|
|
|
3
|
+
> **Looking for Airtable Automation Scripts, Scripting Extension, or Airtable formulas?** This page covers the **Softr data source** integration (read/write from a Vibe Coding block). For Airtable-side scripts and formula fields — including cross-table cascades triggered by record changes — see [../references/airtable-automations.md](../references/airtable-automations.md).
|
|
4
|
+
|
|
3
5
|
## Overview
|
|
4
6
|
Popular spreadsheet-database hybrid used as a data source for Softr. Requires a Basic plan or higher in Softr.
|
|
5
7
|
|
package/datasources/writing.md
CHANGED
|
@@ -237,7 +237,10 @@ Plain string. To clear a value, both `null` and `""` work for Softr Database tex
|
|
|
237
237
|
|
|
238
238
|
## Cross-Table Operations
|
|
239
239
|
|
|
240
|
-
`useRecordCreate`, `useRecordUpdate`, and `useRecordDelete` only work with the block's configured datasource.
|
|
240
|
+
`useRecordCreate`, `useRecordUpdate`, and `useRecordDelete` only work with the block's configured datasource. Two paths to write across tables:
|
|
241
|
+
|
|
242
|
+
- **For Airtable backends** — usually cleanest to write to the block's own table and let an Airtable automation script handle the cascade. See [../references/airtable-automations.md](../references/airtable-automations.md). Keeps the block simple, avoids exposing an API key in the browser, and lets cross-table logic live next to the data.
|
|
243
|
+
- **Softr Database REST API via `fetch()`** — the only option for non-Airtable sources, and the right choice when an automation cycle would be too slow. Details below.
|
|
241
244
|
|
|
242
245
|
**Base URL:** `https://tables-api.softr.io/api/v1/databases/{databaseId}/tables/{tableId}/records`
|
|
243
246
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "softr-vibe-coding",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Claude Code skill for generating production-ready Softr Vibe Coding blocks (JSX). Installs into ~/.claude/skills/ and auto-updates on each Claude Code session.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"softr-vibe-coding": "./bin/cli.js"
|