@@ -11,11 +11,6 @@ Directory structure and layout best practices for Claude Code customizations.
1111├── agents/ # Specialized AI agents
1212│ ├── agent-name.md # Agent definition
1313│ └── another-agent.md
14- ├── commands/ # Slash commands
15- │ ├── command-name.md # Command definition
16- │ ├── subdirectory/ # Optional grouping
17- │ │ └── grouped-cmd.md # Shows as "project:subdirectory" in /help
18- │ └── another-command.md
1914├── skills/ # Model-invoked capabilities
2015│ ├── skill-name/ # Skill directory
2116│ │ ├── SKILL.md # Primary skill definition (required)
@@ -61,22 +56,6 @@ skill-name/
61564 . ** No Orphans** : All reference files should be discoverable
62575 . ** Logical Grouping** : Group non-markdown resources by purpose (scripts/, templates/, config/)
6358
64- ## Command Subdirectory Organization
65-
66- Commands can be organized in subdirectories for grouping:
67-
68- ``` text
69- .claude/commands/
70- ├── frontend/
71- │ ├── component.md # Creates /component (shows "project:frontend")
72- │ └── styling.md # Creates /styling (shows "project:frontend")
73- └── backend/
74- ├── api.md # Creates /api (shows "project:backend")
75- └── migration.md # Creates /migration (shows "project:backend")
76- ```
77-
78- ** Note** : Subdirectories provide organizational namespacing in ` /help ` output but do not prefix the command name itself.
79-
8059## Agent Organization
8160
8261Agents with reference materials can optionally use a directory:
@@ -145,7 +124,6 @@ These directories are created automatically and should not be tracked:
145124** Always track** :
146125
147126- ` agents/ ` - Custom agents
148- - ` commands/ ` - Slash commands
149127- ` skills/ ` - Agent skills
150128- ` hooks/ ` - Hook scripts
151129- ` settings.json ` - Configuration (if no secrets)
@@ -171,6 +149,6 @@ These directories are created automatically and should not be tracked:
1711495 . ** Consistent Naming** : Follow kebab-case for all directories and files
1721506 . ** Logical Grouping** : Group related files by purpose (references/, scripts/, etc.)
1731517 . ** No Orphans** : All files should be discoverable and have a clear purpose
174- 8 . ** Track Customizations** : Commit agents, commands, skills, and hooks
152+ 8 . ** Track Customizations** : Commit agents, skills, and hooks
1751539 . ** Ignore Session Data** : Don't commit todos, plans, logs, or history
17615410 . ** Document Structure** : Add README.md files for complex directory structures
0 commit comments