rulesync 0.70.0 → 0.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -4
- package/dist/index.cjs +1625 -469
- package/dist/index.js +1620 -464
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -60,10 +60,10 @@ rulesync supports both **generation** and **import** for All of the major AI cod
|
|
|
60
60
|
|------------------------|:-----:|:------:|:-----:|:--------:|:---------:|
|
|
61
61
|
| AGENTS.md | ✅ | | | | |
|
|
62
62
|
| Claude Code | ✅ | | ✅ | ✅ | ✅ |
|
|
63
|
-
| Codex CLI | ✅ | ✅ | |
|
|
63
|
+
| Codex CLI | ✅ | ✅ | | 🎮 | 🎮 |
|
|
64
64
|
| Gemini CLI | ✅ | ✅ | | ✅ | |
|
|
65
|
-
| GitHub Copilot | ✅ | | ✅ |
|
|
66
|
-
| Cursor | ✅ | ✅ | ✅ |
|
|
65
|
+
| GitHub Copilot | ✅ | | ✅ | 🎮 | 🎮 |
|
|
66
|
+
| Cursor | ✅ | ✅ | ✅ | 🎮 | 🎮 |
|
|
67
67
|
| OpenCode | ✅ | | | | |
|
|
68
68
|
| Cline | ✅ | ✅ | ✅ | | |
|
|
69
69
|
| Roo Code | ✅ | ✅ | ✅ | ✅ | |
|
|
@@ -74,6 +74,9 @@ rulesync supports both **generation** and **import** for All of the major AI cod
|
|
|
74
74
|
| AugmentCode | ✅ | ✅ | | | |
|
|
75
75
|
| Windsurf | ✅ | ✅ | | | |
|
|
76
76
|
|
|
77
|
+
|
|
78
|
+
🎮: Simulated Commands/Subagents (Experimental Feature)
|
|
79
|
+
|
|
77
80
|
## Why rulesync?
|
|
78
81
|
|
|
79
82
|
### 🔧 **Tool Flexibility**
|
|
@@ -91,6 +94,9 @@ Avoid lock-in completely. If you decide to stop using rulesync, you can continue
|
|
|
91
94
|
### 🎯 **Consistency Across Tools**
|
|
92
95
|
Apply consistent rules across all AI tools, improving code quality and development experience for the entire team.
|
|
93
96
|
|
|
97
|
+
### 🎮 **Simulated Commands and Subagents**
|
|
98
|
+
Simulated commands and subagents are experimental features that allow you to generate simulated commands and subagents for copilot, cursor and codexcli. This is useful for shortening your prompts.
|
|
99
|
+
|
|
94
100
|
## Quick Commands
|
|
95
101
|
|
|
96
102
|
```bash
|
|
@@ -110,6 +116,9 @@ npx rulesync generate --targets claudecode --features rules,subagents
|
|
|
110
116
|
# Generate only rules (no MCP, ignore files, commands, or subagents)
|
|
111
117
|
npx rulesync generate --targets "*" --features rules
|
|
112
118
|
|
|
119
|
+
# Generate simulated commands and subagents with experimental features
|
|
120
|
+
npx rulesync generate --targets copilot,cursor,codexcli --features commands,subagents --experimental-simulate-commands --experimental-simulate-subagents
|
|
121
|
+
|
|
113
122
|
# Add generated files to .gitignore
|
|
114
123
|
npx rulesync gitignore
|
|
115
124
|
```
|
|
@@ -136,7 +145,11 @@ Example:
|
|
|
136
145
|
"delete": true,
|
|
137
146
|
|
|
138
147
|
// Verbose output
|
|
139
|
-
"verbose": false
|
|
148
|
+
"verbose": false,
|
|
149
|
+
|
|
150
|
+
// Experimental features
|
|
151
|
+
"experimentalSimulateCommands": false,
|
|
152
|
+
"experimentalSimulateSubagents": false
|
|
140
153
|
}
|
|
141
154
|
```
|
|
142
155
|
|
|
@@ -253,6 +266,25 @@ tmp/
|
|
|
253
266
|
credentials/
|
|
254
267
|
```
|
|
255
268
|
|
|
269
|
+
## Simulate Commands and Subagents
|
|
270
|
+
|
|
271
|
+
Simulated commands and subagents are experimental features that allow you to generate simulated commands and subagents for copilot, cursor and codexcli. This is useful for shortening your prompts.
|
|
272
|
+
|
|
273
|
+
1. Prepare `.rulesync/commands/*.md` and `.rulesync/subagents/*.md` for your purposes.
|
|
274
|
+
2. Generate simulated commands and subagents for specific tools that are included in copilot, cursor and codexcli.
|
|
275
|
+
```bash
|
|
276
|
+
npx rulesync generate --targets copilot,cursor,codexcli --features commands,subagents --experimental-simulate-commands --experimental-simulate-subagents
|
|
277
|
+
```
|
|
278
|
+
3. Use simulated commands and subagents in your prompts.
|
|
279
|
+
- Prompt examples:
|
|
280
|
+
```txt
|
|
281
|
+
# Execute simulated commands. By the way, `s/` stands for `simulate/`.
|
|
282
|
+
s/your-command
|
|
283
|
+
|
|
284
|
+
# Execute simulated subagents
|
|
285
|
+
Call your-subagent to achieve something.
|
|
286
|
+
```
|
|
287
|
+
|
|
256
288
|
## License
|
|
257
289
|
|
|
258
290
|
MIT License
|