mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-13 02:41:50 +08:00
refactor: Rename DMS directory to memory and update references
- Renamed .claude/workflows/cli-templates/prompts/dms/ to memory/ - Updated all path references in update_module_claude.sh - Updated terminology in INSTALL.md and INSTALL_CN.md - Changed DMS system references to memory system 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -40,22 +40,22 @@ update_module_claude() {
|
|||||||
if [ "$module_path" = "." ]; then
|
if [ "$module_path" = "." ]; then
|
||||||
# Root directory
|
# Root directory
|
||||||
layer="Layer 1 (Root)"
|
layer="Layer 1 (Root)"
|
||||||
template_path="$HOME/.claude/workflows/cli-templates/prompts/dms/claude-layer1-root.txt"
|
template_path="$HOME/.claude/workflows/cli-templates/prompts/memory/claude-layer1-root.txt"
|
||||||
analysis_strategy="--all-files"
|
analysis_strategy="--all-files"
|
||||||
elif [[ "$clean_path" =~ ^[^/]+$ ]]; then
|
elif [[ "$clean_path" =~ ^[^/]+$ ]]; then
|
||||||
# Top-level directories (e.g., .claude, src, tests)
|
# Top-level directories (e.g., .claude, src, tests)
|
||||||
layer="Layer 2 (Domain)"
|
layer="Layer 2 (Domain)"
|
||||||
template_path="$HOME/.claude/workflows/cli-templates/prompts/dms/claude-layer2-domain.txt"
|
template_path="$HOME/.claude/workflows/cli-templates/prompts/memory/claude-layer2-domain.txt"
|
||||||
analysis_strategy="@{*/CLAUDE.md}"
|
analysis_strategy="@{*/CLAUDE.md}"
|
||||||
elif [[ "$clean_path" =~ ^[^/]+/[^/]+$ ]]; then
|
elif [[ "$clean_path" =~ ^[^/]+/[^/]+$ ]]; then
|
||||||
# Second-level directories (e.g., .claude/scripts, src/components)
|
# Second-level directories (e.g., .claude/scripts, src/components)
|
||||||
layer="Layer 3 (Module)"
|
layer="Layer 3 (Module)"
|
||||||
template_path="$HOME/.claude/workflows/cli-templates/prompts/dms/claude-layer3-module.txt"
|
template_path="$HOME/.claude/workflows/cli-templates/prompts/memory/claude-layer3-module.txt"
|
||||||
analysis_strategy="@{*/CLAUDE.md}"
|
analysis_strategy="@{*/CLAUDE.md}"
|
||||||
else
|
else
|
||||||
# Deeper directories (e.g., .claude/workflows/cli-templates/prompts)
|
# Deeper directories (e.g., .claude/workflows/cli-templates/prompts)
|
||||||
layer="Layer 4 (Sub-Module)"
|
layer="Layer 4 (Sub-Module)"
|
||||||
template_path="$HOME/.claude/workflows/cli-templates/prompts/dms/claude-layer4-submodule.txt"
|
template_path="$HOME/.claude/workflows/cli-templates/prompts/memory/claude-layer4-submodule.txt"
|
||||||
analysis_strategy="--all-files"
|
analysis_strategy="--all-files"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Analyze project structure for DMS hierarchy optimization:
|
Analyze project structure for memory hierarchy optimization:
|
||||||
|
|
||||||
## Required Analysis:
|
## Required Analysis:
|
||||||
1. Assess project complexity and file organization patterns
|
1. Assess project complexity and file organization patterns
|
||||||
@@ -186,7 +186,7 @@ cd Dmsflow
|
|||||||
.\Install-Claude.ps1 -Global
|
.\Install-Claude.ps1 -Global
|
||||||
|
|
||||||
# 4. Start using Claude Code with Agent workflows!
|
# 4. Start using Claude Code with Agent workflows!
|
||||||
# Use /workflow commands and DMS system for development
|
# Use /workflow commands and memory system for development
|
||||||
```
|
```
|
||||||
|
|
||||||
## Verification
|
## Verification
|
||||||
@@ -207,7 +207,7 @@ After installation, verify:
|
|||||||
- Check that global `.claude` directory is recognized
|
- Check that global `.claude` directory is recognized
|
||||||
- Verify workflow commands and DMS commands are available
|
- Verify workflow commands and DMS commands are available
|
||||||
- Test `/workflow` commands for agent coordination
|
- Test `/workflow` commands for agent coordination
|
||||||
- Test `/dmsflow version` to check version information
|
- Test `/workflow version` to check version information
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ cd Dmsflow
|
|||||||
.\Install-Claude.ps1 -Global
|
.\Install-Claude.ps1 -Global
|
||||||
|
|
||||||
# 4. 开始使用 Claude Code Agent 工作流!
|
# 4. 开始使用 Claude Code Agent 工作流!
|
||||||
# 使用 /workflow 命令和 DMS 系统进行开发
|
# 使用 /workflow 命令和内存系统进行开发
|
||||||
```
|
```
|
||||||
|
|
||||||
## 验证
|
## 验证
|
||||||
@@ -181,9 +181,9 @@ cd Dmsflow
|
|||||||
2. **测试 Claude Code:**
|
2. **测试 Claude Code:**
|
||||||
- 在项目中打开 Claude Code
|
- 在项目中打开 Claude Code
|
||||||
- 检查全局 `.claude` 目录是否被识别
|
- 检查全局 `.claude` 目录是否被识别
|
||||||
- 验证工作流命令和 DMS 命令是否可用
|
- 验证工作流命令和内存命令是否可用
|
||||||
- 测试 `/workflow` 命令的 Agent 协调功能
|
- 测试 `/workflow` 命令的 Agent 协调功能
|
||||||
- 测试 `/dmsflow version` 检查版本信息
|
- 测试 `/workflow version` 检查版本信息
|
||||||
|
|
||||||
## 故障排除
|
## 故障排除
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user