Loading...
Loading...
Generate AGENTS.md and CLAUDE.md files for a repository. AGENTS.md provides cross-tool agent instructions (supported by Claude Code, Cursor, Windsurf, Zed, Codex, and others). CLAUDE.md adds Claude-specific configuration and references AGENTS.md via @import. Use when a repo needs agent onboarding or when starting a new project.
npx skill4agent add mounirdhahri/skills agentsmd-claudemd-generatorAGENTS.mdCLAUDE.md@importAGENTS.mdCLAUDE.mdCLAUDE.local.md.claude/CLAUDE.md.claude/rules/README.mdCONTRIBUTING.mddocs/tree --gitignore -a -L 3.env.exampledocs/best_practices.mdCONTRIBUTING.md@import@import@import@importOutcome: Structured notes covering layout, tooling, commands, testing, conventions, and open questions.
# Agent Guidelines
Brief one-line project description.
Detailed docs live in @docs/... — reference them with @imports rather than duplicating here.
## Tech Stack
- **React** - Component framework
- **TypeScript** - Language (strict mode)
- **Relay** - GraphQL data fetching
<!-- List each technology with its role in the project -->
## Common Commands
- `<lint command>` — run on changed files
- `<test command>` — run on changed files
- `<type-check command>` — verify types
- `<build command>` — production build
## Pre-Commit Verification
Before every commit, verify code quality on pending files:
\`\`\`sh
<type-check command>
<test command on changed files>
<lint command on changed files>
\`\`\`
Never commit code that fails these checks.
## Code Style & Common Patterns
<!-- If the project already has docs covering style/conventions/patterns (e.g., best_practices.md, CONTRIBUTING.md),
use @import so they're always in context. Only inline rules that have NO existing doc. -->
@docs/best_practices.md
<!-- Use @import for docs that agents should ALWAYS have in context (conventions, patterns, style rules).
Use a plain markdown link [Topic](path) for docs that are only needed occasionally.
Example of inlining ONLY when no existing doc covers it:
- Specific, actionable rules (not vague "follow best practices")
- **UI**: Use <design system> for UI components
- **Data**: Use <data layer> for data fetching
-->
## File Organization
<!-- Annotated structure showing what goes where -->
\`\`\`
src/
├── Apps/ # Sub-applications
├── Components/ # Shared across apps
└── System/ # Framework code
\`\`\`
## Workflow
- Branching model
- PR / review expectations
- Commit message format
## Gotchas
- Non-obvious project quirks
- Common pitfalls
## Further Documentation
- [Topic](docs/topic.md)
- And more in @docsbest_practices.mdCONTRIBUTING.md@import@import@import@importstree# CLAUDE.md
See @AGENTS.md.claude/rules/.claude/commands/.claude/agents/npm testCLAUDE.local.md.claude/rules/@imports/initSee @AGENTS.md