New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

create-claude-config

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-claude-config

CLI tool to setup Claude Code configurations for different programming languages

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Create Claude Config

A CLI tool to quickly setup Claude Code configurations for different programming languages and frameworks.

Installation

# Install globally
npm install -g create-claude-config

# Or use with npx (recommended)
npx create-claude-config

Usage

Interactive Setup

# Run in your project directory
npx create-claude-config

# Or specify a target directory
npx create-claude-config --directory /path/to/your/project

Command Line Options

# Quick setup with specific language
npx create-claude-config --language javascript-typescript --framework react

# Skip prompts and use defaults
npx create-claude-config --yes

# See what would be copied without actually copying
npx create-claude-config --dry-run

# Show help
npx create-claude-config --help

Supported Languages

  • Common - Universal configuration for any project
  • JavaScript/TypeScript - Modern JS/TS development with frameworks
  • Python - Python development with popular frameworks
  • Rust - Coming soon
  • Go - Coming soon

Supported Frameworks

JavaScript/TypeScript

  • React
  • Vue.js
  • Angular
  • Node.js

Python

  • Django
  • Flask
  • FastAPI

Features

  • 🔍 Auto-detection - Automatically detects your project type
  • 🎯 Framework-specific - Includes framework-specific commands and configurations
  • 💾 Backup existing files - Safely backs up existing CLAUDE.md and .claude directories
  • ⚙️ Customizable - Interactive prompts for feature selection
  • 🚀 Quick setup - Get started with Claude Code in seconds

What Gets Installed

Core Files

  • CLAUDE.md - Main configuration file for Claude Code
  • .claude/settings.json - Language-specific settings
  • .claude/commands/ - Custom commands for common tasks
  • .claude/hooks/ - Automated hooks for development workflow

Language-Specific Commands

Each language template includes optimized commands for:

  • Testing
  • Linting and formatting
  • Building and deployment
  • Debugging
  • Framework-specific operations

Example Usage

# Setup for a React project
cd my-react-app
npx create-claude-config --language javascript-typescript --framework react

# Setup for a Python Django project
cd my-django-app
npx create-claude-config --language python --framework django

# Interactive setup (recommended)
cd my-project
npx create-claude-config

CLI Options

OptionDescriptionExample
-l, --languageSpecify programming language--language python
-f, --frameworkSpecify framework--framework react
-d, --directoryTarget directory--directory /path/to/project
-y, --yesSkip prompts and use defaults--yes
--dry-runShow what would be copied--dry-run
--helpShow help information--help

Development

Setup

git clone https://github.com/your-username/claude-code-templates.git
cd claude-code-templates/cli-tool
npm install

Testing

# Test locally
npm start

# Test with specific options
npm start -- --language python --framework django

Publishing

npm publish

Contributing

  • Fork the repository
  • Create a feature branch
  • Make your changes
  • Test thoroughly
  • Submit a pull request

License

MIT License

Keywords

claude

FAQs

Package last updated on 04 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts