Skip to content

Commit ba89083

Browse files
committed
chore(guidance): widen rule scopes to the changelog route, package hooks, and nuqs navigation helpers
1 parent 6558eae commit ba89083

9 files changed

Lines changed: 12 additions & 8 deletions

File tree

‎.agents/skills/db-migrate/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ The lint flags risky *shapes*; it cannot know whether a given drop is *safe righ
8484
The reason must be specific and name the PR/version that removed the dependency. An empty reason fails the lint.
8585
- **Warnings** (`data-backfill`): non-blocking, but confirm the batching/idempotency before merging.
8686
4. Regenerate the test schema mock: `bun run scripts/generate-schema-mock.ts` (`check:schema-mock` in `check:audits` fails after any `schema.ts` change until you do).
87-
5. Confirm `(cd packages/db && bunx drizzle-kit generate && git status --porcelain ./migrations)` prints nothing: CI fails when the schema and committed migrations disagree.
87+
5. Re-run `(cd packages/db && bunx drizzle-kit generate)` once your migration is written: it must report no schema changes and write no new file, or CI fails on the schema and migrations disagreeing.
8888
6. Verify locally: `cd packages/db && bun run db:migrate` against a dev DB.
8989

9090
## Hard rule

‎.claude/rules/constitution.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ paths:
88
- "apps/sim/app/layout.tsx"
99
- "apps/sim/app/manifest.ts"
1010
- "apps/sim/app/llms*.txt/**"
11+
- "apps/sim/app/changelog.xml/**"
1112
- "apps/docs/**"
1213
---
1314

‎.claude/rules/sim-react-performance.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ description: Behavior-preserving React render-performance idioms
33
paths:
44
- "apps/sim/**/*.ts"
55
- "apps/sim/**/*.tsx"
6-
- "packages/emcn/**/*.tsx"
7-
- "packages/workflow-renderer/**/*.tsx"
6+
- "packages/emcn/**"
7+
- "packages/workflow-renderer/**"
88
---
99

1010
# React & Render Performance

‎.claude/rules/sim-settings-pages.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ and — on activatable rows only — the hover band. Never hand-roll any of it,
225225
re-derive the label/divider chrome; `sim-styling.md` owns those tokens.
226226
- **`SettingsField`** (`…/components/settings-field`) — a read-only label/value
227227
pair in a detail body: muted caption over the value. Pass the value as text and it
228-
renders the value paragraph itself; pass a node only when the value is a control.
228+
renders the value paragraph itself; pass a node when the value needs its own
229+
presentation (a control, an icon beside the value, status styling).
229230
- **`SettingsEmptyState`** (`…/components/settings-empty-state`) — the canonical
230231
muted status message, for empty lists, "no results", loading gates, **and
231232
failed loads** (`tone='error'`). `variant='fill'` (default) centers in the

‎.claude/rules/sim-url-state.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ paths:
55
- "apps/sim/ee/**/*.tsx"
66
- "apps/sim/**/search-params.ts"
77
- "apps/sim/**/use-*.ts"
8+
- "apps/sim/**/navigation.ts"
89
- "apps/sim/lib/url-state/**"
910
---
1011

‎.cursor/rules/constitution.mdc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: "Sim product language, positioning, and tone guidelines"
3-
globs: ["apps/sim/app/(landing)/**","apps/sim/lib/landing/**","apps/sim/content/**","apps/sim/emails/broadcasts/**","apps/sim/app/layout.tsx","apps/sim/app/manifest.ts","apps/sim/app/llms*.txt/**","apps/docs/**"]
3+
globs: ["apps/sim/app/(landing)/**","apps/sim/lib/landing/**","apps/sim/content/**","apps/sim/emails/broadcasts/**","apps/sim/app/layout.tsx","apps/sim/app/manifest.ts","apps/sim/app/llms*.txt/**","apps/sim/app/changelog.xml/**","apps/docs/**"]
44
---
55

66
<!-- Generated from .claude/rules/constitution.md by `bun run skills:sync`. Edit the source, not this file. -->

‎.cursor/rules/sim-react-performance.mdc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: "Behavior-preserving React render-performance idioms"
3-
globs: ["apps/sim/**/*.ts","apps/sim/**/*.tsx","packages/emcn/**/*.tsx","packages/workflow-renderer/**/*.tsx"]
3+
globs: ["apps/sim/**/*.ts","apps/sim/**/*.tsx","packages/emcn/**","packages/workflow-renderer/**"]
44
---
55

66
<!-- Generated from .claude/rules/sim-react-performance.md by `bun run skills:sync`. Edit the source, not this file. -->

‎.cursor/rules/sim-settings-pages.mdc‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,8 @@ and — on activatable rows only — the hover band. Never hand-roll any of it,
222222
re-derive the label/divider chrome; `sim-styling.md` owns those tokens.
223223
- **`SettingsField`** (`…/components/settings-field`) — a read-only label/value
224224
pair in a detail body: muted caption over the value. Pass the value as text and it
225-
renders the value paragraph itself; pass a node only when the value is a control.
225+
renders the value paragraph itself; pass a node when the value needs its own
226+
presentation (a control, an icon beside the value, status styling).
226227
- **`SettingsEmptyState`** (`…/components/settings-empty-state`) — the canonical
227228
muted status message, for empty lists, "no results", loading gates, **and
228229
failed loads** (`tone='error'`). `variant='fill'` (default) centers in the

‎.cursor/rules/sim-url-state.mdc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: "Shareable client view-state lives in the URL via nuqs"
3-
globs: ["apps/sim/app/**/*.tsx","apps/sim/ee/**/*.tsx","apps/sim/**/search-params.ts","apps/sim/**/use-*.ts","apps/sim/lib/url-state/**"]
3+
globs: ["apps/sim/app/**/*.tsx","apps/sim/ee/**/*.tsx","apps/sim/**/search-params.ts","apps/sim/**/use-*.ts","apps/sim/**/navigation.ts","apps/sim/lib/url-state/**"]
44
---
55

66
<!-- Generated from .claude/rules/sim-url-state.md by `bun run skills:sync`. Edit the source, not this file. -->

0 commit comments

Comments
 (0)