@zimezone/z-command 1.1.0 → 1.1.2

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 (107) hide show
  1. package/README.md +13 -1
  2. package/dist/commands/init.d.ts.map +1 -1
  3. package/dist/commands/init.js +34 -9
  4. package/dist/commands/init.js.map +1 -1
  5. package/package.json +11 -3
  6. package/templates.zip +0 -0
  7. package/templates/agents/accessibility-expert.agent.md +0 -56
  8. package/templates/agents/ai-engineer.agent.md +0 -61
  9. package/templates/agents/angular-architect.agent.md +0 -49
  10. package/templates/agents/api-designer.agent.md +0 -40
  11. package/templates/agents/azure-infra-engineer.agent.md +0 -57
  12. package/templates/agents/backend-developer.agent.md +0 -61
  13. package/templates/agents/blockchain-developer.agent.md +0 -57
  14. package/templates/agents/build-engineer.agent.md +0 -56
  15. package/templates/agents/business-analyst.agent.md +0 -47
  16. package/templates/agents/cli-developer.agent.md +0 -57
  17. package/templates/agents/cloud-architect.agent.md +0 -56
  18. package/templates/agents/code-architect.agent.md +0 -63
  19. package/templates/agents/code-reviewer.agent.md +0 -49
  20. package/templates/agents/competitive-analyst.agent.md +0 -48
  21. package/templates/agents/context-manager.agent.md +0 -55
  22. package/templates/agents/cpp-pro.agent.md +0 -59
  23. package/templates/agents/csharp-developer.agent.md +0 -57
  24. package/templates/agents/data-engineer.agent.md +0 -55
  25. package/templates/agents/data-researcher.agent.md +0 -55
  26. package/templates/agents/data-scientist.agent.md +0 -56
  27. package/templates/agents/database-administrator.agent.md +0 -50
  28. package/templates/agents/devops-engineer.agent.md +0 -59
  29. package/templates/agents/django-developer.agent.md +0 -50
  30. package/templates/agents/documentation-engineer.agent.md +0 -57
  31. package/templates/agents/electron-pro.agent.md +0 -56
  32. package/templates/agents/embedded-systems.agent.md +0 -55
  33. package/templates/agents/fintech-engineer.agent.md +0 -57
  34. package/templates/agents/flutter-expert.agent.md +0 -50
  35. package/templates/agents/frontend-developer.agent.md +0 -59
  36. package/templates/agents/fullstack-developer.agent.md +0 -46
  37. package/templates/agents/game-developer.agent.md +0 -57
  38. package/templates/agents/git-workflow-manager.agent.md +0 -57
  39. package/templates/agents/golang-pro.agent.md +0 -50
  40. package/templates/agents/graphql-architect.agent.md +0 -48
  41. package/templates/agents/iot-engineer.agent.md +0 -56
  42. package/templates/agents/java-architect.agent.md +0 -48
  43. package/templates/agents/kotlin-specialist.agent.md +0 -50
  44. package/templates/agents/kubernetes-specialist.agent.md +0 -56
  45. package/templates/agents/laravel-specialist.agent.md +0 -50
  46. package/templates/agents/legacy-modernizer.agent.md +0 -56
  47. package/templates/agents/llm-architect.agent.md +0 -58
  48. package/templates/agents/market-researcher.agent.md +0 -47
  49. package/templates/agents/mcp-developer.agent.md +0 -54
  50. package/templates/agents/microservices-architect.agent.md +0 -47
  51. package/templates/agents/ml-engineer.agent.md +0 -56
  52. package/templates/agents/mlops-engineer.agent.md +0 -56
  53. package/templates/agents/mobile-developer.agent.md +0 -45
  54. package/templates/agents/multi-agent-coordinator.agent.md +0 -55
  55. package/templates/agents/network-engineer.agent.md +0 -57
  56. package/templates/agents/nextjs-developer.agent.md +0 -48
  57. package/templates/agents/nlp-engineer.agent.md +0 -58
  58. package/templates/agents/payment-integration.agent.md +0 -56
  59. package/templates/agents/performance-optimizer.agent.md +0 -57
  60. package/templates/agents/platform-engineer.agent.md +0 -57
  61. package/templates/agents/postgres-pro.agent.md +0 -58
  62. package/templates/agents/product-manager.agent.md +0 -55
  63. package/templates/agents/project-manager.agent.md +0 -57
  64. package/templates/agents/prompt-engineer.agent.md +0 -58
  65. package/templates/agents/python-pro.agent.md +0 -48
  66. package/templates/agents/rails-expert.agent.md +0 -50
  67. package/templates/agents/react-specialist.agent.md +0 -49
  68. package/templates/agents/refactoring-specialist.agent.md +0 -56
  69. package/templates/agents/research-analyst.agent.md +0 -63
  70. package/templates/agents/scrum-master.agent.md +0 -54
  71. package/templates/agents/security-analyst.agent.md +0 -57
  72. package/templates/agents/security-engineer.agent.md +0 -57
  73. package/templates/agents/seo-specialist.agent.md +0 -57
  74. package/templates/agents/sre-engineer.agent.md +0 -58
  75. package/templates/agents/swift-expert.agent.md +0 -49
  76. package/templates/agents/task-distributor.agent.md +0 -47
  77. package/templates/agents/technical-writer.agent.md +0 -48
  78. package/templates/agents/terraform-engineer.agent.md +0 -57
  79. package/templates/agents/test-engineer.agent.md +0 -55
  80. package/templates/agents/trend-analyst.agent.md +0 -47
  81. package/templates/agents/typescript-pro.agent.md +0 -48
  82. package/templates/agents/ui-designer.agent.md +0 -48
  83. package/templates/agents/ux-researcher.agent.md +0 -48
  84. package/templates/agents/vue-expert.agent.md +0 -48
  85. package/templates/agents/websocket-engineer.agent.md +0 -49
  86. package/templates/agents/workflow-orchestrator.agent.md +0 -48
  87. package/templates/skills/code-review/SKILL.md +0 -62
  88. package/templates/skills/security-review/SKILL.md +0 -78
  89. package/templates/skills/systematic-debugging/SKILL.md +0 -57
  90. package/templates/skills/test-driven-development/SKILL.md +0 -46
  91. package/templates/skills/ui-ux-pro-max/SKILL.md +0 -352
  92. package/templates/skills/ui-ux-pro-max/data/charts.csv +0 -26
  93. package/templates/skills/ui-ux-pro-max/data/colors.csv +0 -97
  94. package/templates/skills/ui-ux-pro-max/data/icons.csv +0 -101
  95. package/templates/skills/ui-ux-pro-max/data/landing.csv +0 -31
  96. package/templates/skills/ui-ux-pro-max/data/products.csv +0 -97
  97. package/templates/skills/ui-ux-pro-max/data/prompts.csv +0 -24
  98. package/templates/skills/ui-ux-pro-max/data/react-performance.csv +0 -45
  99. package/templates/skills/ui-ux-pro-max/data/styles.csv +0 -59
  100. package/templates/skills/ui-ux-pro-max/data/typography.csv +0 -58
  101. package/templates/skills/ui-ux-pro-max/data/ui-reasoning.csv +0 -101
  102. package/templates/skills/ui-ux-pro-max/data/ux-guidelines.csv +0 -100
  103. package/templates/skills/ui-ux-pro-max/data/web-interface.csv +0 -31
  104. package/templates/skills/ui-ux-pro-max/scripts/core.py +0 -258
  105. package/templates/skills/ui-ux-pro-max/scripts/design_system.py +0 -547
  106. package/templates/skills/ui-ux-pro-max/scripts/search.py +0 -76
  107. package/templates/skills/writing-plans/SKILL.md +0 -64
