Skip to content

Commit 97d5916

Browse files
committed
clarifying instructions around updating rules and the local trigger skill
1 parent c8ad2fd commit 97d5916

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.claude/rules/sdk-packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ paths:
88
- Changes to `packages/` are **customer-facing**. Always add a changeset: `pnpm run changeset:add`
99
- Default to **patch**. Get maintainer approval for minor. Never select major without explicit approval.
1010
- `@trigger.dev/core`: **Never import the root**. Always use subpath imports (e.g., `@trigger.dev/core/v3`).
11-
- When SDK features change, update both `rules/` directory (customer SDK docs) and `.claude/skills/trigger-dev-tasks/` skill files.
11+
- Do NOT update `rules/` or `.claude/skills/trigger-dev-tasks/` unless explicitly asked. These are maintained in separate dedicated passes.
1212
- Test changes using `references/hello-world` reference project.

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const myTask = task({
122122

123123
### SDK Documentation Rules
124124

125-
The `rules/` directory contains versioned SDK documentation distributed via the SDK installer. Current version: `rules/manifest.json`. When adding new SDK features, create a new version directory with only changed files. Keep `.claude/skills/trigger-dev-tasks/` in sync.
125+
The `rules/` directory contains versioned SDK documentation distributed via the SDK installer. Current version: `rules/manifest.json`. Do NOT update `rules/` or `.claude/skills/trigger-dev-tasks/` unless explicitly asked - these are maintained in separate dedicated passes.
126126

127127
## Testing with hello-world Reference Project
128128

packages/trigger-sdk/CLAUDE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Always import from `@trigger.dev/sdk`. Never use `@trigger.dev/sdk/v3` (deprecat
2121
## When Adding Features
2222

2323
1. Implement the feature in the SDK
24-
2. Don't update the `rules/` directory at repo root
25-
3. Don't update the `.claude/skills/trigger-dev-tasks/` skill files
26-
4. Add/update docs in `docs/` (Mintlify MDX format). These will almost always be updated in a separate PR.
27-
5. Test with `references/hello-world` reference project
24+
2. Test with `references/hello-world` reference project
25+
3. Docs updates (`docs/`) are usually done in a separate PR
26+
27+
Do NOT update `rules/` or `.claude/skills/trigger-dev-tasks/` unless explicitly asked. These are maintained in separate dedicated passes.

0 commit comments

Comments
 (0)