一键导入
organizing-documentation
Set up or reorganize project documentation using intent-based structure (BUILD/FIX/UNDERSTAND/LOOKUP)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Set up or reorganize project documentation using intent-based structure (BUILD/FIX/UNDERSTAND/LOOKUP)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use boolean decision trees instead of imperatives for 100% compliance under pressure
Use when creating or developing, before writing code or implementation plans - refines rough ideas into fully-formed designs through collaborative questioning, alternative exploration, and incremental validation. Don't use during clear 'mechanical' processes
Use when completing tasks, implementing major features, or before merging to verify work meets requirements - dispatches cipherpowers:code-review-agent subagent to review implementation against plan or requirements before proceeding
Establish workflow boundary checklists with clear pass/fail criteria and escalation procedures
Use when you've developed a broadly useful skill and want to contribute it upstream via pull request - guides process of branching, committing, pushing, and creating PR to contribute skills back to upstream repository
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
| name | Organizing Documentation |
| description | Set up or reorganize project documentation using intent-based structure (BUILD/FIX/UNDERSTAND/LOOKUP) |
| when_to_use | when setting up new project docs, reorganizing chaotic documentation, improving doc discoverability, or onboarding reveals navigation problems |
| version | 1.0.0 |
Transform documentation from content-type organization (architecture/, testing/, api/) to intent-based organization (BUILD/, FIX/, UNDERSTAND/, LOOKUP/).
Announce at start: "I'm using the organizing-documentation skill to structure these docs by developer intent."
List all docs and categorize by actual developer intent:
| File | Current Location | Developer Intent | New Location |
|------|-----------------|------------------|--------------|
| architecture.md | docs/ | Understand system | UNDERSTAND/core-systems/ |
| testing-guide.md | docs/ | Build tests | BUILD/03-TEST/ |
| error-codes.md | docs/ | Quick lookup | LOOKUP/ |
| debugging-tips.md | docs/ | Fix problems | FIX/investigation/ |
Key question: "When would a developer reach for this doc?"
mkdir -p docs/{BUILD/{00-START,01-DESIGN,02-IMPLEMENT,03-TEST,04-VERIFY},FIX/{symptoms,investigation,solutions},UNDERSTAND/{core-systems,evolution},LOOKUP}
Critical: This is the entry point. Include:
Without 00-START, developers skip prerequisites.
Wrong: Organize by root cause (memory-leaks/, type-errors/) Right: Organize by what developer sees (visual-bugs/, test-failures/)
FIX/symptoms/
├── visual-bugs/
│ ├── rendering-wrong.md
│ └── layout-broken.md
├── test-failures/
│ └── passes-locally-fails-ci.md
└── performance/
└── slow-startup.md
Rule: < 30 seconds to find and use.
Good LOOKUP content:
Bad LOOKUP content (move elsewhere):
Create master index with purpose annotations:
## BUILD
| File | Title | Purpose |
|------|-------|---------|
| `00-START/prime-directive.md` | Prime Directive | Non-negotiable rules |
| `02-IMPLEMENT/patterns.md` | Code Patterns | How to implement features |
Purpose column is mandatory - it's the key to discoverability.
Don't break existing links. Create README.md in old locations:
# This content has moved
Documentation has been reorganized by developer intent.
- Architecture docs → `UNDERSTAND/core-systems/`
- Testing docs → `BUILD/03-TEST/`
- Quick references → `LOOKUP/`
See `docs/INDEX.md` for complete navigation.
Don't:
Do:
Every directory needs README.md with consistent structure:
Use template: ${CLAUDE_PLUGIN_ROOT}templates/documentation-readme-template.md
Maintain parallel navigation:
Provide multiple entry points by time budget:
Create reading paths for different roles with:
AGENTS.md and CLAUDE.md should reference the docs/ structure using progressive disclosure:
Pattern:
docs/BUILD/00-START/ for prerequisites"When reorganizing docs/:
cipherpowers:maintaining-instruction-files to verify instruction file qualitySymlink strategy for multi-agent compatibility:
# Create symbolic link for multi-agent support
ln -s AGENTS.md CLAUDE.md
# Verify symlink works
ls -l CLAUDE.md # Should show: CLAUDE.md -> AGENTS.md
Documentation workflow:
${CLAUDE_PLUGIN_ROOT}skills/maintaining-docs-after-changes/SKILL.md${CLAUDE_PLUGIN_ROOT}skills/maintaining-instruction-files/SKILL.md${CLAUDE_PLUGIN_ROOT}skills/capturing-learning/SKILL.mdSpecialized documentation:
${CLAUDE_PLUGIN_ROOT}skills/creating-research-packages/SKILL.md${CLAUDE_PLUGIN_ROOT}skills/documenting-debugging-workflows/SKILL.md${CLAUDE_PLUGIN_ROOT}skills/creating-quality-gates/SKILL.md${CLAUDE_PLUGIN_ROOT}standards/documentation-structure.md${CLAUDE_PLUGIN_ROOT}templates/documentation-readme-template.md${CLAUDE_PLUGIN_ROOT}templates/research-package-template.md${CLAUDE_PLUGIN_ROOT}templates/quick-reference-template.md${CLAUDE_PLUGIN_ROOT}templates/symptom-debugging-template.md${CLAUDE_PLUGIN_ROOT}templates/verification-checklist-template.md