Skip to content

Commit 6644d80

Browse files
committed
chore(guidance): scope url-state by directory so app hooks and helpers stay covered
1 parent ba89083 commit 6644d80

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22
description: Shareable client view-state lives in the URL via nuqs
33
paths:
44
- "apps/sim/app/**/*.tsx"
5-
- "apps/sim/ee/**/*.tsx"
6-
- "apps/sim/**/search-params.ts"
7-
- "apps/sim/**/use-*.ts"
8-
- "apps/sim/**/navigation.ts"
5+
- "apps/sim/app/workspace/**/*.ts"
6+
- "apps/sim/app/o/**/*.ts"
7+
- "apps/sim/ee/**"
8+
- "apps/sim/hooks/**"
9+
- "apps/sim/stores/**"
910
- "apps/sim/lib/url-state/**"
11+
- "apps/sim/**/search-params.ts"
12+
- "apps/sim/**/*navigation.ts"
1013
---
1114

1215
# URL / Query-Param State (nuqs)

‎.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/**/navigation.ts","apps/sim/lib/url-state/**"]
3+
globs: ["apps/sim/app/**/*.tsx","apps/sim/app/workspace/**/*.ts","apps/sim/app/o/**/*.ts","apps/sim/ee/**","apps/sim/hooks/**","apps/sim/stores/**","apps/sim/lib/url-state/**","apps/sim/**/search-params.ts","apps/sim/**/*navigation.ts"]
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)