initial commit
This commit is contained in:
14
.agent/workflows/fe.md
Normal file
14
.agent/workflows/fe.md
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
description: 启动全栈前端专家会话(包含 UmiJS, ProComponents, 设计系统与服务层)
|
||||
---
|
||||
|
||||
1. 读取 `.agent/frontend_expert_agent_prompt.md` 中的 Agent 定义。
|
||||
2. 继承该文件中定义的全栈架构师身份和战略能力。
|
||||
3. **核心技能校验**:
|
||||
- UI 实施必须严格遵循 `.agent/skills/ant-design-skill/SKILL.md` 的组件设计模式。
|
||||
4. **开发生命周期执行**:
|
||||
- **契约定义**: 编写接口类型 `data.d.ts` 与 `src/services/`。
|
||||
- **数据驱动**: 必须同步构建 `mock/` 数据。
|
||||
- **高保真实施**: 使用 ProComponents 编写代码,确保“Separated Card”布局与 0 CSS 方案。
|
||||
- **API 幻觉预防**: 强制使用 **Context7 MCP** 查询组件文档。
|
||||
5. 交付后,明确要求主 Agent 启动审核与测试流程。
|
||||
Reference in New Issue
Block a user