Claude Code
Configure and extend Claude Code with custom skills, MCP server integrations, and workflow automation hooks.
What This Skill Does
The Challenge: Claude Code is powerful out of the box but teams miss the productivity multiplier of custom skills, MCP integrations, and workflow hooks. Setting up the optimal environment requires navigating multiple configuration layers.
The Solution: Claude Code skill provides structured setup guides for installation, skill creation, MCP server configuration, hook automation, and IDE integration. Covers both personal and team-wide configurations for maximum leverage.
Activation
Implicit: Activates when user asks about Claude Code setup, configuration, skills, or MCP servers.
Explicit: Activate via prompt:
Activate claude-code skill to [configure/install/extend] Claude Code
Capabilities
1. Installation and Setup
# Install Claude Code
npm install -g @anthropic-ai/claude-code
# Initialize in project
cd your-project
claude init
# Start interactive session
claude
Global config: ~/.claude/CLAUDE.md — personal instructions for all projects.
Project config: ./CLAUDE.md — project-specific context.
2. Skills System
Custom reusable workflows saved to ~/.claude/skills/.
Skill structure:
~/.claude/skills/
├── my-skill/
│ ├── SKILL.md # Skill definition and activation
│ ├── scripts/ # Python/Bash scripts
│ └── references/ # Reference docs
Activate a skill:
Activate [skill-name] skill to [describe task]
3. MCP Server Configuration
Connect Claude Code to external tools and data sources.
.claude/mcp.json example:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/you/projects"]
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_TOKEN}" }
}
}
}
4. Hooks Automation
Trigger scripts before/after Claude Code operations.
Hook types: PreToolCall, PostToolCall, Stop, SubagentStop
Use cases: Auto-commit on file write, privacy blocking for sensitive paths, notification on task completion.
5. IDE Integration
- VS Code: Install “Claude Code” extension
- Cursor: Built-in support via API key
- JetBrains: Plugin available
Prerequisites
- Node.js 18+
- Anthropic API key (
ANTHROPIC_API_KEYin env) ~/.claude/CLAUDE.mdfor personal configuration
Best Practices
1. Layer configurations
Global ~/.claude/CLAUDE.md for personal preferences. Project ./CLAUDE.md for team-shared context.
2. Use skills for repeated workflows Any task you do more than twice belongs in a skill.
3. Pin MCP server versions
Use exact versions in mcp.json to prevent breaking changes in automated workflows.
Common Use Cases
Use Case 1: Marketing Team Setup
Scenario: Onboard marketing team with ClaudeKit skills and shared config.
Workflow:
- Install Claude Code globally on each machine
- Clone
~/.claude/skills/with team skill library - Share project
CLAUDE.mdwith brand context and workflow rules - Configure MCP servers for shared tools (GA4, CRM, Notion)
Use Case 2: Custom Marketing Automation Skill
Scenario: Build a skill that auto-generates weekly performance reports.
Workflow:
- Create
~/.claude/skills/weekly-report/SKILL.md - Add GA4 query scripts in
scripts/ - Define activation trigger in SKILL.md
- Test with
/weekly-reportcommand
Troubleshooting
Issue: Skill not activating automatically
Solution: Check SKILL.md activation triggers. Ensure phrasing matches patterns in skill definition.
Issue: MCP server fails to connect
Solution: Verify command is in PATH. Check environment variable names match exactly.
Related Skills
- Context Engineering - Token optimization
- Kit Builder - Build ClaudeKit components
- Docs Seeker - Find latest Claude documentation
- Debugging - Debug skill and agent issues
Related Commands
/ckm:brainstorm- Design skill architecture/ckm:plan- Plan automation workflows