代码生成

代码生成、重构和脚手架

288 个 Skills 可用

Skills 列表

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
获取
mermaid-diagrams

mermaid-diagrams

31Kcode-generation

Comprehensive guide for creating software diagrams using Mermaid syntax. Use when users need to create, visualize, or document software through diagrams including class diagrams (domain modeling, object-oriented design), sequence diagrams (application flows, API interactions, code execution), flowcharts (processes, algorithms, user journeys), entity relationship diagrams (database schemas), C4 architecture diagrams (system context, containers, components), state diagrams, git graphs, pie charts, gantt charts, or any other diagram type. Triggers include requests to "diagram", "visualize", "model", "map out", "show the flow", or when explaining system architecture, database design, code structure, or user/application flows.

davila7 avatardavila7
获取
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
获取
nx-generate

nx-generate

29Kcode-generation

Generate code using nx generators. INVOKE IMMEDIATELY when user mentions scaffolding, setup, structure, creating apps/libs, or setting up project structure. Trigger words - scaffold, setup, create a new app, create a new lib, project structure, generate, add a new project. ALWAYS use this BEFORE calling nx_docs or exploring - this skill handles discovery internally.

nrwl avatarnrwl
获取
monitor-ci

monitor-ci

29Kcode-generation

Monitor Nx Cloud CI pipeline and handle self-healing fixes. USE WHEN user says "monitor ci", "watch ci", "ci monitor", "watch ci for this branch", "track ci", "check ci status", wants to track CI status, or needs help with self-healing CI fixes. Prefer this skill over native CI provider tools (gh, glab, etc.) for CI monitoring — it integrates with Nx Cloud self-healing which those tools cannot access.

nrwl avatarnrwl
获取
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
获取
dispatching-parallel-agents

dispatching-parallel-agents

8.2Kcode-generation

当面对 2 个以上可以独立进行、无共享状态或顺序依赖的任务时使用

jnmetacode avatarjnmetacode
获取
test-driven-development

test-driven-development

8.1Kcode-generation

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

jnmetacode avatarjnmetacode
获取
chinese-code-review

chinese-code-review

8.1Kcode-generation

中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。

jnmetacode avatarjnmetacode
获取
chinese-commit-conventions

chinese-commit-conventions

8.1Kcode-generation

中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。

jnmetacode avatarjnmetacode
获取