Folder specific claude and agents md

From Matymatyk-business/david-skills · View interactive version

Folder specific claude and agents md is an AI agent skill from the GitHub repository Matymatyk-business/david-skills. Create a specialized CLAUDE.md (+ AGENTS.md symlink) inside a specific folder to give future agents folder-scoped context. Use when David asks to create a CLAUDE.md for a folder, write folder instructions, or add agent context to a directory.

How to use this skill

Skill file

Folder CLAUDE.md Creation

Generate a focused CLAUDE.md inside a target folder, plus an AGENTS.md symlink pointing at it. The file gives any future agent (Claude Code, Codex, etc.) the folder-specific context the global CLAUDE.md doesn't cover.

Background reference: library/claude-code/claude-and-agents-md.md.

Process

Step 1: Confirm the target folder + sanity-check it deserves a file

Ask David which folder. Use an absolute path under the user's workspace, e.g. /Users/you/Documents/code/personal-workspace/.

Only create a file if the folder has context needed across multiple sessions — active evolving work, specific conventions, ongoing decisions. A folder of static reference files does NOT need one (agents can read on demand). If unsure, ask David.

Step 2: Read every file in the folder IN FULL

Step 3: Draft a bullet list of candidate content

Before writing the file, give David a bullet list grouped by section — let him react first. Candidate sections (skip any that don't apply):

Step 4: Iterate with David

Step 5: Write the file

Step 6: Create the AGENTS.md symlink

cd <folder> && ln -s CLAUDE.md AGENTS.md

Verify with ls -la CLAUDE.md AGENTS.md.

Step 7: Commit only when asked

Do NOT stage or push unless David says to. When he does: git add -A, commit with a Day N: style message, push.

Rules

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.