@patricio0312rev/agentkit 0.1.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.
Files changed (47) hide show
  1. package/CONTRIBUTING.md +491 -0
  2. package/LICENSE +21 -0
  3. package/README.md +442 -0
  4. package/bin/cli.js +41 -0
  5. package/package.json +54 -0
  6. package/src/commands/init.js +312 -0
  7. package/src/index.js +220 -0
  8. package/src/lib/config.js +157 -0
  9. package/src/lib/generator.js +193 -0
  10. package/src/utils/display.js +95 -0
  11. package/src/utils/readme.js +191 -0
  12. package/src/utils/tool-specific.js +408 -0
  13. package/templates/departments/design/brand-guardian.md +133 -0
  14. package/templates/departments/design/ui-designer.md +154 -0
  15. package/templates/departments/design/ux-researcher.md +285 -0
  16. package/templates/departments/design/visual-storyteller.md +296 -0
  17. package/templates/departments/design/whimsy-injector.md +318 -0
  18. package/templates/departments/engineering/ai-engineer.md +386 -0
  19. package/templates/departments/engineering/backend-architect.md +425 -0
  20. package/templates/departments/engineering/devops-automator.md +393 -0
  21. package/templates/departments/engineering/frontend-developer.md +411 -0
  22. package/templates/departments/engineering/mobile-app-builder.md +412 -0
  23. package/templates/departments/engineering/rapid-prototyper.md +415 -0
  24. package/templates/departments/engineering/test-writer-fixer.md +462 -0
  25. package/templates/departments/marketing/app-store-optimizer.md +176 -0
  26. package/templates/departments/marketing/content-creator.md +206 -0
  27. package/templates/departments/marketing/growth-hacker.md +219 -0
  28. package/templates/departments/marketing/instagram-curator.md +166 -0
  29. package/templates/departments/marketing/reddit-community-builder.md +192 -0
  30. package/templates/departments/marketing/tiktok-strategist.md +158 -0
  31. package/templates/departments/marketing/twitter-engager.md +184 -0
  32. package/templates/departments/product/feedback-synthesizer.md +143 -0
  33. package/templates/departments/product/sprint-prioritizer.md +169 -0
  34. package/templates/departments/product/trend-researcher.md +176 -0
  35. package/templates/departments/project-management/experiment-tracker.md +128 -0
  36. package/templates/departments/project-management/project-shipper.md +151 -0
  37. package/templates/departments/project-management/studio-producer.md +156 -0
  38. package/templates/departments/studio-operations/analytics-reporter.md +191 -0
  39. package/templates/departments/studio-operations/finance-tracker.md +242 -0
  40. package/templates/departments/studio-operations/infrastructure-maintainer.md +202 -0
  41. package/templates/departments/studio-operations/legal-compliance-checker.md +208 -0
  42. package/templates/departments/studio-operations/support-responder.md +181 -0
  43. package/templates/departments/testing/api-tester.md +207 -0
  44. package/templates/departments/testing/performance-benchmarker.md +262 -0
  45. package/templates/departments/testing/test-results-analyzer.md +251 -0
  46. package/templates/departments/testing/tool-evaluator.md +206 -0
  47. package/templates/departments/testing/workflow-optimizer.md +235 -0
