Guide for migrating between Claude Code Tresor versions.
| Version | Release Date | Status | Migration Required |
|---|---|---|---|
| 2.0.0 | Oct 2025 | Current | Yes (from 1.x) |
| 1.0.0 | Sep 2025 | Legacy | N/A |
Major Changes:
- NEW: 8 autonomous skills added
- CHANGED: Agent invocation syntax
- CHANGED: Directory structure for commands
- CHANGED: Configuration format (YAML frontmatter)
- REMOVED: Deprecated utilities from
sources/
Migration Required: Yes Estimated Time: 30-60 minutes Breaking Changes: Yes
# Backup existing installation
cp -r ~/.claude/agents ~/.claude/agents.v1.backup
cp -r ~/.claude/commands ~/.claude/commands.v1.backup
# Backup customizations
cp -r ~/.claude/prompts ~/.claude/prompts.v1.backupv1.0 (Old):
rr-code-reviewer analyze this component
v2.0 (New):
@code-reviewer analyze this component
Action Required:
- Update any saved workflows/scripts
- Update documentation/notes with new syntax
- Team training on new invocation pattern
v1.0 (agent.json):
{
"name": "code-reviewer",
"description": "Code quality analyst",
"model": "claude-opus-4"
}v2.0 (SKILL.md with YAML frontmatter):
---
name: "code-reviewer"
description: "Code quality analyst"
model: "claude-opus-4"
tools:
- "Read"
- "Write"
- "Edit"
- "Grep"
- "Glob"
- "Bash"
- "Task"
---Action Required:
- Custom agents must add YAML frontmatter
- Specify
toolsfield (required in v2.0) - Keep agent.json for backward compatibility (optional)
v1.0:
~/.claude/commands/
├── scaffold.json
├── review.json
└── test-gen.json
v2.0:
~/.claude/commands/
├── development/scaffold/
│ └── command.json
├── workflow/review/
│ └── command.json
└── testing/test-gen/
└── command.json
Action Required:
- Custom commands must be reorganized into category directories
- Update command.json to include
categoryfield
v2.0 Adds:
- 8 new autonomous skills
- Automatic activation (no manual invocation)
- Conversation-based suggestions
Action Required:
- Install skills:
./scripts/install.sh --skills - Configure skill behavior (optional)
- Test skills in development workflow
# Navigate to repository
cd ~/claude-code-tresor
# Pull latest changes
git fetch origin
git checkout main
git pull origin main
# Verify version
cat VERSION # Should show 2.0.0
# Run migration script
./scripts/migrate-v1-to-v2.sh
# Or manual installation
./scripts/install.shIf you created custom agents in v1.0:
# List custom agents
ls ~/.claude/agents/
# For each custom agent
cd ~/.claude/agents/my-custom-agent/
# Add YAML frontmatter to SKILL.md
cat << 'EOF' > SKILL.md
---
name: "my-custom-agent"
description: "My custom agent description"
tools:
- "Read"
- "Write"
- "Edit"
- "Grep"
- "Glob"
- "Bash"
- "Task"
model: "claude-opus-4"
enabled: true
---
# My Custom Agent
[Rest of your agent documentation]
EOFIf you created custom commands in v1.0:
# Create category directory
mkdir -p ~/.claude/commands/custom/my-command/
# Move command.json
mv ~/.claude/commands/my-command.json ~/.claude/commands/custom/my-command/command.json
# Add category field to command.json
{
"name": "my-command",
"category": "custom", // ADD THIS
"description": "...",
// rest of configuration
}Update any saved workflows:
Example workflow.md (v1.0):
## Code Review Workflow
1. Make changes
2. Run: rr-code-reviewer analyze codebase
3. Fix issues
4. CommitUpdated workflow.md (v2.0):
## Code Review Workflow
1. Make changes
2. Skills provide real-time feedback (automatic)
3. For deep review: @code-reviewer analyze codebase
4. For complete audit: /review --scope all
5. Fix issues
6. CommitVerify everything works:
# Test skills (automatic activation)
# Create a file with an issue and save it
# Test agents (manual invocation)
@code-reviewer analyze src/components/TestComponent.tsx
# Test commands
/review --scope staged
/scaffold react-component TestComponent
/test-gen --file src/utils/helpers.tsUpdate internal team documentation:
- Update onboarding docs with new syntax
- Update development guides with skills workflow
- Create migration guide for team members
- Schedule training session on v2.0 features
v2.0 is backward compatible with v1.0 prompts:
# No migration needed - prompts work as-is
ls ~/.claude/prompts/
# Optional: organize into v2.0 structure
mv ~/.claude/prompts/custom-prompts/ ~/.claude/prompts/team/# Standards are backward compatible
ls ~/.claude/standards/
# Optional: update with v2.0 best practices
# See: documentation/reference/standards-reference.mdIf migration fails or issues arise:
# Restore v1.0 agents
rm -rf ~/.claude/agents/*
cp -r ~/.claude/agents.v1.backup/* ~/.claude/agents/
# Restore v1.0 commands
rm -rf ~/.claude/commands/*
cp -r ~/.claude/commands.v1.backup/* ~/.claude/commands/
# Remove v2.0 skills
rm -rf ~/.claude/skills/
# Checkout v1.0 tag
cd ~/claude-code-tresor
git checkout v1.0.0
# Restart Claude CodeRun v1.0 and v2.0 side-by-side:
# Keep v1.0 in production
# Install v2.0 in test environment
# Install v2.0 to alternate location
./scripts/install.sh --prefix ~/.claude-v2/
# Test v2.0 without affecting v1.0
export CLAUDE_CONFIG_PATH=~/.claude-v2/
claude
# When ready, switch permanently
mv ~/.claude ~/.claude-v1-backup
mv ~/.claude-v2 ~/.claude-
Skills activate automatically
- Save file with code issue
- Verify code-reviewer provides suggestion
- Verify security-auditor detects vulnerabilities
-
Agents invoked successfully
-
@code-reviewer analyze file.tsworks -
@test-engineer create testsworks -
@docs-writer generate documentationworks
-
-
Commands execute correctly
-
/scaffold react-component Testworks -
/review --scope stagedworks -
/test-gen --file test.tsworks
-
-
Custom agents work
- Custom agents invoke with
@custom-name - Custom agent configuration valid
- Custom agent tools accessible
- Custom agents invoke with
-
Custom commands work
- Custom commands invoke with
/custom-name - Custom command configuration valid
- Custom command workflows execute
- Custom commands invoke with
-
Performance acceptable
- No significant slowdown
- Skills don't overwhelm with suggestions
- Commands complete in reasonable time
Problem: After migration, too many skill suggestions
Solution:
# Reduce skill priority or disable temporarily
---
name: "code-reviewer"
priority: "low" # or enabled: false
---Problem: Team members use old rr- syntax
Solution:
- Update team documentation prominently
- Add alias/wrapper for transition period:
# Create temporary alias
alias rr-code-reviewer="echo 'Use: @code-reviewer (v2.0 syntax)'"Problem: Custom agents fail with "configuration error"
Solution:
# Validate YAML frontmatter
cat ~/.claude/agents/custom-agent/SKILL.md
# Ensure required fields present:
---
name: "custom-agent"
description: "..."
tools: [...] # Required in v2.0
---
# Test configuration
@custom-agent test invocation---
name: "code-reviewer"
# Focus on critical file types only
file_patterns:
- "src/**/*.ts"
- "src/**/*.tsx"
exclude_patterns:
- "node_modules/**"
- "dist/**"
- "*.test.ts"
- "*.stories.tsx"
------
name: "code-reviewer"
# Invoke specialist agent for deep issues
coordination:
invoke_agents:
- agent: "@security-auditor"
when: "security_issue_detected"
---New Features:
- 8 autonomous skills for real-time assistance
- Improved agent-skill coordination
- Enhanced command workflows
- Updated documentation structure
Deprecations:
rr-agent prefix (use@instead)- Flat command structure (use categorized directories)
- agent.json only (add YAML frontmatter)
Removed:
- Experimental utilities in
sources/experimental/ - Deprecated agents (see CHANGELOG.md)
Expected Changes:
- Enhanced skill coordination
- New agent capabilities
- Improved command orchestration
Preparation:
- Keep configurations in version control
- Document custom implementations
- Follow upgrade announcements
Migration Issues?
Need Assistance?
- GitHub Discussions →
- Create issue tagged
migration
- Configuration Guide → - Optimize your setup
- Getting Started → - Learn v2.0 features
- Skills Reference → - Master new skills
- Best Practices → - v2.0 workflows
Last Updated: November 7, 2025 | Version: 2.0.0