softr-vibe-coding 1.2.0 → 1.3.1

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/CHANGELOG.md ADDED
@@ -0,0 +1,35 @@
1
+ # Changelog
2
+
3
+ All notable changes to this skill are documented here. Versions follow [Semantic Versioning](https://semver.org/), and the format draws from [Keep a Changelog](https://keepachangelog.com/).
4
+
5
+ Entries from 1.3.1 onward are generated automatically from git commit subjects between version bumps (see `.github/workflows/publish.yml`). Entries before 1.3.1 were backfilled by hand from the existing commit history.
6
+
7
+ ## [1.3.1] - 2026-05-21
8
+ - (no notable changes)
9
+
10
+ ## [1.3.0] - 2026-05-21
11
+ - Cross-link Airtable data source ↔ automation scripts (`datasources/airtable.md` and `datasources/writing.md` now point to `references/airtable-automations.md`)
12
+ - Refresh README's "What's Included" tree: add `airtable-automations.md` and `common-patterns.md`, update stale line counts, fix version badge
13
+
14
+ ## [1.2.0] - 2026-05-20
15
+ - Add `building-design-md` companion section to SKILL.md and README
16
+ - Add install notes for the two-skill brand-to-blocks workflow
17
+
18
+ ## [1.1.0] - 2026-05-20
19
+ - Package as an npm CLI: `npx softr-vibe-coding@latest init` installs into `~/.claude/skills/softr-vibe-coding/` and wires a `SessionStart` hook for auto-updates
20
+ - Add `references/airtable-automations.md` — Airtable Automation Scripts, Scripting Extension, and Airtable formulas (with `input.config()` / `input.secret()` rules, the `output` API divergence between environments, `updateRecordsAsync` duplicate-id rejection, batch-50 cap, field-ID-not-name discipline)
21
+ - Add detail-page back-button rule to placement Q&A; add Block Placement & Page Spacing section to SKILL.md; add brand-source detection step (DESIGN.md handoff)
22
+ - Document `useRecordUpdate.mutate()` parser requirements: method must be `.mutate()` not `.mutateAsync()`, payload must be nested `{ recordId, fields: {...} }` not flat
23
+ - Document `useNavigationSetting`'s `openIn` enum (`SELF` / `TAB` / `MODAL` only) and the canonical `<NavigationAction>` + `<Button asChild>` pattern, with per-action-type config requirements
24
+ - Document `OPEN_CHAT` data-source requirement (button-only helper blocks with no data source cause `chat/prepare` 500s)
25
+ - Document Global Data Restrictions as a separate permissions layer above block-level visibility
26
+ - Add anti-patterns: sub-components defined inside `Block()` (focus loss), brand fonts inside shadow DOM (need inline application), double-painted background on block wrapper, `document.getElementById` / `querySelector` failing silently inside blocks
27
+ - Verify and document Airtable column-name-only constraint with rename mitigations
28
+ - Codify three common Vibe Coding patterns and the network-inspector schema-discovery + AI-paste workflow
29
+ - Verify public Softr Database REST API write path
30
+ - Flatten repo layout: move `SKILL.md` and skill content to repo root for direct `~/.claude/skills/softr-vibe-coding/` consumption
31
+ - Add `.gitignore` covering sensitive and noise files
32
+
33
+ ## [1.0.0] - 2026-04-14
34
+ - Initial release of the Softr Vibe Coding Block Claude Skill
35
+ - Full SKILL.md workflow, ui-ux-guidelines.md, references (helper-blocks, advanced-integrations, anti-patterns, quick-reference), data source guides for all 14 supported sources
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
  ![Claude Code Skill](https://img.shields.io/badge/Claude_Code-Skill-blue)
6
- ![Version](https://img.shields.io/badge/version-1.1.0-green)
6
+ ![Version](https://img.shields.io/badge/version-1.3.0-green)
7
7
  ![License](https://img.shields.io/badge/license-MIT-lightgrey)
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 (327 lines)
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 (69 lines)
182
+ │ ├── anti-patterns.md # Categorized violation catalog (86 lines)
178
183
  │ │ # Data access, mutations, hooks, layout,
179
184
  │ │ # permissions, helper blocks
180
- └── quick-reference.md # Syntax cheat sheet (156 lines)
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
 
@@ -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
 
@@ -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. To write to a different table, use the **Softr Database REST API** via `fetch()`:
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.2.0",
3
+ "version": "1.3.1",
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"
@@ -12,7 +12,8 @@
12
12
  "references/",
13
13
  "datasources/",
14
14
  "LICENSE",
15
- "README.md"
15
+ "README.md",
16
+ "CHANGELOG.md"
16
17
  ],
17
18
  "keywords": [
18
19
  "claude",