Create directory list

From devclarityai/environment-setup · View interactive version

Create directory list is an AI agent skill from the GitHub repository devclarityai/environment-setup. Interactively discover monorepo directories and create a JSON list for AGENTS.md generation

How to use this skill

Skill file

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:

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:

Continue iterating until the user confirms the list is complete.

4. Generate JSON File

Once confirmed, create directory-instructions.json with this structure:

{
  "items": [
    {
      "id": "1",
      "directory": "packages/api",
      "output_file": "AGENTS.md",
      "status": "pending",
      "analyzed_at": null
    },
    {
      "id": "2",
      "directory": "packages/ui",
      "output_file": "AGENTS.md",
      "status": "pending",
      "analyzed_at": null
    }
  ]
}

Guidelines

location

Questions to Ask

  1. "I found X directories. Should I include all of them or would you like to

review the list first?"

  1. "Are there any directories you'd like to exclude?"
  2. "Are there any directories I missed that you'd like to add?"
  3. "The output file names will be: [list]. Do these look correct?"
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.