Skip to content

Commit 4f21be1

Browse files
committed
chore(agents): generate Cursor rules from .claude/rules and symlink AGENTS.md
- .claude/rules/<name>.md is now the single source for editor rules; the sync script projects .cursor/rules/<name>.mdc from it (description + globs, or alwaysApply when a rule has no paths). The Cursor copies had drifted since July and five newer rules never reached Cursor - Move the Cursor-only testing rule to .claude/rules/sim-testing.md and add a description to every canonical rule - Pre-commit regenerates on staged rule edits; check:skills verifies - AGENTS.md becomes a symlink to CLAUDE.md; it was a stale subset
1 parent ec2595f commit 4f21be1

46 files changed

Lines changed: 1755 additions & 537 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/rules/constitution.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
description: Sim product language, positioning, and tone guidelines
3+
---
4+
15
# Sim — Language & Positioning
26

37
When editing user-facing copy (landing pages, docs, metadata, marketing), follow these rules.

.claude/rules/emcn-components.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: EMCN component library patterns
23
paths:
34
- "packages/emcn/**"
45
---

.claude/rules/global.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
description: Global coding standards that apply to all files
3+
---
4+
15
# Global Standards
26

37
## Logging

.claude/rules/landing-seo-geo.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: SEO and GEO guidelines for the landing page
23
paths:
34
- "apps/sim/app/(landing)/**/*.tsx"
45
- "apps/sim/content/**/*.mdx"

.claude/rules/sim-architecture.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: Core architecture principles for the Sim app
23
paths:
34
- "apps/sim/**"
45
---

.claude/rules/sim-caching.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: In-process caching rules: lru-cache with a ceiling, never hand-rolled TTL maps
23
paths:
34
- "apps/sim/lib/**/*.ts"
45
- "apps/sim/providers/**/*.ts"

.claude/rules/sim-components.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: Component patterns and structure for React components
23
paths:
34
- "apps/sim/**/*.tsx"
45
---

.claude/rules/sim-hooks.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: Custom hook patterns and best practices
23
paths:
34
- "apps/sim/**/use-*.ts"
45
- "apps/sim/**/hooks/**/*.ts"

.claude/rules/sim-imports.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: Import patterns for the Sim application
23
paths:
34
- "apps/sim/**/*.ts"
45
- "apps/sim/**/*.tsx"

.claude/rules/sim-integrations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: Adding new integrations (tools, blocks, triggers)
23
paths:
34
- "apps/sim/tools/**"
45
- "apps/sim/blocks/**"

0 commit comments

Comments
 (0)