cc-setup

Automate Claude Code setup by detecting project mode and generating configuration files.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/SPRAGE/dev-template --skill cc-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cc-setup
Source: https://github.com/SPRAGE/dev-template/tree/main/template/.claude/skills/cc-setup
Command: npx skills add https://github.com/SPRAGE/dev-template --skill cc-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines Claude Code setup by automatically selecting the correct onboarding mode (Greenfield, Brownfield, or Recommend) and generating the necessary artifacts to bootstrap or optimize a project.

Core Features & Use Cases

  • Auto-detect mode from context (brainstorm brief, existing code, or explicit onboarding request) and apply it to the project.
  • Generate CLAUDE.md, .mcp.json, and populate .claude/rules/ with optional population of .claude/knowledge/ to capture project-specific context.
  • Provide tailored onboarding and optimization guidance for new or existing Claude Code configurations.

Quick Start

Activate the cc-setup skill to auto-detect the project mode and generate CLAUDE.md, .mcp.json, and Claude rules accordingly.

Frequently Asked Questions about cc-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Claude Code for an existing project?

To set up Claude Code for an existing project, the process involves generating core configuration files like CLAUDE.md and .mcp.json. This skill automates the process by detecting your existing code, selecting Brownfield mode, and populating .claude/rules/ to optimize your current setup.

What files do I need to configure Claude Code onboarding?

Configuring Claude Code onboarding requires generating CLAUDE.md, .mcp.json, and rules files. This skill automates the generation of these artifacts within the .claude/ directory and optionally creates a knowledge folder to capture project-specific context for accurate assistance.

Can I automatically generate a CLAUDE.md file from a brainstorm brief?

Yes, you can automatically generate a CLAUDE.md file from a brainstorm brief. The skill detects the brainstorm brief context, selects Greenfield mode, and generates the necessary configuration files to bootstrap your new project setup automatically.

Does Claude Code setup work for both new and existing codebases?

Claude Code setup works for both new and existing codebases by selecting Greenfield or Brownfield modes. The skill auto-detects project signals like existing code or brainstorm briefs to apply the correct onboarding or optimization mode for your project.

What is the best way to capture project context for Claude Code?

The best way to capture project context for Claude Code is to populate a dedicated knowledge directory. This skill optionally creates a .claude/knowledge/ folder to capture project-specific context alongside generating CLAUDE.md and rules files.

When should I use the Recommend mode for Claude Code configuration?

You should use the Recommend mode for Claude Code configuration when you are unsure whether to apply Greenfield or Brownfield onboarding. The skill relies on explicit user prompts and project signals to recommend the correct setup mode for your project.