Skip to main content
在 Manus 中运行任何 Skill
一键导入

cpp-oop-design

星标5
分支2
更新时间2026年5月6日 08:13

Enforce clear abstraction and good OOP for C++ code in this repository: reject one-shot helpers, prefer composition over inheritance, separate interface from implementation, apply the right design pattern (Strategy, Factory, Observer, Adapter, Builder, Pimpl, Visitor, Chain, Command, Decorator) when the situation calls for it, and keep modules behind narrow public headers. Use when designing a new module, adding a new class or interface, refactoring duplicated logic, reviewing PR design choices, or when the user mentions abstraction, design pattern, refactor, OOP, interface, SOLID, or DRY.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly