From olucens-skills
Best practices for using Claude Code effectively based on insights from its creator Boris Cherny. Trigger this skill when users ask about optimizing Claude Code usage, configuring CLAUDE.md files, using plan mode, working with sub-agents, understanding Claude Code philosophy, improving coding productivity with Claude Code, or building AI coding tools. Also trigger when users mention blatant demand, scaffolding in AI products, building for future model capabilities, or ask about Anthropic's approach to AI coding assistants.
How this skill is triggered — by the user, by Claude, or both
Slash command
/olucens-skills:claude-code-guidance-chernyThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Guidance for using Claude Code effectively and understanding its design philosophy, based on insights from Boris Cherny, the creator of Claude Code.
Guidance for using Claude Code effectively and understanding its design philosophy, based on insights from Boris Cherny, the creator of Claude Code.
Design and configure for the model six months from now, not today's limitations:
Only optimize behaviors users already perform:
All code and configuration compensating for model limitations is temporary:
# Project: [Name]
## Context
[One paragraph describing what this project does]
## Key Patterns
- [Pattern 1]: [Brief explanation]
- [Pattern 2]: [Brief explanation]
## Preventable Mistakes
- [Mistake to avoid]
- [Another mistake to avoid]
## Commands
- Build: `[command]`
- Test: `[command]`
- Deploy: `[command]`
Delete CLAUDE.md and restart when:
Add to CLAUDE.md when you notice:
Do not add:
Plan mode is a single prompt instruction that prevents Claude from writing code immediately:
Please think through this problem step by step without writing code yet.
Use for approximately 80% of sessions, especially:
Skip for:
Add to CLAUDE.md for complex projects:
## Default Behavior
For any task involving more than a single file change, start by outlining the approach before writing code.
Match parallelism to task difficulty:
| Task Type | Agents | Example |
|---|---|---|
| Simple lookup | 1 | "What does this function do?" |
| Moderate research | 3-5 | "Find all usages of this API" |
| Complex debugging | 5-10 | "Why is this test flaky?" |
| Broad codebase analysis | 10+ | "Audit all authentication flows" |
Sub-agents provide value through fresh, independent context:
The parent Claude instance (Mama Claude) spawns sub-agents with specific, focused prompts:
Investigate whether the database connection pool is exhausted during peak load.
Focus only on connection lifecycle and pool configuration.
Report findings without implementing fixes.
Anthropic engineers report 150% productivity improvement - unprecedented compared to typical developer tooling improvements of 2%.
Avoid these behaviors that reduce effectiveness:
Model capabilities often exist before products harness them:
More general approaches beat specialized ones:
When building features:
Example: Plan mode shipped in 30 minutes after observing user patterns.
Assess task complexity
Enter plan mode
Decide on parallelism
Execute with iteration
Capture learnings
Weekly review
Post-PR review
Monthly reset evaluation
Based on Claude Code's development trajectory:
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub olucens/olucens-skills --plugin olucens-skills