SkillsReviewed · mattpocock

Matt Pocock's Prototype

Prototype is a coding-assistant skill for developers exploring business rules or interface layouts, but its demos deliberately skip tests and most error handling. It specifies either a shareable HTML logic demo or several structurally different UI variants within an application.

Researched 13 Nov 2026

In short.

Prototype is a coding-assistant skill for developers and their product or design collaborators to explore logic and layouts, with outputs that need further engineering before production use. Its logic branch specifies a self-contained HTML file with readable state, free-play actions and guided scenarios. Its UI branch specifies three variants by default, switched through a URL parameter within an existing page where possible. Both branches require recording the resulting decision and retaining the discarded prototype on a separate branch. Runtime behavior, compatibility and effectiveness are not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete supplied prototype skill at revision 5863806dd4e15c63174bee4e7515a4256792ecfa: SKILL.md, LOGIC.md, UI.md and agents/openai.yaml, plus the separately supplied repository MIT LICENSE. Other repository folders and linked material outside those files are excluded. The original GitHub address and immutable source revision are retained. Installation, prototype generation, browser behavior, compatibility and output quality were not executed or assessed.

The overview

Identity

Prototype is the instruction skill named prototype in Matt Pocock's skills repository. Its entry point delegates business-rule questions to LOGIC.md and appearance questions to UI.md. The accompanying agents/openai.yaml supplies the display name Prototype and a short interface description.

