代码生成

代码生成、重构和脚手架

175 个 Skills 可用

Skills 列表

install-anti-slop

install-anti-slop

2.4Kcode-generation

Install and configure the anti-slop Oxlint plugin in a local TypeScript or JavaScript repository. Use whenever a user asks to add anti-slop lint rules, copy the anti-slop plugin, configure opinionated Oxlint rules, or migrate an existing local anti-slop setup.

dmmulroy avatardmmulroy
获取
expo-module

expo-module

2.3Kcode-generation

框架(开源)。使用 Expo Modules API(Swift、Kotlin、TypeScript)创建和编写 Expo 原生模块与视图的指南。涵盖模块定义 DSL、原生视图、共享对象、配置插件、生命周期钩子、自动链接和类型系统。在构建或修改 Expo 原生模块时使用。不适用于将现有 Swift 模块从定义 DSL 迁移到 Expo Modules API 2.0 宏;请使用 expo-migrate-module(来自 expo-experiments 插件)进行迁移。

expo avatarexpo
获取
golang-dependency-injection

golang-dependency-injection

2.3Kcode-generation

Go 语言依赖注入(DI)综合指南。涵盖 DI 的重要性(可测试性、松耦合、关注点分离、生命周期管理)、手动构造函数注入以及 DI 库对比(google/wire、uber-go/dig、uber-go/fx、samber/do)。在设计服务架构、设置依赖注入、重构紧耦合代码、管理单例或服务工厂时,或当用户询问 Go 中的控制反转、服务容器或依赖编排时,使用此技能。如需特定 DI 库,→ 请参阅 `samber/cc-skills-golang@golang-google-wire`、`samber/cc-skills-golang@golang-uber-dig`、`samber/cc-skills-golang@golang-uber-fx` 或 `samber/cc-skills-golang@golang-samber-do` 技能。

samber avatarsamber
获取
golang-samber-mo

golang-samber-mo

2.3Kcode-generation

使用 samber/mo 为 Golang 提供单子类型——Option、Result、Either、Future、IO、Task 和 State 类型,用于类型安全的可空值、错误处理和函数式组合,并包含管道子包。适用于使用或采用 samber/mo 时、代码库导入 `github.com/samber/mo` 时,或考虑将函数式编程模式作为 Golang 安全设计时。

samber avatarsamber
获取
lesson-learned

lesson-learned

2.2Kcode-generation

通过 Git 历史分析最近的代码变更,并提取软件工程经验教训。当用户询问“这里的教训是什么?”、“我能从中学到什么?”、“工程上的收获”、“我刚刚学到了什么?”、“反思这段代码”或希望从近期工作中提取原则时使用。

softaworks avatarsoftaworks
获取
naming-analyzer

naming-analyzer

2.2Kcode-generation

根据上下文和命名规范,建议更好的变量、函数和类名。

softaworks avatarsoftaworks
获取
reducing-entropy

reducing-entropy

2.2Kcode-generation

仅限手动技能,用于最小化总代码库大小。仅在用户明确请求时激活。以最终代码量而非工作量衡量成功。倾向于删除。

softaworks avatarsoftaworks
获取
rev-frida

rev-frida

2Kcode-generation

Generate Frida hook scripts using modern Frida API. Activate when the user wants to write Frida scripts, hook functions at runtime, trace calls or arguments or return values, intercept native or ObjC or Java methods, dump memory or exports, or handle native module load timing for Android and other targets.

p4nda0s avatarp4nda0s
获取
linting-neostandard-eslint9

linting-neostandard-eslint9

1.9Kcode-generation

Configures ESLint v9 flat config and neostandard for JavaScript and TypeScript projects, including migrating from legacy `.eslintrc*` files or the `standard` package. Use when you need to set up or fix linting with `eslint.config.js` or `eslint.config.mjs`, troubleshoot lint errors, configure neostandard rules, migrate from `.eslintrc` to flat config, or integrate linting into CI pipelines and pre-commit hooks.

mcollina avatarmcollina
获取
typescript-magician

typescript-magician

1.9Kcode-generation

设计复杂的泛型类型、将 `any` 类型重构为严格的替代类型、创建类型守卫(type guard)与工具类型,并排查修复 TypeScript 编译器报错。当用户询问 TypeScript (TS) 类型、泛型、类型推导、类型守卫、消除 `any` 类型、严格类型检查、类型报错、`infer`、`extends`、条件类型、映射类型、模板字符串类型、品牌类型/不透明类型(branded/opaque types),或 `Partial`、`Record`、`ReturnType`、`Awaited` 等工具类型时使用。

mcollina avatarmcollina
获取
software-design-philosophy

software-design-philosophy

1.7Kcode-generation

通过深度模块、信息隐藏和战略性编程管理软件复杂性。当用户提到“模块设计”、“API过于复杂”、“浅层类”、“复杂性预算”、“战略性与战术性”、“深度模块”、“信息泄露”、“透传方法”、“这段代码过度设计”或“简化这个设计”时使用。在审查接口的简洁性、评估抽象是否值得、决定是否值得编写注释、或在通用方法与专用方法之间选择时也触发。涵盖深度与浅层模块、复杂性警示标志、以及作为设计文档的注释。关于代码质量,请参见clean-code。关于架构边界,请参见clean-architecture。

wondelai avatarwondelai
获取
kaizen

kaizen

1.7Kcode-generation

