Claude for Engineering & the SDLC
Using Anthropic's Claude across the software lifecycle: the model family and how to pick a model and effort level, the Claude API for builders, Claude Code for development, a phase-by-phase SDLC playbook, and the practices that make it safe, cheap and effective.
Modules 1–5 are vendor-neutral. This module goes deep on one model family — Anthropic’s Claude — because most engineering organisations now use it in two ways at once: as a model inside their products (through the Claude API or a cloud provider) and as an engineering tool that helps build those products (Claude Code, Claude apps, agents in CI). Both uses need the same skills: choosing the right model, giving it the right context, verifying what it produces, and controlling cost and risk.
What this module covers#
| Article | Read it to… |
|---|---|
| Claude models and model selection | Know the Fable, Opus, Sonnet and Haiku tiers; choose a model, effort level and thinking setting per task; route and fall back. |
| The Claude API for builders | Build features on the Messages API: tools, structured output, prompt caching, batches, streaming, long-running agents, cloud deployment options. |
| Claude Code in practice | Set up Claude Code for a team: CLAUDE.md, permissions, plan mode, hooks, skills, sub-agents, MCP, headless runs in CI. |
| Cheatsheet: Claude Code best practices | One page: tell Claude what it can’t see, give it a check, enforce zero-exception rules, change defaults with evidence, run unattended safely. |
| Cheatsheet: Claude Code commands | Slash commands by job, bundled skills, CLI flags and subcommands, keyboard shortcuts, MCP and config files. |
| Reference: hooks | Every hook event and whether it can block, matchers and if, handler types, exit codes and JSON decisions, how hooks interact with permissions, recipes, security and debugging. |
| Reference: settings | Settings files, precedence and merge rules, permission rule syntax, the most-used keys by area, key environment variables, and example files for a developer, a team and an organisation. |
| Reference: skills | SKILL.md locations and frontmatter, who can invoke a skill, arguments, supporting files, !command context, forked skills, tool pre-approval, troubleshooting. |
| Reference: sub-agents | Built-in agents, definition files and frontmatter, model resolution, invocation, background runs and forks, limits, example agents, when not to use one. |
| Reference: MCP | Transports, claude mcp commands, scopes and precedence, .mcp.json variables, OAuth, tool search, output limits, MCP permissions, organisation controls. |
| Reference: plugins | Plugin layout and components, plugin.json, install scopes, marketplaces, claude plugin commands, development and evals, security, organisation controls. |
| Reference: output styles & status line | Built-in and custom output styles, when to use another feature instead, and building a status line from live session data. |
| Claude Agent SDK | Claude Code as a Python/TypeScript library: query(), options, permission order and canUseTool, custom tools, hook callbacks, sessions, configuration loading and container hosting. |
| Automation and parallel work | claude -p in scripts and CI, GitHub Actions, /goal, /loop, scheduled tasks, worktrees, sub-agents, agent view, agent teams, dynamic workflows. |
| Claude Code for teams | What to commit, settings precedence, managed settings, providers and gateways, plugins, cost benchmarks, analytics and a phased rollout. |
| Troubleshooting | A triage method (/doctor, /context, safe mode, clean config, debug logs) and symptom tables for install, configuration, permissions, API errors, performance and terminals. |
| Claude across the SDLC | Use Claude in every phase — discovery, requirements, design, build, test, review, security, release, operations, maintenance — with prompts and guardrails for each. |
| Using Claude intelligently | Context engineering, verification loops, cost control, enterprise governance, measuring productivity, and the anti-patterns to avoid. |
How Claude fits into an engineering organisation#
flowchart LR
subgraph Tool["Claude as an engineering tool"]
direction TB
T1["Claude Code<br/>(terminal, IDE, desktop, web)"]
T2["Claude apps<br/>(analysis, writing, research)"]
T3["Headless agents in CI<br/>(review, triage, migrations)"]
end
subgraph Product["Claude inside your product"]
direction TB
P1["Claude API<br/>(Messages, tools, batches)"]
P2["Cloud platforms<br/>(Bedrock, Vertex AI, Foundry)"]
P3["Agent runtimes<br/>(Agent SDK, Managed Agents)"]
end
Tool -->|"builds and maintains"| Product
G["Shared foundations:<br/>model selection · context · evaluation ·<br/>cost control · security · governance"] --- Tool
G --- Product
The left side changes how your teams work; the right side changes what your systems do. The shared foundations at the bottom are the same ideas taught in Module 1 and Module 3, applied to one vendor.
Articles
- Claude models & selectionThe Claude model family in November 2026 — Fable, Opus, Sonnet and Haiku — with context windows and prices, how adaptive thinking and effort levels work, a task-to-model guide for product and engineering work, routing and fallbacks, and how to run your own selection.
- Claude API for buildersBuilding product features on Claude: the Messages API, effort and thinking, tool use and the tool runner, structured outputs, prompt caching, streaming, batches, long-running agents (compaction, Agent SDK, Managed Agents), Spring AI, cloud deployment options and production error handling.
- Claude Code in practiceHow Claude Code works and how to set it up well: the agentic loop and harness, where it runs, defaults (auto mode, Opus 5.5 at medium effort), CLAUDE.md, rules and auto memory, permission modes and rules, the sandbox, hooks, skills, sub-agents, MCP, plugins, output styles, checkpoints and sessions — from the official documentation.
- Cheatsheet: best practicesA one-page reference for working well with Claude Code: tell it what it can't see, give it a check to run, enforce rules that can't have exceptions, change defaults only with evidence, steer the session, and run it safely unattended — plus the old advice you can stop following.
- Cheatsheet: commandsEvery Claude Code command worth knowing on one page: slash commands grouped by job, bundled skills, CLI subcommands and flags, keyboard shortcuts, input prefixes, MCP and plugin commands, and the configuration files they act on.
- Reference: hooksEverything needed to write Claude Code hooks: where they live, every event and whether it can block, matchers and the if filter, the five handler types, input JSON, exit codes, JSON decision fields, how hooks interact with permissions, ready-to-use recipes, security and debugging.
- Reference: settingsA practical map of Claude Code configuration: settings files and precedence, how arrays and locks merge, permission rule syntax, the most useful settings keys by area (permissions, sandbox, model, memory, MCP, plugins, hooks, git, worktrees, enterprise), key environment variables, and copy-ready example files for a developer, a team and an organisation.
- Reference: skillsHow to write and run Claude Code skills: where SKILL.md files load from, every frontmatter field, who can invoke a skill, arguments, supporting files, dynamic context with !commands, running in a forked sub-agent, pre-approving tools, how skill content stays in context, bundled skills, and troubleshooting.
- Reference: sub-agentsDefining and using Claude Code sub-agents: built-in Explore, Plan and general-purpose agents, file locations and priority, every frontmatter field, model resolution order, tool restriction, foreground and background runs, forks, nesting and concurrency limits, memory, worktree isolation, example agents, and when not to use one.
- Reference: MCPConnecting Claude Code to external tools with the Model Context Protocol: transports, claude mcp commands, local, project and user scopes and their precedence, .mcp.json with environment variables, OAuth and headers, tool search, output limits, resources and prompts, permissions for MCP tools, claude.ai connectors, Claude Code as an MCP server, and organisation controls.
- Reference: pluginsPackaging and sharing Claude Code extensions as plugins: what a plugin contains, directory layout and components, the plugin.json manifest, namespacing, install scopes, marketplaces and marketplace.json, /plugin and claude plugin commands, developing with --plugin-dir, evals and cost, security and trust, and organisation controls.
- Reference: output styles & status lineShaping how Claude Code responds and what you see while it works: the built-in output styles (Proactive, Concise, Explanatory, Learning), writing custom styles and when to use another feature instead, and building a status line that shows model, context, cost, git and rate limits.
- Claude Agent SDKBuilding your own agents on the Claude Code loop with the Claude Agent SDK for Python and TypeScript: when to choose it over the CLI, Client SDK or Managed Agents, query() and ClaudeSDKClient, options, permissions and canUseTool, custom tools as in-process MCP servers, hooks, sub-agents, sessions, structured output, configuration loading, and hosting in containers.
- Automation & parallel workRunning Claude Code beyond one interactive session: print mode in scripts and CI, GitHub Actions and Code Review, /goal, /loop and scheduled tasks, worktrees, sub-agents, agent view, agent teams, dynamic workflows and /batch — when to use each, and how to keep unattended runs safe.
- Claude Code for teamsRolling Claude Code out beyond one developer: what to commit to the repo, settings precedence, managed settings and what admins can enforce, API providers and gateways, plugin marketplaces, cost benchmarks and spend controls, analytics and OpenTelemetry, data handling, and a phased rollout plan.
- TroubleshootingA practical guide to fixing Claude Code: a triage method (/doctor, /context, safe mode, clean config, debug logs), and symptom tables for installation and login, configuration that doesn't load (CLAUDE.md, settings, hooks, MCP, skills), API and usage-limit errors, permissions in scripts, performance, context thrashing, search, terminal and clipboard problems.
- Claude across the SDLCA phase-by-phase playbook for using Claude in software delivery — discovery, requirements, architecture, implementation, testing, code review, security, documentation, CI/CD and release, operations and incidents, maintenance and migrations, plus IT activities beyond code — with the right model, example prompts, verification and human checkpoints for each.
- Using Claude intelligentlyThe practices that separate effective from wasteful Claude use: context engineering, prompting current models, verification loops, delegation and sub-agents, cost control, enterprise security and governance, measuring productivity, and the anti-patterns to avoid — with a one-page checklist.