human-directory-structure
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "human-directory-structure" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-db635260f257afebfd57926da6b546141c5248f1c7aa7410cd9e106f6d672fcf. Verify the upstream source and version against https://skillhub.cn/skills/user_7788c3e4/human-directory-structure before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Workspace directory governance and knowledge-management standard. Based on the PARA methodology, defines a fully Chinese standardized directory structure, file-naming rules, and AI output guidelines using numbered prefixes (00-/01-/02-…) as unique identifiers. Used for initializing/organizing directories, setting AI file-output rules, auditing/cleaning disordered files, and building a Chinese knowledge-management system.
Introduction source: third_party · user_7788c3e4 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: workspace-governance
description: 工作目录治理与知识管理规范。用于解决多 AI 工具/Agent 各自创建目录导致的工作区混乱问题。基于 PARA 方法论定义全中文标准化目录结构、文件命名规范和 AI 输出行为准则。核心机制:以编号前缀(00-/01-/02-…)为唯一标识,用户可自由修改目录名后缀,脚本自动识别不重复生成。当用户需要:(1) 初始化/整理工作目录,(2) 制定 AI 文件输出规矩,(3) 审计清理混乱文件,(4) 建立人可读的中文知识管理体系时使用。Workspace Governance — 工作目录治理
核心原则
- 人可读优先。 所有目录和文件名必须是中文语义,让不了解上下文的人 30 秒内看懂。
- 编号前缀是唯一标识。 顶层目录以
00-、01-、02-… 编号前缀分类,后缀名称用户可自由修改,脚本自动识别同前缀目录,不会重复生成。 - AI 产出默认进草稿区。 拿不准放哪一律放草稿,人工确认价值后再归档。
标准目录结构(PARA-AI 变体 · 全中文)
工作根目录下的标准分类以编号前缀识别,默认中文名如下:
工作根目录/
├── 00-入口/ # 导航区:README、目录索引、AI输出规范
├── 01-项目/ # Projects:有明确截止日期的任务
│ └── YYYYMMDD-项目名/
├── 02-领域/ # Areas:持续维护的知识领域
│ └── 领域名/
├── 03-资源/ # Resources:参考素材、模板、工具
├── 04-归档/ # Archive:已完成/废弃的历史内容
├── 05-智能产出/ # AI Outputs:所有 AI 默认输出区
│ ├── 草稿/ # 未确认有用的临时文件(AI默认放这里)
│ ├── 已确认/ # 经人工确认有价值的产出
│ └── 待删除/ # 准备清理的冗余文件
├── 98-工具缓存/ # Tool Cache:AI/开发工具的缓存配置(统一收纳)
└── 99-临时/ # Temp:会话级临时文件,用完即删
自定义命名说明:你可以把"01-项目"改成"01-进行中项目",只要
01-前缀不变,脚本就能识别,不会重复创建目录。关于工具自动建目录:像
.codeartsdoer、.cursor、.vscode这类 IDE/AI 工具硬编码在根目录创建的缓存目录,属于正常现象。审计脚本会自动识别并标注来源,不算违规。其中可配置路径的工具(如 Python 缓存、构建产物)建议统一迁移到98-工具缓存/。
详细说明见 references/directory-structure.md。
AI 输出铁律(强制约束所有 Agent)
目录规则
- 禁止新建顶层目录。AI 只能在标准分类目录的子层级创建文件夹。
- 禁止纯英文命名。目录名必须是中文语义,禁止
output、result、data、new等纯英文无意义命名。 - 默认输出到 05 前缀目录下的「草稿」。除非用户明确指定位置,否则所有 AI 生成的文件一律先放入草稿区。
文件命名规则
格式:YYYYMMDD-中文描述-来源工具.扩展名
示例:
20260714-竞品分析报告-豆包.docx20260714-产品海报初稿-seedream.png
禁止行为
- ❌ 创建
output/、exports/、results/等纯英文无意义目录 - ❌ 在根目录散落文件
- ❌ 使用时间戳、UUID、随机字符串作为文件名
- ❌ 同一个内容生成多份格式重复的文件
- ❌ 自行新建顶层分类目录
完整规则与可复制的 Prompt 模板见 references/ai-convention.md。
工作流程
1. 初始化工作目录
python scripts/init_workspace.py <工作目录路径>
脚本会:
- 创建 7 个标准分类目录(按编号前缀识别,已存在的跳过不重复创建)
- 生成
00-入口/README.md目录说明 - 生成
00-入口/AI输出规范.md
2. 日常使用
- AI 工具启动时,先让它读取
00-入口/AI输出规范.md - AI 产出默认放入
05-智能产出/草稿/ - 人工定期审阅草稿,有用的移入对应项目/领域目录,没用的移入「待删除」
3. 定期审计与整理
python scripts/audit_workspace.py <工作目录路径>
审计报告会列出:
- 标准目录检测情况(识别自定义命名)
- 非标准顶层目录
- 纯英文命名目录
- 根目录散落文件
- 命名不规范的 AI 产出
- 过期草稿文件
加 --fix 可自动把根目录散落文件移入草稿区。
编号前缀机制说明
这是本 skill 的核心设计:
- 00- 入口导航类
- 01- 项目类(有终点)
- 02- 领域类(无终点,长期积累)
- 03- 资源类(参考素材)
- 04- 归档类(历史内容)
- 05- AI产出类(默认投放区)
- 98- 工具缓存类(IDE/AI工具的缓存、配置)
- 99- 临时类(用完即删)
脚本只看前缀匹配,不看后缀名称。你可以随时把 01-项目 改成 01-在做的事,下次运行初始化或审计脚本时会自动识别,不会又生成一个 01-项目。
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决多 AI 工具导致的工作区混乱问题,实用价值明确
- 基于 PARA 方法论提供标准化目录结构,具备通用性
- 覆盖初始化、日常使用、审计清理完整工作流
Highlights
- 触发词覆盖 4 种明确使用场景,边界清晰
- description 精准描述核心功能与适用条件
Areas to improve
-
缺少显式 When to Use 章节 Reported severity: Minor
文档中未设置显式的 When to Use 章节,虽然 description 中已体现
Recommendation: 建议在文档开头增加显式的 When to Use 章节,提升可读性
-
文档结构可进一步优化 Reported severity: Minor
文档内容较丰富,建议通过更多子标题和分段提升阅读体验
Recommendation: 可考虑将核心原则、目录结构、AI 规则等部分进一步细分
Highlights
- Phase/步骤清晰,有完整的工作流程和出口条件
- 包含端到端示例和具体命令调用
- frontmatter 完整,结构良好
Highlights
- 工具来源明确,参数正确,覆盖主要异常场景
- 不可逆操作有确认机制,审计报告先查看后执行
- 脚本逻辑完整,具备良好的错误处理机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.