代码生成

代码生成、重构和脚手架

288 个 Skills 可用

Skills 列表

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
获取
thinking-model-router

thinking-model-router

1.4Kcode-generation

When unsure which thinking skill fits, map domain and problem type, then return NONE or one primary skill by default (at most three complementary).

tjboudreaux avatartjboudreaux
获取
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
获取
btca-local

btca-local

1.2Kcode-generation

Invoke this skill when the user says "use btca"

davis7dotsh avatardavis7dotsh
获取
clean-code-guard

clean-code-guard

1.1Kcode-generation

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

amelnagdy avataramelnagdy
获取
build-keil

build-keil

975code-generation

当需要通过 Keil MDK 命令行编译嵌入式工程,调用自带脚本解析工程文件、执行构建并定位固件产物时使用。

leokemp223 avatarleokemp223
获取
flash-keil

flash-keil

975code-generation

当需要通过 Keil MDK 内置调试器烧录固件到目标板时使用,利用工程中已配置的调试器和 Flash 算法执行下载。

leokemp223 avatarleokemp223
获取
cnki-paper-detail

cnki-paper-detail

974code-generation

Extract full paper details from a CNKI paper page including title, authors, affiliations, abstract, keywords, fund, classification. Use when the user needs detailed information about a specific paper.

cookjohn avatarcookjohn
获取
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
获取
codebase-analysis

codebase-analysis

910code-generation

Invoke IMMEDIATELY via python script when user requests codebase understanding, architecture comprehension, or repository orientation. Do NOT explore first - the script orchestrates exploration.

solatis avatarsolatis
获取
code-simplifier

code-simplifier

864code-generation

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

getsentry avatargetsentry
获取
principle-subtract-before-you-add

principle-subtract-before-you-add

816code-generation

Apply when sequencing an addition, refactor, or rewrite. Remove dead code, redundant validators, and stub references first, then build on the simpler base.

backnotprop avatarbacknotprop
获取
principle-laziness-protocol

principle-laziness-protocol

816code-generation

Apply when refactoring, evaluating diff size, or tempted to add abstractions, layers, or signal threading. Bias toward deletion and the smallest change that solves the problem.

backnotprop avatarbacknotprop
获取
figure-it-out

figure-it-out

816code-generation

Design an auditable playbook when no narrower one fits: a large migration, an ambitious multi-part change, or work a human reviews after stepping away. Scales rigor to the task, runs a hypothesis loop, and logs decisions via show-me-your-work. Use for /figure-it-out, 'figure it out', a large migration, or when no narrower playbook applies.

backnotprop avatarbacknotprop
获取
principle-model-the-domain

principle-model-the-domain

816code-generation

Apply when writing stateful logic, or when code branches a lot or repeats a shape assumption across files. Encode the domain in a structure instead of scattered conditionals.

backnotprop avatarbacknotprop
获取
principle-outcome-oriented-execution

principle-outcome-oriented-execution

816code-generation

Apply during planned rewrites and migrations with explicit phase boundaries. Converge on the target architecture; don't preserve smooth intermediate states with throwaway compatibility code.

backnotprop avatarbacknotprop
获取