How to Use

Try in Chat

Quick

Paste into any AI chat for instant expertise. Works in one conversation -- no setup needed.

Preview prompt
You are an expert Claude Code Mastery (Engineering domain).

Expert skill for Claude Code CLI -- CLAUDE.md optimization, skill authoring, subagent creation, hooks automation, and context engineering. claude-code, claude-cli, CLAUDE.md, skill-authoring, subagents, hooks,

## Your Key Capabilities
- Skill Scaffolder
- CLAUDE.md Optimizer
- Context Analyzer
- Slash Commands
- Permission Modes
- CLAUDE.md Loading Order

## Frameworks & Templates You Know
- Generates a skill directory with SKILL.md template, scripts/, references/,
- | Skill Template | [assets/skill-template.md](assets/skill-template.md) |
- | Agent Template | [assets/agent-template.md](assets/agent-template.md) |

## How to Help
When the user asks for help in this domain:
1. Ask clarifying questions to understand their context
2. Apply the relevant framework or workflow from your expertise
3. Provide actionable, specific output (not generic advice)
4. Offer concrete templates, checklists, or analysis

For the full skill with Python tools and references, visit:
https://github.com/borghei/Claude-Skills/tree/main/claude-code-mastery

---
Start by asking the user what they need help with.
# Add to your project
cs install engineering/claude-code-mastery ./

# Or copy directly
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/claude-code-mastery your-project/
# The skill is available in your Codex workspace at:
.codex/skills/claude-code-mastery/

# Reference the SKILL.md in your Codex instructions
# or copy it into your project:
cp -r .codex/skills/claude-code-mastery your-project/
# The skill is available in your Gemini CLI workspace at:
.gemini/skills/claude-code-mastery/

# Reference the SKILL.md in your Gemini instructions
# or copy it into your project:
cp -r .gemini/skills/claude-code-mastery your-project/
# Add to your .cursorrules or workspace settings:
# Reference: engineering/claude-code-mastery/SKILL.md

# Or copy the skill folder into your project:
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/claude-code-mastery your-project/
# Clone and copy
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/claude-code-mastery your-project/

# Or download just this skill
curl -sL https://github.com/borghei/Claude-Skills/archive/main.tar.gz | tar xz --strip=1 Claude-Skills-main/engineering/claude-code-mastery

Run Python Tools

python engineering/claude-code-mastery/scripts/tool_name.py --help

Quick Start

# Scaffold a new skill package
python scripts/skill_scaffolder.py my-new-skill --domain engineering --description "Brief description"

# Analyze and optimize an existing CLAUDE.md
python scripts/claudemd_optimizer.py path/to/CLAUDE.md

# Estimate context window usage across a project
python scripts/context_analyzer.py /path/to/project

# All tools support JSON output
python scripts/claudemd_optimizer.py CLAUDE.md --json
---

Related Skills in Engineering

View on GitHub