You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/rules/managing-ai-rules.md
+17-7Lines changed: 17 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
---
2
-
paths: '.rulesync/**, .cursor/**, .claude/**'
2
+
paths:
3
+
- .rulesync/**
4
+
- .cursor/**
5
+
- .claude/**
6
+
- .opencode/**
3
7
---
4
8
# Managing AI Assistant Rules
5
9
@@ -16,7 +20,7 @@ This document provides guidelines for creating, importing, and managing AI assis
16
20
17
21
## 🤖 Automated Checks
18
22
19
-
A GitHub Actions workflow (`.github/workflows/rulesync-check.yaml`) automatically validates that generated files in `.cursor`and `.claude` are in sync with `.rulesync` on:
23
+
A GitHub Actions workflow (`.github/workflows/rulesync-check.yaml`) automatically validates that generated files in `.cursor`, `.claude`, and `.opencode` are in sync with `.rulesync` on:
20
24
- All pull requests
21
25
- Pushes to main and release branches
22
26
@@ -30,7 +34,7 @@ A GitHub Actions workflow (`.github/workflows/rulesync-check.yaml`) automaticall
30
34
```bash
31
35
# If you forgot to generate from .rulesync
32
36
yarn rulesync:generate
33
-
git add .cursor .claude
37
+
git add .cursor .claude .opencode
34
38
35
39
# If you edited .cursor files directly
36
40
yarn rulesync:import:cursor
@@ -40,6 +44,10 @@ git add .rulesync
40
44
yarn rulesync:import:claude
41
45
git add .rulesync
42
46
47
+
# If you edited .opencode files directly
48
+
yarn rulesync:import:opencode
49
+
git add .rulesync
50
+
43
51
# Then commit and push
44
52
git commit --amend --no-edit
45
53
git push --force-with-lease
@@ -119,7 +127,7 @@ After creating or editing the rule:
@@ -19,7 +19,7 @@ This document provides guidelines for creating, importing, and managing AI assis
19
19
20
20
## 🤖 Automated Checks
21
21
22
-
A GitHub Actions workflow (`.github/workflows/rulesync-check.yaml`) automatically validates that generated files in `.cursor`and `.claude` are in sync with `.rulesync` on:
22
+
A GitHub Actions workflow (`.github/workflows/rulesync-check.yaml`) automatically validates that generated files in `.cursor`, `.claude`, and `.opencode` are in sync with `.rulesync` on:
23
23
- All pull requests
24
24
- Pushes to main and release branches
25
25
@@ -33,7 +33,7 @@ A GitHub Actions workflow (`.github/workflows/rulesync-check.yaml`) automaticall
33
33
```bash
34
34
# If you forgot to generate from .rulesync
35
35
yarn rulesync:generate
36
-
git add .cursor .claude
36
+
git add .cursor .claude .opencode
37
37
38
38
# If you edited .cursor files directly
39
39
yarn rulesync:import:cursor
@@ -43,6 +43,10 @@ git add .rulesync
43
43
yarn rulesync:import:claude
44
44
git add .rulesync
45
45
46
+
# If you edited .opencode files directly
47
+
yarn rulesync:import:opencode
48
+
git add .rulesync
49
+
46
50
# Then commit and push
47
51
git commit --amend --no-edit
48
52
git push --force-with-lease
@@ -122,7 +126,7 @@ After creating or editing the rule:
0 commit comments