Start from a repository Claude can inspect
Set up Claude Code using its current installation guide and open the project root. Provide a small repository instruction file with the actual commands for tests, build and formatting, plus any directories to avoid. Ask Claude to identify the relevant code and tests before writing anything. This first check reveals stale project instructions or missing tool setup while the task is still easy to correct.
Give a feature a narrow acceptance test
For a new image upload limit, specify where the limit belongs, what an accepted file looks like and what error the app should show when a file is too large. Ask Claude to follow the existing request-validation pattern and run the relevant integration check. Review the diff for changes outside the upload path and verify both a file at the limit and one beyond it.
Separate broad edits into verifiable slices
For a repository-wide rename, inventory the declaration, imports, tests and external consumers before changing them. Preserve an alias if callers still rely on the old name, then migrate internal usages in a small batch. Run the compiler and targeted tests after each slice. When a refactor changes a contract, record the old and new behavior so reviewers can assess the migration directly.
Review the proposed change against its actual context
Supply the diff and its base revision, then ask for findings with a file location, a triggering condition and the expected impact. A headless invocation can produce a draft review from a captured diff, while a repository-aware session can inspect callers and tests. Verify each recommendation against the code, especially when a comment would block a release or change a public interface.
Promote a proven instruction to a reusable command
After a routine yields consistent results, package it under a named skill. A release notes skill can accept the previous tag, group changes by reader impact and require a source reference for every item. Existing projects may have legacy custom command files under .claude/commands. Current Claude Code documentation describes skills as the preferred packaging for reusable instructions and their supporting files.
Bring in one external system at a time
An MCP connection can supply issue status, pull requests or other approved records. Try a read-only sprint summary that groups active issues by assignee, lists blocked items and records the tracker filters used. Keep posting or updating issues as a separate step with explicit approval until the intended behavior is reliable.
Make a CI run behave like a deliberate reviewer
Start with an opt-in event on a test repository and use the official Claude Code GitHub Action where it fits. Decide which repositories, branches and workflow triggers should run it, what it may access, and where the result will appear. Use CI's existing credential mechanism, precise token permissions and a job timeout. Treat pull request descriptions and other submitted text as input rather than instructions that may expand the workflow's authority.
Track outcomes that matter
Record whether the workflow made the intended change, how often a person had to correct it, and how long the check took compared with manual work. Save the original request, diff and verification result for failed runs. Improve recurring failures at their source, for example by correcting the fixture or clarifying which test command exercises the feature.
Source documentation
Related reading
Building Your First Claude Agent from Scratch
Monthly Claude API credits and how to claim them
Claude Tool Use in Production: Patterns for Building Reliable AI APIs