fasterdev 0.1.5 → 0.1.8
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 +64 -138
- package/dist/cli.js +778 -84
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,46 +1,58 @@
|
|
|
1
|
-
#
|
|
1
|
+
# fasterdev
|
|
2
2
|
|
|
3
|
-
Install AI coding assistant skills and rules from faster.dev to Claude Code, Cursor, Codex,
|
|
3
|
+
Install AI coding assistant skills and rules from faster.dev to 30 AI coding tools — including Claude Code, Cursor, Codex, Windsurf, GitHub Copilot, Cline, and more — all with a single command.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install -g
|
|
8
|
+
npm install -g fasterdev
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or run directly with npx:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npx fasterdev install api-conventions
|
|
9
15
|
```
|
|
10
16
|
|
|
11
17
|
## Quick Start
|
|
12
18
|
|
|
13
19
|
```bash
|
|
14
20
|
# Authenticate with faster.dev
|
|
15
|
-
|
|
21
|
+
fasterdev login
|
|
16
22
|
|
|
17
23
|
# Install a rule to all detected tools
|
|
18
|
-
|
|
24
|
+
fasterdev install api-conventions
|
|
19
25
|
|
|
20
26
|
# Install to specific tools only
|
|
21
|
-
|
|
27
|
+
fasterdev install api-conventions --tools claude-code,cursor
|
|
22
28
|
|
|
23
29
|
# Install as a skill (for tools that support skills)
|
|
24
|
-
|
|
30
|
+
fasterdev install docx-generator --as-skill
|
|
25
31
|
|
|
26
32
|
# Install globally
|
|
27
|
-
|
|
33
|
+
fasterdev install api-conventions --global
|
|
28
34
|
```
|
|
29
35
|
|
|
30
36
|
## Supported Tools
|
|
31
37
|
|
|
38
|
+
fasterdev supports **30 AI coding assistants**. Here are the most popular:
|
|
39
|
+
|
|
32
40
|
| Tool | Rules | Skills | Format |
|
|
33
41
|
|------|-------|--------|--------|
|
|
34
|
-
| Claude Code |
|
|
35
|
-
|
|
|
36
|
-
|
|
|
37
|
-
|
|
|
38
|
-
|
|
|
39
|
-
|
|
|
40
|
-
|
|
|
41
|
-
|
|
|
42
|
-
|
|
|
43
|
-
|
|
|
42
|
+
| Claude Code | Yes | Yes | `.claude/rules/*.md` |
|
|
43
|
+
| Cursor | Yes | Yes | `.cursor/rules/*.mdc` |
|
|
44
|
+
| OpenAI Codex | Yes | Yes | `.codex/rules/*.md` |
|
|
45
|
+
| Windsurf | Yes | Yes | `.windsurf/rules/*.md` |
|
|
46
|
+
| GitHub Copilot | Yes | Yes | `.github/rules/*.md` |
|
|
47
|
+
| Cline | Yes | No | `.clinerules/*.md` |
|
|
48
|
+
| Roo Code | Yes | No | `.roo/rules/*.md` |
|
|
49
|
+
| Continue.dev | Yes | No | `.continue/rules/*.md` |
|
|
50
|
+
| Aider | Yes | No | `.aider/*.md` |
|
|
51
|
+
| Gemini CLI | Yes | No | `.gemini/rules/*.md` |
|
|
52
|
+
|
|
53
|
+
Plus 20 more: Amp, OpenCode, Antigravity, Goose, Kilo Code, Kiro, Qwen Code, Trae, Crush, Droid, MCPJam, Mux, OpenHands, Pi, Qoder, Clawdbot, CodeBuddy, Command Code, Zencoder, and Neovate.
|
|
54
|
+
|
|
55
|
+
See [Supported Tools](./docs/supported-tools.md) for the full list.
|
|
44
56
|
|
|
45
57
|
## Commands
|
|
46
58
|
|
|
@@ -48,26 +60,26 @@ faster install api-conventions --global
|
|
|
48
60
|
|
|
49
61
|
```bash
|
|
50
62
|
# Log in to faster.dev
|
|
51
|
-
|
|
63
|
+
fasterdev login
|
|
52
64
|
|
|
53
65
|
# Check authentication status
|
|
54
|
-
|
|
66
|
+
fasterdev whoami
|
|
55
67
|
|
|
56
68
|
# Log out
|
|
57
|
-
|
|
69
|
+
fasterdev logout
|
|
58
70
|
```
|
|
59
71
|
|
|
60
|
-
`
|
|
72
|
+
`fasterdev login` opens your browser and uses a device code flow.
|
|
61
73
|
Use `--no-browser` if you want to copy the URL manually.
|
|
62
74
|
|
|
63
75
|
### Installing Packages
|
|
64
76
|
|
|
65
77
|
```bash
|
|
66
78
|
# Install a package
|
|
67
|
-
|
|
79
|
+
fasterdev install <package-name>
|
|
68
80
|
|
|
69
81
|
# Install from local directory
|
|
70
|
-
|
|
82
|
+
fasterdev install . --from-file ./my-package
|
|
71
83
|
|
|
72
84
|
# Options:
|
|
73
85
|
# -g, --global Install globally instead of to project
|
|
@@ -75,186 +87,100 @@ faster install . --from-file ./my-package
|
|
|
75
87
|
# --as-skill Install as a skill (where supported)
|
|
76
88
|
# -f, --force Overwrite existing installations
|
|
77
89
|
# --dry-run Show what would be installed without making changes
|
|
90
|
+
# --copy Install as copies instead of symlinks
|
|
78
91
|
```
|
|
79
92
|
|
|
80
93
|
### Removing Packages
|
|
81
94
|
|
|
82
95
|
```bash
|
|
83
96
|
# Remove a package from all tools
|
|
84
|
-
|
|
97
|
+
fasterdev remove <package-name>
|
|
85
98
|
|
|
86
99
|
# Remove from global installation
|
|
87
|
-
|
|
100
|
+
fasterdev remove <package-name> --global
|
|
88
101
|
```
|
|
89
102
|
|
|
90
103
|
### Listing & Searching
|
|
91
104
|
|
|
92
105
|
```bash
|
|
93
106
|
# List installed packages
|
|
94
|
-
|
|
107
|
+
fasterdev list
|
|
95
108
|
|
|
96
109
|
# List global installations
|
|
97
|
-
|
|
110
|
+
fasterdev list --global
|
|
98
111
|
|
|
99
112
|
# Search faster.dev
|
|
100
|
-
|
|
113
|
+
fasterdev search "api conventions"
|
|
101
114
|
|
|
102
115
|
# Show package info
|
|
103
|
-
|
|
116
|
+
fasterdev info api-conventions
|
|
104
117
|
|
|
105
118
|
# Show outdated packages
|
|
106
|
-
|
|
119
|
+
fasterdev outdated
|
|
107
120
|
|
|
108
121
|
# Update packages
|
|
109
|
-
|
|
122
|
+
fasterdev update
|
|
110
123
|
```
|
|
111
124
|
|
|
112
125
|
### Tool Detection
|
|
113
126
|
|
|
114
127
|
```bash
|
|
115
128
|
# Show detected AI coding tools in current directory
|
|
116
|
-
|
|
129
|
+
fasterdev detect
|
|
117
130
|
```
|
|
118
131
|
|
|
119
132
|
### Configuration
|
|
120
133
|
|
|
121
134
|
```bash
|
|
122
135
|
# Show current configuration
|
|
123
|
-
|
|
136
|
+
fasterdev config
|
|
124
137
|
|
|
125
138
|
# Set default tools (only install to these)
|
|
126
|
-
|
|
139
|
+
fasterdev config --set-tools claude-code,cursor
|
|
127
140
|
|
|
128
141
|
# Clear default tools
|
|
129
|
-
|
|
142
|
+
fasterdev config --clear-tools
|
|
130
143
|
|
|
131
144
|
# Show config file path
|
|
132
|
-
|
|
145
|
+
fasterdev config --path
|
|
133
146
|
```
|
|
134
147
|
|
|
135
148
|
### Creating Packages
|
|
136
149
|
|
|
137
150
|
```bash
|
|
138
151
|
# Initialize a new package in current directory
|
|
139
|
-
|
|
152
|
+
fasterdev init
|
|
140
153
|
|
|
141
154
|
# Publish to faster.dev
|
|
142
|
-
|
|
155
|
+
fasterdev publish
|
|
143
156
|
|
|
144
157
|
# Validate without publishing
|
|
145
|
-
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
## Package Format
|
|
149
|
-
|
|
150
|
-
A faster.dev package consists of:
|
|
151
|
-
|
|
152
|
-
```
|
|
153
|
-
my-package/
|
|
154
|
-
├── manifest.json # Package metadata
|
|
155
|
-
├── rule.md # Rule content (for type: rule or both)
|
|
156
|
-
├── SKILL.md # Skill content (for type: skill or both)
|
|
157
|
-
├── cursor.mdc # Optional tool-specific override
|
|
158
|
-
└── assets/ # Optional supporting files
|
|
158
|
+
fasterdev publish --dry-run
|
|
159
159
|
```
|
|
160
160
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
```json
|
|
164
|
-
{
|
|
165
|
-
"name": "api-conventions",
|
|
166
|
-
"version": "1.0.0",
|
|
167
|
-
"type": "rule",
|
|
168
|
-
"description": "REST API design conventions for consistent API development",
|
|
169
|
-
"compatibility": {
|
|
170
|
-
"rules": ["claude-code", "cursor", "cline", "roo-code", "continue", "aider", "gemini", "codex", "amp", "opencode"],
|
|
171
|
-
"skills": ["claude-code", "codex", "amp", "opencode"]
|
|
172
|
-
},
|
|
173
|
-
"install": {
|
|
174
|
-
"cursor": { "file": "cursor.mdc" },
|
|
175
|
-
"aider": { "action": "add-to-read-config" }
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
### rule.md
|
|
161
|
+
## Documentation
|
|
181
162
|
|
|
182
|
-
|
|
183
|
-
---
|
|
184
|
-
name: api-conventions
|
|
185
|
-
description: REST API design conventions
|
|
186
|
-
globs: "**/*.ts"
|
|
187
|
-
paths:
|
|
188
|
-
- "src/api/**/*"
|
|
189
|
-
---
|
|
163
|
+
See the [docs](./docs) folder for detailed documentation:
|
|
190
164
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
-
|
|
194
|
-
-
|
|
195
|
-
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
### SKILL.md
|
|
199
|
-
|
|
200
|
-
```markdown
|
|
201
|
-
---
|
|
202
|
-
name: api-conventions
|
|
203
|
-
description: REST API design conventions skill
|
|
204
|
-
---
|
|
205
|
-
|
|
206
|
-
# API Conventions
|
|
207
|
-
|
|
208
|
-
When working with REST APIs, follow these guidelines:
|
|
209
|
-
|
|
210
|
-
## Naming
|
|
211
|
-
- Use kebab-case for URL paths
|
|
212
|
-
- Use camelCase for JSON properties
|
|
213
|
-
|
|
214
|
-
## Error Handling
|
|
215
|
-
- Return consistent error formats with request IDs
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
## Format Conversions
|
|
219
|
-
|
|
220
|
-
The CLI automatically converts between formats:
|
|
221
|
-
|
|
222
|
-
| Source | Target | Conversion |
|
|
223
|
-
|--------|--------|------------|
|
|
224
|
-
| Markdown + frontmatter | Cursor (.mdc) | `name` → `description`, `paths` → `globs` |
|
|
225
|
-
| Markdown + frontmatter | Claude Code | Keep `paths`, strip unsupported fields |
|
|
226
|
-
| Markdown + frontmatter | Cline/Roo | Strip frontmatter to plain markdown |
|
|
227
|
-
| Markdown + frontmatter | Continue | Keep `name`, `description`, `globs` |
|
|
228
|
-
| Any | Codex/Amp | Append as section to AGENTS.md |
|
|
229
|
-
| Any | Gemini | Append as section to GEMINI.md |
|
|
230
|
-
| Any | Aider | Create file + add to `.aider.conf.yml` read list |
|
|
165
|
+
- [Introduction](./docs/index.md)
|
|
166
|
+
- [Installation](./docs/installation.md)
|
|
167
|
+
- [Usage](./docs/usage.md)
|
|
168
|
+
- [CLI Reference](./docs/cli.md)
|
|
169
|
+
- [Configuration](./docs/configuration.md)
|
|
170
|
+
- [Supported Tools](./docs/supported-tools.md)
|
|
171
|
+
- [Package Format](./docs/package-format.md)
|
|
231
172
|
|
|
232
173
|
## Environment Variables
|
|
233
174
|
|
|
234
175
|
- `FASTER_API_URL` - Override the API URL (for self-hosted)
|
|
235
176
|
- `FASTER_API_KEY` - Provide auth token without login
|
|
236
177
|
|
|
237
|
-
Local API example (Herd):
|
|
238
|
-
`FASTER_API_URL=https://faster.test/api/v1`
|
|
239
|
-
|
|
240
|
-
## Configuration File
|
|
241
|
-
|
|
242
|
-
Config is stored at `~/.faster/config.json`:
|
|
243
|
-
|
|
244
|
-
```json
|
|
245
|
-
{
|
|
246
|
-
"apiUrl": "https://faster.dev/api/v1",
|
|
247
|
-
"authToken": "your-auth-token",
|
|
248
|
-
"defaultTools": ["claude-code", "cursor"]
|
|
249
|
-
}
|
|
250
|
-
```
|
|
251
|
-
|
|
252
178
|
## Local Development
|
|
253
179
|
|
|
254
180
|
```bash
|
|
255
181
|
# Clone and install
|
|
256
|
-
git clone https://github.com/
|
|
257
|
-
cd cli
|
|
182
|
+
git clone https://github.com/aarondfrancis/fasterdev-cli
|
|
183
|
+
cd fasterdev-cli
|
|
258
184
|
npm install
|
|
259
185
|
|
|
260
186
|
# Run in development mode
|