Use when Code implementation and refactoring, architecturing or designing systems, process and workflow improvements, error handling and validation. Provide tehniquest to avoid over-engineering and apply iterative improvements.

neolabhq avatarneolabhq
获取
qoder-delegate

qoder-delegate

1.6Kcode-generation

Delegate a coding task to the Qoder CLI (`qodercli`) as a background implementer, then review its diff and land it yourself. Use this whenever the user asks to have Qoder implement, fix, refactor, or run a queue of coding tasks while the orchestrator remains the reviewer. DO NOT USE for tasks small enough to do inline, or when the user wants code written directly without delegation.

amelnagdy avataramelnagdy
获取
rust-code-navigator

rust-code-navigator

1.4Kcode-generation

Navigate Rust code using LSP. Triggers on: /navigate, go to definition, find references, where is defined, 跳转定义, 查找引用, 定义在哪, 谁用了这个

actionbook avataractionbook
获取
rust-call-graph

rust-call-graph

1.4Kcode-generation

Visualize Rust function call graphs using LSP. Triggers on: /call-graph, call hierarchy, who calls, what calls, 调用图, 调用关系, 谁调用了, 调用了谁

actionbook avataractionbook
获取
domain-embedded

domain-embedded

1.4Kcode-generation

Use when developing embedded/no_std Rust. Keywords: embedded, no_std, microcontroller, MCU, ARM, RISC-V, bare metal, firmware, HAL, PAC, RTIC, embassy, interrupt, DMA, peripheral, GPIO, SPI, I2C, UART, embedded-hal, cortex-m, esp32, stm32, nrf, 嵌入式, 单片机, 固件, 裸机

actionbook avataractionbook
获取
coding-guidelines

coding-guidelines

1.4Kcode-generation

Use when asking about Rust code style or best practices. Keywords: naming, formatting, comment, clippy, rustfmt, lint, code style, best practice, P.NAM, G.FMT, code review, naming convention, variable naming, function naming, type naming, 命名规范, 代码风格, 格式化, 最佳实践, 代码审查, 怎么命名

actionbook avataractionbook
获取
m15-anti-pattern

m15-anti-pattern

1.4Kcode-generation

Use when reviewing code for anti-patterns. Keywords: anti-pattern, common mistake, pitfall, code smell, bad practice, code review, is this an anti-pattern, better way to do this, common mistake to avoid, why is this bad, idiomatic way, beginner mistake, fighting borrow checker, clone everywhere, unwrap in production, should I refactor, 反模式, 常见错误, 代码异味, 最佳实践, 地道写法

actionbook avataractionbook
获取
m15-anti-pattern

m15-anti-pattern

1.3Kcode-generation

用于审查代码中的反模式。关键词:反模式、常见错误、陷阱、代码异味、不良实践、代码审查、这是反模式吗、更好的做法、应避免的常见错误、为什么这不好、地道写法、初学者错误、与借用检查器斗争、到处clone、在生产中使用unwrap、应该重构吗、反模式、常见错误、代码异味、最佳实践、地道写法

zhanghandong avatarzhanghandong
获取
appinsights-instrumentation

appinsights-instrumentation

1.2Kcode-generation

关于使用 Azure Application Insights 检测 Web 应用的指南。提供遥测模式、SDK 设置和配置参考。适用场景:如何检测应用、App Insights SDK、遥测模式、什么是 App Insights、Application Insights 指南、检测示例、APM 最佳实践。

microsoft avatarmicrosoft
获取
clean-code-guard

clean-code-guard

1.1Kcode-generation

在生成或修改的生产代码发布前进行审查,使用整洁代码、SOLID、DRY、KISS、YAGNI 以及针对 LLM 的特定失败模式检查,支持任何编程语言。最适合在智能体编写、编辑、重构或修复代码后、在展示、提交或合并结果之前被动使用。当用户要求“审查这个 PR”、“合并安全吗?”、“让代码更整洁”、“审计这段代码”、“重构这个”、“修复这个 bug”,或编码智能体生成了实现代码后使用。也可以在风险编辑前显式调用以指导编写。在你自己完成非平凡生产代码的编写、编辑或重构后,主动调用它,不要等待被问。不要用于事实/概念性问题、CI/工具配置、git 工作流、运行/调试测试、纯架构讨论、散文写作、数据分析或测试代码审查(请使用 test-guard)。

amelnagdy avataramelnagdy
获取
debug

debug

959code-generation

Run /debug to find and fix a bug's root cause: a test failing for an unclear reason, /check verify finding a failure, or behavior being wrong. Runs a reproduce, localize, hypothesize, test, fix, verify loop, makes the minimal fix, and hands a regression test to /test. No features, no extra refactors.

jsmastery-pro avatarjsmastery-pro
获取
code-simplifier

code-simplifier

864code-generation

简化并优化代码,提升清晰度、一致性和可维护性,同时保留所有功能。当被要求“简化代码”、“清理代码”、“重构以提高清晰度”、“改善可读性”或审查最近修改的代码以追求优雅时使用。专注于项目特定的最佳实践。

getsentry avatargetsentry
获取
diffity-learn

diffity-learn

767code-generation

Start a project-driven learning journey for any technical topic — programming languages, tools, frameworks, or concepts. Teaches through real projects, Diffity tours, and interactive conversation, adapting to the learner's pace.

nilbuild avatarnilbuild
获取