skills/project-claude-init/SKILL.md
Bootstrap a project CLAUDE.md from the template in docs/templates/. Detects stack signals, asks 5 focused questions, writes a compliant file under the project root.
npx skillsauth add fearovex/claude-config project-claude-initInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Bootstrap a project
CLAUDE.mdfrom the template indocs/templates/. Detects stack signals, asks 5 focused questions, writes a compliant file under the project root.
Triggers: /project-claude-init, init project claude, bootstrap claude, create project CLAUDE.md, set up claude in this project
This skill is for projects OTHER than the claude-config repo. Refuse and stop
if any of these is true:
claude-config or agent-config.install.sh and skills/_shared/.Print: This skill is for external projects. The claude-config repo edits its own CLAUDE.md directly. and stop.
CLAUDE.mdIf CLAUDE.md already exists at CWD root, STOP and ask:
A
CLAUDE.mdalready exists. Choose one:
- Audit the existing file with
/config-audit(recommended).- Overwrite with a fresh template (destructive).
- Cancel.
Wait for the answer. Only proceed to Step 2 if the user explicitly picks overwrite.
Read ~/.claude/docs/templates/project-claude-template.md. If missing, fall
back to the repo path if the user has the claude-config repo cloned
locally (~/agent-config/docs/templates/... or ~/claude-config/docs/...).
If neither path resolves, STOP and tell the user to run install.sh from
claude-config on this machine first.
Scan the project root (one level deep) for stack indicators:
| File present | Stack hint |
|--------------|-----------|
| package.json | Node.js. Read dependencies to refine: next, react, vue, svelte, express, fastify, nest. |
| pyproject.toml / requirements.txt | Python. |
| go.mod | Go. |
| Cargo.toml | Rust. |
| pom.xml / build.gradle | Java/Kotlin. |
| Gemfile | Ruby. |
| composer.json | PHP. |
| mix.exs | Elixir. |
Also detect test/lint/build commands from package.json scripts or
equivalents.
Cache the detected stack signals — they prefill answers in Step 4 but do NOT bypass user confirmation.
Ask one at a time. STOP after each.
Q1 — Stack description
One-line stack description (prefilled from detection — confirm or edit):
Detected: <stack signals from Step 3>
Q2 — Conventions
What conventions does this project enforce that the global layer does not
cover? List 1-5 bullets, or "none" if the project uses standard conventions.
Q3 — Commands
Commands (one per line, leave blank to skip):
Install: <prefilled from package.json scripts if available>
Dev: <prefilled>
Test: <prefilled>
Lint: <prefilled>
Type check: <prefilled>
Build: <prefilled>
Q4 — Domain glossary
Does this project have non-obvious domain terms that affect code reading
(e.g. "Wallet", "Reconciliation", "Tenant")? List 0-10 terms with one-line
definitions, or "none".
Q5 — Overrides global
Do you need to override any global rule for this project? If yes, name the
rule and the reason. If unsure, answer "none" — overrides should be rare and
deliberate.
Use the template skeleton. Fill placeholders with the answers. Drop any section the user answered with "none" or blank. Show the rendered file inside a fenced code block. Ask:
Confirm to write
CLAUDE.mdat the project root? (y / edit / n)
y → write. edit → ask which section, loop back. n → abort.
Write CLAUDE.md at CWD root. Do NOT touch any other file.
Print to the user:
Created: CLAUDE.md (<N> lines).
Recommended next steps:
1. Review the file.
2. Run /config-audit from this directory to check cross-layer duplication.
3. Commit the file.
Reminders:
- This file is the project layer. The global layer (from claude-config)
still applies in every session.
- Do not restate global rules here. If you need to deviate, use the
"Overrides global" section.
Call mem_save:
Initialized CLAUDE.md for <project name>configproject-init/<project-name>claude-config / agent-config repo. That repo edits its
own CLAUDE.md directly.CLAUDE.md without explicit user confirmation.<cwd>/CLAUDE.md.development
Governs AI-assisted generation of images, video, and audio (Gemini Nano Banana Pro, FLUX, etc.) from any project, with a focus on key security and cost control. Trigger: generate an image/illustration/asset with AI, "generate an image", nano banana, gemini image, generate video, configure an image API.
business
Turns an already-investigated customer issue into a short, non-technical engineering-to-CS brief: one natural message that leads with the finding (root cause, real scope, open question), ready to paste into Slack for the support team. Trigger: /support-brief, support brief, brief for support, resumen soporte.
development
Parks the current Claude Code session before going to sleep. Analyzes the conversation, writes a handoff document to docs/handoffs/ in the current project, mirrors the same summary to engram tagged with the session ID, and prints the exact `claude --resume <id>` command for tomorrow. Zero interaction — runs end-to-end on a single invocation. Trigger: /night-park, night park, park session, me voy a dormir, guardar sesion.
testing
Interactive creator for a project feature: scaffolds the domain knowledge markdown at ai-context/features/<slug>.md AND the antenna skill at .claude/skills/<slug>/SKILL.md, both from the canonical templates. Also registers the antenna in the project's CLAUDE.md. Trigger: /feature-define <name>, define feature, documentar funcionalidad, nueva feature.