The original resource address is [https://github.com/mattpocock/skills/tree/main/skills/engineering/prototype]. The material described here belongs to revision 5863806dd4e15c63174bee4e7515a4256792ecfa.

Assessment

This is a useful fit when one unresolved question can be explored by clicking through behavior or comparing layouts. Its strongest feature is the explicit choice between those two activities: each produces a different artifact suited to the question.

The instructions are concrete enough to guide implementation, including scenario resets, separation of logic from presentation and URL-based UI switching. Their effectiveness remains unknown: no generated prototype, measured time saving or correctness result is supplied.

Users

Developers use the skill to direct an assistant's prototype work. Designers, product managers and domain experts are intended participants in the resulting logic demo: labels use business language, and the file is intended to open without installing a development environment.

The UI branch suits teams comparing layouts in the context of their actual application. Creating and integrating those variants still requires familiarity with the project's components, routing and development commands.

Capabilities

The logic branch specifies a single HTML file with inline CSS and JavaScript. It includes a visible question, readable current state, free-play action buttons and tabbed walkthroughs that reset to a known starting state. Scenarios should cover ordinary behavior, awkward cases and attempted illegal actions.

The UI branch specifies three variants by default, capped at five. Variants must be structurally different, with different layout, information hierarchy and primary affordance, rather than differing only in colour or copy. A shared floating bar provides previous and next controls, a variant label and keyboard switching; the chosen variant is recorded in the URL.

Using it

Requirements

The intended logic artifact needs a browser and uses plain HTML, CSS and JavaScript without a framework, bundler or server. State stays in memory unless persistence is the explicit question; that exception calls for a scratch database or clearly disposable local file.

UI prototypes depend on the existing project's framework, styling system, router and task runner. Embedding variants preserves the page's data fetching and authentication, so existing application dependencies remain relevant. The prescribed handover also assumes version control and an implementation issue for the branch pointer. Supported assistant hosts, model requirements and software versions are unspecified.

Mechanism

For logic exploration, the assistant isolates the behavior in a module that has no dependency on the page's buttons or document structure. Suggested forms include a reducer mapping state and action to new state, an explicit state machine, pure transformation functions or a module that owns internal state. The page calls that module and displays the result after each action.

For UI exploration, a variant URL search parameter selects the rendered component while existing data fetching, route parameters and authentication remain in place. The switcher updates the URL through the framework's router. Arrow keys cycle with wraparound, except while an input, textarea or editable element has focus. The switcher must be hidden in production builds.

Setup

Keep SKILL.md with LOGIC.md and UI.md so its relative references remain usable; the supplied interface metadata lives at agents/openai.yaml. The entry point alone does not contain the full instructions for either branch. No assistant installation command or host-specific loading procedure is provided.

Begin with one explicit question. A logic prototype is intended to open by double-clicking its HTML file. A UI prototype should start through one command in the project's existing task runner and should use an existing page whenever there is a suitable host.

Example

An illustrative logic question is whether an order can be cancelled after dispatch. A prototype could expose Pay, Dispatch and Cancel buttons, readable order status and resettable walkthroughs for different action sequences. A domain expert would inspect which transitions should be allowed. This example is hypothetical; the source supplies no order model or demonstrated result.

For a settings-page design question, the UI branch would instead place structurally different layouts on the existing settings route and make them selectable through the variant parameter.

Assessment & evidence

Limitations

Both branches deliberately omit tests, abstractions and error handling beyond what makes the prototype runnable. Manual exploration can expose a mistaken assumption, but it does not establish exhaustive state coverage or production correctness.

UI mutations should use stubs. Hiding the floating switcher in production does not replace the required cleanup of prototype code. The winning UI needs proper implementation before release; reusable logic must remain separate from the disposable HTML shell. Browser compatibility, accessibility, security and generated-code quality are not assessed.

Reasoning

The logic branch separates reusable behavior from its temporary presentation, making it possible to transfer the resulting reducer or functions into real code. Resettable scenarios make particular action sequences repeatable for discussion.

The UI branch favors an existing page because real headers, sidebars, data and density can reveal layout problems that an isolated mockup hides. These are coherent design rationales, but the supplied material does not demonstrate that they improve decisions or reduce implementation time.

Alternatives

The resource's main alternatives are its two branches: a standalone logic demo for behavior questions and in-application variants for appearance questions. Within the UI branch, a new disposable route is reserved for cases without a suitable existing page.

No competing skill, prototyping product or framework is compared in the supplied material. Relative quality, effort and cost are unknown. Work requiring production assurance needs implementation and validation beyond this skill's prototype instructions.

Evidence

The available source material comprises SKILL.md, LOGIC.md, UI.md and agents/openai.yaml, together with the repository LICENSE. These establish the intended behavior, artifact structure and reuse permissions.

The UI rendering excerpt is explicitly pseudocode requiring adaptation to the project's framework. No generated demo, execution result, benchmark or compatibility result is supplied. Nothing was executed, so practical behavior remains unverified.

Access & freshness

Costs

The MIT license grants its stated reuse permissions free of charge. The supplied material gives no assistant subscription prices, model usage estimates, project-service costs or engineering-time estimates. Total operating cost is unknown.

Rights

The repository's MIT license permits use, copying, modification, distribution, sublicensing and sale of the covered software and documentation. Copies or substantial portions must retain the copyright and permission notices, including Copyright (c) 2026 Matt Pocock. The material is provided without warranty.

The license text is available at [https://raw.githubusercontent.com/mattpocock/skills/5863806dd4e15c63174bee4e7515a4256792ecfa/LICENSE]. The supplied files do not establish licensing terms for generated outputs or dependencies in a user's project.

Freshness

The source snapshot was captured on 13 November 2026 at 07:49:12.663 UTC and identifies revision 5863806dd4e15c63174bee4e7515a4256792ecfa. The original address follows main, which may change; this report describes the identified revision.

No numbered release, supported-version matrix or later changes are established by the supplied material.

Actions

Choose one question before requesting code. For business rules, identify the state, actions and awkward sequences that collaborators need to explore. For layouts, identify the host page and request genuinely different structures rather than cosmetic variations.

After exploring the prototype, record the question and conclusion. Integrate the resulting decision into real code, retain the complete prototype on a disposable branch and link that branch from the implementation issue. Remove losing UI variants and the switcher from the main branch, and complete the engineering and validation needed for production.

Evidence for this report

LICENSEnotice · checked 2026-11-13
skills/engineering/prototype/LOGIC.mdselected · checked 2026-11-13
skills/engineering/prototype/SKILL.mdselected · checked 2026-11-13
skills/engineering/prototype/UI.mdselected · checked 2026-11-13