microwind/ai-skills/abstraction-principle
Claude Code and agent skill by microwind/ai-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
提取事物的本质特征,忽略非本质细节,通过抽象层简化复杂系统的理解和使用。
Install
npx vskill@latest install microwind/ai-skills/abstraction-principleSKILL.md
抽象原则 (Abstraction Principle)
概述
抽象是管理复杂性的核心工具:捕获事物的本质特征,隐藏不必要的细节,提供更简单的理解模型。
核心思想:
- 好的抽象隐藏复杂性,暴露简单接口
- 抽象应该稳定,不因实现变化而改变
- 每个抽象层只处理一个复杂度级别
抽象层次
好的抽象 vs 差的抽象
抽象设计原则
1. 依赖抽象而非具体
2. 同一方法内保持同一抽象级别
何时不应该抽象
与其他原则的关系
总结
抽象核心:捕获本质,隐藏细节,提供简单接口。
实践要点:
- 抽象应该隐藏复杂性而非转移复杂性
- 同一方法内保持一致的抽象级别
- 不要过度抽象——抽象也有成本
- 好的抽象让代码"像读英语一样"
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdesign-principles/abstraction-principle/SKILL.md
Popularity
- Repository stars
- 51
- Repository forks
- 13
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microwind/ai-skills/abstraction-principle)