AgentSkillsCN

development

软件开发背景知识。当 Claude 从事通用编程任务时,会自动为你提供有关架构模式(分层架构、微服务架构、整洁架构)、设计模式(工厂模式、观察者模式、仓储模式)、API 设计(REST、GraphQL)以及开发工具的相关背景信息。

SKILL.md
--- frontmatter
name: development
description: Background knowledge for software development. Automatically provides context about architecture patterns (layered, microservices, clean architecture), design patterns (factory, observer, repository), API design (REST, GraphQL), and development tools when Claude is working on general programming tasks.
user-invocable: false

Software Development Skills

Core software development capabilities including architecture patterns, programming language expertise, and development tools.

Available Resources

Quick Reference

Architecture Patterns

  • Layered Architecture: Presentation, business logic, data access layers
  • Component-Based: Modular, reusable components with composition
  • Microservices: Service decomposition, API gateway, service discovery
  • Clean Architecture: Dependency inversion, use case driven design

Design Patterns

  • Creational: Factory, Builder, Singleton, Dependency Injection
  • Behavioral: Observer, Strategy, Command, State
  • Structural: Adapter, Decorator, Facade, Repository

API Design

  • RESTful: Resource-oriented, HTTP semantics, pagination
  • GraphQL: Schema-first, query optimization, subscriptions
  • Event-Driven: Event sourcing, CQRS, message queues

Development Workflow

  1. Use ES modules (import/export) syntax, not CommonJS (require)
  2. Destructure imports when possible
  3. Follow language-specific formatting (Prettier, Black, rustfmt)
  4. Use strict TypeScript configuration when applicable
  5. Prefer composition over inheritance