代码生成

代码生成、重构和脚手架

175 个 Skills 可用

Skills 列表

code-exemplars-blueprint-generator

code-exemplars-blueprint-generator

37Kcode-generation

跨技术栈的 Prompt 生成器,可生成高度定制化的 AI Prompt,用于扫描代码库并提炼高质量的优质代码范例(Code Exemplars)。支持多种编程语言与框架(.NET、Java、JavaScript、TypeScript、React、Angular、Python),允许灵活配置分析深度、分类维度及文档输出格式,帮助团队统一代码规范、保持研发一致性。

github avatargithub
获取
comment-code-generate-a-tutorial

comment-code-generate-a-tutorial

37Kcode-generation

将这个Python脚本重构为一个精良、适合初学者的项目:重构代码、添加清晰的教学注释,并生成一份完整的Markdown教程。

github avatargithub
获取
appinsights-instrumentation

appinsights-instrumentation

36Kcode-generation

为 Web 应用添加检测,将有用的遥测数据发送到 Azure Application Insights

github avatargithub
获取
write-coding-standards-from-file

write-coding-standards-from-file

36Kcode-generation

根据提示中传入的文件和/或文件夹的编码风格,为项目编写编码规范文档。

github avatargithub
获取
java-refactoring-extract-method

java-refactoring-extract-method

36Kcode-generation

在Java语言中使用提取方法进行重构

github avatargithub
获取
copilot-instructions-blueprint-generator

copilot-instructions-blueprint-generator

36Kcode-generation

技术无关的蓝图生成器,用于创建全面的 copilot-instructions.md 文件,通过分析现有代码库模式并避免假设,指导 GitHub Copilot 生成符合项目标准、架构模式和确切技术版本的代码。

github avatargithub
获取
repo-story-time

repo-story-time

36Kcode-generation

从提交历史生成全面的仓库摘要和叙事故事

github avatargithub
获取
vscode-ext-localization

vscode-ext-localization

36Kcode-generation

正确本地化 VS Code 扩展的指南,遵循 VS Code 扩展开发指南、库和最佳实践

github avatargithub
获取
review-and-refactor

review-and-refactor

36Kcode-generation

根据定义的说明审查和重构项目中的代码

github avatargithub
获取
editorconfig

editorconfig

36Kcode-generation

基于项目分析和用户偏好,生成全面且遵循最佳实践的 .editorconfig 文件。

github avatargithub
获取
cut-the-curve

cut-the-curve

36Kcode-generation

技术目录:五种速度匹配的SEAMS(缩放穿越、反向缩放穿越、切曲线、瀑布切、拉焦模糊切)加上两种场景内技术——瀑布入场(用于标题卡/片段开场的交错到达级联)和微推曲线(慢-快-慢三阶段组滑动)。涵盖部分行程(约12%帧)通过镜像power4缓动实现速度匹配、Z轴缩放符号规则、尺寸缩放模糊(10px文字/18-20px全帧)、逐词交错剪切、按元素权重调整级联节奏,以及10/65/25滑动比例。在编写任何过渡、文字节拍交接、动态文字入场或组重新定位之前请先阅读。[深度, 缩放, 反向缩放, 缩放符号, 镜像缩放, 拉焦, 节奏, 速度, 切曲线, 瀑布, 交错, 级联, 动态文字, 标题卡, 片段开场, 微推, 滑动, 缓动, 组运动, Z深度, 动态图形, 电影感, 过渡, 模糊, 方向连续性]

heygen-com avatarheygen-com
获取
changelog-video

changelog-video

36Kcode-generation

将每周更新日志 .md 文件转换为完整的品牌化更新日志视频(方形1080p,约45-60秒,Annie配音,动画品牌背景,模拟UI可视化,低调字幕)。当用户提供更新日志/摘要markdown并希望生成每周视频,或说“更新日志视频”时使用。自包含——字体、背景、词典和脚本均随技能一起提供。

heygen-com avatarheygen-com
获取
refactor-safely

refactor-safely

31Kcode-generation

Plan and execute safe refactoring using dependency analysis

tirth8205 avatartirth8205
获取
build-graph

build-graph

31Kcode-generation

Build or update the code review knowledge graph. Run this first to initialize, or let hooks keep it updated automatically.

tirth8205 avatartirth8205
获取
hyperframes-animation

hyperframes-animation

31Kcode-generation

