mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-10 02:24:35 +08:00
feat: 优化历史记录输出,增加工具使用统计和过滤提示信息
This commit is contained in:
@@ -87,13 +87,13 @@ Generate CPCC-compliant software design specification documents (软件设计说
|
||||
## Directory Setup
|
||||
|
||||
```javascript
|
||||
// 跨平台目录创建
|
||||
const timestamp = new Date().toISOString().replace(/[-:]/g, '').slice(0, 15);
|
||||
// 生成时间戳目录名
|
||||
const timestamp = new Date().toISOString().slice(0,19).replace(/[-:T]/g, '');
|
||||
const dir = `.workflow/.scratchpad/copyright-${timestamp}`;
|
||||
|
||||
// Windows
|
||||
Bash(`if not exist "${dir}\\sections" mkdir "${dir}\\sections"`);
|
||||
Bash(`if not exist "${dir}\\iterations" mkdir "${dir}\\iterations"`);
|
||||
// Windows (cmd)
|
||||
Bash(`mkdir "${dir}\\sections"`);
|
||||
Bash(`mkdir "${dir}\\iterations"`);
|
||||
|
||||
// Unix/macOS
|
||||
// Bash(`mkdir -p "${dir}/sections" "${dir}/iterations"`);
|
||||
|
||||
@@ -117,13 +117,13 @@ Generate comprehensive project analysis reports through multi-phase iterative wo
|
||||
## Directory Setup
|
||||
|
||||
```javascript
|
||||
// 跨平台目录创建
|
||||
const timestamp = new Date().toISOString().replace(/[-:]/g, '').slice(0, 15);
|
||||
// 生成时间戳目录名
|
||||
const timestamp = new Date().toISOString().slice(0,19).replace(/[-:T]/g, '');
|
||||
const dir = `.workflow/.scratchpad/analyze-${timestamp}`;
|
||||
|
||||
// Windows
|
||||
Bash(`if not exist "${dir}\\sections" mkdir "${dir}\\sections"`);
|
||||
Bash(`if not exist "${dir}\\iterations" mkdir "${dir}\\iterations"`);
|
||||
// Windows (cmd)
|
||||
Bash(`mkdir "${dir}\\sections"`);
|
||||
Bash(`mkdir "${dir}\\iterations"`);
|
||||
|
||||
// Unix/macOS
|
||||
// Bash(`mkdir -p "${dir}/sections" "${dir}/iterations"`);
|
||||
|
||||
Reference in New Issue
Block a user