Quick Start
Experience your first Claude Code Skill in 5 minutes.
Prerequisites
Make sure you have Claude Code installed and available in your terminal.
Hands-on: Debug a Bug with diagnose
Scenario
You have a Node.js script server.js that crashes occasionally with no error output.
Step 1: Trigger the Skill
bash
# In Claude Code
/diagnose server.js crashes occasionally with no error logsStep 2: Diagnosis Flow
Claude Code enters diagnostic mode automatically:
- Reproduce — Asks about crash frequency and trigger conditions
- Narrow — Inspects code to locate suspicious areas
- Hypothesize — Proposes possible causes (e.g., unhandled Promise rejection)
- Verify — Adds logging or try-catch to validate the hypothesis
- Fix — Provides a fix
Step 3: Apply the Fix
Claude gives specific code changes. You confirm and apply.
Hands-on: Write a Function with TDD
Step 1: Describe the Requirement
/tdd Write a function formatDate that takes a Date and returns 'YYYY-MM-DD'Step 2: Red-Green-Refactor
Claude Code will:
- Red — Write the test first
- Green — Implement to pass the test
- Refactor — Optimize code quality
javascript
// Step 1: Test first
describe('formatDate', () => {
it('should format date as YYYY-MM-DD', () => {
expect(formatDate(new Date('2026-01-15'))).toBe('2026-01-15');
});
});
// Step 2: Implement
function formatDate(date) {
return date.toISOString().slice(0, 10);
}Hands-on: Review Code
/review Review src/utils/auth.jsClaude Code checks for:
- Security vulnerabilities
- Logic issues
- Performance concerns
- Readability improvements
Your Next Skill
| If you want to... | Use |
|---|---|
| Quickly prototype an idea | /prototype |
| Audit security | /security-review |
| Break down a large task | /to-issues |
| Create a PRD document | /to-prd |
| Write a custom Skill | /write-a-skill |
Going Deeper
- See all built-in Skills
- Learn custom Skill development
- Master best practices