package/README.md CHANGED
@@ -62,6 +62,8 @@ z-command list --agents
62
62
  z-command update
63
63
  ```
64
64
 
65
+ This command will clone the remote repositories, flatten the structure, renamed files to avoid collisions, and skip any agents that you have locally customized or explicitly excluded.
66
+
65
67
  ## Included Templates
66
68
 
67
69
  ### Skills
@@ -74,8 +76,12 @@ z-command update
74
76
  | `security-review` | OWASP Top 10 vulnerability detection |
75
77
  | `writing-plans` | Detailed implementation plans |
76
78
  | `ui-ux-pro-max` | AI design intelligence for professional UI/UX |
79
+ | `bash-defensive-patterns` | Robust shell scripting patterns |
80
+ | `python-packaging` | Modern Python packaging (uv, poetry) |
81
+ | `react-modernization` | Modernizing React codebases |
82
+ | `rust-async-patterns` | Async Rust implementation patterns |
77
83
 
78
- ### Agents (80 total)
84
+ ### Agents (150+ total)
79
85
 
80
86
  **01. Core Development**
81
87
 
@@ -108,6 +114,11 @@ z-command update
108
114
  - `kotlin-specialist`
109
115
  - `csharp-developer`
110
116
  - `cpp-pro`
117
+ - `rust-pro`
118
+ - `ruby-pro`
119
+ - `php-pro`
120
+ - `bash-pro`
121
+ - `c-pro`
111
122
 
112
123
  **03. Infrastructure**
113
124
 
@@ -242,6 +253,7 @@ This project aggregates best practices from:
242
253
  - [VoltAgent/awesome-claude-code-subagents](https://github.com/VoltAgent/awesome-claude-code-subagents)
243
254
  - [OneRedOak/claude-code-workflows](https://github.com/OneRedOak/claude-code-workflows)
244
255
  - [nextlevelbuilder/ui-ux-pro-max-skill](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill) - UI/UX design intelligence
256
+ - [wshobson/agents](https://github.com/wshobson/agents) - 100+ specialized agents and skills
245
257
 
246
258
  ## License
247
259
 
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAiC,MAAM,UAAU,CAAC;AAKtE,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CA0BrE"}
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAiC,MAAM,UAAU,CAAC;AA+BtE,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CA2BrE"}
@@ -8,15 +8,40 @@ const path_1 = __importDefault(require("path"));
8
8
  const fs_extra_1 = __importDefault(require("fs-extra"));
9
9
  const chalk_1 = __importDefault(require("chalk"));
10
10
  const os_1 = __importDefault(require("os"));
11
+ const adm_zip_1 = __importDefault(require("adm-zip"));
12
+ const crypto_1 = __importDefault(require("crypto"));
11
13
  const platforms_1 = require("../platforms");
12
- const TEMPLATES_DIR = path_1.default.join(__dirname, '..', '..', 'templates');
14
+ async function ensureTemplates() {
15
+ // 1. Check for local templates (dev mode)
16
+ const localTemplates = path_1.default.join(__dirname, '..', '..', 'templates');
17
+ if (await fs_extra_1.default.pathExists(localTemplates)) {
18
+ return localTemplates;
19
+ }
20
+ // 2. Check for zipped templates (prod mode)
21
+ const zipPath = path_1.default.join(__dirname, '..', '..', 'templates.zip');
22
+ if (await fs_extra_1.default.pathExists(zipPath)) {
23
+ // Generate hash of zip file to determine if we need to re-extract
24
+ const fileBuffer = await fs_extra_1.default.readFile(zipPath);
25
+ const hash = crypto_1.default.createHash('md5').update(fileBuffer).digest('hex');
26
+ const tempDir = path_1.default.join(os_1.default.tmpdir(), 'z-command-templates', hash);
27
+ const templatesDir = path_1.default.join(tempDir, 'templates');
28
+ if (!await fs_extra_1.default.pathExists(templatesDir)) {
29
+ console.log(chalk_1.default.dim('📦 Extracting templates...'));
30
+ const zip = new adm_zip_1.default(zipPath);
31
+ zip.extractAllTo(tempDir, true);
32
+ }
33
+ return templatesDir;
34
+ }
35
+ throw new Error('Templates not found! Please reinstall the package.');
36
+ }
13
37
  async function initCommand(options) {
14
38
  console.log(chalk_1.default.cyan('\n🚀 Z-Command - Installing AI Coding Assistant Skills & Agents\n'));
15
39
  const platforms = (0, platforms_1.getTargetPlatforms)(options.target);
40
+ const templatesDir = await ensureTemplates();
16
41
  const results = [];
17
42
  for (const platform of platforms) {
18
43
  console.log(chalk_1.default.blue(`\n📦 Installing for ${platform.displayName}...`));
19
- const result = await installForPlatform(platform, options);
44
+ const result = await installForPlatform(platform, options, templatesDir);
20
45
  results.push(result);
21
46
  console.log(chalk_1.default.dim(` Location: ${result.location}`));
22
47
  }
@@ -30,7 +55,7 @@ async function initCommand(options) {
30
55
  }
31
56
  console.log();
32
57
  }
33
- async function installForPlatform(platform, options) {
58
+ async function installForPlatform(platform, options, templatesDir) {
34
59
  const targetBase = options.global
35
60
  ? path_1.default.join(os_1.default.homedir(), platform.globalDir)
36
61
  : path_1.default.join(process.cwd(), platform.projectDir);
@@ -40,11 +65,11 @@ async function installForPlatform(platform, options) {
40
65
  let agentsCount = 0;
41
66
  // Install skills (if platform supports them)
42
67
  if (installSkills && platform.skillsDir) {
43
- skillsCount = await copySkills(targetBase, platform, options.category);
68
+ skillsCount = await copySkills(targetBase, platform, templatesDir, options.category);
44
69
  }
45
70
  // Install agents
46
71
  if (installAgents) {
47
- agentsCount = await copyAgents(targetBase, platform, options.category);
72
+ agentsCount = await copyAgents(targetBase, platform, templatesDir, options.category);
48
73
  }
49
74
  return {
50
75
  platform: platform.displayName,
@@ -53,8 +78,8 @@ async function installForPlatform(platform, options) {
53
78
  location: targetBase,
54
79
  };
55
80
  }
56
- async function copySkills(targetBase, platform, category) {
57
- const skillsSource = path_1.default.join(TEMPLATES_DIR, 'skills');
81
+ async function copySkills(targetBase, platform, templatesDir, category) {
82
+ const skillsSource = path_1.default.join(templatesDir, 'skills');
58
83
  const skillsTarget = path_1.default.join(targetBase, platform.skillsDir);
59
84
  if (!await fs_extra_1.default.pathExists(skillsSource)) {
60
85
  console.log(chalk_1.default.yellow(' ⚠ No skills templates found'));
@@ -121,8 +146,8 @@ async function copySkillDirectory(sourcePath, targetPath, platform) {
121
146
  }
122
147
  }
123
148
  }
124
- async function copyAgents(targetBase, platform, category) {
125
- const agentsSource = path_1.default.join(TEMPLATES_DIR, 'agents');
149
+ async function copyAgents(targetBase, platform, templatesDir, category) {
150
+ const agentsSource = path_1.default.join(templatesDir, 'agents');
126
151
  const agentsTarget = path_1.default.join(targetBase, platform.agentsDir);
127
152
  if (!await fs_extra_1.default.pathExists(agentsSource)) {
128
153
  console.log(chalk_1.default.yellow(' ⚠ No agents templates found'));
@@ -1 +1 @@
1
- {"version":3,"file":"init.js","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":";;;;;AASA,kCA0BC;AAnCD,gDAAwB;AACxB,wDAA0B;AAC1B,kDAA0B;AAC1B,4CAAoB;AAEpB,4CAAkD;AAElD,MAAM,aAAa,GAAG,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,CAAC,CAAC;AAE7D,KAAK,UAAU,WAAW,CAAC,OAAoB;IACpD,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,mEAAmE,CAAC,CAAC,CAAC;IAE7F,MAAM,SAAS,GAAG,IAAA,8BAAkB,EAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IACrD,MAAM,OAAO,GAAoB,EAAE,CAAC;IAEpC,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QACjC,OAAO,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,uBAAuB,QAAQ,CAAC,WAAW,KAAK,CAAC,CAAC,CAAC;QAE1E,MAAM,MAAM,GAAG,MAAM,kBAAkB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QAC3D,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAErB,OAAO,CAAC,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
4
4
  "description": "Install curated AI coding assistant skills and agents for GitHub Copilot, Claude Code, Antigravity, and Cursor",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {
@@ -11,10 +11,13 @@
11
11
  "url": "https://github.com/TriNgo0108/z-command.git"
12
12
  },
13
13
  "scripts": {
14
- "build": "tsc",
14
+ "build": "npm run bundle && tsc",
15
+ "bundle": "ts-node scripts/bundle-templates.ts",
15
16
  "dev": "ts-node src/cli.ts",
16
17
  "test": "jest",
17
18
  "test:coverage": "jest --coverage",
19
+ "check-upstream": "ts-node scripts/check-upstream.ts",
20
+ "sync-wshobson": "ts-node scripts/sync-wshobson.ts",
18
21
  "prepublishOnly": "npm run build && npm test"
19
22
  },
20
23
  "keywords": [
@@ -30,16 +33,21 @@
30
33
  "author": "",
31
34
  "license": "MIT",
32
35
  "dependencies": {
36
+ "adm-zip": "^0.5.16",
37
+ "axios": "^1.13.2",
33
38
  "chalk": "^4.1.2",
34
39
  "commander": "^11.1.0",
35
40
  "fs-extra": "^11.2.0",
36
41
  "update-notifier": "^5.1.0"
37
42
  },
38
43
  "devDependencies": {
44
+ "@types/adm-zip": "^0.5.7",
45
+ "@types/archiver": "^7.0.0",
39
46
  "@types/fs-extra": "^11.0.4",
40
47
  "@types/jest": "^30.0.0",
41
48
  "@types/node": "^20.10.0",
42
49
  "@types/update-notifier": "^5.1.0",
50
+ "archiver": "^7.0.1",
43
51
  "jest": "^30.2.0",
44
52
  "ts-jest": "^29.4.6",
45
53
  "ts-node": "^10.9.2",
@@ -50,6 +58,6 @@
50
58
  },
51
59
  "files": [
52
60
  "dist",
53
- "templates"
61
+ "templates.zip"
54
62
  ]
55
63
  }
package/templates.zip ADDED
Binary file
@@ -1,56 +0,0 @@
1
- ---
2
- description: Web accessibility expert for WCAG compliance
3
- ---
4
-
5
- # Accessibility Expert
6
-
7
- You are an expert accessibility specialist focused on ensuring digital products are usable by everyone, following WCAG guidelines and inclusive design principles.
8
-
9
- ## Core Responsibilities
10
-
11
- - Audit for accessibility compliance
12
- - Implement WCAG 2.1/2.2 guidelines
13
- - Fix accessibility issues
14
- - Design inclusive user experiences
15
- - Train teams on accessibility
16
- - Test with assistive technologies
17
-
18
- ## WCAG Principles (POUR)
19
-
20
- - Perceivable: Content accessible to senses
21
- - Operable: Interface navigable and usable
22
- - Understandable: Content and UI comprehensible
23
- - Robust: Works with assistive technologies
24
-
25
- ## Key Focus Areas
26
-
27
- - Semantic HTML structure
28
- - Keyboard navigation
29
- - Screen reader compatibility
30
- - Color contrast ratios
31
- - Focus management
32
- - ARIA attributes (when needed)
33
- - Alternative text for media
34
-
35
- ## Testing Methods
36
-
37
- - Keyboard-only navigation
38
- - Screen reader testing (NVDA, VoiceOver)
39
- - Automated tools (axe, Lighthouse)
40
- - Color contrast checkers
41
- - Manual auditing
42
-
43
- ## Tools & Technologies
44
-
45
- - axe DevTools
46
- - WAVE
47
- - Lighthouse
48
- - Screen readers
49
- - Color contrast analyzers
50
-
51
- ## Communication Style
52
-
53
- - Explain the "why" for users
54
- - Provide practical solutions
55
- - Reference WCAG success criteria
56
- - Consider diverse user needs
@@ -1,61 +0,0 @@
1
- ---
2
- name: ai-engineer
3
- description: AI system design, model implementation, and production deployment
4
- tools: [Read, Write, Edit, Bash, Glob, Grep]
5
- ---
6
-
7
- You are an AI engineer specializing in building production AI/ML systems.
8
-
9
- ## Expertise
10
-
11
- - Large Language Models (LLMs)
12
- - Prompt engineering
13
- - RAG architectures
14
- - Model fine-tuning
15
- - MLOps and deployment
16
- - Vector databases
17
- - AI agents and tools
18
-
19
- ## Best Practices
20
-
21
- ### Prompt Engineering
22
-
23
- - Clear, specific instructions
24
- - Few-shot examples when helpful
25
- - Chain-of-thought for reasoning
26
- - Output format specification
27
- - Temperature and token tuning
28
-
29
- ### RAG Systems
30
-
31
- - Chunking strategies
32
- - Embedding model selection
33
- - Vector store optimization
34
- - Retrieval evaluation
35
- - Context window management
36
-
37
- ### Production ML
38
-
39
- - Model versioning
40
- - A/B testing
41
- - Monitoring for drift
42
- - Cost optimization
43
- - Fallback strategies
44
-
45
- ### Safety
46
-
47
- - Input/output filtering
48
- - Rate limiting
49
- - Cost controls
50
- - Bias evaluation
51
- - Human-in-the-loop
52
-
53
- ## Communication Protocol
54
-
55
- When asked about AI features:
56
-
57
- 1. Clarify the use case
58
- 2. Recommend appropriate models/tools
59
- 3. Design the architecture
60
- 4. Implement with proper testing
61
- 5. Set up monitoring and evaluation
@@ -1,49 +0,0 @@
1
- ---
2
- description: Angular architect for enterprise-scale applications
3
- ---
4
-
5
- # Angular Architect
6
-
7
- You are an expert Angular architect specializing in building enterprise-scale applications with Angular's powerful features and best practices.
8
-
9
- ## Core Responsibilities
10
-
11
- - Design large-scale Angular architectures
12
- - Implement feature modules and lazy loading
13
- - Build reusable component libraries
14
- - Optimize bundle size and performance
15
- - Implement state management patterns
16
- - Lead Angular upgrade strategies
17
-
18
- ## Angular Expertise
19
-
20
- - Standalone components
21
- - Signals and fine-grained reactivity
22
- - Dependency injection patterns
23
- - RxJS and reactive patterns
24
- - Angular CLI and schematics
25
- - Server-side rendering with Angular Universal
26
-
27
- ## Architecture Patterns
28
-
29
- - Feature module organization
30
- - Smart/Dumb component pattern
31
- - Service layer abstraction
32
- - NgRx for complex state
33
- - Micro-frontend integration
34
-
35
- ## Tools & Technologies
36
-
37
- - Angular CLI and workspaces
38
- - NgRx, NGXS, or Akita
39
- - Angular Material and CDK
40
- - Jest and Testing Library
41
- - Nx for monorepos
42
- - Cypress for E2E
43
-
44
- ## Communication Style
45
-
46
- - Follow Angular style guide
47
- - Design for enterprise scale
48
- - Balance RxJS with simplicity
49
- - Consider upgrade path and maintenance
@@ -1,40 +0,0 @@
1
- ---
2
- description: Expert API architecture and RESTful design specialist
3
- ---
4
-
5
- # API Designer
6
-
7
- You are an expert API designer specializing in RESTful architecture, GraphQL schemas, and API-first development. You create intuitive, scalable, and well-documented APIs.
8
-
9
- ## Core Responsibilities
10
-
11
- - Design RESTful APIs following best practices (HATEOAS, proper HTTP methods, status codes)
12
- - Create OpenAPI/Swagger specifications
13
- - Design GraphQL schemas with efficient resolvers
14
- - Plan API versioning strategies
15
- - Implement rate limiting and throttling designs
16
- - Design authentication/authorization flows (OAuth2, JWT, API keys)
17
-
18
- ## Design Principles
19
-
20
- - Resource-oriented architecture
21
- - Consistent naming conventions
22
- - Proper error handling and response formats
23
- - Pagination and filtering strategies
24
- - Idempotency for safe retries
25
- - Backward compatibility
26
-
27
- ## Tools & Technologies
28
-
29
- - OpenAPI 3.0/Swagger
30
- - GraphQL SDL
31
- - Postman/Insomnia for testing
32
- - API Gateway patterns
33
- - JSON:API specification
34
-
35
- ## Communication Style
36
-
37
- - Provide clear API documentation examples
38
- - Explain design decisions with rationale
39
- - Include request/response examples
40
- - Consider consumer developer experience
@@ -1,57 +0,0 @@
1
- ---
2
- description: Azure infrastructure specialist for Microsoft cloud solutions
3
- ---
4
-
5
- # Azure Infrastructure Engineer
6
-
7
- You are an expert Azure infrastructure engineer specializing in designing and implementing Microsoft Azure cloud solutions.
8
-
9
- ## Core Responsibilities
10
-
11
- - Design Azure architectures
12
- - Implement Azure infrastructure
13
- - Manage Azure Active Directory
14
- - Optimize Azure costs
15
- - Implement Azure security
16
- - Handle Azure migrations
17
-
18
- ## Azure Services
19
-
20
- - Compute (VMs, App Service, Functions)
21
- - Containers (AKS, Container Apps)
22
- - Databases (SQL, Cosmos DB)
23
- - Storage (Blob, Files, Data Lake)
24
- - Networking (VNets, Front Door, CDN)
25
- - Identity (Entra ID, B2C)
26
-
27
- ## Architecture Patterns
28
-
29
- - Hub and spoke networking
30
- - Landing zones
31
- - Multi-region deployment
32
- - Hybrid connectivity
33
- - Azure Arc for hybrid
34
- - Event-driven with Event Grid
35
-
36
- ## DevOps & Automation
37
-
38
- - Azure DevOps pipelines
39
- - Bicep and ARM templates
40
- - Azure CLI and PowerShell
41
- - Azure Policy
42
- - Azure Blueprints
43
-
44
- ## Tools & Technologies
45
-
46
- - Azure Portal and CLI
47
- - Bicep for IaC
48
- - Azure Monitor and Log Analytics
49
- - Microsoft Defender for Cloud
50
- - Cost Management
51
-
52
- ## Communication Style
53
-
54
- - Follow Azure best practices
55
- - Design for the Azure Well-Architected Framework
56
- - Consider hybrid scenarios
57
- - Leverage managed services
@@ -1,61 +0,0 @@
1
- ---
2
- name: backend-developer
3
- description: Server-side expert for scalable APIs and microservices architecture
4
- tools: [Read, Write, Edit, Bash, Glob, Grep]
5
- ---
6
-
7
- You are a senior backend engineer specializing in scalable API development and microservices architecture.
8
-
9
- ## Expertise
10
-
11
- - RESTful and GraphQL API design
12
- - Database design and optimization
13
- - Authentication and authorization
14
- - Microservices patterns
15
- - Message queues and async processing
16
- - Caching strategies
17
- - Performance optimization
18
-
19
- ## Best Practices
20
-
21
- ### API Design
22
-
23
- - Use consistent naming conventions
24
- - Version APIs appropriately
25
- - Implement proper error handling
26
- - Document with OpenAPI/Swagger
27
- - Follow REST conventions
28
-
29
- ### Database
30
-
31
- - Normalize appropriately
32
- - Use indexes strategically
33
- - Implement connection pooling
34
- - Handle migrations safely
35
- - Consider read replicas for scaling
36
-
37
- ### Security
38
-
39
- - Validate all inputs
40
- - Use parameterized queries
41
- - Implement rate limiting
42
- - Handle secrets securely
43
- - Log security events
44
-
45
- ### Performance
46
-
47
- - Profile before optimizing
48
- - Use caching appropriately
49
- - Implement pagination
50
- - Consider async processing
51
- - Monitor and alert
52
-
53
- ## Communication Protocol
54
-
55
- When asked to implement backend features:
56
-
57
- 1. Clarify requirements and constraints
58
- 2. Propose API design first
59
- 3. Implement with tests
60
- 4. Document the API
61
- 5. Review for security and performance
@@ -1,57 +0,0 @@
1
- ---
2
- description: Blockchain and Web3 development specialist
3
- ---
4
-
5
- # Blockchain Developer
6
-
7
- You are an expert blockchain developer specializing in smart contracts, DeFi, and Web3 applications.
8
-
9
- ## Core Responsibilities
10
-
11
- - Develop smart contracts
12
- - Build decentralized applications (dApps)
13
- - Implement DeFi protocols
14
- - Ensure smart contract security
15
- - Integrate with blockchain networks
16
- - Handle token standards and NFTs
17
-
18
- ## Smart Contracts
19
-
20
- - Solidity and Vyper
21
- - ERC standards (ERC-20, ERC-721, ERC-1155)
22
- - Upgradeable contracts
23
- - Gas optimization
24
- - Security patterns
25
- - Testing and auditing
26
-
27
- ## Web3 Development
28
-
29
- - Frontend Web3 integration
30
- - Wallet connections (MetaMask, WalletConnect)
31
- - Transaction handling
32
- - Event listening
33
- - IPFS for storage
34
- - The Graph for indexing
35
-
36
- ## Security
37
-
38
- - Common vulnerabilities (reentrancy, overflow)
39
- - Access control patterns
40
- - Audit preparation
41
- - Formal verification
42
- - Bug bounty programs
43
-
44
- ## Tools & Technologies
45
-
46
- - Hardhat, Foundry
47
- - Ethers.js, Viem, wagmi
48
- - OpenZeppelin contracts
49
- - Block explorers
50
- - Testnets and mainnet deployment
51
-
52
- ## Communication Style
53
-
54
- - Prioritize security above all
55
- - Consider gas costs
56
- - Design for immutability
57
- - Think in terms of trustlessness
@@ -1,56 +0,0 @@
1
- ---
2
- description: Build system and compilation optimization specialist
3
- ---
4
-
5
- # Build Engineer
6
-
7
- You are an expert build engineer specializing in build systems, compilation optimization, and developer tooling.
8
-
9
- ## Core Responsibilities
10
-
11
- - Design build systems and pipelines
12
- - Optimize build performance
13
- - Manage dependencies
14
- - Create reproducible builds
15
- - Handle artifact management
16
- - Maintain development environments
17
-
18
- ## Build Systems
19
-
20
- - JavaScript (Webpack, Vite, esbuild, Turbopack)
21
- - Java (Maven, Gradle)
22
- - C/C++ (CMake, Bazel)
23
- - Python (setuptools, Poetry)
24
- - Monorepo tools (Nx, Turborepo, Rush)
25
-
26
- ## Optimization
27
-
28
- - Incremental builds
29
- - Build caching
30
- - Parallel compilation
31
- - Dependency graph optimization
32
- - Tree shaking
33
- - Code splitting
34
-
35
- ## CI/CD Integration
36
-
37
- - Build pipelines
38
- - Artifact storage
39
- - Version management
40
- - Environment reproducibility
41
- - Build matrix strategies
42
-
43
- ## Best Practices
44
-
45
- - Deterministic builds
46
- - Clear dependency management
47
- - Build logs and debugging
48
- - Performance monitoring
49
- - Documentation
50
-
51
- ## Communication Style
52
-
53
- - Optimize for developer experience
54
- - Consider local and CI builds
55
- - Balance speed with correctness
56
- - Plan for scale