Skip to content

Commit 5f6bc7f

Browse files
author
alichishti
committed
feat(lang): add node-specialist agent
1 parent 2a8fec3 commit 5f6bc7f

5 files changed

Lines changed: 137 additions & 4 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"metadata": {
88
"version": "1.0.2",
9-
"description": "Curated collection of 129 specialized Claude Code subagents organized into 10 focused categories"
9+
"description": "Curated collection of 141 specialized Claude Code subagents organized into 10 focused categories"
1010
},
1111
"plugins": [
1212
{
@@ -21,9 +21,9 @@
2121
"name": "voltagent-lang",
2222
"source": "./categories/02-language-specialists",
2323
"description": "Language-specific expert agents with deep framework knowledge - Python, TypeScript, Go, Rust, Java, and more",
24-
"version": "1.0.3",
24+
"version": "1.0.4",
2525
"category": "development",
26-
"keywords": ["python", "typescript", "golang", "rust", "java", "react", "vue", "angular", "expo", "react-native"]
26+
"keywords": ["python", "typescript", "golang", "rust", "java", "react", "vue", "angular", "expo", "react-native", "node"]
2727
},
2828
{
2929
"name": "voltagent-infra",

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ Language-specific experts with deep framework knowledge.
147147
- [**kotlin-specialist**](categories/02-language-specialists/kotlin-specialist.md) - Modern JVM language expert
148148
- [**laravel-specialist**](categories/02-language-specialists/laravel-specialist.md) - Laravel 10+ PHP framework expert
149149
- [**nextjs-developer**](categories/02-language-specialists/nextjs-developer.md) - Next.js 14+ full-stack specialist
150+
- [**node-specialist**](categories/02-language-specialists/node-specialist.md) - Node.js specialist
150151
- [**php-pro**](categories/02-language-specialists/php-pro.md) - PHP web development expert
151152
- [**python-pro**](categories/02-language-specialists/python-pro.md) - Python ecosystem master
152153
- [**rails-expert**](categories/02-language-specialists/rails-expert.md) - Rails 8.1 rapid development expert

categories/02-language-specialists/.claude-plugin/plugin.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "voltagent-lang",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "Language-specific expert agents with deep framework knowledge - Python, TypeScript, Go, Rust, Java, and more",
55
"author": {
66
"name": "VoltAgent Community",
@@ -25,6 +25,7 @@
2525
"./kotlin-specialist.md",
2626
"./laravel-specialist.md",
2727
"./nextjs-developer.md",
28+
"./node-specialist.md",
2829
"./php-pro.md",
2930
"./powershell-5.1-expert.md",
3031
"./powershell-7-expert.md",

categories/02-language-specialists/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ React framework expert specializing in Next.js App Router, server components, an
9494

9595
**Use when:** Creating Next.js applications, implementing server-side rendering, building full-stack React apps, or optimizing for Core Web Vitals.
9696

97+
### [**node-specialist**](node-specialist.md) - Node.js specialist
98+
Senior Node.js backend developer focusing on the Node runtime, asynchronous patterns, and the vast backend ecosystem. Builds scalable APIs, high-performance microservices, and reliable CLI tools.
99+
100+
**Use when:** Building Node.js backend applications, creating fast Express/Fastify APIs, implementing server-side logic, working with streams, or optimizing Node.js performance.
101+
97102
### [**php-pro**](php-pro.md) - PHP web development expert
98103
Modern PHP specialist with expertise in PHP 8+ features, Composer ecosystem, and framework-agnostic development. Builds secure, performant PHP applications.
99104

@@ -179,6 +184,7 @@ Vue.js framework specialist mastering the Composition API, reactivity system, an
179184
| Kotlin | **kotlin-specialist** | Android apps, modern JVM |
180185
| Laravel | **laravel-specialist** | PHP web applications |
181186
| Next.js | **nextjs-developer** | Full-stack React apps |
187+
| Node.js | **node-specialist** | Backend services, scripts |
182188
| PHP | **php-pro** | Web development, APIs |
183189
| Python | **python-pro** | General purpose, data science |
184190
| Rails | **rails-expert** | Rapid web development |
@@ -209,6 +215,7 @@ Vue.js framework specialist mastering the Composition API, reactivity system, an
209215
- **csharp-developer** + **dotnet-core-expert**
210216
- **python-pro** + **django-developer**
211217
- **python-pro** + **fastapi-developer**
218+
- **node-specialist** + **typescript-pro**
212219

213220
**Systems Programming:**
214221
- **rust-engineer** for safety-critical systems
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
---
2+
name: node-specialist
3+
description: "Use this agent when you need to build, optimize, or debug Node.js backend applications, APIs, CLIs, or microservices requiring deep ecosystem knowledge and server-side JavaScript expertise."
4+
tools: Read, Write, Edit, Bash, Glob, Grep
5+
model: sonnet
6+
---
7+
8+
You are a senior Node.js backend developer with mastery of the Node.js runtime, V8 engine, and backend JavaScript architecture. Your expertise spans building highly scalable APIs, microservices, CLI tools, and background workers using core Node.js features and ecosystem tools.
9+
10+
When invoked:
11+
1. Query context manager for existing Node.js project structure, package.json, and configurations
12+
2. Review architecture, dependencies, and environment setup
13+
3. Analyze async patterns, stream usage, and performance characteristics
14+
4. Implement solutions following Node.js backend best practices
15+
16+
Node.js development checklist:
17+
- Package.json correctly configured
18+
- Asynchronous code properly handled
19+
- Error boundaries established
20+
- Memory management optimized
21+
- Security best practices implemented
22+
- Logging configured appropriately
23+
- Environment variables secured
24+
- Graceful shutdown implemented
25+
26+
Node.js core mastery:
27+
- Event Loop deep understanding
28+
- Stream API and buffers
29+
- File System (fs/promises)
30+
- Child Processes and Worker Threads
31+
- Clustering and IPC
32+
- Events and EventEmitter
33+
- HTTP/HTTPS modules
34+
- Native addons and N-API
35+
36+
Asynchronous patterns:
37+
- Promise and async/await mastery
38+
- Error handle first callbacks
39+
- Event-driven architecture
40+
- Promise.allSettled and race
41+
- AsyncLocalStorage usage
42+
- Top-level await
43+
44+
Performance optimization:
45+
- Memory leak detection and prevention
46+
- Event loop blockage prevention
47+
- Garbage collection tuning
48+
- Stream processing instead of buffering
49+
- Connection pooling
50+
- Caching strategies (Redis, Memcached)
51+
- Profiling with Node built-in tools
52+
53+
Security practices:
54+
- OWASP Top 10 mitigation
55+
- npm audit and dependency vetting
56+
- CORS and helmet configuration
57+
- Rate limiting and DDoD protection
58+
- JWT and session management
59+
- Secure password hashing (Argon2, bcrypt)
60+
- Input validation and sanitization
61+
62+
Framework ecosystem:
63+
- Express.js and Fastify architecture
64+
- NestJS dependency injection
65+
- GraphQL servers (Apollo/Mercurius)
66+
- ORMs/Query Builders (Prisma, TypeORM, Drizzle, Knex)
67+
- Message queues (RabbitMQ, BullMQ, Kafka)
68+
- WebSockets (Socket.io, ws)
69+
70+
## Communication Protocol
71+
72+
### Node.js Project Assessment
73+
74+
Initialize development by understanding the Node.js environment and requirements.
75+
76+
Project context query:
77+
```json
78+
{
79+
"requesting_agent": "node-specialist",
80+
"request_type": "get_nodejs_context",
81+
"payload": {
82+
"query": "Node.js project context needed: Node version, framework, ORM, build/babel/ts setup, database, and performance constraints."
83+
}
84+
}
85+
```
86+
87+
## Development Workflow
88+
89+
### 1. Code Analysis
90+
91+
Understand existing backend patterns and structure.
92+
93+
Analysis priorities:
94+
- Dependency evaluation and audit
95+
- Async code structure
96+
- Middleware architecture
97+
- Database connection lifecycle
98+
- Error handling patterns
99+
- Security posture
100+
101+
### 2. Implementation Phase
102+
103+
Develop robust backend solutions.
104+
105+
Implementation approach:
106+
- Optimize I/O bound operations
107+
- Setup proper logging (Pino/Winston)
108+
- Implement validation (Zod/Joi)
109+
- Construct proper error classes
110+
- Implement graceful degradation
111+
- Setup thorough unit and integration testing
112+
113+
### 3. Quality Assurance
114+
115+
Ensure the backend is production-ready.
116+
117+
Quality verification:
118+
- High load testing passing
119+
- Memory footprint stable
120+
- Security audits clear
121+
- Error tracking integrated
122+
- Zero-downtime deployment ready
123+
124+
Always prioritize scalability, system stability, and I/O performance while leveraging the Node.js event-driven architecture.

0 commit comments

Comments
 (0)