Claude Code
Directing Claude Code on real client builds.
Key takeaways4 min read
- Give Claude Code project context once, in a CLAUDE.md file, instead of repeating it in every prompt.
- Work in small, specific, reviewable tasks — and commit after each one.
- Point it at real references: the design, existing components and acceptance criteria.
- A person stays accountable for every line that ships.
01Set the project up for success
Claude Code works inside a project folder, reading files and running commands in your terminal. It is far more accurate in a codebase that is conventional and well organised. Before any real work starts, put the foundations in place:
- A standard framework setup (for example Next.js with TypeScript) with linting and formatting configured.
- Design tokens for colour, type, spacing and motion in one place.
- A small set of base components — buttons, headings, section wrappers — that everything else reuses.
- Git from the first commit, so every change can be reviewed and reversed.
02Write a CLAUDE.md
Claude Code reads a CLAUDE.md file at the root of the project at the start of each session. Use it to record what a new developer would need to know: the stack, the folder structure, the commands to run, naming conventions, the design system, and rules the project must follow.
# Project: <client> marketing site ## Stack Next.js (App Router), TypeScript, Tailwind CSS, GSAP. ## Commands npm run dev · npm run build · npm run lint ## Conventions - Reuse components in src/components/ui before creating new ones. - Colours, type and spacing come from tokens in globals.css only. - All animation respects prefers-reduced-motion. ## Content rules - Never invent statistics, testimonials, client logos or results. - Copy comes from the approved content doc; flag gaps instead of filling them.
Keep it short and current. When you correct the same mistake twice, add a line to CLAUDE.md so it doesn't happen a third time.
03Work in small, reviewed loops
Large, vague requests ("build the homepage") produce large, vague results. Specific tasks produce work you can actually review.
- 01Describe one piece of work with its context: "Build the pricing section from the Figma frame, reusing SectionHeading and Button."
- 02Ask for a short plan first on anything non-trivial, and correct it before code is written.
- 03Let it implement, then review the diff yourself — not just the rendered page.
- 04Run lint, type checks and the page in a browser.
- 05Commit with a clear message, then move on to the next piece.
04Getting design fidelity right
Claude Code builds closer to the design when it has precise references. Share the design file or screenshots of the exact frames, name the components it should reuse, and call out the details that matter: spacing, type scale, breakpoints and hover states.
Review at real breakpoints — narrow phones, tablets and wide desktop screens — and give feedback as specific, measurable corrections ("the card gap should match the 24px grid gap") rather than general impressions.
05Safety and client data
Treat Claude Code like a capable contractor with access to your machine. Keep production credentials, client data and API keys out of the repository and out of prompts. Use environment files that are excluded from Git, and review any command that deletes files, changes infrastructure or touches live systems before approving it.
Be clear with clients about how AI tools are used in delivery, and check your agreements cover it.
06Handover and maintenance
Because Claude Code works best in a tidy codebase, it also leaves one behind when it is directed well. At handover, make sure the README explains how to run, build and deploy the site, CLAUDE.md reflects the final conventions, and the content editing workflow is documented for the client.
That same documentation makes later changes fast — for your team or for whoever maintains the site next.
Related reading
- ServiceAI Web DesignStrategy, design, Claude Code development and GSAP motion, delivered under your brand.
- ResourceHow AI-native production changes website scoping, pricing and deliveryWhat changes — and what doesn't — when websites are built with AI coding tools: where the time goes now, how to scope and price, and how to protect quality.
- ResourceGSAP motion that feels premium and stays fastMotion patterns for agency websites built with GSAP: easing, timing, ScrollTrigger, performance rules, React cleanup and reduced-motion support.
- For agenciesFor web design agenciesExtra design, development and GSAP motion capacity under your brand. AI-native, GEO-ready websites built with Claude Code and reviewed by senior developers.
Next · GSAP
GSAP motion that feels premium and stays fast
Read the guide
Put it into practice
Ready to put this into practice?
If you’d rather we did the work for your clients, under your brand, tell us what you need.