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 +69 -5
- package/bin/cli.js +4 -1
- package/package.json +8 -3
- package/src/index.js +776 -134
- package/src/index.test.js +947 -0
- package/templates/testing/.cursorrules/advanced-techniques.md +596 -0
- package/templates/testing/.cursorrules/ci-cd-integration.md +603 -0
- package/templates/testing/.cursorrules/overview.md +163 -0
- package/templates/testing/.cursorrules/performance-testing.md +536 -0
- package/templates/testing/.cursorrules/quality-metrics.md +456 -0
- package/templates/testing/.cursorrules/reliability.md +557 -0
- package/templates/testing/.cursorrules/tdd-methodology.md +294 -0
- package/templates/testing/.cursorrules/test-data.md +565 -0
- package/templates/testing/.cursorrules/test-design.md +511 -0
- package/templates/testing/.cursorrules/test-types.md +398 -0
- package/templates/testing/CLAUDE.md +1134 -0
package/README.md
CHANGED
|
@@ -7,12 +7,14 @@
|
|
|
7
7
|
|
|
8
8
|

|
|
9
9
|

|
|
10
|
+

|
|
10
11
|
|
|
11
|
-
AI coding assistant templates for Cursor IDE and
|
|
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
|
|
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
|
-
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentic-team-templates",
|
|
3
|
-
"version": "0.
|
|
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": "
|
|
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
|
}
|