MCPcopy Index your code
hub / github.com/alphagov/govuk-prototype-kit

github.com/alphagov/govuk-prototype-kit @v13.20.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v13.20.2 ↗ · + Follow
427 symbols 1,183 edges 168 files 24 documented · 6%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GOV.UK Prototype Kit

Go to the GOV.UK Prototype Kit site to get the latest version and read the documentation.

About the Prototype Kit

The Prototype Kit provides a simple way to make interactive prototypes that look like pages on GOV.UK. These prototypes can be used to show ideas to people you work with, and to do user research.

Read the project principles.

Make sure prototypes are password-protected

If you publish your prototypes online, they must be protected by a password. This is to prevent members of the public finding prototypes and thinking they are real services.

You must protect user privacy at all times, even when using prototypes. Prototypes made with the kit look like GOV.UK, but do not have the same security provisions. Always make sure you are handling user data appropriately.

Installation instructions

Node version requirements

We always recommend you use the current long term support (LTS) version of Node.js.

The Prototype Kit always supports at least the current and previous LTS releases.

Support

The GOV.UK Prototype Kit is currently maintained by the GOV.UK Design System team. There is only minimal support in place.

If you’ve got a question, idea or suggestion, share with the community of users on the #govuk-prototype-kit channel on cross-government Slack.

Contributing

If you’ve got an idea or suggestion, you can:

The govuk-prototype-kit repository is public and we welcome contributions from anyone.

Contributors to alphagov repositories are expected to follow the Contributor Covenant Code of Conduct. Contributors working within government are also expected to follow the Civil Service code.

We're unable to monitor activity on this repository outside of our office hours (10am to 4pm, UK time). To get a faster response at other times, you can report abuse or spam to GitHub.

Security

GDS is an advocate of responsible vulnerability disclosure. If you’ve found a vulnerability, we would like to know so we can fix it.

For full details on how to tell us about vulnerabilities, see our security policy.

Core symbols most depended-on inside this repo

get
called by 339
lib/session-file-store.js
waitForApplication
called by 83
cypress/e2e/utils.js
log
called by 48
cypress/e2e/utils.js
verboseLog
called by 24
lib/utils/verboseLogger.js
exec
called by 19
lib/exec.js
getErrorDetails
called by 19
lib/utils/errorModel.js
getErrors
called by 19
lib/plugins/plugin-validator.js
verboseLog
called by 18
migrator/file-helpers.js

Shape

Function 409
Method 10
Class 8

Languages

TypeScript100%

Modules by API surface

lib/manage-prototype-handlers.js35 symbols
lib/plugins/plugins.js29 symbols
lib/build.js20 symbols
cypress/events/index.js20 symbols
__tests__/utils/mock-file-system.js20 symbols
migrator/file-helpers.js19 symbols
lib/utils/index.js17 symbols
migrator/migration-steps.js15 symbols
lib/plugins/packages.js15 symbols
lib/plugins/plugin-validator.js13 symbols
cypress/e2e/plugins/plugin-utils.js13 symbols
lib/utils/errorModel.js12 symbols

For agents

$ claude mcp add govuk-prototype-kit \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact