Complete AI TrainingYourJobSkills for your job

Skills / development

folder-specific-claude-and-agents-md

Create folder-scoped CLAUDE.md and AGENTS.md guidance for future agents working in that area.

IT & Software DevelopmentAI & Automationagents-mdclaude-mddocumentation

Folder CLAUDE.md Creation

When to Use

  • Use when the user asks for folder-specific agent instructions or local context files.
  • Use when a subdirectory needs a CLAUDE.md and AGENTS.md handoff for future agents.

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 the user which folder. Use absolute path under ~/Documents/code/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 the user.

Step 2: Read every file in the folder IN FULL

  • Use ls -la first to enumerate files and subfolders.
  • Read every markdown, config, and key source file.
  • For large tldraw/Vite subprojects: read package.json, src/App.tsx, one representative module file, and the folder's own module-details.md-style files.
  • Do NOT skim. Do NOT skip. The user's later edits depend on you having full context.

Step 3: Draft a bullet list of candidate content

Before

Subscribers only

The full skill, its 1 bundled files and every download is included with every paid Complete AI plan.

Details

Sourcedavidondrej/skills
LicenseMIT
Risk labelcritical ("critical" means the skill may run commands or touch files — read before use)
FilesSKILL.md
Added2026-07-07

Related skills

agent-harness-fault-injection

Use when an agent workflow needs deterministic recovery evidence for sandbox, MCP/tool, worker, checkpoint, memory, or orchestration failures.

agents-md

Create, revise, or audit AGENTS.md files from repository evidence, verified commands, and correctly scoped instructions without overwriting maintainer intent.

agenttrace-session-audit

Audit local AI coding-agent sessions with agenttrace for cost, tool failures, latency, anomalies, health, diffs, and CI gates.

api-endpoint-builder

Builds production-ready REST API endpoints with validation, error handling, authentication, and documentation. Follows best practices for security and scalability.

api-rate-limit-handler

Implement bounded, idempotency-aware API throttling, backoff, and retry handling for 429 and transient 5xx responses.

arm-cortex-expert

Senior embedded software engineer specializing in firmware and driver development for ARM Cortex-M microcontrollers (Teensy, STM32, nRF52, SAMD).