/claude-eng-pack:configuring-claude-codefrom claude-eng-pack
Best-practice reference for repository-level Claude Code setup: CLAUDE.md hierarchy, .claude/rules, custom slash commands and skills, path-specific rules, plan vs direct execution, iterative refinement, and CI/CD integration with headless mode.
Ships in claude-eng-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Best-practice reference for repository-level Claude Code setup: memory files, skills/commands, conditional convention loading, execution modes, and CI. Each reference module states the correct pattern, the named anti-patterns, and ends with an Audit Checklist of verifiable conditions.
.claude/rules/, skills, slash commandsNot for prompt content of the tasks themselves (use engineering-prompts-and-output).
| Module | Read when the question is about |
|---|---|
references/3-1-claude-md-hierarchy-scoping-and-modular-organisation.md | Memory hierarchy, loading/conflict order, @ imports, modular organisation |
references/3-2-custom-slash-commands-and-skills.md | Skills system, scoping levels, frontmatter, skills vs CLAUDE.md |
references/3-3-path-specific-rules-for-conditional-convention-loading.md | Glob-based rules vs directory/root CLAUDE.md |
references/3-4-plan-mode-vs-direct-execution.md | When to plan, Explore subagent, plan-then-execute hybrid |
references/3-5-iterative-refinement-techniques.md | Refinement hierarchy, batch vs sequential feedback, example-based communication |
references/3-6-ci-cd-integration.md | Headless -p mode, structured output in CI, session isolation, batch vs real-time |
CLAUDE.md, .claude/, CI config).file:line evidence and the module's recommended fix.For a fast full-domain sweep, checklists.md aggregates all six checklists.
Agent-side hooks and enforcement: auditing-agent-architecture (1-4, 1-5). Batch API for CI-scale processing: engineering-prompts-and-output (4-5).
This skill is a best-practice reference for how Claude Code itself is configured in a repository: memory files, custom skills and slash commands, path-scoped conventions, execution modes, and non-interactive CI runs. Each reference module states the correct pattern, names the anti-patterns, and ends with an audit checklist you can run against real files. Use it to set a repo up properly, or to find out why an existing setup misbehaves.
CLAUDE.md, what goes in .claude/rules/, and what should be a skill or a slash command.-p runs with structured output, and you must choose batch versus real-time review.engineering-prompts-and-output.auditing-agent-architecture.designing-tools-and-mcp.Skill(skill: "claude-eng-pack:configuring-claude-code")
Invoke it, then name the repo or the symptom. The skill points you at the one or two reference modules that match, and you read only those.
CLAUDE.md, .claude/, and CI config directly.A list of findings. Each unchecked audit item becomes one finding with file:line evidence and the recommended fix from the module that raised it. Nothing is written or changed for you — the skill reports, and you decide what to apply.
Skill(skill: "claude-eng-pack:configuring-claude-code")
"Our conventions for apps/<mainApp> keep getting applied to the whole repo.
Audit the setup."
The skill matches this to the path-specific-rules module, reads how glob rules compare with directory-level and root memory files, then runs that module's audit checklist against your actual files. You get back findings such as a root-level rule that should be a glob-scoped rule, each with the file and line to change.
auditing-agent-architecture covers hooks and agent-side enforcement. engineering-prompts-and-output covers what you write in a task prompt and how to get structured output back.
checklists.md (opens in a new tab)references/3-1-claude-md-hierarchy-scoping-and-modular-organisation.md (opens in a new tab)references/3-2-custom-slash-commands-and-skills.md (opens in a new tab)references/3-3-path-specific-rules-for-conditional-convention-loading.md (opens in a new tab)references/3-4-plan-mode-vs-direct-execution.md (opens in a new tab)references/3-5-iterative-refinement-techniques.md (opens in a new tab)references/3-6-ci-cd-integration.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/auditing-agent-architectureUse when designing or reviewing Claude-based agent systems — agentic loops and stop_reason handling, multi-agent orchestration, coordinators, subagent invocation and context passing, workflow enforcement, Agent SDK hooks (PreToolUse/PostToolUse), task decomposition, or session state and resumption. Also when an agent terminates prematurely, loops forever, repeats work, or subagents return inconsistent or incomplete results. NOT for tool schemas (use designing-tools-and-mcp), prompts (use engineering-prompts-and-output), or context degradation (use managing-context-reliability)./designing-tools-and-mcpUse when creating or reviewing tool definitions for Claude — tool names, descriptions, input schemas, structured error responses, tool_choice configuration, MCP server setup and scoping, or built-in tool usage (Grep, Glob, Read, Edit). Also when Claude picks the wrong tool, confuses similar tools, retries hopeless failures, treats empty results as errors, or degrades because too many tools are exposed. NOT for agent loops/orchestration (use auditing-agent-architecture), system prompts/schemas (use engineering-prompts-and-output), or multi-turn error loss (use managing-context-reliability).Other plugins' skills for the same job
npx claudepluginhub atretyak1985/swarmery --plugin claude-eng-pack