Directory Structure

May 31, 2026 · View on GitHub

This file is the canonical contract for where every guide, snippet, and asset lives.

Project Root Files

FilePurpose
DEVLOG.mdLightweight, append-only development activity log. Newest entries first. Format: date headers (## YYYYMMDD) followed by 1-3 line notes per session. Essential for project continuity after breaks.
CLAUDE.mdAI development guidelines, code standards, project-specific rules.
README.mdPublic-facing project documentation.

Directory Structure

project-documents/
├── ai-project-guide/        # Git submodule (framework guides)
│   ├── project-guides/      # project-process & meta-methodology
│   ├── framework-guides/    # app-level runtimes & platforms
│   │   └── nextjs/ …
│   ├── tool-guides/         # importable libraries / UI kits
│   │   └── scichart/ …
│   ├── api-guides/          # external data / service endpoints
│   │   └── usgs/ …
│   ├── domain-guides/       # cross-cutting subject knowledge
│   │   └── hydrology/ …
│   ├── snippets/            # copyable code/config examples
│   └── scripts/             # setup and utility scripts
└── user/                 # Your project-specific work (parent repo)
    ├── analysis/            # codebase analysis & investigation (940-949)
    ├── architecture/        # high-level designs & system architecture (050-089)
    ├── project-guides/      # project-specific guide customizations (001-009)
    │   ├── 000-concept.{project}.md # project concept documents
    │   ├── 002-spec.{project}.md    # project specifications
    │   └── 003-slices.{project}.md  # slice planning
    ├── reviews/             # code review docs & follow-up actions (900-939)
    ├── slices/              # slice design documents (100-749)
    └── tasks/               # task breakdowns & all work items
        └── 950-tasks.maintenance.md # maintenance & tech debt tracking

Directory Structure:

  • Your project work goes in project-documents/user/
  • Framework guides are in project-documents/ai-project-guide/ (git submodule)
  • This is the standard structure shown above

Zero-ambiguity decision matrix

Ask in orderFolder
Process / methodology?project-guides/
Owns whole app lifecycle?framework-guides/
External network API?api-guides/
Importable library?tool-guides/
Broad subject knowledge?domain-guides/

One-path rule: a doc lives in exactly one folder.
Metadata override: if a file has YAML front-matter key layer, that wins if it contradicts the path.

Attachment policy

Images will be moved to the z-attachments folder in Obsidian. Obsidian will rewrite links automatically when you move files.

Snippets

  • Process-wide prompts: project-guides/prompt.ai-project.system.md
  • Ad-hoc code snippets and examples: snippets/

Naming reminder

Follow the pattern [doc-type].[subject].[info].md. See file-naming-conventions.md for full details.