Skip to content

fanglinwei/developer-skills

v0.1.4MIT

个人编码工作流:代码审查与简化、CodeGraph 检索、前端开发与复刻、模块文档及 Swift 规范。

code-review

当用户要求 review、代码审查、检查代码问题,或工作流进入实际代码审查步骤时,必须隐式调用本 Skill,无需显式输入名称。调用 ponytail-review;浏览器 Web 前端审查必须同时结合 frontend-safe-development 和 karpathy-guidelines,其他代码审查按需结合 karpathy-guidelines。支持 daily 日常模式和 deep 大范围模式;默认只输出报告。

code-simplifier

Simplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Focuses on recently modified code unless instructed otherwise.

codegraph-project-scan

Use whenever a task requires scanning, searching, locating, reading, or understanding local project code, including finding symbol implementations, callers, references, entry points, and call paths during debugging, edits, or review. Applies to the current workspace without an explicit folder or skill invocation. 扫描或检索项目代码、定位函数实现与引用、追踪调用关系时使用,无需用户提供目录或说出“扫描”。

frontend-ai-dev-docs

在用户需要生成或更新前端模块功能开发总结、模块迭代记录或功能交接文档,或后续开发需要同步已约定维护的模块 Markdown 文档时使用。支持仓库、提交范围、git diff、代码片段和功能描述;普通代码讲解和未涉及文档维护的通用代码审查不适用。

frontend-page-clone

综合用户提供的示例项目代码目录、页面网页链接和截图,在当前项目对应模块复刻前端页面,支持保留项目组件风格或按参考 1:1 调整组件样式,优先沿用当前项目接口,按需局部 mock,并完成视觉对照与交互测试。适用于复制、复刻或还原已有界面。

frontend-safe-development

Use before creating, modifying, adjusting, debugging, or refactoring browser-based web frontend code, including components, pages, styles, client state, browser interactions, and accessibility, even for small UI fixes. Preserve the project's stack and deliver the smallest safe change with proportionate verification. Not required for read-only lookup, explanation, analysis, or static code review; use if that work turns into browser frontend debugging or edits. Do not use for mobile, desktop, or cross-platform app projects.

frontend-style-clone

根据截图、录屏、明确样式要求、参考网页或代码,高保真调整现有前端页面局部的字体、颜色、控件外观、间距、尺寸、列表排版与动画,保留现有逻辑与数据。适用于局部视觉复刻、样式对齐和视觉差异修正;完整模块与业务逻辑克隆使用 frontend-page-clone。

swift-code-style

编写、修改、重构或审查 Swift 代码时应用精简的 code-is-poetic 规范,约束命名、格式、API、安全解包与引用管理。