What problem does it solve?
Claude Code presents five core features (Commands, Skills, Agents, Hooks, Rules). This Skill guide helps you understand when and how to use each feature to reduce complexity, speed up development, and improve decision-making in Claude Code workflows.
Core Features & Use Cases
- Commands: Explicit, manual, repeatable prompts injected via slash commands for fixed workflows.
- Skills: Contextual, auto-loaded domain knowledge for complex guidance without polluting main context.
- Agents: Independent sub-agents for large tasks and data processing without polluting the main conversation.
- Hooks: Event-driven shell-based automation that runs before/after tool usage for validation, logging, or enforcement.
- Rules: Modular constraints and policies applied conditionally or globally to enforce standards.
- Use Case: Decide the right tool for a given automation: simple repeatable tasks use Commands, complex knowledge uses Skills, big data goes to Agents, deterministic automation to Hooks, policy constraints to Rules.
Quick Start
Ask for a high-level comparison: "Explain when to use Commands vs Skills vs Hooks in my Claude Code project."