feature-slicing
✓将功能切片设计(FSD)架构应用于前端项目。触发:FSD、特征切片、 前端架构、层结构、模块边界、可扩展前端、切片组织。 使用时机:创建新功能/组件/页面,重组 React/Next.js/Vue/Remix 项目, 组织前端代码、设置项目结构、修复导入违规或迁移遗留代码库。
SKILL.md
Frontend architecture methodology with strict layer hierarchy and import rules for scalable, maintainable applications. FSD organizes code by business domain rather than technical role.
Modules can ONLY import from layers strictly below them. Never sideways or upward.
| Cross-slice (same layer) | features/auth → features/user | Extract to entities/ or shared/ | | Upward import | entities/user → features/auth | Move shared code down | | Shared importing up | shared/ → entities/ | Shared has NO internal deps |
将功能切片设计(FSD)架构应用于前端项目。触发:FSD、特征切片、 前端架构、层结构、模块边界、可扩展前端、切片组织。 使用时机:创建新功能/组件/页面,重组 React/Next.js/Vue/Remix 项目, 组织前端代码、设置项目结构、修复导入违规或迁移遗留代码库。 来源:ccheney/robust-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/ccheney/robust-skills --skill feature-slicing- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 feature-slicing?
将功能切片设计(FSD)架构应用于前端项目。触发:FSD、特征切片、 前端架构、层结构、模块边界、可扩展前端、切片组织。 使用时机:创建新功能/组件/页面,重组 React/Next.js/Vue/Remix 项目, 组织前端代码、设置项目结构、修复导入违规或迁移遗留代码库。 来源:ccheney/robust-skills。
如何安装 feature-slicing?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/ccheney/robust-skills --skill feature-slicing 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/ccheney/robust-skills
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01