Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

beyond-solid-principles超越坚实的原则

Agent Skill

beyond-solid-principles 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

272

周安装

11

GitHub Stars

9

下载量

85
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:beyond-solid-principles(超越坚实的原则)
来源仓库:https://github.com/florianbuetow/claude-code
仓库路径:skills/beyond-solid-principles
安装命令:
npx skills add https://github.com/florianbuetow/claude-code --skill beyond-solid-principles
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/florianbuetow/claude-code --skill beyond-solid-principles

简介

用于查找、检索和筛选相关信息。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

  • 支持关键词搜索和线索快速定位。
  • 可结合来源仓库和原始 README 继续核验用法。
  • 安装前建议确认权限范围和维护状态。
  • beyond-solid-principles 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Beyond SOLID — System-Level Architecture Principles

Analyze source code and system architecture for violations of ten foundational design principles that govern how modules, services, layers, and components are structured and interact. Produce actionable findings with severity ratings, code/architecture locations, and concrete remediation suggestions.

These principles operate at the architecture scale — modules, services, bounded contexts, layers, APIs — complementing the class-level SOLID principles.

Subcommands

Request a full audit or focus on a single principle:

Command PatternPrincipleReference
sw-socSeparation of Concernsreferences/soc.md
sw-srp-sysSingle Responsibility (system-level)references/srp-sys.md
sw-dryDon't Repeat Yourself (DRY)references/dry.md
sw-demeterLaw of Demeter / Principle of Least Knowledgereferences/demeter.md
sw-couplingLoose Coupling, High Cohesionreferences/coupling.md
sw-evolvabilityBuild for Change (Evolvability)references/evolvability.md
sw-resilienceDesign for Failure / Resiliencereferences/resilience.md
sw-kissKISS — Keep It Simplereferences/kiss.md
sw-polaPrinciple of Least Surprise (POLA)references/pola.md
sw-yagniYAGNI at Architecture Levelreferences/yagni.md
beyond-solid-principlesAll ten principlesAll references

When no subcommand is specified, default to checking all ten principles. When a principle is mentioned by name (even without the command prefix), match it to the appropriate subcommand.

Workflow

1. Identify Target Code

Determine what code or architecture to analyze:

  • When files or a directory are provided, use those.
  • When a service, module, or component is referenced by name, locate it.
  • When ambiguous, ask which files, directories, or services to scan.

These principles apply to any language and any architecture style — monoliths, modular monoliths, microservices, serverless, event-driven, layered, hexagonal, etc. Adapt the principle checks to the idioms and scale of the target system.

For smaller codebases, focus on module/package boundaries, dependency direction, and internal layering. For distributed systems, also consider service boundaries, API contracts, data ownership, messaging patterns, and operational resilience.

2. Load Principle References

Before analyzing, read the reference file(s) for the requested principle(s):

For a full audit (beyond-solid-principles), read all ten.

3. Analyze

For each target file, module, or service boundary, apply the violation patterns from the loaded references. Think carefully about each pattern — not every heuristic match is a true violation. Consider context, system scale, team size, and maturity.

Key analysis dimensions:

  • Static structure: dependency direction, import graphs, layer boundaries.
  • Change patterns: which files/modules change together (if VCS history is available).
  • Runtime topology: service call chains, data flow, failure propagation paths.
  • API contracts: consistency, encapsulation, versioning, naming conventions.
  • Operational posture: timeouts, retries, circuit breakers, health checks.

4. Report Findings

Present findings using this structure:

Per Violation

**[PRINCIPLE] Violation — Severity: HIGH | MEDIUM | LOW**
Location: `filename` or `service/module`, lines ~XX-YY (if applicable)
Issue: Clear description of what violates the principle and why it matters.
Suggestion: Concrete remediation approach with brief code or architecture sketch if helpful.

Severity guidelines:

  • HIGH: Active maintenance pain, production risk, blocks independent evolution, or causes cascading failures.
  • MEDIUM: Architecture smell that will cause problems as the system grows or as more teams contribute.
  • LOW: Minor design impurity, worth noting but fine to defer.

Summary

After all findings, provide:

  • A count table: | Principle | HIGH | MEDIUM | LOW |
  • Top 3 priorities: which violations to fix first and why.
  • Overall assessment: one paragraph on the system's structural health and evolvability posture.

5. Refactor Mode (Optional)

When a fix or refactoring is requested (e.g., "fix this", "refactor it", "show me the clean version"), produce refactored code or an architecture proposal that resolves the identified violations. Explain each change briefly.

Pragmatism Guidelines

These are guidelines, not laws. Apply judgment:

  • Small projects and prototypes get a lighter touch. Don't flag a weekend project for lacking circuit breakers or API versioning.
  • Some "violations" are conscious trade-offs. When a rationale is documented (e.g., in an ADR), acknowledge it rather than insisting on purity.
  • Scale matters. A single-service CRUD app does not need the same architectural rigor as a platform serving millions of requests. Calibrate severity to context.
  • Principles have productive tensions. DRY conflicts with loose coupling across service boundaries. KISS conflicts with resilience patterns. YAGNI conflicts with evolvability. Flag the tension and offer judgment, not dogma.
  • Prefer actionable findings over exhaustive catalogs. Five important findings beat twenty trivial ones.

Example Interaction

User: sw-coupling (with a codebase directory)

Claude:

  1. Reads references/coupling.md
  2. Analyzes the directory for coupling/cohesion violations
  3. Reports findings with locations, severity, and suggestions
  4. Provides a summary with priorities

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.18%
按下载量换算30

Claude

31.67%
按下载量换算27

Cursor

18.26%
按下载量换算16

Gemini CLI

9.02%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills