Loading...
Loading...
Use when you have confirmed the scope of Discover (P0/P1/P2), and now need to quickly build the Level-0 North Star (memory) and Level-1 map layer index skeleton (components/products) under `.aisdlc/project/`, so that you can supplement evidence by module later without double writing and drift.
npx skill4agent add zixun-github/aisdlc project-discover-memory-index.aisdlc/project/
memory/
structure.md
tech.md
product.md
glossary.md
components/
index.md
products/
index.mdNote: Do not createat this stage; contract entries will be redirected via module page anchors..aisdlc/project/contracts/**
## Evidence Gapsmemory/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.mdproducts/index.mdcomponents/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
> **Maintenance Rule**: Only draw **direct dependencies** (first-level calls), do not draw transitive dependencies; edges mark interaction methods (API/Event/DB).
### `products/index.md` Minimum Template (Optional, but Recommended)
```markdown
# Products Index(业务地图:只导航)
> 建议收敛到 <= 6 个业务模块;这里不是功能清单。
| product | owner | entry | related_components | status |
|---|---|---|---|---|
| commerce | team-a | ./commerce.md | auth, order | - [ ] |