| name | create-directory-list |
| description | Interactively discover monorepo directories and create a JSON list for AGENTS.md generation |
Create Directory List for AGENTS.md Files
Interactively discover directories in the monorepo that should have
AGENTS.md files generated.
Steps
1. Scan the Monorepo Structure
Examine the codebase to identify directories that would benefit from
AGENTS.md files. Look for:
packages/* - Shared packages/libraries
apps/* - Application directories
services/* - Microservices
libs/* - Shared libraries
modules/* - Feature modules
- Any other top-level directories containing significant code
2. Propose Directories
Present a list of discovered directories with brief descriptions:
Proposed directories for AGENTS.md files:
1. packages/api - REST API client library
2. packages/ui - Shared UI components
3. apps/web - Main web application
4. apps/mobile - React Native mobile app
5. services/auth - Authentication service
...
3. Iterate with User
Ask the user:
- Are there directories to add that I missed?
- Are there directories to remove from the list?
- Should any directories be renamed in the output?
Continue iterating until the user confirms the list is complete.
4. Generate JSON File
Once confirmed, create directory-instructions.json with this structure:
{
"items"