agentleFS
wisterx-specwisterx-spec/agent-rails/.agents/skills/plan-page-map/SKILL.md

plan-page-map

Skill2 starsChanged 7 months agoMITView on GitHub

根据需求描述和技术栈,规划完整的页面地图(路由结构),标注 MVP 范围和推迟页面

The file

Files
SKILL.md

Plan Page Map Skill

单独调用:/plan-page-map(适用于现有项目新增功能模块时规划页面结构) 在工作流中调用:由 project-bootstrap Phase 3 自动触发


执行步骤

Step 1:分析功能模块

从需求描述中提取独立功能模块,每个模块对应一组页面。

Step 2:规划路由层级

按以下维度分组:

  • 公开页(无需登录)
  • 功能页(登录后可见)
  • 管理页(特定角色可见)
  • 设置页

Step 3:标注 MVP 与推迟范围

明确哪些页面是当前迭代必须交付的,哪些推迟到后续版本。


输出格式

## 页面地图 v1.0

### 公开页(无需登录)
- `/` — 首页
- `/login` — 登录
- `/register` — 注册(如需)

### 功能页(需登录)
- `/dashboard` — 概览
- `/{{模块A}}` — {{功能描述}}
  - `/{{模块A}}/{{子页}}` — {{功能描述}} [MVP]
  - `/{{模块A}}/{{子页2}}` — {{功能描述}} [推迟 v2]

### 设置页
- `/settings/profile` — 个人信息

### 管理页(仅 admin)
- `/admin/{{...}}` — {{功能描述}}

### 不在 MVP 内(推迟原因)
- `/{{页面}}` — {{原因:功能复杂/优先级低/依赖未就绪}}

约束

  • MUST 每个页面标注 [MVP] 或 [推迟 vN],不允许模糊
  • NEVER 规划超出当前需求范围的页面(不做需求扩展)
  • 页面路由风格与技术栈一致(Next.js 用文件路由约定,Vue Router 用配置路由)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.