Files
agent/.agent/workflows/fe.md
2026-02-16 12:46:37 +08:00

15 lines
814 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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 启动审核与测试流程。