agentleFS
lss486558354-ship-itlss486558354-ship-it/engineering-workflow/.cursor/skills/project-index/SKILL.md

project-index

Skill0 starsChanged 36 days agoMITView on GitHub

生成 .cursor/project-index.md,按模块组织:

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

项目索引生成

触发条件

  • 项目首次打开时(问卷完成后立即生成)
  • 用户请求"更新索引"时
  • 模块状态发生变化时

数据来源

模块列表来自问卷调查结果(project-profile.json 中的 modules 字段)。

执行流程

第一步:读取 project-profile.json 中的 modules

第二步:按模块生成索引

生成 .cursor/project-index.md,按模块组织:

# Project Index
Generated: [timestamp]
项目目标: [goal]

## 模块总览
| 模块 | 状态 | 相关文件数 |
|------|------|-----------|
| 用户登录 | ✅ 已完成 | 5 |
| 权限管理 | 🔧 进行中 | 3 |
| 数据导出 | ⏳ 待开始 | 0 |

## 模块详情

### 用户登录 [✅ 已完成]
- src/auth/login.ts
- src/auth/session.ts
- src/components/LoginForm.tsx

### 权限管理 [🔧 进行中]
- src/auth/permissions.ts
- src/middleware/guard.ts

### 数据导出 [⏳ 待开始]
(暂无文件)

## 目录结构
[tree输出]

第三步:播报

项目索引已更新,共 [N] 个模块,[完成数]/[总数] 已完成。

状态规则

  • pending(⏳ 待开始):模块尚未开始
  • in_progress(🔧 进行中):模块正在开发
  • completed(✅ 已完成):仅当用户明确确认验证通过后才能标记

禁止行为

  • 禁止 agent 自行将模块标记为"已完成"
  • 必须询问用户:"[模块名] 已完成开发,请验证后确认是否标记为完成?"

调用方式

python scripts/index_project.py [项目根目录]

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.