Help us improve
Share bugs, ideas, or general feedback.
From sdlc-dev-skills
Establishes Level-0 memory files (structure, tech, product, glossary) and Level-1 indexes (components, products) in .aisdlc/project/ after Discover scoping (P0/P1/P2). Enables quick project navigation without duplication.
npx claudepluginhub zixun-github/aisdlcHow this skill is triggered — by the user, by Claude, or both
Slash command
/sdlc-dev-skills:project-discover-memory-indexThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
这一阶段的目标是:**让任何人/AI 在几分钟内知道项目边界、权威入口、怎么跑/怎么验、从哪里进入模块与契约**。
Builds a monorepo-wide federated index from per-service draft/ directories, aggregating service-level context into root-level knowledge without deep code analysis.
Defines project structure, naming conventions, and workflows for consistent directory layouts, file names, and documentation across skills. Useful for project setup or initialization.
Generates .claude/BOUNDARIES.md from a discovery document's Module Structure section to enforce module boundaries in greenfield projects.
Share bugs, ideas, or general feedback.
这一阶段的目标是:让任何人/AI 在几分钟内知道项目边界、权威入口、怎么跑/怎么验、从哪里进入模块与契约。
方法是:先把 Memory 与索引骨架落盘,并严格执行“索引只导航”的硬规则。
开始时宣布:「我正在使用 project-discover-memory-index 技能建立 Discover 的北极星(memory)与索引骨架(地图层)。」
.aisdlc/project/
memory/
structure.md
tech.md
product.md
glossary.md
components/
index.md
products/
index.md
提醒:本阶段不要创建
.aisdlc/project/contracts/**;契约入口将通过模块页锚点跳转。
## Evidence Gaps(缺口清单)memory/structure.md 最小模板# 结构与入口(北极星)
## 项目形态
- 单体/多服务/Monorepo:<证据入口链接>
## 入口(可执行证据)
- 本地启动:<脚本/命令入口链接>
- 测试:<脚本/命令入口链接>
- 构建/发布:<CI job/脚本入口链接>
## 代码地图
- 组件地图:../components/index.md
- 业务地图(如有):../products/index.md
- Ops 入口(如有):../ops/index.md
## Evidence Gaps(缺口清单)
- 缺口:
- 期望补齐到的粒度:
- 候选证据位置:
- 影响:
memory/tech.md 最小模板# 技术栈与工程护栏
## 技术栈(稳定选择)
- 语言/框架:
- 数据库/缓存/消息:
## 质量门禁入口(可执行证据)
- lint:
- test:
- 安全扫描:
## NFR 入口
- 性能/可用性/成本/安全:../nfr.md(或外部权威链接)
## Evidence Gaps(缺口清单)
...
memory/product.md 最小模板# 业务边界(稳定语义)
## In / Out
- In:
- Out:
## 业务地图入口
- ../products/index.md(如有)
## 术语入口
- ./glossary.md
## Evidence Gaps(缺口清单)
...
memory/glossary.md 最小模板# 术语表(短)
| 术语 | 一句话定义 | 权威出处 |
|---|---|---|
| xxx | ... | <链接到模块页锚点/ADR/代码证据> |
components/index.md 与 products/index.md 只做导航components/index.md 最小模板(含依赖图)# Components Index(地图层:只导航)
| module | priority | owner | code_entry | api_contract | data_contract | ops_entry | status |
|--------|----------|-------|------------|--------------|---------------|-----------|--------|
| auth | P0 | team-x | `src/auth/` | [api](./auth.md#api-contract) | [data](./auth.md#data-contract) | [ops](../ops/index.md) | - [ ] |
## Dependencies(direct only)
```mermaid
graph LR
auth -->|API| user
order -->|Event| billing
> **维护规则**:只画**直接依赖**(一级调用),不画传递依赖;边标注交互方式(API/Event/DB)。
### `products/index.md` 最小模板(可选,但建议)
```markdown
# Products Index(业务地图:只导航)
> 建议收敛到 <= 6 个业务模块;这里不是功能清单。
| product | owner | entry | related_components | status |
|---|---|---|---|---|
| commerce | team-a | ./commerce.md | auth, order | - [ ] |