HyperFrames 的所有动画知识——原子运动规则、多阶段场景蓝图、场景过渡、更广泛的动效设计技巧,以及七种运行时适配器(默认 GSAP,外加 Lottie、Three.js、Anime.js、CSS 关键帧、Web Animations API、TypeGPU)。用于任何动效或动画任务:选择 2-4 条规则进行组合,或加载蓝图,或查询运行时特定 API(例如 GSAP 缓动函数 / Lottie 播放器 / Three.js 混合器)。HyperFrames 原生特性:单一暂停时间线,可安全定位,确定性。

heygen-com avatarheygen-com
获取
pr-to-video

pr-to-video

31Kcode-generation

将 GitHub 拉取请求(PR URL,如 github.com/<owner>/<repo>/pull/<N>,或 <owner>/<repo>#<N> 引用,或已检出仓库中的 'this PR')转换为代码变更解说视频,时长最长约 3 分钟(最佳时长 30-90 秒)—— 变更日志、功能展示、修复或重构讲解,基于 diff/提交/文件渲染。输入是通过 gh CLI 读取的代码变更,不涉及网站捕获。此技能用于 GitHub PR。请勿用于产品发布/推广(使用 /product-launch-video)、真实网站导览(使用 /website-to-video)、无 PR 的主题讲解(使用 /faceless-explainer)、现有素材的字幕(使用 /embedded-captions)或短篇无旁白动态图形(使用 /motion-graphics)。若意图不明确,请先通过 /hyperframes 路由。

heygen-com avatarheygen-com
获取
repomix-explorer

repomix-explorer

28Kcode-generation

Analyze or explore a codebase (remote or local repository) by packing it with the Repomix CLI, then reading and searching the generated output. Use when the user wants a high-level understanding of an unfamiliar or large repo, not a targeted edit. Trigger for: - Structure/overview: "analyze this repo", "what's the structure", "explain this codebase", "what's in vercel/next.js" - Pattern discovery across many files: "find all auth code", "where are the API endpoints", "show me all React components" - Metrics: "how many files/tokens", "largest files", "TypeScript vs JavaScript ratio" - Remote repos: any github.com URL or "owner/repo" the user wants explored DO NOT trigger for: - Editing, refactoring, or writing code in the current project - Reading or searching a known file/path in the local project (use Read or grep directly) - Single-symbol lookups in the local project answerable with one grep - Git operations, running tests, builds, or installs

yamadashy avataryamadashy
获取
react-best-practices

react-best-practices

27Kcode-generation

React performance optimization guidelines from Mastra Engineering. This skill should be used when writing, reviewing, or refactoring React code to ensure optimal performance patterns. Triggers on tasks involving React components, data fetching, bundle optimization, or performance improvements.

mastra-ai avatarmastra-ai
获取
ce-worktree

ce-worktree

24Kcode-generation

配置独立的 git worktree——为新工作创建分支,或将 worktree 挂载到已有的分支/PR/commit 上进行隔离开发。适用于开启隔离任务或隔离现有 ref 的场景;在创建前会优先检测是否已处于隔离环境。

everyinc avatareveryinc
获取
migrate-oxfmt

migrate-oxfmt

22Kcode-generation

将项目从 Prettier 或 Biome 迁移到 Oxfmt 的指南。当被要求将 JavaScript/TypeScript 项目的格式化工具从 Prettier 或 Biome 迁移、转换或切换到 Oxfmt 时使用。

oxc-project avataroxc-project
获取
p7

p7

19Kcode-generation

P7 Senior Engineer mode — solution-driven execution under P8 supervision. Use when user says 'P7模式', '方案驱动', or when spawned as sub-task executor by P8. Produces: implementation plan + code + 3-question self-review, delivered via [P7-COMPLETION].

tanweai avatartanweai
获取
simple-issue-description

simple-issue-description

16Kcode-generation

Turn a rough bug report, feature request, support note, or pull request into a short, plain-language issue focused on the problem and desired behavior. Use when a contributor asks to simplify an issue, explain what a PR is for, create the corresponding issue for a PR, remove implementation detail from a report, or invokes /simple-issue-description.

every-app avatarevery-app
获取
cpp-pro

cpp-pro

11Kcode-generation

使用现代 C++20/23 特性、模板元编程和高性能系统技术编写、优化和调试 C++ 应用程序。在构建或重构需要 concepts、ranges、coroutines、SIMD 优化或精细内存管理的 C++ 代码时使用——或处理性能瓶颈、并发问题和 CMake 构建系统配置时使用。

jeffallan avatarjeffallan
获取
test-driven-development

test-driven-development

8.1Kcode-generation

在实现任何功能或修复 bug 时使用,在编写实现代码之前

jnmetacode avatarjnmetacode
获取