cursor-kit-cli 1.2.1 → 1.3.0-beta.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/LICENSE.md ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 duongductrong
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
package/README.md CHANGED
@@ -5,8 +5,8 @@
5
5
  <h1 align="center">✦ Cursor Kit ✦</h1>
6
6
 
7
7
  <p align="center">
8
- <b>Supercharge your Cursor IDE with rules & commands</b><br/>
9
- <sub>A CLI toolkit to manage, share, and sync Cursor IDE configurations</sub>
8
+ <b>Supercharge your AI IDE with rules & commands</b><br/>
9
+ <sub>A CLI toolkit to manage, share, and sync Cursor IDE and GitHub Copilot configurations</sub>
10
10
  </p>
11
11
 
12
12
  <p align="center">
@@ -44,6 +44,7 @@ ck init
44
44
  - **📋 Rules** - Project-specific AI behavior guidelines
45
45
  - **🎓 Skills** - Comprehensive guides with references for specialized domains
46
46
  - **🔄 Sync** - Keep configurations updated from the community
47
+ - **🎯 Multi-Target** - Support for both Cursor IDE and GitHub Copilot
47
48
  - **🖥️ Multi-Instance** - Run multiple Cursor accounts simultaneously (macOS)
48
49
  - **🎨 Beautiful CLI** - Delightful terminal experience
49
50
 
@@ -51,17 +52,23 @@ ck init
51
52
 
52
53
  ### `init`
53
54
 
54
- Initialize `.cursor/commands`, `.cursor/rules`, and `.cursor/skills` in your project with curated templates.
55
+ Initialize `.cursor/commands`, `.cursor/rules`, and `.cursor/skills` in your project with curated templates. Supports both Cursor IDE and GitHub Copilot.
55
56
 
56
57
  ```bash
57
- cursor-kit init # Initialize commands, rules, and skills
58
- cursor-kit init -c # Only initialize commands
59
- cursor-kit init -r # Only initialize rules
60
- cursor-kit init -s # Only initialize skills
61
- cursor-kit init -f # Force overwrite existing files
62
- cursor-kit init -a # Install all templates without selection prompts
58
+ cursor-kit init # Interactive: choose Cursor or GitHub Copilot
59
+ cursor-kit init -t cursor # Initialize for Cursor IDE (.cursor/)
60
+ cursor-kit init -t github-copilot # Initialize for GitHub Copilot (.github/copilot-instructions/)
61
+ cursor-kit init -c # Only initialize commands
62
+ cursor-kit init -r # Only initialize rules
63
+ cursor-kit init -s # Only initialize skills
64
+ cursor-kit init -f # Force overwrite existing files
65
+ cursor-kit init -a # Install all templates without selection prompts
63
66
  ```
64
67
 
68
+ **Target options:**
69
+ - `cursor` (default) - Creates `.cursor/` directory structure for Cursor IDE
70
+ - `github-copilot` - Creates `.github/copilot-instructions.md` and related structure for GitHub Copilot
71
+
65
72
  ### `add`
66
73
 
67
74
  Interactively create a new command, rule, or skill with a starter template.
@@ -152,7 +159,9 @@ cursor-kit instance -a remove -n "Cursor Personal"
152
159
 
153
160
  ## 📁 Directory Structure
154
161
 
155
- After running `cursor-kit init`, your project will have:
162
+ After running `cursor-kit init`, your project will have different structures depending on the target:
163
+
164
+ ### Cursor IDE (default)
156
165
 
157
166
  ```
158
167
  your-project/
@@ -197,6 +206,36 @@ your-project/
197
206
  └── references/
198
207
  ```
199
208
 
209
+ ### GitHub Copilot
210
+
211
+ ```
212
+ your-project/
213
+ └── .github/
214
+ ├── copilot-instructions.md # Main instructions file
215
+ └── copilot-instructions/ # Organized instructions
216
+ ├── commands/ # Prompt templates (.md)
217
+ │ ├── docs.md
218
+ │ ├── explain.md
219
+ │ ├── fix.md
220
+ │ ├── implement.md
221
+ │ ├── refactor.md
222
+ │ ├── review.md
223
+ │ └── test.md
224
+ ├── rules/ # AI behavior rules (.md)
225
+ │ ├── coding-style.md
226
+ │ ├── git.md
227
+ │ └── toc.md
228
+ └── skills/ # Comprehensive guides with references
229
+ ├── aesthetic/
230
+ │ ├── SKILL.md
231
+ │ ├── assets/
232
+ │ └── references/
233
+ ├── backend-development/
234
+ │ ├── SKILL.md
235
+ │ └── references/
236
+ └── ... (other skills)
237
+ ```
238
+
200
239
  ## 🎯 Included Templates
201
240
 
202
241
  ### Commands