代码简化器 是做什么的?
用于提升代码清晰度、一致性和可维护性,同时保持原有行为不变的代码简化技能。适用于简化代码、降低复杂度、清理最近变更、应用重构模式或改善可读性的任务。触发于涉及代码清理、简化、重构或可读性改进的任务。
用于提升代码清晰度、一致性和可维护性,同时保持原有行为不变的代码简化技能。适用于简化代码、降低复杂度、清理最近变更、应用重构模式或改善可读性的任务。
该技能专注于代码简化与重构,旨在提高代码的清晰度、一致性和可维护性,同时确保功能行为完全保留。对于开发者而言,它能够自动检测并应用常见的代码简化模式(如消除冗余、合并重复逻辑、优化条件表达式等),从而降低代码复杂度并提升可读性。该技能支持多种主流开发平台(如Claude Code、Cursor等),通过分析与理解代码上下文,智能触发于代码清理、重构或可读性改进相关的任务。无需手动干预,即可在不破坏现有功能的前提下,系统性地改进代码质量,减少技术债务。
npx skills add https://github.com/pproenca/dot-skills/tree/main/skills/code-simplifierInstalled? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
用于提升代码清晰度、一致性和可维护性,同时保持原有行为不变的代码简化技能。适用于简化代码、降低复杂度、清理最近变更、应用重构模式或改善可读性的任务。触发于涉及代码清理、简化、重构或可读性改进的任务。
This repo contains 7 individual skills — each has its own dedicated page.
Clean Architecture principles and best practices from Robert C. Martin's book. This skill should be used when designing software systems, reviewing code structure, or refactoring applications to achieve better separation of concerns. Triggers on tasks involving layers, boundaries, dependency direction, entities, use cases, or system architecture.
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.
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.
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).
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.
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.
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).
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.