/marcoax-skills:agent-md-creatorfrom marcoax-skills
Generate standardized CLAUDE.md or AGENT.md files for projects. Use when users want to document a project for AI agents, set up project instructions, create AI instructions files, initialize agent docs, or say things like "Crea un CLAUDE.md", "Generate AGENT.md", "Setup project documentation", "document this project for agents", "create AI instructions file", "initialize agent docs", "set up project instructions".
Ships in marcoax-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generate a single self-contained CLAUDE.md / AGENT.md file: auto-detected stack, Karpathy guidelines, nothing more.
All interactive prompts (Steps 1, 2, 4, 5) MUST use the
AskUserQuestiontool.
Ask: "CLAUDE.md or AGENT.md?"
Ask: "Are there existing technical documents or guidelines to extract info from? (e.g. README.md, TECHNICAL_REFERENCE.md, docs/architecture.md — relative paths separated by comma, or skip)"
Behavior:
Read each file in full; extract stack, exact versions, conventions, and project description to use in the following steps.Search the CWD for these files to detect the tech stack:
| File | Stack |
|---|---|
package.json | Node.js / JS |
composer.json | PHP |
requirements.txt / pyproject.toml / setup.py | Python |
pom.xml / build.gradle | Java |
Gemfile | Ruby |
*.csproj / *.sln | .NET |
go.mod | Go |
Cargo.toml | Rust |
Dockerfile / docker-compose.yml | Docker |
.github/workflows/*.yml | CI/CD |
⚠️ Exact versions are mandatory. Version precedence: config files win over Step 2 docs (config files are always current; docs may lag).
If no stack is detected (no config files, no Step 2 docs): try reading README.md automatically. If README yields no stack info → ask the user to describe it.
Mixed-stack projects (e.g. Python backend + Node.js frontend): always use the category structure (Frontend / Backend / Database / Other tools). Always one file — no splitting. If the project is complex, add a ## References section (see Step 6).
Ask in a single message:
Would you like to add project details? Fill in what you need, skip the rest:
1. Short description (1–3 lines)
2. Key artifacts / main folders
3. Primary languages (if not auto-detected)
Reply with numbers and content, or "skip".
If skip → the ## Project section is generated from the folder name + auto-detected stack only.
Ask: "Provide test, build, and dev server commands (or skip):"
Expected format:
Test: npm test
Build: npm run build
Dev: npm run dev
If provided → included as a ## Commands section inside the main file.
If skip → section omitted.
Before writing: check if the file already exists in the CWD.
Create the file chosen in Step 1 in the CWD, using this structure:
# {{CLAUDE|AGENT}}.md — {{project_folder_name}}
## Project
{{description from Step 4, or: "{{folder_name}}: {{main stack}} project."}}
Key artifacts: {{...}}.
Languages: {{...}}.
## Technology Stack
- **Frontend**: {{framework, UI libs, state mgmt — omit if not present}}
- **Backend**: {{language, framework, API}}
- **Database**: {{db, ORM — omit if not present}}
- **Other tools**: {{deploy, test, pkg manager}}
## Commands ← include only if Step 5 was filled in
- Test: `...`
- Build: `...`
- Dev: `...`
---
## Development Guidelines (Karpathy)
### 1. Think Before Coding
- Declare assumptions explicitly before writing code.
- If multiple interpretations exist, present them all — do not silently pick one.
- If something is unclear, stop and ask. Do not guess.
### 2. Simplicity First
- Minimum code that solves the problem, nothing more.
- Zero unrequested features, zero abstractions for one-time-use code.
- No speculative configurability, no error handling for impossible scenarios.
- Self-check: "would a senior say this is over-engineered?" — if yes, simplify.
### 3. Surgical Changes
- Modify only what is needed for the current request.
- Do not improve adjacent code, unrelated comments, or formatting.
- Preserve the existing file style, even if you would do it differently.
- Unrelated dead code: flag it, do not delete it.
- Remove orphan imports/variables **only** if made orphan by the current changes.
### 4. Goal-Driven Execution
Turn every task into a verifiable criterion **before** starting:
| Request | Success criterion |
|---------|-------------------|
| "Add validation" | Write tests for invalid inputs, then make them pass |
| "Fix the bug" | Write a test that reproduces the bug, then make it pass |
| "Refactor X" | Tests pass both before and after |
For multi-step tasks, declare a short plan (steps + verification) before coding.
---
> These rules take precedence over implicit conventions inferred from the code.
> In case of conflict with other preferences, ask the user explicitly.
Formatting rules:
## Commands section only if provided in Step 5.## References section only if Step 2 docs were provided — list them as links.COMMANDS.md, STACK.md, guidelines/).Final message: "File created: {{name}} in {{CWD}}"
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (marcoax/skills) — no native marketplace selected
npx claudepluginhub p/marcoax-marcoax-skills18 skills in this plugin
/add-lessonTurn a lesson's .docx/.md notes into a quiz file, or add words to an existing lesson./add-recapAdd a recap lesson: a fixed random sample plus a dedicated section for words and expressions to distinguish, copied from existing lessons. Argument: the title, e.g. "Ripasso di Natale"./advanced-code-reviewReview code changes against the requested behavior and repository standards, with evidence-backed findings and a PASS/PARTIAL/FAIL verdict./autoresearchAutonomously optimize an existing skill by running repeated evals, scoring outputs against binary checks, mutating the prompt, and keeping winning variants. Based on Karpathy's autoresearch methodology. Use only when the user explicitly wants autoresearch, repeated benchmarking, run-evals loops, mutation experiments, pass-fail scoring, or autonomous optimization with tracked results. Do not use for simple manual refinement of a skill; use skill-optimizer for guided interactive improvement. Outputs: an improved SKILL.md, a results log, and a changelog of every mutation tried.