doc-organizer
Skill2 starsChanged 9 months agoMITView on GitHub
Set up the 4-folder document system (inbox/vision/reflect/dao) in a project
1 other project uses a version of this.
Adopted by
Most recently taken up by
- s-hiraoku/synapse-a2atheir own version, first seen May 6, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- s-hiraoku/synapse-a2a★ 16same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- ab-testingSkill
- ab-validateSkill
- architectural-gateSkill
- cardio-reviewSkill
- consensusSkill
- counter-positionSkill
- cross-examinationSkill
- direct-querySkill
- integrity-checkSkill
- invariance-healthSkill
- narrate-surgerySkill
- neurologistSkill
- post-implementation-verificationSkill
- pre-implementation-reviewSkill
- probeSkill
- quality-gatesSkill
- researchSkill
- review-loopSkill
- sentinelSkill
- setup-api-keysSkill
- setup-teamSkill
- using-3-surgeonsSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
Before creating folders, evaluate the project:
- Distinctive: line 43
If yes to 2+ of these, it deserves its own 4 folders.
- Very specific: line 79
Exception: If the team decides certain vision docs should be shared (e.g., architecture decisions that affect multiple contributors), they …
- Distinctive: line 83
After setup, explain the system conversationally:
- Very specific: line 99
When --scan is used, evaluate the repo structure:
- Very specific: line 101
Check for .gitmodules (submodules) -- each submodule is a candidate
- Very specific: line 102
Check for common monorepo patterns: packages/, apps/, services/, libs/
- Very specific: line 103
Check for independent package.json, pyproject.toml, Cargo.toml, go.mod in subdirectories
- Distinctive: line 104
Check for independent README files in subdirectories
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Doc Organizer -- 4-Folder Document System
What This Does
Sets up a 4-folder document system that separates ideas from specs from code reality from proven patterns. Each folder has a different trust level. Documents don't move between folders -- each generates independently.
The Four Folders
| Folder | What Goes Here | Trust | Who Writes It |
docs/inbox/ | Raw ideas, chat exports, research notes | LOW | Anyone. Append-only. Never deleted. |
docs/vision/ | Specs, designs, architecture decisions | MEDIUM | Human + AI collaboration (brainstorming, cross-exam) |
docs/reflect/ | What the code actually does today | HIGH | Written FROM code analysis, not from specs |
docs/dao/ | Patterns validated through evidence | HIGHEST | Emerges from outcomes, changes only with proof |
When to Invoke This Skill
- Project setup -- user runs
3s docs-initor asks about document organization - Onboarding -- new team member or AI agent needs to understand the knowledge structure
- Drift detected -- documents are accumulating without structure, or specs diverge from reality
Setup Process
Step 1: Detect Project Structure
Before creating folders, evaluate the project:
- Single repo? -- Create one set of 4 folders at
docs/ - Monorepo with distinct projects? -- Each project that has its own domain, its own codebase concerns, and its own decision history deserves its own 4 folders
- Superrepo with submodules? -- Each submodule gets its own 4 folders. The superrepo gets cross-cutting 4 folders for ecosystem-level docs.
How to decide if a subdirectory deserves its own 4 folders:
- Does it have its own README or documentation?
- Does it make architectural decisions independently?
- Could someone work on it without understanding the rest of the repo?
- Does it have (or should it have) its own tests?
If yes to 2+ of these, it deserves its own 4 folders.
Step 2: Create Folders
For each project/submodule identified:
3s docs-init # Current directory
3s docs-init path/to/subproject # Specific path
3s docs-init --scan # Auto-detect projects in repoThis creates:
docs/inbox/README.md
docs/vision/README.md
docs/reflect/README.md
docs/dao/README.mdEach README explains the folder's purpose so anyone opening the folder understands what belongs there.
Step 3: Configure .gitignore
The 4 folders are gitignored by default -- they contain local working documents, not committed artifacts. The 3s docs-init command adds these entries:
# 4-Folder Document System (inbox/vision/reflect/dao)
docs/inbox/
docs/vision/
docs/reflect/
docs/dao/Why gitignored? These are working documents for the human + AI collaboration loop. They evolve constantly, contain large chat exports, and are personal to the development workflow. The code itself (committed) is the source of truth -- these folders support the thinking process.
Exception: If the team decides certain vision docs should be shared (e.g., architecture decisions that affect multiple contributors), they can force-add specific files: git add -f docs/vision/architecture.md.
Step 4: Explain to the User
After setup, explain the system conversationally:
Your project now has 4 knowledge folders. Think of them as layers of trust:
- inbox/ is your scratchpad -- dump ideas, paste conversations, save research. Nothing gets deleted, but over time we'll mark what's been absorbed into proper specs.
- vision/ is where decisions live -- when we brainstorm a feature or the surgeons cross-examine an approach, the result goes here as a spec.
- reflect/ is the honest mirror -- written from the code itself, showing what you actually built (not what you planned to build). The gap between vision and reflect is where the interesting work lives.
- dao/ is for patterns that proved themselves -- things that worked across multiple projects or survived multiple sessions of evidence. These change slowly and only with proof.
Documents don't move between folders. Each one generates its own content independently.
Monorepo/Superrepo Detection
When --scan is used, evaluate the repo structure:
- Check for
.gitmodules(submodules) -- each submodule is a candidate - Check for common monorepo patterns:
packages/,apps/,services/,libs/ - Check for independent
package.json,pyproject.toml,Cargo.toml,go.modin subdirectories - Check for independent README files in subdirectories
- Present findings to the user:
Detected project structure:
[repo root] -- superrepo (cross-cutting docs)
packages/api/ -- independent project (has own pyproject.toml, README, tests)
packages/web/ -- independent project (has own package.json, README)
packages/shared/ -- shared library (skip -- no independent decisions)
Recommendation: Create 4-folder system in repo root + packages/api/ + packages/web/
Skip packages/shared/ (shared utility, decisions made in consuming projects)
Proceed? [Y/n]Validity Notations (Inbox Lifecycle)
Inbox documents never get deleted, but they do get annotated over time. When content from an inbox doc gets absorbed into a vision spec, add a validity notation:
> **VALIDITY NOTATION** (YYYY-MM-DD):
> - Status: ABSORBED | PARTIALLY ABSORBED | OPEN | INVALIDATED
> - Promoted to: `docs/vision/spec-name.md`
> - Key decisions preserved: [list]
> - Remaining value: original phrasing for intent archaeologyThis creates a paper trail: anyone can trace a vision spec back to the raw conversation that spawned it.
Integration with 3-Surgeons
The 4-folder system works naturally with the 3-surgeon protocol:
- Cross-examination results go to
docs/vision/as decision records - Neurologist challenges that prove valid update
docs/reflect/(code reality corrections) - Evidence from A/B tests feeds
docs/dao/when patterns validate - Sentinel scans may flag drift between vision and reflect
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

