Claude Code Configuration & Workflows
20%CLAUDE.md hierarchy, custom slash commands, path-specific rules, plan mode, iterative refinement, and CI/CD integration.
How CLAUDE.md files are resolved across user, project, and directory scopes. Inheritance rules, @import syntax, .claude/rules/ organization, and strategies for team-wide consistency.
Creating project-scoped and user-scoped slash commands, building reusable skills with SKILL.md frontmatter, using context: fork for isolation, and understanding when to use commands vs skills vs CLAUDE.md.
Scoping Claude behavior to specific file patterns using .claude/rules/ with YAML frontmatter glob paths. When to use path-specific rules vs directory CLAUDE.md, glob pattern syntax, and strategies for reducing irrelevant context.
When to use plan mode for investigation and complex changes vs direct execution for simple tasks. The Explore subagent, combining modes for maximum efficiency, and decision frameworks for real-world scenarios.
Proven techniques for iteratively improving Claude's output: concrete input/output examples, test-driven iteration, the interview pattern, and strategies for batching feedback. How to converge on the right solution efficiently.
Integrating Claude Code into CI/CD pipelines with the -p flag for non-interactive mode, structured JSON output for automation, CLAUDE.md as CI context, session isolation for self-review, and practical pipeline examples.