agentic-team-templates 0.4.2 → 0.6.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 CHANGED
@@ -7,12 +7,14 @@
7
7
 
8
8
  ![Cursor](https://img.shields.io/badge/Cursor_IDE-black?style=flat&logo=cursor)
9
9
  ![Claude Code](https://img.shields.io/badge/Claude_Code-cc785c?style=flat&logo=anthropic)
10
+ ![GitHub Copilot](https://img.shields.io/badge/GitHub_Copilot-000?style=flat&logo=githubcopilot)
10
11
 
11
- AI coding assistant templates for Cursor IDE and Claude Code. Pre-configured rules and guidelines that help AI assistants write better code in your projects.
12
+ AI coding assistant templates for Cursor IDE, Claude Code, and GitHub Copilot. Pre-configured rules and guidelines that help AI assistants write better code in your projects.
12
13
 
13
- **Installs:**
14
+ **Installs (configurable via `--ide`):**
14
15
  - **`CLAUDE.md`** - Development guide for Claude-based assistants (Claude Code, Cursor with Claude)
15
16
  - **`.cursorrules/`** - Rule files for Cursor IDE
17
+ - **`.github/copilot-instructions.md`** - Instructions for GitHub Copilot
16
18
 
17
19
  > **Disclaimer:** This project is provided for **educational and experimental purposes only**. The author takes no responsibility for any actions, outputs, or consequences resulting from an LLM or AI assistant following these rules. Use at your own risk. Always review AI-generated code before deploying to production.
18
20
 
@@ -73,14 +75,72 @@ Re-run with `@latest` to get updated templates:
73
75
  npx cursor-templates@latest web-frontend
74
76
  ```
75
77
 
78
+ ### Install for Specific IDE
79
+
80
+ By default, templates install for all supported IDEs (Cursor, Claude, Copilot). Use `--ide` to target specific tools:
81
+
82
+ ```bash
83
+ # Install only for Cursor IDE
84
+ npx cursor-templates web-frontend --ide=cursor
85
+
86
+ # Install only for Claude Code
87
+ npx cursor-templates web-frontend --ide=claude
88
+
89
+ # Install only for GitHub Copilot
90
+ npx cursor-templates web-frontend --ide=codex
91
+
92
+ # Install for multiple IDEs
93
+ npx cursor-templates web-frontend --ide=cursor --ide=codex
94
+ ```
95
+
96
+ ### Remove Specific Templates
97
+
98
+ Remove templates you no longer need while keeping shared rules and other templates:
99
+
100
+ ```bash
101
+ # Remove a single template
102
+ npx cursor-templates --remove web-frontend
103
+
104
+ # Remove multiple templates
105
+ npx cursor-templates --remove web-frontend web-backend
106
+
107
+ # Remove from specific IDE only
108
+ npx cursor-templates --remove web-frontend --ide=cursor
109
+
110
+ # Skip confirmation prompt
111
+ npx cursor-templates --remove web-frontend --yes
112
+ ```
113
+
114
+ ### Reset (Remove Everything)
115
+
116
+ Remove all installed content (shared rules, templates, generated files):
117
+
118
+ ```bash
119
+ # Reset all installed content
120
+ npx cursor-templates --reset
121
+
122
+ # Reset for specific IDE only
123
+ npx cursor-templates --reset --ide=cursor
124
+
125
+ # Skip confirmation prompt
126
+ npx cursor-templates --reset --yes
127
+
128
+ # Force remove modified files
129
+ npx cursor-templates --reset --force
130
+ ```
131
+
76
132
  ### CLI Options
77
133
 
78
134
  | Option | Description |
79
135
  |--------|-------------|
136
+ | `--ide=<name>` | Target IDE: `cursor`, `claude`, or `codex` (can be used multiple times) |
80
137
  | `--list`, `-l` | List all available templates |
81
- | `--dry-run`, `-d` | Preview changes without writing files |
138
+ | `--dry-run` | Preview changes without writing files |
139
+ | `--force`, `-f` | Overwrite/remove even if files were modified |
140
+ | `--remove` | Remove specified templates |
141
+ | `--reset` | Remove ALL installed content |
142
+ | `--yes`, `-y` | Skip confirmation prompt (for `--remove` and `--reset`) |
82
143
  | `--help`, `-h` | Show help message |
83
- | `--version`, `-v` | Show version number |
84
144
 
85
145
  ## Available Templates
86
146
 
@@ -131,7 +191,10 @@ After running `npx cursor-templates web-frontend`:
131
191
  ```
132
192
  your-project/
133
193
  ├── CLAUDE.md # Development guide (Claude Code, Cursor)
134
- └── .cursorrules/ # Rule files (Cursor IDE)
194
+ ├── .cursorrules/ # Rule files (Cursor IDE)
195
+ │ └── ...
196
+ └── .github/
197
+ └── copilot-instructions.md # Instructions (GitHub Copilot)
135
198
  ├── core-principles.md # Shared
136
199
  ├── code-quality.md # Shared
137
200
  ├── security-fundamentals.md # Shared
@@ -206,6 +269,7 @@ npx cursor-templates ml-ai data-engineering
206
269
  - **Supported IDEs/Tools**:
207
270
  - Cursor IDE (any version with `.cursorrules/` support)
208
271
  - Claude Code (reads `CLAUDE.md` automatically)
272
+ - GitHub Copilot (reads `.github/copilot-instructions.md`)
209
273
 
210
274
  ## How to Contribute
211
275
 
package/bin/cli.js CHANGED
@@ -2,4 +2,7 @@
2
2
 
3
3
  import { run } from '../src/index.js';
4
4
 
5
- run(process.argv.slice(2));
5
+ run(process.argv.slice(2)).catch((err) => {
6
+ console.error(err);
7
+ process.exit(1);
8
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-team-templates",
3
- "version": "0.4.2",
3
+ "version": "0.6.0",
4
4
  "description": "AI coding assistant templates for Cursor IDE. Pre-configured rules and guidelines that help AI assistants write better code. - use at your own risk",
5
5
  "keywords": [
6
6
  "cursor",
@@ -38,10 +38,15 @@
38
38
  "node": ">=18.0.0"
39
39
  },
40
40
  "scripts": {
41
- "test": "echo \"No tests required - template library\""
41
+ "test": "vitest run",
42
+ "test:watch": "vitest",
43
+ "test:coverage": "vitest run --coverage",
44
+ "prepare": "husky"
42
45
  },
43
46
  "devDependencies": {
44
47
  "@commitlint/cli": "^19.0.0",
45
- "@commitlint/config-conventional": "^19.0.0"
48
+ "@commitlint/config-conventional": "^19.0.0",
49
+ "husky": "^9.1.7",
50
+ "vitest": "^4.0.18"
46
51
  }
47
52
  }