mirror of
https://github.com/luongnv89/claude-howto.git
synced 2026-03-30 10:45:08 +02:00
Update 23 files across all 10 tutorial directories and 7 reference documents to match the latest Claude Code v2.1+ features and correct outdated content including model names (4.5→4.6), permission modes, hook events, CLI syntax, MCP config paths, plugin manifest format, checkpoint commands, session management, and URLs. Add documentation for new features: Auto Memory, Remote Control, Web Sessions, Desktop App, Agent Teams, MCP OAuth, Task List, Sandboxing, and more.
248 lines
6.1 KiB
JSON
248 lines
6.1 KiB
JSON
{
|
|
"description": "Example Claude Code configurations for different use cases",
|
|
|
|
"examples": {
|
|
"development": {
|
|
"name": "Development Environment",
|
|
"description": "Configuration for active development work",
|
|
"config": {
|
|
"general": {
|
|
"model": "claude-sonnet-4-5",
|
|
"temperature": 0.7
|
|
},
|
|
"planning": {
|
|
"autoEnter": true,
|
|
"complexityThreshold": 3,
|
|
"requireApproval": true
|
|
},
|
|
"permissions": {
|
|
"mode": "unrestricted"
|
|
},
|
|
"backgroundTasks": {
|
|
"enabled": true,
|
|
"maxConcurrentTasks": 3
|
|
},
|
|
"hooks": {
|
|
"PreToolUse:Write": "prettier --write ${file_path}",
|
|
"PostToolUse:Write": "eslint ${file_path}",
|
|
"PreCommit": "npm test"
|
|
}
|
|
}
|
|
},
|
|
|
|
"code_review": {
|
|
"name": "Code Review Mode",
|
|
"description": "Configuration for reviewing code without modifications",
|
|
"config": {
|
|
"general": {
|
|
"model": "claude-sonnet-4-5",
|
|
"temperature": 0.3
|
|
},
|
|
"permissions": {
|
|
"mode": "readonly"
|
|
},
|
|
"extendedThinking": {
|
|
"enabled": true,
|
|
"showThinkingProcess": true
|
|
},
|
|
"planning": {
|
|
"autoEnter": false
|
|
}
|
|
}
|
|
},
|
|
|
|
"learning": {
|
|
"name": "Learning Mode",
|
|
"description": "Configuration for learning and experimentation",
|
|
"config": {
|
|
"general": {
|
|
"model": "claude-sonnet-4-5",
|
|
"temperature": 0.5
|
|
},
|
|
"permissions": {
|
|
"mode": "confirm"
|
|
},
|
|
"extendedThinking": {
|
|
"enabled": true,
|
|
"showThinkingProcess": true
|
|
},
|
|
"planning": {
|
|
"autoEnter": true,
|
|
"requireApproval": true,
|
|
"showTimeEstimates": true
|
|
},
|
|
"checkpoints": {
|
|
"autoCheckpoint": true
|
|
}
|
|
}
|
|
},
|
|
|
|
"production": {
|
|
"name": "Production Deployment",
|
|
"description": "Configuration for production operations with safety checks",
|
|
"config": {
|
|
"general": {
|
|
"model": "claude-opus-4",
|
|
"temperature": 0.1
|
|
},
|
|
"permissions": {
|
|
"mode": "confirm",
|
|
"requireConfirmationFor": ["Bash", "Git", "Write", "Edit"]
|
|
},
|
|
"hooks": {
|
|
"PreCommit": "npm test && npm run lint && npm run build",
|
|
"PrePush": "npm run test:e2e",
|
|
"PostPush": "~/.claude/hooks/notify-team.sh"
|
|
},
|
|
"checkpoints": {
|
|
"autoCheckpoint": true
|
|
},
|
|
"planning": {
|
|
"autoEnter": true,
|
|
"requireApproval": true
|
|
}
|
|
}
|
|
},
|
|
|
|
"ci_cd": {
|
|
"name": "CI/CD Pipeline",
|
|
"description": "Configuration for automated CI/CD operations",
|
|
"config": {
|
|
"general": {
|
|
"model": "claude-sonnet-4-5",
|
|
"temperature": 0
|
|
},
|
|
"permissions": {
|
|
"mode": "unrestricted"
|
|
},
|
|
"headless": {
|
|
"exitOnError": true,
|
|
"verbose": true,
|
|
"timeout": 3600
|
|
},
|
|
"logging": {
|
|
"level": "debug",
|
|
"file": "./ci-claude.log"
|
|
},
|
|
"planning": {
|
|
"autoEnter": false,
|
|
"requireApproval": false
|
|
}
|
|
}
|
|
},
|
|
|
|
"security_audit": {
|
|
"name": "Security Audit",
|
|
"description": "Configuration for security-focused code analysis",
|
|
"config": {
|
|
"general": {
|
|
"model": "claude-opus-4",
|
|
"temperature": 0.2
|
|
},
|
|
"permissions": {
|
|
"mode": "readonly"
|
|
},
|
|
"extendedThinking": {
|
|
"enabled": true,
|
|
"showThinkingProcess": true,
|
|
"minThinkingTime": 10
|
|
},
|
|
"hooks": {
|
|
"PostToolUse:Read": "~/.claude/hooks/security-scan.sh ${file_path}"
|
|
}
|
|
}
|
|
},
|
|
|
|
"performance_optimization": {
|
|
"name": "Performance Optimization",
|
|
"description": "Configuration for performance analysis and optimization",
|
|
"config": {
|
|
"general": {
|
|
"model": "claude-sonnet-4-5",
|
|
"temperature": 0.4
|
|
},
|
|
"planning": {
|
|
"autoEnter": true,
|
|
"requireApproval": true
|
|
},
|
|
"backgroundTasks": {
|
|
"enabled": true,
|
|
"maxConcurrentTasks": 5
|
|
},
|
|
"checkpoints": {
|
|
"autoCheckpoint": true
|
|
}
|
|
}
|
|
},
|
|
|
|
"pair_programming": {
|
|
"name": "Pair Programming",
|
|
"description": "Configuration for collaborative development",
|
|
"config": {
|
|
"general": {
|
|
"model": "claude-sonnet-4-5",
|
|
"temperature": 0.6
|
|
},
|
|
"permissions": {
|
|
"mode": "confirm"
|
|
},
|
|
"planning": {
|
|
"autoEnter": true,
|
|
"requireApproval": true,
|
|
"showTimeEstimates": true
|
|
},
|
|
"extendedThinking": {
|
|
"enabled": true,
|
|
"showThinkingProcess": true
|
|
},
|
|
"ui": {
|
|
"compactMode": false,
|
|
"showProgress": true
|
|
}
|
|
}
|
|
},
|
|
|
|
"refactoring": {
|
|
"name": "Large Refactoring",
|
|
"description": "Configuration for major refactoring work",
|
|
"config": {
|
|
"general": {
|
|
"model": "claude-opus-4",
|
|
"temperature": 0.3
|
|
},
|
|
"planning": {
|
|
"autoEnter": true,
|
|
"requireApproval": true,
|
|
"showTimeEstimates": true
|
|
},
|
|
"checkpoints": {
|
|
"autoCheckpoint": true
|
|
},
|
|
"hooks": {
|
|
"PreToolUse:Edit": "~/.claude/hooks/backup-file.sh ${file_path}",
|
|
"PostToolUse:Edit": "npm test -- --findRelatedTests ${file_path}"
|
|
},
|
|
"permissions": {
|
|
"mode": "confirm"
|
|
}
|
|
}
|
|
},
|
|
|
|
"documentation": {
|
|
"name": "Documentation Writing",
|
|
"description": "Configuration for writing documentation",
|
|
"config": {
|
|
"general": {
|
|
"model": "claude-sonnet-4-5",
|
|
"temperature": 0.7
|
|
},
|
|
"permissions": {
|
|
"mode": "unrestricted"
|
|
},
|
|
"hooks": {
|
|
"PostToolUse:Write": "markdownlint ${file_path}"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|