useforgekit

Generate optimal Claude Code configuration for any project. Creates CLAUDE.md, settings.json, skills, hooks, agents, and commands tailored to your stack. Run /forge to start.

useForgeKit

When to Use

Run /forge when starting a new project or improving an existing Claude Code setup. This skill generates the complete configuration: CLAUDE.md, settings.json, skills structure, hooks, agents, and commands — all tailored to your specific stack and workflow.

Also use when:

  • Setting up Claude Code for the first time on a project
  • Onboarding a team to Claude Code
  • Auditing an existing setup for gaps
  • Migrating from another AI coding tool

Quick Start

/forge

Claude will:

  1. Detect your project type (or ask)
  2. Generate CLAUDE.md tailored to your stack
  3. Generate settings.json with appropriate permissions and hooks
  4. Create skill stubs for your domain
  5. Set up hooks for quality enforcement
  6. Configure agents if your project needs them
  7. Run a health check on the complete setup

The Setup Process

Step 1: Project Detection

Read the project root. Look for:

FileIndicates
package.jsonNode.js / JavaScript / TypeScript
tsconfig.jsonTypeScript specifically
next.config.*Next.js
vite.config.*Vite
requirements.txt / pyproject.tomlPython
Cargo.tomlRust
go.modGo
GemfileRuby
pom.xml / build.gradleJava / Kotlin
.swift filesSwift / iOS
docker-compose.ymlContainerized
supabase/Supabase backend
.github/workflows/GitHub Actions CI/CD

If none found, ask: "What are you building?"

Step 2: Generate Configuration

Load the appropriate reference module based on detection:

ReferenceWhen to Load
references/CLAUDE-MD.mdAlways — CLAUDE.md structure and content
references/SETTINGS.mdAlways — settings.json configuration
references/SKILLS-ARCHITECTURE.mdWhen creating skills
references/HOOKS.mdAlways — hook setup
references/AGENTS.mdWhen project needs subagents
references/COMMANDS.mdAlways — slash command setup
references/PERMISSIONS.mdAlways — permission strategy
references/CONTEXT-WINDOW.mdAlways — token budget management
references/PROJECT-TEMPLATES.mdBased on detected stack
references/ANTI-PATTERNS.mdAlways — what to avoid
references/DECISION-TREE.mdAlways — what goes where
references/WORKFLOWS.mdBased on project complexity
references/GIT-STRATEGY.mdAlways — what to commit
references/TEAM-SETUP.mdWhen team size > 1
references/PERFORMANCE.mdAlways — speed optimization
references/MCP-GUIDE.mdWhen external tools needed
references/TROUBLESHOOTING.mdWhen auditing existing setup
references/HEALTH-CHECK.mdAlways — final validation
references/PROMPTING.mdPrompt patterns, challenge prompts, voice triggers, anti-patterns
references/SUBAGENT-PATTERNS.mdCommand→Agent→Skill, parallel agents, teams, worktrees, memory
references/DEBUGGING-WITH-CLAUDE.mdIron law, 3-strike rule, systematic methodology, scope freezing
references/TESTING-STRATEGY.mdTest priority, AAA pattern, edge cases, coverage targets, TDD
references/SECURITY.mdSecret management, code security checklist, supply chain, git security
references/RULES-GUIDE.md.claude/rules/ files, when rules vs skills vs CLAUDE.md
references/MEMORY.mdAuto-memory, managing memories, memory vs CLAUDE.md
references/PLUGINS.mdInstalling, creating, recommending plugins
references/ENVIRONMENT.md.env hierarchy, env var strategy, secrets
references/ADVANCED-HOOKS.mdChained hooks, conditional hooks, Stop/SessionStart/PreCompact hooks
references/MONOREPO.mdCLAUDE.md hierarchy, workspace commands, package-level skills
references/CI-CD.mdNon-interactive mode, CI workflows, cost control
references/COST-OPTIMIZATION.mdToken costs, model routing, budget estimation
references/ERROR-RECOVERY.mdRecovery playbook, safety stack, post-incident checklist
references/MIGRATION.mdFrom Cursor, Copilot, Windsurf to Claude Code

Step 3: Health Check

After generating, run the health check (references/HEALTH-CHECK.md) to verify everything is correctly configured.

Output Structure

your-project/
├── CLAUDE.md                         # Project config for Claude Code
├── .claude/
│   ├── settings.json                 # Hooks, permissions, env
│   ├── settings.local.json           # Personal overrides (gitignored)
│   ├── skills/
│   │   └── [project-specific]/
│   │       └── SKILL.md
│   ├── agents/
│   │   └── [role-specific].md
│   └── commands/
│       └── [workflow].md
└── .gitignore                        # Updated with Claude-specific entries

useForgeKit by Dragoon0x. Educational and experimental. DYOR.