将需求分解为模块,映射依赖关系、分配优先级,创建 systems-index.md。
Scanned 9/9/2026
Install to Claude Code
npx -y skills add zls3434/Software-Engineering-Studios --skill map-modules --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Map Modules?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/zls3434-map-modules-47b3dea3)More formats (shields.io, HTML) on the badges page.
---
name: map-modules
description: "将需求分解为模块,映射依赖关系、分配优先级,创建 systems-index.md。"
version: 1.0.0
platforms: [macos, linux, windows]
metadata:
hermes:
tags: ["onboarding", "architecture"]
load_mode: on-demand
model: sonnet
argument-hint: "[概念文件路径]"
user-invocable: true
allowed-tools:
- Read
- Glob
- Grep
- Write
- AskUserQuestion
---
# map-modules — 需求模块分解
## 技能目的
将产品概念分解为可独立开发的模块,映射模块间依赖关系,分配开发优先级,产出 `systems-index.md` 模块索引文档。
## 参数说明
- `[概念文件路径]`:product-concept.md 的路径,默认为 `docs/product-concept.md`。
## 分阶段工作流
### 阶段 1:读取概念文档
- **输入**:概念文件路径参数
- **处理**:
1. 使用 Read 读取 product-concept.md
2. 提取核心功能、产品支柱、用户类型、范围边界
- **输出**:概念要素清单
### 阶段 2:识别模块
- **输入**:概念要素清单
- **处理**:
1. 将核心功能按领域聚类为模块
2. 通过 AskUserQuestion 确认模块划分粒度
3. 为每个模块定义职责边界
- **输出**:候选模块列表
### 阶段 3:映射依赖关系
- **输入**:候选模块列表
- **处理**:分析模块间的数据流与调用关系,绘制依赖图,识别基础模块(被多模块依赖)与叶子模块
- **输出**:模块依赖图
### 阶段 4:分配优先级
- **输入**:模块依赖图 + 产品支柱
- **处理**:
1. 基础模块优先级最高
2. 直接支撑核心支柱的模块次之
3. 通过 AskUserQuestion 与用户确认优先级
- **输出**:优先级分配表
### 阶段 5:创建索引文档
- **输入**:模块列表 + 依赖图 + 优先级
- **处理**:使用 Write 创建 `docs/systems-index.md`,包含模块名、职责、依赖、优先级、对应 SRS 路径
- **输出**:systems-index.md 文件
## 协作协议引用
- 遵循 `.claude/docs/templates/collaborative-protocols/design-agent-protocol.md` 模块划分规范
## 推荐下一步
对每个模块使用 `/requirement-spec` 编写详细需求规格。Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Implement modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first breakpoint strategies. Use when building adaptive interfaces, implementing fluid layouts, or creating component-level responsive behavior.
Creating and refining Mermaid diagrams with live reload. Use when users want flowcharts, sequence diagrams, class diagrams, ER diagrams, state diagrams, or any other Mermaid visualization. Provides best practices for syntax, styling, and the iterative workflow using mermaid_preview and mermaid_save tools.
Use when the user wants to design a mobile app, create screens, build UI, or interact with their Sleek projects. Covers high-level requests ("design an app that does X") and specific ones ("list my projects", "create a new project", "screenshot that screen").
SwiftUI frontend visual design skill. Creates beautiful, distinctive iOS/macOS interfaces that avoid generic AI slop patterns. Covers design direction, layout systems, typography, color, spacing, brand integration, and design review. Use when designing new SwiftUI views, reviewing UI quality, creating iOS prototypes, choosing visual styles, improving app aesthetics, or when the UI looks generic or AI-generated.
Use when designing iOS interfaces, implementing accessibility (VoiceOver, Dynamic Type), handling dark mode, ensuring adequate touch targets, providing animation/haptic feedback, or requesting user permissions. Apple Human Interface Guidelines for iOS compliance.