benjaminr

Govuk Component — Development skill for Claude Code

Development community

[--to ] [--with-js] - Add a properly configured GOV.UK component to your project with all necessary imports and setup.

How to install Govuk Component

Installs to ~/.claude/commands/benjaminr-govuk-claude-template-govuk-component.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/benjaminr/govuk-claude-template/HEAD/.claude/commands/govuk-component.md -o ~/.claude/commands/benjaminr-govuk-claude-template-govuk-component.md

Restart Claude Code, or start a new session, for it to be picked up.

What Govuk Component does

[--to ] [--with-js] - Add a properly configured GOV.UK component to your project with all necessary imports and setup.

Usage

/project:govuk-component  [--to ] [--with-js]

Arguments

  • - Required. Name of the GOV.UK component to add. Common components include:
    • Form components: input, textarea, radios, checkboxes, select, file-upload
    • Content components: accordion, tabs, details, summary-list, table

Alternatives in Development

  • Claude API — Build apps with the Claude API or Anthropic SDK 94.1k ★
  • Fix Imports — Fix Broken Imports 2.8k ★
  • Portaljs Add Chart — Add a chart (line, bar, area, pie, or scatter) to a dataset's showcase in a PortalJS portal 2.3k ★

Full documentation available on GitHub

View Source Repository