一键导入
dir-organizer
整理和优化项目目录结构。当用户请求整理目录、分类文件、清理无用文件或重构文件夹结构时调用此技能。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
整理和优化项目目录结构。当用户请求整理目录、分类文件、清理无用文件或重构文件夹结构时调用此技能。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Extremely strict maintainability review focused on structural simplification, abstraction quality, and spaghetti-condition growth. Not a general correctness review -- this is a deep code quality audit that pushes for "code judo" moves that delete complexity. Use when asked to "code review", "maintainability review", "code quality audit", "/code-review", or "/review-quality".
Spawns a verifier subagent to audit your work: traces what was done, reviews the diff, runs builds/tests, and delivers a PASS/FAIL verdict. Auto-retries fixes up to 3 rounds. Use when asked to "check work", "verify changes", "self-verify", "/self-verify", "/check", or "/verify".
轻量需求头脑风暴 — 先扫代码库确认前置条件,再用 2-3 轮聚焦讨论锁定范围和方案。Use when user says "brainstorm this feature", "需求讨论", "sdd brainstorm", or wants to explore a feature idea before writing specs. Replaces heavyweight brainstorming workflows that burn tokens.
按规格文档的 Ticket 逐个实现代码,每个 Ticket 独立上下文避免幻觉。内置 todo 进度追踪,支持 LSP 诊断、worktree 隔离、子智能体委派等按需升级。Use when user says "implement ticket", "实现这个任务", "sdd implement", "开始实现", or wants to execute tasks from a spec. Reads .plan/spec.md for task breakdown.
将头脑风暴结论转化为结构化规格文档,包含需求、技术设计、任务拆解和决策记录。Use when user says "write spec", "写规格", "sdd spec", or wants to formalize a brainstormed idea into an implementable specification. Reads .plan/brainstorm.md if available.
Comprehensive quality analysis tool for Claude Skills. Evaluates skills from GitHub URLs, marketplace links, ZIP files, or local directories across five dimensions (structure, security, UX, code quality, integration) using balanced scoring and three output modes (comprehensive report, interactive review, pass/fail certification). Triggers on "analyze skill quality", "review this skill", "evaluate skill", or "skill quality check".
| name | dir-organizer |
| description | 整理和优化项目目录结构。当用户请求整理目录、分类文件、清理无用文件或重构文件夹结构时调用此技能。 |
本技能旨在帮助用户规范化和优化项目目录结构,提升工程的可维护性。
以下场景应触发本技能的执行,以确保目录结构的合理性。
本技能支持对目录和文件进行多种基础及高级操作,以满足不同程度的整理需求。
在进行目录整理时,需要遵循以下核心原则,确保操作的安全与规范。
规范的执行流程能够确保目录整理工作有条不紊地进行。
收集当前目录的详细状态信息。
基于收集到的信息,制定详细的结构调整方案,并必须交由用户审核(Review)。【关键强制要求】:必须先在常规的文本回复中完整打印出重构计划,让用户能够切实看到,然后再发起确认请求(如调用 AskUserQuestion 工具)。绝不能在未输出计划内容的情况下直接发起提问。
输出重构计划时需遵循以下规范格式:
[新建]、[不变]、[重命名自: xxx]、[移动自: xxx])。树状结构中必须包含目录下的具体文件,而不仅仅是目录层级。在用户明确同意重构计划后,实际执行目录调整操作。
在完成文件移动和结构调整后,无需再次询问,自动妥善处理文件之间的引用关系。