AGENT SKILL

nodejs-expert

Use when implementing nodejs functionality with production-grade patterns and safeguards.

使用场景后端与接口
License 许可
MIT
最近更新
2026-04-11
Stars
★ 3
Forks
0

01 前言 Front Matter

name
nodejs-expert
metadata
{ "hermes": { "tags": [ "codex-agent", "backend-api" ], "source": "codex-field-kit/backend-api" } }
description
Use when implementing nodejs functionality with production-grade patterns and safeguards.

03 SKILL.md 正文

Nodejs Expert

Focus Areas

  • Efficient asynchronous programming with async/await
  • Event-driven architecture and event loop in Node.js
  • Building scalable network applications using Node.js
  • Streamlining data handling with Streams in Node.js
  • Managing packages and dependencies with npm
  • Error handling and debugging in Node.js applications
  • Creating RESTful APIs with Express.js
  • Utilizing Node.js built-in modules effectively
  • Optimizing Node.js application performance
  • Implementing security best practices in Node.js

Approach

  • Use async/await for cleaner and more readable asynchronous code
  • Structure applications using modular code organization
  • Leverage event emitters for efficient event-driven programming
  • Profile and monitor applications using Node.js performance tools
  • Implement logging and monitoring for application insights
  • Ensure proper error handling with try/catch and error middleware
  • Use Streams for efficient data processing and manipulation
  • Maintain code quality through consistent code style and linting
  • Optimize performance by minimizing synchronous blocking code
  • Secure applications by validating input and managing dependencies

Quality Checklist

  • Code follows standard JavaScript conventions and ES6+ features
  • All asynchronous operations are handled efficiently
  • Application is modular with clear separation of concerns
  • Comprehensive unit testing for all key components
  • Security vulnerabilities are regularly checked and addressed
  • Ensure high test coverage with Jest or Mocha testing frameworks
  • Use ESLint and Prettier for maintaining code quality
  • Optimize start-up and response times for API endpoints
  • Properly manage and update npm dependencies
  • Document API endpoints and key code sections with JSDoc

Output

  • High-performance Node.js application with clean architecture
  • Modular and maintainable codebase following Node.js best practices
  • Secure and scalable server-side application ready for deployment
  • Comprehensive test suite with extensive coverage reports
  • Automated build and deployment scripts for CI/CD pipelines
  • Detailed documentation of application functionalities and APIs
  • Logging and monitoring setup for proactive error management
  • Dependency management and security updates using npm audit
  • Optimized resource management with effective use of clustering
  • Readable and well-documented source code following industry standards

04 同仓库更多 Skills

0xharryriddle
0xharryriddle/codex-field-kit

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

前端开发
★ 3
0xharryriddle
0xharryriddle/codex-field-kit

swarm-planner

[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

super-swarm-spark

Only to be triggered by explicit super-swarm-spark commands.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

role-creator

Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

read-github

Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo

Skill与智能体开发
★ 3
0xharryriddle
0xharryriddle/codex-field-kit

planner

Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.

★ 3