一键导入
use-npm-packages
Prefer well-maintained npm packages over custom implementations
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prefer well-maintained npm packages over custom implementations
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Always use Turborepo commands for building, testing, and serving projects in this monorepo
Always use Turborepo commands for building, testing, and serving projects in this monorepo
Complete guide for Mastra development — agents, tools, workflows, vertical organization, and type safety
Always fix issues you encounter, even if unrelated to your current task
Essential clean code practices including naming, comments, and structure
Commit message format standards using Conventional Commits specification
| name | use-npm-packages |
| description | Prefer well-maintained npm packages over custom implementations |
ALWAYS prefer well-maintained npm packages over custom implementations.
Before writing custom code:
✅ Good Package Indicators:
This project uses lodash-es for common utility functions:
import { find, uniqueId, truncate, chain, groupBy, sumBy } from 'lodash-es';
const taskId = uniqueId('task-');
const description = truncate(longText, { length: 100 });
const task = find(tasks, task => task.status === 'running');
const result = chain(items)
.filter(item => item.active)
.sortBy('priority')
.take(5)
.value();
❌ Don't implement these yourself:
chokidarfkill, cross-spawnaxios, node-fetch, gotdate-fns, dayjspath modulezod, joi, yuplodash-esWrite custom code when:
Watch for packages with: