Interaction and content design for Defra services, including frontends on the Core Delivery Platform (CDP). Use when designing a service frontend, writing interface copy, building a prototype for research, choosing a component or pattern, writing error messages or a copy deck, or getting a change live. Trigger on 'prototype', 'GOV.UK Design System', 'question page', 'error message', 'copy deck', 'accessibility', 'deploy to CDP', 'pull request'. Covers Defra tech constraints and the deploy loop.
Ships in user-centred-designer. 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.
None: SKILL.md is the whole skill.
Designing and building the thing people actually use, at Defra. Covers prototypes for research, real frontends on the Core Delivery Platform (CDP), the copy that goes in them, and the accessibility duties that are not optional. Works alongside defra-doc-style for writing and visual standards and defra-service-designer for mapping the service before you build any of it.
Two governing sources: the Defra service manual and the GOV.UK service manual. Defra adds to GOV.UK, it does not replace it.
Prototypes exist to make sure you are building the right thing, to give the team a shared understanding, and to explore ideas faster and at lower risk than production code.
#prototype-kit-support. The Defra Design team does not give Heroku access to team members directly.Check the GOV.UK Design System before designing anything new. If what you need is not there, check its backlog, then other departments via the gov-design-systems-list GitHub repository, then ask [email protected] before inventing.
Defra does not publish its own component library. It does provide Defra Forms for accessible GOV.UK-styled forms, Defra Interactive Map for accessible mapping, which is in alpha, so expect breaking changes, and Defra Customer Identity for external sign-in via GOV.UK One Login and Government Gateway.
<h1>. Link to the field in error. Prefix the page title with "Error: ". The summary text must match the inline message exactly.<main>, working without JavaScript. Never together with breadcrumbs.The standards stack is the GOV.UK A to Z style guide plus the Defra style guide for terminology. The full list is on Defra content design.
From writing for user interfaces:
<h1> per page, describing what the page does.Error message language to avoid: technical jargon, "forbidden", "illegal", "prohibited", "you forgot", "please" (it implies a choice), "sorry" (it does not fix anything), "valid" and "invalid" (they add nothing), and informal language like "oops".
The defra-doc-style skill carries the full writing rules and is the single source for them. The ones that bite hardest in an interface: say "people", not "users", per the Defra style guide. Short words: "buy" not "purchase", "help" not "assist". Never leverage, robust, streamline or utilise. Say what actually happens. No em dashes, sentence case everywhere, acronyms expanded on first use. Check the Defra style guide before inventing a term, and submit new terms through the form on that page.
A copy deck is a single document containing everything a developer needs to code a page: headings, body, hint text, button labels, metadata and error messages. Word, spreadsheet or Confluence is fine. Write error and validation messages jointly with the interaction designer, and make sure developers use the final versions rather than placeholder text.
Run content critiques. Keep a service-specific style guide and glossary capturing the difference between the language people use and internal terminology.
Terms and conditions, the privacy notice, the accessibility statement and the cookies policy each have a phase deadline and a reviewer. Follow legal content for the gates, and Welsh language translation if the service offers Welsh: everything needs translating, including hint text, error messages and screen reader hidden text.
Public-facing services must have a start page hosted on GOV.UK.
Defra adds hard rules here. All essential geographic information must be available in a non-visual format such as text or a list. All essential chart data must be available as text or a table. Maps and charts are visual enhancements for people who choose to use them. Only use interactive maps when there is a clear user need.
Design the consent journey so people can use the service without consenting, and withdraw consent as easily as they gave it. The retention and storage rules are in Defra's cookies guidance.
CDP is Defra's internal developer platform. Teams build, deploy, test and monitor services on it without depending on separate infrastructure teams. Read the onboarding considerations, architectural overview and how-to documentation before adopting it. Portal access needs a Defra device or the VPN. Support is in #cdp-support.
Service creation, templates, data stores and the Bedrock guardrail presets are documented in the CDP portal documentation, which needs a Defra device or the VPN. Two facts that shape design work: frontends on CDP are Node.js with GOV.UK Frontend Nunjucks templates, and AI services run behind mandatory Bedrock guardrails.
Interface copy usually sits in files you can edit directly in GitHub in your browser, so a content designer can change wording and open a pull request without a developer and without installing anything. Ask to be shown this once.
Analyse code with Defra SonarQube Cloud and follow the README standards. Keep architecture decision records.
Before you commit anything, check that no personal data has reached generated mockups, test fixtures, configuration files or connection strings. If it has, remove it, do not commit the file, and follow report an AI incident.
If the service uses a language model, everything sits under the AI digital toolkit: run the triage, check the tools radar, and follow the data rules before you start. The list below is the AICE house pattern drawn from the AI Playbook and the GOV.UK Chat work, not a published Defra standard, so check it against the toolkit as that grows:
Keep a design history: what changed, what the research found, why the decision went the way it did. Save previous iterations, especially anything tested with people, with consistent naming.
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/defra-doc-styleDefra document and presentation design. Use when creating any document, slide deck, PowerPoint, HTML page, one-pager or written deliverable for Defra: GOV.UK style documents, GDS-aligned deliverables, decks for government audiences, personas, stakeholder updates, reports, or any request to write, design or review a professional document. Covers GOV.UK content design rules, the Defra style guide, visual standards, layout, and how to build and quality check slides, decks and pages./defra-service-designerService design for Defra. Use when mapping a service end to end, building a service blueprint, making a journey map, laying a target operating model or to-be framework over a current-state map, or running a discovery. Trigger on 'service blueprint', 'map the as-is', 'to-be framework', 'journey map', 'map the end to end journey', 'where could AI help across this service'. Covers the blueprint and journey map house method and how to build and iterate the artefact.Other plugins' skills for the same job
/user-centred-designer:defra-interaction-content-designerfrom user-centred-designer
npx claudepluginhub defra/defra-ai-plugins --plugin user-centred-designer