What problem does it solve?
Creates a minimal, safe Claude Code configuration for a new or unconfigured project so repositories start with a compact CLAUDE.md, hardened permissions, and sensible hooks instead of verbose, token-heavy, and error-prone defaults.
Core Features & Use Cases
- Creates a .claude/settings.json with deny rules and cost-optimization env defaults to protect secrets and reduce token usage.
- Generates a concise, 20–40 line CLAUDE.md tailored to the repo or interactive answers, with placeholders for unknown commands.
- Optionally creates AGENTS.md, updates .gitignore, and wires a sync script plus pre-commit hook to keep a "Key Config Files" table in sync.
- Scans the repo for language/tooling clues (package managers, linters, formatters, CI) and only adds PostToolUse hooks when a formatter is confidently detected.
- Use case: initialize a brand-new project or add a safe baseline to a minimal repo before writing code or setting up CI.
Quick Start
Run the skill by typing /cc-init and supply a brief one-line project description or follow the interactive prompts.