灵感菇

AI 技能的自然生态,你的一句话,蔓延出无限连接。

搜索结果

refactor

找到 18 个相关结果

Frontend / UI

Vercel React 最佳实践

vercel-react-best-practices

386.4K

来自 Vercel 工程团队的 React 与 Next.js 性能优化指南。在编写、审查或重构 React/Next.js……时,应使用此技能。

Stars 0
reactnextjsdesignui

Frontend / UI

Vercel 组合模式

vercel-composition-patterns

167.1K

可扩展的 React 组合模式。在重构以下组件时使用:

Stars 0
reactdesignuiapi

Testing / Automation

测试驱动开发

tdd

77.2K

使用红-绿-重构循环的测试驱动开发。当用户希望使用 TDD 构建功能或修复 Bug、提及“红-绿-重构”、希望……时使用。

Stars 0
designuitestingapi

AI / LLM / Agent skills

SwiftUI 专家技能

swiftui-expert-skill

20.2K

在编写、审查或重构 iOS 或 macOS 的 SwiftUI 代码时使用,包括状态管理、视图组合、性能优化、Liquid Glass 采用,或……

Stars 0
designuiperformanceaudit

Testing / Automation

重构

refactor

15.9K

精准的代码重构,在不改变行为的前提下提升可维护性。涵盖提取函数、重命名变量、拆分上帝函数等操作……

Stars 0
designuiperformancetesting

DevOps / Deployment

NestJS 最佳实践

nestjs-best-practices

15.6K

用于构建生产级应用的 NestJS 最佳实践与架构模式。在编写、审查或重构……时,应使用此技能。

Stars 0
designuiperformancetesting

AI / LLM / Agent skills

Flutter 动画

flutter-animations

13.4K

添加、修复、重构、调试、测试或解释 Flutter 动画与运动效果。适用于处理隐式动画(如 AnimatedContainer、AnimatedOpacity、AnimatedSwitcher 和 TweenAnimationBuilder);显式动画(使用 AnimationController、Tween、CurvedAnimation、AnimatedWidget、AnimatedBuilder 及内置过渡动画);Hero/共享元素路由转场;交错或序列动画;基于物理的运动、手势、弹簧、快速滑动、滚动物理效果、曲线、性能、无障碍、减弱动画以及动画生命周期 Bug。

Stars 0
uiperformanceapirag

AI / LLM / Agent skills

代码重构

code-refactoring

11.9K

在保留行为的前提下,简化和重构代码,提升代码清晰度并降低复杂度。适用于简化复杂代码、消除重复或……

Stars 0
backenddesignuiperformance

Testing / Automation

API 设计

api-design

11.5K

遵循最佳实践设计 RESTful 和 GraphQL API。适用于创建新 API、重构现有端点或编写 API 规范文档等场景。

Stars 0
designuiperformancetesting

Frontend / UI

文件组织

file-organization

11.0K

组织项目文件和文件夹,以提升可维护性与可扩展性。适用于构建新项目、重构目录结构或建立……

Stars 0
reactnextjsfrontendbackend

AI / LLM / Agent skills

Swift 并发

swift-concurrency

10.8K

诊断 Swift 并发问题,将基于回调的代码重构为 async/await,并在使用 tasks、actors、@MainActor 等特性时指导 Swift 6 迁移。

Stars 0
uiperformancetestingapi

AI / LLM / Agent skills

karpathy 指南

karpathy-guidelines

10.2K

用于减少常见 LLM 编码错误的行为准则。在编写、审查或重构代码时使用,以避免过度复杂化、进行精准修改……

Stars 0
uillmkarpathybehavioral

AI / LLM / Agent skills

Flutter 应用架构最佳实践

flutter-apply-architecture-best-practices

5.4K

使用推荐的分层架构(UI、Logic、Data)来构建 Flutter 应用。适用于构建新项目或为提升可扩展性而进行重构的场景。

Stars 0
uiapidatabaserag

Testing / Automation

TDD 工作流

tdd-workflow

4.8K

在编写新功能、修复 Bug 或重构代码时使用此技能。强制推行测试驱动开发,确保 80% 以上的覆盖率,包括单元测试、集成测试……

Stars 0
reactuiperformancetesting

AI / LLM / Agent skills

springboot-tdd

springboot-tdd

4.1K

使用 JUnit 5、Mockito、MockMvc、Testcontainers 和 JaCoCo 进行 Spring Boot 的测试驱动开发。在添加功能、修复 Bug 或重构时使用。

Stars 0
uisecurityapidatabase

Frontend / UI

C++ 编码规范

cpp-coding-standards

3.9K

基于 C++ Core Guidelines (isocpp.github.io) 的 C++ 编码规范。适用于编写、审查或重构 C++ 代码,以强制执行现代化、安全的……

Stars 0
designuiperformanceapi

Frontend / UI

代码简化

code-simplification

2.6K

简化代码以提升清晰度。在重构代码以提升清晰度且不改变行为时使用。在代码可运行但难以阅读、维护或扩展时使用……

Stars 0
reactuiperformanceauth

Testing / Automation

六边形架构

hexagonal-architecture

2.0K

设计、实现和重构 Ports & Adapters 系统,具备清晰的领域边界、依赖反转以及可测试的用例编排,涵盖……

Stars 0
designuitestingaudit