Claude Code 基础设施技能合集
通过自动技能激活应用真实项目中的工程约定。
Diet103 的参考库提供后端、前端、错误跟踪和技能开发指导,并配套激活规则与钩子。
适用场景
- 应用 TypeScript 前后端约定
- 配置技能发现和错误跟踪
使用方法
将参考基础设施适配到项目并准备钩子依赖。.agents 目录是这组正式 Claude 技能的同步宿主镜像。
Skills
backend-dev-guidelines
Comprehensive backend development guide for Node.js/Express/TypeScript microservices. Use when creating routes, controllers, services, repositories, middleware, or working with Express APIs, Prisma database access, Sentry error tracking, Zod validation, unifiedConfig, dependency injection, or async patterns. Covers layered architecture (routes → controllers → services → repositories), BaseController pattern, error handling, performance monitoring, testing strategies, and migration from legacy patterns.
diet103/claude-code-infrastructure-showcaseerror-tracking
Add Sentry v8 error tracking and performance monitoring to your services. Use this skill when adding error handling, creating new controllers, instrumenting cron jobs, or tracking database performance. ALL ERRORS MUST BE CAPTURED TO SENTRY - no exceptions.
diet103/claude-code-infrastructure-showcasefrontend-dev-guidelines
Frontend development guidelines for React/TypeScript applications. Modern patterns including Suspense, lazy loading, useSuspenseQuery, file organization with features directory, MUI v7 styling, TanStack Router, performance optimization, and TypeScript best practices. Use when creating components, pages, features, fetching data, styling, routing, or working with frontend code.
diet103/claude-code-infrastructure-showcaseskill-developer
Create and manage Claude Code skills following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns, file paths, content patterns), enforcement levels (block, suggest, warn), hook mechanisms (UserPromptSubmit, PreToolUse), session tracking, and the 500-line rule.
diet103/claude-code-infrastructure-showcase