smithery.ai

project-init

Initialize Claude Code project settings with standard language-specific permissions. Use when setting up a new project for Claude Code or adding standard configuration to an existing project.

First seen Mar 25, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,873 B
  • docs SUMMARY.md 221 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 6 installs

SKILL.md

Project Init

Initialize a project with standard Claude Code configuration.

What It Does

  1. Detects project languages and adds appropriate tool permissions to .claude/settings.json

Language Detection

The script detects languages based on project files and adds permissions:

Detection File Language Permissions Added
go.mod Go go, golangci-lint, staticcheck, govulncheck
Package.swift, *.xcodeproj Swift swift, xcodebuild, swiftlint, xcrun
package.json Node.js npm, npx, node, plus yarn/pnpm/bun if lockfiles present
pyproject.toml, requirements.txt Python python, pip, uv, pytest, ruff, mypy
Cargo.toml Rust cargo, rustc
Gemfile Ruby ruby, bundle, rake, rspec
pom.xml Java (Maven) mvn, java
build.gradle Java (Gradle) gradle, ./gradlew, java
Dockerfile Docker docker, docker-compose
*.tf Terraform terraform, tofu
Makefile Make make

git is always included.

Usage

Run the setup script from your project directory:

~/.claude/skills/project-init/scripts/setup-project.sh

The script:

  • Creates .claude/settings.json if it doesn't exist
  • Merges hooks and permissions into existing settings without overwriting
  • Is idempotent (safe to run multiple times)
  • Requires jq for JSON manipulation

Batch Setup

To initialize multiple projects:

for dir in ~/projects/*; do
  (cd "$dir" && ~/.claude/skills/project-init/scripts/setup-project.sh)
done