create-domain
Skill14 starsChanged 7 months agoMITView on GitHub
Create and manage vault domains (organized knowledge areas). USE WHEN create domain, new domain, domain structure, validate domain, check domain, map domain, sync domain, archive domain, housekeeping.
In this repository13 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- create-agentSkill
- create-skillSkill
- daily-ritualsSkill
- defuddleSkill
- json-canvasSkill
- obsidian-basesSkill
- obsidian-cliSkill
- obsidian-markdownSkill
- project-managementSkill
- promptsSkill
- qmdSkill
- strategySkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Every domain follows this structure:
≈ “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
create-domain
Domain lifecycle management for the PAL Second Brain vault. Domains live under domains/ and provide structured, isolated workspaces for distinct areas of life and work.
Domain Structure
Every domain follows this structure:
domains/[DomainName]/
├── INDEX.md # Domain entry point (MOC with wikilinks)
├── CONNECTIONS.yaml # External integrations config (APIs, docs, data sources)
├── 01_PROJECTS/ # Active project files (PROJECT_*.md)
├── 02_PAGES/ # Knowledge processed and archived within the domain, routed from the inbox
└── 03_ARCHIVE/ # Completed/deprecated contentNaming Conventions
| Item | Convention | Example |
| Domain directory | PascalCase | LaraLou/, PalFramework/ |
| Domain subfolders | NN_ALLCAPS | 01_PROJECTS/, 02_PAGES/ |
| INDEX.md | UPPERCASE.md | INDEX.md |
| CONNECTIONS.yaml | UPPERCASE.yaml | CONNECTIONS.yaml |
| Project files | PROJECT_UPPER_SNAKE.md | PROJECT_Q2_LAUNCH.md |
| Page files | kebab-case.md | meeting-notes-april.md |
| Archive files | Preserve original name | No renaming |
Workflow Routing
| Workflow | Trigger | File |
| create-domain | "create domain", "new domain" | workflows/create-domain.md |
| validate-domain | "validate domain", "check domain" | workflows/validate-domain.md |
| map-domain | "map domain", "sync domain", "housekeeping" | workflows/map-domain.md |
| archive-domain | "archive domain", "deprecate domain" | workflows/archive-domain.md |
Examples
Example 1: Create a new domain
User: "Create a domain for my Substack project"
-> Invokes create-domain workflow
-> Asks for name + description
-> Creates domains/Substack/ with 01_PROJECTS/, 02_PAGES/, 03_ARCHIVE/ and CONNECTIONS.yaml
-> Generates INDEX.md with frontmatter + MOC structure + wikilinks
-> Updates CLAUDE.md domain registryExample 2: Validate domain structure
User: "Check my LaraLou domain"
-> Invokes validate-domain workflow
-> Verifies folder structure, naming conventions, frontmatter
-> Reports issues with suggested fixesExample 3: Sync domain after session
User: "Map the Pal domain"
-> Invokes map-domain workflow
-> Scans all folders, enforces naming
-> Refreshes INDEX.md Active Work table from 01_PROJECTS/
-> Reports summaryDoes 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.

