specstory-organize by specstoryai/agent-skills
npx skills add https://github.com/specstoryai/agent-skills --skill specstory-organize根据文件名中的时间戳,将会话文件移动到 YYYY/MM/ 子目录中,从而整理您的 .specstory/history 目录。
.specstory/history/ 目录中的 Markdown 文件2026-01-22_19-20-56Z-fix-bug.md)2026/01/)随着时间的推移,您的历史目录可能会积累数百个会话文件。按日期整理可以更轻松地:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 用户输入 | 操作 |
|---|---|
/specstory-organize | 整理所有文件(默认) |
/specstory-organize dry run | 预览更改而不实际移动 |
/specstory-organize --dry-run | 预览更改而不实际移动 |
# 从项目根目录运行
python skills/specstory-organize/scripts/organize.py
# 预览将要移动的文件(不进行实际更改)
python skills/specstory-organize/scripts/organize.py --dry-run
SpecStory 历史整理器
===========================
在 .specstory/history/ 中找到 47 个需要整理的文件
正在移动文件:
2026-01-15_10-30-22Z-refactor-auth.md -> 2026/01/
2026-01-15_14-22-01Z-fix-tests.md -> 2026/01/
2026-01-22_19-20-56Z-add-feature.md -> 2026/01/
2025-12-28_09-15-33Z-cleanup.md -> 2025/12/
...
摘要:
--------
已移动文件:47
2026/01/: 23 个文件
2025/12/: 18 个文件
2025/11/: 6 个文件
您的历史记录现已整理完毕!
使用 --dry-run 参数时:
SpecStory 历史整理器(试运行)
=====================================
将整理 .specstory/history/ 中的 47 个文件
预览:
2026-01-15_10-30-22Z-refactor-auth.md -> 2026/01/
2026-01-15_14-22-01Z-fix-tests.md -> 2026/01/
...
没有文件被移动。请不带 --dry-run 参数运行以应用更改。
运行整理脚本后:
完成!我已整理了您 `.specstory/history/` 目录中的 47 个会话文件:
- **2026/01/**: 23 个文件
- **2025/12/**: 18 个文件
- **2025/11/**: 6 个文件
您的历史文件现已按年份和月份排序,这使得查找特定时间段的会话变得更加容易。
每周安装量
101
代码仓库
GitHub 星标数
22
首次出现
2026年1月28日
安全审计
安装于
codex91
gemini-cli91
github-copilot86
cursor85
opencode85
claude-code78
Organizes your .specstory/history directory by moving session files into YYYY/MM/ subdirectories based on the timestamp in each filename.
.specstory/history/ for markdown files2026-01-22_19-20-56Z-fix-bug.md)2026/01/)Over time, your history directory can accumulate hundreds of session files. Organizing by date makes it easier to:
| User says | Action |
|---|---|
/specstory-organize | Organize all files (default) |
/specstory-organize dry run | Preview changes without moving |
/specstory-organize --dry-run | Preview changes without moving |
# From project root
python skills/specstory-organize/scripts/organize.py
# Preview what would be moved (no changes made)
python skills/specstory-organize/scripts/organize.py --dry-run
SpecStory History Organizer
===========================
Found 47 files to organize in .specstory/history/
Moving files:
2026-01-15_10-30-22Z-refactor-auth.md -> 2026/01/
2026-01-15_14-22-01Z-fix-tests.md -> 2026/01/
2026-01-22_19-20-56Z-add-feature.md -> 2026/01/
2025-12-28_09-15-33Z-cleanup.md -> 2025/12/
...
Summary:
--------
Files moved: 47
2026/01/: 23 files
2025/12/: 18 files
2025/11/: 6 files
Your history is now organized!
When using --dry-run:
SpecStory History Organizer (DRY RUN)
=====================================
Would organize 47 files in .specstory/history/
Preview:
2026-01-15_10-30-22Z-refactor-auth.md -> 2026/01/
2026-01-15_14-22-01Z-fix-tests.md -> 2026/01/
...
No files were moved. Run without --dry-run to apply changes.
After running the organize script:
Done! I organized 47 session files in your `.specstory/history/` directory:
- **2026/01/**: 23 files
- **2025/12/**: 18 files
- **2025/11/**: 6 files
Your history files are now sorted by year and month, making it much easier
to find sessions from specific time periods.
Weekly Installs
101
Repository
GitHub Stars
22
First Seen
Jan 28, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex91
gemini-cli91
github-copilot86
cursor85
opencode85
claude-code78
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
40,000 周安装