package/README.md ADDED
@@ -0,0 +1,442 @@
1
+ # 🤖 AgentKit
2
+
3
+ > **Scaffold AI agent configurations for Claude Code, Cursor, GitHub Copilot, Aider, and more.**
4
+
5
+ AgentKit is a CLI tool that helps you set up specialized AI agents for your development workflow. Get 42 pre-built agents across 7 departments—from engineering and design to marketing and testing—all optimized for rapid app development.
6
+
7
+ [![npm version](https://img.shields.io/npm/v/agentkit.svg)](https://www.npmjs.com/package/agentkit)
8
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
9
+
10
+ ---
11
+
12
+ ## ✨ Features
13
+
14
+ - 🚀 **42 Pre-built Agents** across 7 specialized departments
15
+ - 🔧 **Multi-tool Support** - Works with Claude Code, Cursor, GitHub Copilot, Aider, and more
16
+ - 📦 **Zero Configuration** - Interactive setup in under 2 minutes
17
+ - 🎨 **Customizable** - Select exactly which agents you need
18
+ - 🌍 **Language Agnostic** - Supports TypeScript, Python, Go, Java, Swift, Kotlin, and more
19
+ - ⚡ **Optimized for Speed** - Built for 6-day development sprints
20
+
21
+ ---
22
+
23
+ ## 📦 Installation
24
+
25
+ ```bash
26
+ # Install globally
27
+ npm install -g agentkit
28
+
29
+ # Or use directly with npx
30
+ npx agentkit init
31
+ ```
32
+
33
+ ---
34
+
35
+ ## 🚀 Quick Start
36
+
37
+ ```bash
38
+ # Interactive setup
39
+ agentkit init
40
+
41
+ # Non-interactive (with all flags)
42
+ agentkit init \
43
+ --tool cursor \
44
+ --folder .cursorrules \
45
+ --departments engineering,design \
46
+ --skip-prompts
47
+ ```
48
+
49
+ Follow the prompts to:
50
+
51
+ 1. Select your AI tool (Cursor, Claude Code, etc.)
52
+ 2. Choose departments (Engineering, Design, Marketing, etc.)
53
+ 3. Pick specific agents (or keep all selected)
54
+ 4. Generate your configuration ✨
55
+
56
+ ---
57
+
58
+ ## 🏢 Available Departments & Agents
59
+
60
+ ### **Design** (5 agents)
61
+
62
+ - `brand-guardian` - Brand consistency and visual identity
63
+ - `ui-designer` - Interface design and component systems
64
+ - `ux-researcher` - User research and testing
65
+ - `visual-storyteller` - Marketing visuals and graphics
66
+ - `whimsy-injector` - Delightful micro-interactions
67
+
68
+ ### **Engineering** (7 agents)
69
+
70
+ - `ai-engineer` - AI/ML integration and optimization
71
+ - `backend-architect` - API design and server architecture
72
+ - `devops-automator` - CI/CD and infrastructure
73
+ - `frontend-developer` - UI implementation and optimization
74
+ - `mobile-app-builder` - iOS/Android development
75
+ - `rapid-prototyper` - Fast MVP development
76
+ - `test-writer-fixer` - Testing and quality assurance
77
+
78
+ ### **Marketing** (7 agents)
79
+
80
+ - `app-store-optimizer` - ASO and store listings
81
+ - `content-creator` - Blog posts, videos, social content
82
+ - `growth-hacker` - Viral loops and growth experiments
83
+ - `instagram-curator` - Instagram strategy and content
84
+ - `reddit-community-builder` - Reddit engagement
85
+ - `tiktok-strategist` - TikTok marketing and trends
86
+ - `twitter-engager` - Twitter/X engagement
87
+
88
+ ### **Product** (3 agents)
89
+
90
+ - `feedback-synthesizer` - User feedback analysis
91
+ - `sprint-prioritizer` - Feature prioritization
92
+ - `trend-researcher` - Market trends and opportunities
93
+
94
+ ### **Project Management** (3 agents)
95
+
96
+ - `experiment-tracker` - A/B testing and experiments
97
+ - `project-shipper` - Launch coordination
98
+ - `studio-producer` - Cross-team coordination
99
+
100
+ ### **Studio Operations** (5 agents)
101
+
102
+ - `analytics-reporter` - Metrics and insights
103
+ - `finance-tracker` - Budget and cost management
104
+ - `infrastructure-maintainer` - System reliability
105
+ - `legal-compliance-checker` - Privacy and compliance
106
+ - `support-responder` - Customer support
107
+
108
+ ### **Testing** (5 agents)
109
+
110
+ - `api-tester` - API testing and performance
111
+ - `performance-benchmarker` - Speed optimization
112
+ - `test-results-analyzer` - Test data analysis
113
+ - `tool-evaluator` - Development tool assessment
114
+ - `workflow-optimizer` - Process optimization
115
+
116
+ ---
117
+
118
+ ## 🛠️ Supported AI Tools
119
+
120
+ | Tool | Folder | Description |
121
+ | ------------------ | -------------- | ------------------------- |
122
+ | **Claude Code** | `.claude` | Native sub-agent support |
123
+ | **Cursor** | `.cursorrules` | @-mentions and multi-file |
124
+ | **GitHub Copilot** | `.github` | copilot-instructions.md |
125
+ | **Aider** | `.aider` | conventions.md |
126
+ | **Universal** | `.ai` | Works with any tool |
127
+
128
+ ---
129
+
130
+ ## 📖 Usage Examples
131
+
132
+ ### With Cursor
133
+
134
+ ```bash
135
+ agentkit init --tool cursor --folder .cursorrules --departments engineering,design
136
+ ```
137
+
138
+ Then in Cursor:
139
+
140
+ ```
141
+ @engineering/backend-architect.md Design a REST API for user management
142
+ ```
143
+
144
+ ### With Claude Code
145
+
146
+ ```bash
147
+ agentkit init --tool claude-code --folder .claude --departments engineering
148
+ ```
149
+
150
+ Then with Claude Code CLI:
151
+
152
+ ```bash
153
+ claude-code "Build a login page using the frontend-developer patterns"
154
+ ```
155
+
156
+ ### With GitHub Copilot
157
+
158
+ ```bash
159
+ agentkit init --tool copilot --departments engineering,testing
160
+ ```
161
+
162
+ Copilot automatically uses `.github/copilot-instructions.md` for all suggestions.
163
+
164
+ ---
165
+
166
+ ## 🎯 Use Cases
167
+
168
+ **For Startups:**
169
+
170
+ - Rapid prototyping with `rapid-prototyper`
171
+ - Growth experiments with `growth-hacker`
172
+ - Launch coordination with `project-shipper`
173
+
174
+ **For Solo Developers:**
175
+
176
+ - Full-stack guidance with engineering agents
177
+ - Marketing strategies with marketing agents
178
+ - Testing workflows with testing agents
179
+
180
+ **For Teams:**
181
+
182
+ - Consistent standards across departments
183
+ - Specialized expertise on demand
184
+ - Faster onboarding for new team members
185
+
186
+ ---
187
+
188
+ ## 🔧 Configuration Options
189
+
190
+ ```bash
191
+ agentkit init [options]
192
+
193
+ Options:
194
+ -t, --tool <tool> AI tool (claude-code, cursor, copilot, aider, universal)
195
+ -f, --folder <name> Custom folder name
196
+ -d, --departments <list> Comma-separated list of departments
197
+ --agents <list> Comma-separated list of specific agents
198
+ --skip-prompts Skip all interactive prompts (requires all flags)
199
+ -h, --help Display help for command
200
+ ```
201
+
202
+ **Examples:**
203
+
204
+ ```bash
205
+ # Full engineering department
206
+ agentkit init -t cursor -d engineering --skip-prompts
207
+
208
+ # Specific agents only
209
+ agentkit init -t cursor -d engineering --agents backend-architect,frontend-developer --skip-prompts
210
+
211
+ # Multiple departments
212
+ agentkit init -t claude-code -d engineering,design,marketing --skip-prompts
213
+ ```
214
+
215
+ ---
216
+
217
+ ## 📚 Documentation
218
+
219
+ Each generated agent includes:
220
+
221
+ - **Clear responsibilities** and best practices
222
+ - **Code examples** in multiple languages
223
+ - **Framework-specific patterns** (React, Vue, Node.js, Python, Go, etc.)
224
+ - **Quick reference guides** and checklists
225
+ - **Integration tips** for your workflow
226
+
227
+ All agents are designed to be:
228
+
229
+ - ✅ **Language-agnostic** (works with any tech stack)
230
+ - ✅ **Actionable** (practical, not theoretical)
231
+ - ✅ **Focused** (200-250 lines for easy reading)
232
+
233
+ ---
234
+
235
+ ---
236
+
237
+ ## ⚙️ Configuration Options
238
+
239
+ ### Command-Line Flags
240
+
241
+ | Flag | Description | Available Options | Default | Required |
242
+ | -------------------------- | --------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------ | -------------------------- |
243
+ | `-t, --tool <tool>` | AI tool to generate configuration for | `claude-code`, `cursor`, `copilot`, `aider`, `universal` | `cursor` | ✅ (with `--skip-prompts`) |
244
+ | `-f, --folder <name>` | Custom folder name for agent files | Any valid folder name (no spaces or slashes) | Tool-specific default\* | ❌ |
245
+ | `-d, --departments <list>` | Comma-separated list of departments to include | `design`, `engineering`, `marketing`, `product`, `project-management`, `studio-operations`, `testing` | - | ✅ (with `--skip-prompts`) |
246
+ | `--agents <list>` | Comma-separated list of specific agents to include | See [agent list](#-available-departments--agents) above. Format: `agent-name` or `department/agent-name` | All agents from selected departments | ❌ |
247
+ | `--skip-prompts` | Skip all interactive prompts (non-interactive mode) | - | `false` | ❌ |
248
+ | `-h, --help` | Display help information | - | - | ❌ |
249
+
250
+ \*_Tool-specific default folders:_
251
+
252
+ | Tool | Default Folder |
253
+ | ------------- | --------------------------------------------- |
254
+ | `claude-code` | `.claude` |
255
+ | `cursor` | `.cursorrules` |
256
+ | `copilot` | `.github` (creates `copilot-instructions.md`) |
257
+ | `aider` | `.aider` |
258
+ | `universal` | `.ai` |
259
+
260
+ ### Usage Examples
261
+
262
+ **Interactive mode (recommended for first-time users):**
263
+
264
+ ```bash
265
+ agentkit init
266
+ ```
267
+
268
+ **Full non-interactive setup:**
269
+
270
+ ```bash
271
+ agentkit init \
272
+ --tool cursor \
273
+ --folder .cursorrules \
274
+ --departments engineering,design \
275
+ --skip-prompts
276
+ ```
277
+
278
+ **Select specific agents only:**
279
+
280
+ ```bash
281
+ agentkit init \
282
+ --tool cursor \
283
+ --departments engineering \
284
+ --agents backend-architect,frontend-developer \
285
+ --skip-prompts
286
+ ```
287
+
288
+ **Multiple departments with custom folder:**
289
+
290
+ ```bash
291
+ agentkit init \
292
+ --tool claude-code \
293
+ --folder .my-agents \
294
+ --departments engineering,marketing,testing \
295
+ --skip-prompts
296
+ ```
297
+
298
+ **All agents from all departments:**
299
+
300
+ ```bash
301
+ agentkit init \
302
+ --tool universal \
303
+ --departments design,engineering,marketing,product,project-management,studio-operations,testing \
304
+ --skip-prompts
305
+ ```
306
+
307
+ ---
308
+
309
+ ## 🗺️ Roadmap
310
+
311
+ ### v0.2.0 (Coming Soon)
312
+
313
+ - 🛠️ **Tech Stack Awareness** - Agents adapt to your specific stack (React, Vue, Python, Go, etc.)
314
+ - 🔄 **Update Command** - Update existing configurations without regenerating
315
+ - 📊 **Agent Analytics** - Track which agents you use most
316
+ - 🎨 **Custom Agent Templates** - Create your own agents
317
+ - 🌐 **More Languages** - Localization support
318
+
319
+ ### v0.3.0 (Future)
320
+
321
+ - 🔌 **VSCode Extension** - Use agents directly in VSCode
322
+ - 🤝 **Team Collaboration** - Share agent configurations across teams
323
+ - 📦 **Agent Marketplace** - Community-contributed agents
324
+ - 🧪 **Agent Testing Framework** - Validate agent effectiveness
325
+
326
+ **Want to contribute?** Check our [GitHub repository](https://github.com/patricio0312rev/agentkit) for open issues and feature requests!
327
+
328
+ ---
329
+
330
+ ## 🐛 Known Issues & Troubleshooting
331
+
332
+ ### Common Issues
333
+
334
+ **1. "Command not found: agentkit"**
335
+
336
+ ```bash
337
+ # If installed globally, try:
338
+ npm uninstall -g agentkit
339
+ npm install -g agentkit
340
+
341
+ # Or use npx:
342
+ npx agentkit init
343
+ ```
344
+
345
+ **2. Agents not appearing in Cursor @-mentions**
346
+
347
+ - Restart Cursor after running `agentkit init`
348
+ - Verify files exist in the specified folder
349
+ - Check Cursor settings → Custom Instructions
350
+
351
+ **3. Permission errors during installation**
352
+
353
+ ```bash
354
+ sudo npm install -g agentkit
355
+ # Or use npx to avoid global install
356
+ ```
357
+
358
+ **4. Files not generating**
359
+
360
+ - Ensure you have write permissions in the current directory
361
+ - Check if folder already exists (AgentKit won't overwrite)
362
+ - Run with `--skip-prompts` and all required flags
363
+
364
+ ### Report an Issue
365
+
366
+ Found a bug or have a feature request?
367
+
368
+ 👉 **[Open an issue on GitHub](https://github.com/patricio0312rev/agentkit/issues)**
369
+
370
+ Please include:
371
+
372
+ - Your OS and Node.js version (`node -v`)
373
+ - The command you ran
374
+ - Expected vs actual behavior
375
+ - Any error messages
376
+
377
+ ---
378
+
379
+ ## 🤝 Contributing
380
+
381
+ We welcome contributions! Here's how you can help:
382
+
383
+ 1. **Report bugs** - Open an issue with details
384
+ 2. **Suggest features** - Tell us what would make AgentKit better
385
+ 3. **Improve agents** - Submit PRs for agent improvements
386
+ 4. **Share your setup** - Show how you use AgentKit
387
+
388
+ See [CONTRIBUTING.md](https://github.com/patricio0312rev/agentkit/blob/main/CONTRIBUTING.md) for guidelines.
389
+
390
+ ---
391
+
392
+ ## 💡 Tips & Best Practices
393
+
394
+ **Getting Started:**
395
+
396
+ - Start with 1-2 departments to avoid overwhelming yourself
397
+ - Read the generated `README.md` in your agents folder
398
+ - Try different agents to find which ones fit your workflow
399
+
400
+ **For Teams:**
401
+
402
+ - Commit the generated folder to version control
403
+ - Share agent configurations across your team
404
+ - Customize agents to match your team's conventions
405
+ - Run `agentkit init` when onboarding new members
406
+
407
+ **Optimization:**
408
+
409
+ - Remove agents you rarely use to reduce context
410
+ - Customize agent instructions for your specific needs
411
+ - Create shortcuts for frequently used agent combinations
412
+
413
+ ---
414
+
415
+ ## 🙏 Credits
416
+
417
+ AgentKit is built with:
418
+
419
+ - [Commander.js](https://github.com/tj/commander.js) - CLI framework
420
+ - [Inquirer.js](https://github.com/SBoudrias/Inquirer.js) - Interactive prompts
421
+ - [Chalk](https://github.com/chalk/chalk) - Terminal styling
422
+ - [fs-extra](https://github.com/jprichardson/node-fs-extra) - File system utilities
423
+
424
+ AgentKit templates were based on:
425
+
426
+ - [agents](https://github.com/contains-studio/agents) - Contains-Studio's Agents
427
+
428
+ Inspired by the amazing AI coding assistant community and built for developers who ship fast.
429
+
430
+ ---
431
+
432
+ ## 📄 License
433
+
434
+ This project is licensed under the **MIT License**. See the [LICENSE](./LICENSE) file for details.
435
+
436
+ ---
437
+
438
+ **Stay safe when working with AI! 🛡️**
439
+
440
+ Enjoy! 💜
441
+
442
+ Made with love by [Patricio Marroquin](https://www.patriciomarroquin.dev/)
package/bin/cli.js ADDED
@@ -0,0 +1,41 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { program } = require("commander");
4
+ const chalk = require("chalk");
5
+ const packageJson = require("../package.json");
6
+ const { displayBanner } = require("../src/utils/display");
7
+ const initCommand = require("../src/commands/init");
8
+
9
+ // Display banner
10
+ displayBanner();
11
+
12
+ program
13
+ .name("agentkit")
14
+ .description(
15
+ "Scaffold AI agent configurations for Claude Code, Cursor, and more"
16
+ )
17
+ .version(packageJson.version);
18
+
19
+ program
20
+ .command("init")
21
+ .description("Initialize AI agents configuration in current directory")
22
+ .option(
23
+ "-t, --tool <tool>",
24
+ "AI tool (claude-code, cursor, copilot, aider, universal)"
25
+ )
26
+ .option("-f, --folder <name>", "Custom folder name")
27
+ .option("-d, --departments <list>", "Comma-separated list of departments")
28
+ .option("--agents <list>", "Comma-separated list of specific agents")
29
+ .option(
30
+ "--stack <list>",
31
+ "Comma-separated tech stack (react,typescript,postgres,etc)"
32
+ )
33
+ .option("--skip-prompts", "Skip all interactive prompts (requires all flags)")
34
+ .action(initCommand);
35
+
36
+ program.parse(process.argv);
37
+
38
+ // Show help if no command provided
39
+ if (!process.argv.slice(2).length) {
40
+ program.outputHelp();
41
+ }
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@patricio0312rev/agentkit",
3
+ "displayName": "AgentKit",
4
+ "version": "0.1.0",
5
+ "description": "CLI tool to scaffold AI agent configurations for Claude Code, Cursor, and other AI coding assistants",
6
+ "main": "src/index.js",
7
+ "bin": {
8
+ "agentkit": "./bin/cli.js",
9
+ "ak": "./bin/cli.js"
10
+ },
11
+ "scripts": {
12
+ "start": "node bin/cli.js",
13
+ "test": "echo \"Error: no test specified\" && exit 1",
14
+ "prepublishOnly": "echo 'Ready to publish agentkit!'"
15
+ },
16
+ "keywords": [
17
+ "ai",
18
+ "agents",
19
+ "claude",
20
+ "cursor",
21
+ "copilot",
22
+ "claude-code",
23
+ "ai-agents",
24
+ "cli",
25
+ "scaffolding",
26
+ "sub-agents",
27
+ "ai-tools",
28
+ "agentkit"
29
+ ],
30
+ "author": "Patricio Marroquin <patricio0312rev@github>",
31
+ "license": "MIT",
32
+ "repository": {
33
+ "type": "git",
34
+ "url": "https://github.com/patricio0312rev/agentkit.git"
35
+ },
36
+ "bugs": {
37
+ "url": "https://github.com/patricio0312rev/agentkit/issues"
38
+ },
39
+ "homepage": "https://github.com/patricio0312rev/agentkit#readme",
40
+ "devDependencies": {
41
+ "eslint": "^8.56.0",
42
+ "prettier": "^3.1.1"
43
+ },
44
+ "engines": {
45
+ "node": ">=14.0.0"
46
+ },
47
+ "dependencies": {
48
+ "chalk": "^4.1.2",
49
+ "commander": "^11.1.0",
50
+ "fs-extra": "^11.2.0",
51
+ "inquirer": "^8.2.6",
52
+ "ora": "^5.4.1"
53
+ }
54
+ }