Communitygithub.com

pproenca/clean-architecture

遵循 Robert C. Martin 著作的整洁架构原则与最佳实践。适用于设计软件系统、审查代码结构或重构应用以实现更好的关注点分离。

clean-architecture 是什么?

该技能基于 Robert C. Martin 的《整洁架构》一书,提供了一套完整的架构指导原则。它帮助开发者设计具有清晰分层、明确边界和正确依赖方向的软件系统。当处理涉及层级、边界、依赖方向、实体、用例或系统架构的任务时,该技能会自动触发,引导采用关注点分离、依赖反转等核心原则。该技能通用性强,可适用于任何编程语言和开发平台,在代码审查、系统设计评审或大型重构中尤为有用。通过遵循其规范,团队可以构建更易于维护、测试和演进的应用程序。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/pproenca/dot-skills/tree/main/skills/clean-architecture

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

clean-architecture 是做什么的?

源自 Robert C. Martin 著作的整洁架构原则与最佳实践。该技能应在设计软件系统、审查代码结构或重构应用以实现更好的关注点分离时使用。它会在涉及层、边界、依赖方向、实体、用例或系统架构的任务中自动触发。

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

pproenca/code-simplifier

Code simplification skill for improving clarity, consistency, and maintainability while preserving exact behavior. Use when simplifying code, reducing complexity, cleaning up recent changes, applying refactoring patterns, or improving readability. Triggers on tasks involving code cleanup, simplification, refactoring, or readability improvements.

pproenca/emilkowal-animations

Emil Kowalski's animation best practices for web interfaces. Use when writing, reviewing, or implementing animations in React, CSS, or Framer Motion. Triggers on tasks involving transitions, easing, gestures, toasts, drawers, or motion.

pproenca/nuqs

nuqs (type-safe URL query state) best practices for Next.js and other React frameworks. This skill should be used when writing, reviewing, or refactoring code that uses nuqs for URL state management. Triggers on tasks involving useQueryState, useQueryStates, search params, URL state, query parameters, nuqs parsers, limitUrlUpdates, Standard Schema, NuqsAdapter, or Next.js routing with state.

pproenca/react-hook-form

React Hook Form performance optimization for client-side form validation using useForm, useWatch, useController, useFieldArray, and the v7.55+ subscribe() API. This skill should be used when building client-side controlled forms with React Hook Form library. This skill does NOT cover React 19 Server Actions, useActionState, or server-side form handling (use react-19 skill for those).

pproenca/typescript

TypeScript performance, tsconfig, type errors, async patterns — triggered when the user asks to "optimize TypeScript performance", "speed up tsc compilation", "configure tsconfig.json", "fix type errors", "improve async patterns", or encounters TS errors (TS2322, TS2339, "is not assignable to"). Also triggers on .ts, .tsx, .d.ts file work involving type definitions, module organization, or memory management. Does NOT cover TypeScript basics, framework-specific patterns, or testing.

pproenca/vitest

Vitest testing framework patterns for test setup, async testing, mocking with vi.*, snapshots, and test performance (formerly test-vitest). This skill should be used when writing or debugging Vitest tests. This skill does NOT cover TDD methodology (use test-tdd skill), API mocking with MSW (use test-msw skill), or Jest-specific APIs.

pproenca/zod

Zod schema validation best practices for type safety, parsing, and error handling. This skill should be used when defining z.object schemas, using z.string validations, safeParse, or z.infer. This skill does NOT cover React Hook Form integration patterns (use react-hook-form skill) or OpenAPI client generation (use orval skill).

相关技能