Get productive with Claude Code Tresor in 5 minutes
This guide gets you from zero to productive quickly. Choose your path based on what you need most.
# Clone repository
git clone https://github.com/YOUR_USERNAME/claude-code-tresor.git
cd claude-code-tresor
# Install everything (recommended for first time)
./scripts/install.sh
# Or selective installation:
./scripts/install.sh --skills-only # Skills only
./scripts/install.sh --agents-only # Sub-agents only
./scripts/install.sh --commands-only # Commands only# Check installed components
ls ~/.claude/skills/ # 8 skills
ls ~/.claude/agents/ # 8 sub-agents
ls ~/.claude/commands/ # 4 commands
# Test a skill (skills work automatically when coding)
# Test a sub-agent
claude "@code-reviewer Analyze this file"
# Test a command
claude "/development-scaffold react-component Button"✅ You're ready! Skills are available and Claude will invoke them during conversations when relevant.
What you get: Skills that Claude invokes during code discussions
# 1. Install skills
./scripts/install.sh --skills
# 2. Start Claude Code and discuss your code
# Skills are invoked by Claude when contextually relevant:
# - code-reviewer: Suggests improvements during code discussions
# - security-auditor: Flags vulnerabilities when reviewing security
# - test-generator: Suggests tests when discussing new functions
# Example: Discuss code with Claude
claude
> "I'm working on src/utils/api.ts - any quality issues?"
# Claude invokes relevant skills:
# ✅ code-reviewer checks patterns
# ✅ security-auditor scans for issues
# ✅ test-generator suggests missing tests
# 3. For deep analysis, invoke sub-agent
claude "@code-reviewer --focus security"Time investment: 2 minutes setup, proactive assistance during conversations
What you get: Multi-perspective code analysis
# 1. Install sub-agents and commands
./scripts/install.sh --agents-only --commands
# 2. Stage your changes
git add .
# 3. Run comprehensive review
claude "/workflow-review --scope staged --checks all"
# This coordinates:
# - @code-reviewer: Code quality and patterns
# - @security-auditor: Vulnerability scanning
# - @performance-tuner: Performance analysis
# - @architect: Architecture validation
# Result: Detailed report with actionable recommendationsTime investment: 3 minutes setup, 5-10 minutes per review
What you get: Pre-configured templates and scaffolding
# 1. Install commands
./scripts/install.sh --commands
# 2. Scaffold components/projects
claude "/development-scaffold react-component UserProfile --hooks --tests"
claude "/development-scaffold express-api user-service --auth --database"
claude "/development-scaffold nextjs-app my-app --typescript --tailwind"
# 3. Generated structure:
# - Component files with boilerplate
# - Test files with basic structure
# - TypeScript types
# - Documentation stubs
# 4. Customize generated code to your needsTime investment: 2 minutes setup, saves 15-30 minutes per scaffold
What you get: Test generation and execution automation
# 1. Install test-focused tools
./scripts/install.sh --skills-only --agents --commands
# 2. Start conversation about testing
# Claude invokes test-generator skill when relevant
# 3. Generate comprehensive test suites
claude "/testing-test-gen --file src/utils/api.ts --framework jest --coverage 90"
# 4. For complex testing needs
claude "@test-engineer Create comprehensive test suite with edge cases"
# Result:
# - Unit tests for all functions
# - Integration tests for workflows
# - Edge cases and error handling
# - 90%+ code coverageTime investment: 3 minutes setup, saves hours per feature
What you get: Self-updating docs from code
# 1. Install documentation tools
./scripts/install.sh --skills-only --agents
# 2. Discuss documentation with Claude
# Skills are invoked when discussing docs:
# - api-documenter: Suggests OpenAPI specs for APIs
# - readme-updater: Suggests README updates
# Example workflow:
claude
> "I added this API endpoint - help me document it"
function createUser(req, res) { /* code */ }
# Claude invokes api-documenter skill which suggests:
# ✅ OpenAPI spec structure
# ✅ Example requests/responses
# ✅ Documentation updates
# 3. For comprehensive docs
claude "/documentation-docs-gen api --format openapi"
claude "@docs-writer Create user guide with examples"
# Result: Well-documented APIsTime investment: 2 minutes setup, proactive documentation suggestions
Task: Add user authentication feature
# 1. Start Claude Code session
claude
# 2. Discuss your work
> "I'm adding user authentication - can you review as I go?"
# Skills are invoked by Claude during the conversation:
# - code-reviewer checks patterns in real-time
# - security-auditor validates auth implementation
# - test-generator suggests test cases
# 3. Run formal review when ready
git add src/auth/
claude "/workflow-review --scope staged"
# 4. Generate comprehensive tests
claude "/testing-test-gen --file src/auth/login.ts --framework jest"
# 5. Update documentation
claude "/documentation-docs-gen --update-readme"
# 6. Commit
git commit -m "feat(auth): add login with OAuth2"
# Total time saved: 2-3 hoursTask: Fix production bug
# 1. Analyze issue
claude "@debugger Analyze this error: [stack trace]"
# 2. Discuss fix with Claude
claude
> "I'm fixing this issue - can you validate my approach?"
# (code-reviewer skill is invoked during discussion)
# 3. Add regression test
claude "@test-engineer Create test to prevent this regression"
# 4. Security check
claude "@security-auditor Validate fix doesn't introduce vulnerabilities"
# 5. Deploy with confidence
git commit -m "fix(api): resolve memory leak in WebSocket"
# Total time saved: 1-2 hoursTask: Review teammate's pull request
# 1. Fetch PR
gh pr checkout 123
# 2. Comprehensive review
claude "/workflow-review --scope pr --checks all"
# Review covers:
# ✅ Code quality (patterns, smells)
# ✅ Security (vulnerabilities, secrets)
# ✅ Performance (bottlenecks, optimizations)
# ✅ Architecture (design patterns, coupling)
# ✅ Tests (coverage, edge cases)
# 3. Provide feedback
# (generates detailed report with line numbers)
# Total time saved: 30-45 minutes per PR- What: Helpers invoked by Claude during conversations
- When: Claude activates them when contextually relevant
- Examples: code-reviewer, test-generator, security-auditor
Think of skills like: Smart autocomplete - activates when relevant to your current discussion
- What: Invoked specialists for deep analysis
- When: You explicitly call them (
@agent) - Examples: @code-reviewer, @test-engineer, @docs-writer
Think of sub-agents like: Consulting an expert - you ask when you need deep help
- What: Multi-agent orchestrated workflows
- When: You run a command (
/command) - Examples: /workflow-review, /development-scaffold, /testing-test-gen
Think of commands like: Running a script - automates complex multi-step processes
Default: Sandboxing is OFF (all skills work without it)
Enable sandboxing for additional security isolation:
# During installation
./scripts/install.sh --skills-only --sandboxing
# Or configure manually per skill
vim ~/.claude/skills/security-auditor/config.jsonWhen to enable:
- High-security environments
- Untrusted code analysis
- Compliance requirements
See: SANDBOXING-GUIDE.md for details
Customize existing skills:
# Copy skill and modify
cp -r ~/.claude/skills/code-reviewer \
~/.claude/skills/company-code-reviewer
# Edit for your standards
vim ~/.claude/skills/company-code-reviewer/SKILL.mdCreate new skills:
See skills/TEMPLATES.md for copy-paste templates
- ✅ Install skills (
./scripts/install.sh --skills) - ✅ Start Claude Code session and discuss your code
- ✅ Observe Claude invoking skills during conversations
- ✅ Request deep analysis:
@code-reviewer Analyze this
- ✅ Try scaffolding:
/development-scaffold react-component TestComponent - ✅ Run code review:
/workflow-review --scope staged - ✅ Generate tests:
/testing-test-gen --file utils.js
- ✅ Use skills + sub-agents together during conversations
- ✅ Integrate
/workflow-reviewinto PR workflow - ✅ Discuss documentation updates with Claude (skills suggest improvements)
- ✅ Create custom skill from template
- ✅ Adjust skill triggers for your workflow
- ✅ Share custom skills with team
Check:
# Verify skill installed
ls ~/.claude/skills/ | grep skill-name
# Check Claude Code recognizes it
claude --list-skillsFix:
# Reinstall skill
./scripts/install.sh --skillsCheck:
ls ~/.claude/commands/ | grep command-nameFix:
./scripts/install.sh --commandsCommon issue: Tool access restrictions
Fix:
# Check agent configuration
cat ~/.claude/agents/agent-name.json
# Verify allowed-tools includes required tools- Architecture: ARCHITECTURE.md - Understand the system design
- Skills Guide: skills/README.md - Comprehensive skills documentation
- Templates: skills/TEMPLATES.md - Create custom skills
- Examples: examples/workflows/ - Real-world workflows
Already using Claude Code Tresor? See MIGRATION-GUIDE.md for upgrading to the new skills system.
- GitHub Issues: Bug reports and feature requests
- GitHub Discussions: Questions and community support
- Documentation: Browse examples/ for detailed workflows
- Professional Support: Available for custom development
- Start small - Install skills first, get comfortable, then add sub-agents and commands
- Let skills run - They're designed to be non-intrusive, leave them on
- Combine tools - Skills detect → Sub-agents analyze → Commands orchestrate
- Customize gradually - Use defaults first, customize when you know your needs
- Share with team - Skills and agents work great for team standards
You now have:
- ✅ Tools installed and verified
- ✅ Understanding of 3-tier architecture
- ✅ Real-world scenarios to practice
- ✅ Next steps for continued learning
Start coding - skills are watching your back!
Questions? See README.md for full documentation or open a GitHub issue.
Created: October 24, 2025 Author: Alireza Rezvani License: MIT