rulesync 4.0.1 → 4.1.1
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 +10 -5
- package/dist/index.cjs +2027 -593
- package/dist/index.js +2009 -575
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -132,9 +132,9 @@ Rulesync supports both **generation** and **import** for All of the major AI cod
|
|
|
132
132
|
| Claude Code | ✅ 🌏 | ✅ | ✅ 🌏 📦 | ✅ 🌏 | ✅ 🌏 | ✅ 🌏 |
|
|
133
133
|
| Codex CLI | ✅ 🌏 | | 🌏 | 🌏 | 🎮 | 🌏 |
|
|
134
134
|
| Gemini CLI | ✅ 🌏 | ✅ | ✅ 🌏 | ✅ 🌏 | 🎮 | 🎮 |
|
|
135
|
-
| GitHub Copilot | ✅ | | ✅ | ✅ |
|
|
135
|
+
| GitHub Copilot | ✅ | | ✅ | ✅ | ✅ | ✅ |
|
|
136
136
|
| Cursor | ✅ | ✅ | ✅ | ✅ 🌏 | 🎮 | 🎮 |
|
|
137
|
-
| OpenCode | ✅ | | ✅ | ✅ 🌏 | |
|
|
137
|
+
| OpenCode | ✅ | | ✅ | ✅ 🌏 | | ✅ 🌏 |
|
|
138
138
|
| Cline | ✅ | ✅ | ✅ | | | |
|
|
139
139
|
| Roo Code | ✅ | ✅ | ✅ | ✅ | 🎮 | |
|
|
140
140
|
| Qwen Code | ✅ | ✅ | | | | |
|
|
@@ -172,7 +172,7 @@ Apply consistent rules across all AI tools, improving code quality and developme
|
|
|
172
172
|
You can use global mode via Rulesync by enabling `--global` option.
|
|
173
173
|
|
|
174
174
|
### 🎮 **Simulate Commands and Subagents**
|
|
175
|
-
Simulated commands and subagents allow you to generate simulated commands and subagents for
|
|
175
|
+
Simulated commands and subagents allow you to generate simulated commands and subagents for cursor and codexcli. This is useful for shortening your prompts.
|
|
176
176
|
|
|
177
177
|
## Case Studies
|
|
178
178
|
|
|
@@ -331,6 +331,8 @@ Example:
|
|
|
331
331
|
---
|
|
332
332
|
description: 'Review a pull request' # command description
|
|
333
333
|
targets: ["*"] # * = all, or specific tools
|
|
334
|
+
copilot: # copilot specific parameters (optional)
|
|
335
|
+
description: "Review a pull request"
|
|
334
336
|
---
|
|
335
337
|
|
|
336
338
|
target_pr = $ARGUMENTS
|
|
@@ -356,6 +358,9 @@ description: >- # subagent description
|
|
|
356
358
|
fix a bug. This agent can be called by the user explicitly only.
|
|
357
359
|
claudecode: # for claudecode-specific parameters
|
|
358
360
|
model: inherit # opus, sonnet, haiku or inherit
|
|
361
|
+
copilot: # for GitHub Copilot specific parameters
|
|
362
|
+
tools:
|
|
363
|
+
- web/fetch # agent/runSubagent is always included automatically
|
|
359
364
|
---
|
|
360
365
|
|
|
361
366
|
You are the planner for any tasks.
|
|
@@ -501,10 +506,10 @@ Currently, supports rules and commands generation for Claude Code. Import for gl
|
|
|
501
506
|
|
|
502
507
|
## Simulate Commands, Subagents and Skills
|
|
503
508
|
|
|
504
|
-
Simulated commands, subagents and skills allow you to generate simulated features for
|
|
509
|
+
Simulated commands, subagents and skills allow you to generate simulated features for cursor, codexcli and etc. This is useful for shortening your prompts.
|
|
505
510
|
|
|
506
511
|
1. Prepare `.rulesync/commands/*.md`, `.rulesync/subagents/*.md` and `.rulesync/skills/*/SKILL.md` for your purposes.
|
|
507
|
-
2. Generate simulated commands, subagents and skills for specific tools that are included in
|
|
512
|
+
2. Generate simulated commands, subagents and skills for specific tools that are included in cursor, codexcli and etc.
|
|
508
513
|
```bash
|
|
509
514
|
npx rulesync generate \
|
|
510
515
|
--targets copilot,cursor,codexcli \
|