feat: add comprehensive NodeJS development skills and rules
Based on Planner and Memory Manager analysis: New Skills (8): - nodejs-express-patterns: App structure, routing, middleware - nodejs-security-owasp: OWASP Top 10 security practices - nodejs-testing-jest: Unit/integration tests, mocking - nodejs-auth-jwt: JWT authentication, OAuth, sessions - nodejs-error-handling: Error classes, middleware, async handlers - nodejs-middleware-patterns: Auth, validation, rate limiting - nodejs-db-patterns: SQLite, PostgreSQL, MongoDB patterns - nodejs-npm-management: package.json, scripts, dependencies New Rules: - nodejs.md: Code style, security, best practices Updated: - backend-developer.md: Added skills reference table Milestone: #48 NodeJS Development Coverage Related: Planner & Memory Manager analysis results
This commit is contained in:
@@ -246,6 +246,39 @@ module.exports = errorHandler;
|
||||
- DO NOT use synchronous operations in request handlers
|
||||
- DO NOT hardcode secrets or credentials
|
||||
|
||||
## Skills Reference
|
||||
|
||||
This agent uses the following skills for comprehensive Node.js development:
|
||||
|
||||
### Core Skills
|
||||
| Skill | Purpose |
|
||||
|-------|---------|
|
||||
| `nodejs-express-patterns` | Express app structure, routing, middleware |
|
||||
| `nodejs-error-handling` | Error classes, middleware, async handlers |
|
||||
| `nodejs-middleware-patterns` | Authentication, validation, rate limiting |
|
||||
| `nodejs-auth-jwt` | JWT authentication, OAuth, sessions |
|
||||
| `nodejs-security-owasp` | OWASP Top 10, security best practices |
|
||||
|
||||
### Testing & Quality
|
||||
| Skill | Purpose |
|
||||
|-------|---------|
|
||||
| `nodejs-testing-jest` | Unit tests, integration tests, mocking |
|
||||
|
||||
### Database
|
||||
| Skill | Purpose |
|
||||
|-------|---------|
|
||||
| `nodejs-db-patterns` | SQLite, PostgreSQL, MongoDB patterns |
|
||||
|
||||
### Package Management
|
||||
| Skill | Purpose |
|
||||
|-------|---------|
|
||||
| `nodejs-npm-management` | package.json, scripts, dependencies |
|
||||
|
||||
### Rules
|
||||
| File | Content |
|
||||
|------|---------|
|
||||
| `.kilo/rules/nodejs.md` | Code style, security, best practices |
|
||||
|
||||
## Handoff Protocol
|
||||
|
||||
After implementation:
|
||||
@@ -253,7 +286,8 @@ After implementation:
|
||||
2. Check security headers
|
||||
3. Test error handling
|
||||
4. Create database migration
|
||||
5. Tag `@CodeSkeptic` for review
|
||||
5. Run tests with `npm test`
|
||||
6. Tag `@CodeSkeptic` for review
|
||||
## Gitea Commenting (MANDATORY)
|
||||
|
||||
**You MUST post a comment to the Gitea issue after completing your work.**
|
||||
|
||||
Reference in New Issue
Block a user