softr-vibe-coding 1.2.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 +12 -4
- 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.
|
|
@@ -168,16 +168,24 @@ softr-vibe-coding/
|
|
|
168
168
|
│ # spacing, motion, accessibility, AI slop checklist
|
|
169
169
|
│
|
|
170
170
|
├── references/ # Advanced patterns (loaded on demand)
|
|
171
|
-
│ ├── helper-blocks.md # Cross-block communication (
|
|
171
|
+
│ ├── helper-blocks.md # Cross-block communication (370 lines)
|
|
172
172
|
│ │ # Invisible helper blocks, window globals,
|
|
173
173
|
│ │ # CustomEvent, useWindowData hook, breadcrumbs,
|
|
174
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
|
|
175
180
|
│ ├── advanced-integrations.md # Shadow DOM CSS isolation (69 lines)
|
|
176
181
|
│ │ # Leaflet, Mapbox, TinyMCE, Quill, FullCalendar
|
|
177
|
-
│ ├── anti-patterns.md # Categorized violation catalog (
|
|
182
|
+
│ ├── anti-patterns.md # Categorized violation catalog (86 lines)
|
|
178
183
|
│ │ # Data access, mutations, hooks, layout,
|
|
179
184
|
│ │ # permissions, helper blocks
|
|
180
|
-
│
|
|
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)
|
|
181
189
|
│ # Imports, hook signatures, mutation shapes,
|
|
182
190
|
│ # field mapping, component skeleton
|
|
183
191
|
│
|
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"
|