AgentSkillsCN

design-implementation

为整体软件设计与实现决策提供指导。无论是在本仓库中开展功能开发、重构工作,还是进行架构层面的决策,均可借助此技能获得专业建议。

SKILL.md
--- frontmatter
name: design-implementation
description: Guide general software design and implementation choices. Use for feature work, refactors, or architecture decisions across this repo.
compatibility: Requires access to the repository and its documentation.

Use this skill when shaping solutions that span multiple files or modules.

Principles

  • Keep SOLID and DRY principles in design, implementation, and documentation.
  • Prefer small, focused changes over broad refactors.
  • Align with existing patterns and TypeScript strictness.

Design checklist

  1. Identify the smallest change that meets requirements.
  2. Keep responsibilities narrow and testable.
  3. Avoid cross-module coupling unless required.
  4. Prefer explicit types over inference for exported APIs.
  5. Update user-facing docs when behavior changes.

Implementation checklist

  1. Read the target files and match their style.
  2. Avoid introducing new dependencies unless necessary.
  3. Handle errors explicitly and surface user-visible errors via VS Code UI.
  4. Add or update tests when behavior changes.
  5. Keep code and docs synchronized.