PixelPilot uiux-forms.instructions.md

Instructions for building forms with multiple steps, validation, autocomplete, password-strength feedback, phone and country selection, and submission states. It also describes custom date, time, color, select, and alert controls.

In plain words
What is it for?
Use it for registration, checkout, onboarding, or other forms that need step indicators, input validation, autocomplete, password checks, country and phone fields, and controlled submission feedback.
Why use it?
It helps make complex forms clearer and covers how to show errors and progress while avoiding inconsistent browser-provided controls.

Instructions file for GitHub Copilot

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/dev-lou/pixelpilot/uiux-forms
Clone the repo
git clone --depth 1 https://github.com/dev-lou/PixelPilot

Made for: GitHub Copilot.

Per session 11,090 This file is loaded in full into every session.
When invoked 11,090 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.11090 $0.11090
Opus 5 $0.05545 $0.05545
Sonnet 5 $0.02218 $0.02218
Haiku 4.5 $0.01109 $0.01109

Measured yesterday against content hash 3b12c8f0c399, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

PixelPilot uiux-forms.instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

vscode/.github/instructions/uiux-forms.instructions.md · 1,317 lines

How it starts

The opening of the file, as written. The whole thing — 1,317 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UI/UX Forms 2026

Multi-step forms, autocomplete, password strength, phone + country picker, optimistic vs blocking submission, and form validation patterns. Forms are where users abandon products. Polish here = trust.


CRITICAL RULE: NO NATIVE BROWSER UI

All native browser UI elements (date picker, time picker, color picker, select dropdown, alerts) are prohibited.
Use custom token‑styled components as described in this file and uiux-interactive.md.
For date/time pickers, use Flatpickr (already in CDN stack) with token-based CSS overrides.
For alerts/confirmations, use swal helpers from uiux-components.md.


MULTI-STEP FORM

HTML Structure

<form class="multistep-form" id="msf" novalidate aria-label="Registration form">
  <!-- Progress bar -->
  <div class="msf-progress" role="progressbar"
    aria-valuenow="1" aria-valuemin="1" aria-valuemax="3"
    aria-label="Step 1 of 3">
    <div class="msf-progress__bar" style="width: 33.33%"></div>
  </div>

  <!-- Step indicator -->
  <nav class="msf-steps" aria-label="Form steps">
    <button type="button" class="msf-step active" data-step="1"
      aria-current="step" aria-label="Step 1: Your info">
      <span class="msf-step__num">1</span>
      <span class="msf-step__label">Your info</span>
    </button>
    <span class="msf-step-divider" aria-hidden="true"></span>
    <button type="button" class="msf-step" data-step="2"
      aria-label="Step 2: Account">
      <span class="msf-step__num">2</span>
      <span class="msf-step__label">Account</span>
    </button>
    <span class="msf-step-divider" aria-hidden="true"></span>
    <button type="button" class="msf-step" data-step="3"
      aria-label="Step 3: Confirm">
      <span class="msf-step__num">3</span>
      <span class="msf-step__label">Confirm</span>
    </button>
  </nav>

  <!-- Panels -->
  <div class="msf-panel active" data-panel="1" role="group" aria-label="Step 1: Your info">
    <div class="field">
      <input class="field__input" type="text" id="first-name" name="firstName"
        placeholder=" " autocomplete="given-name" required minlength="2">
      <label class="field__label" for="first-name">First name</label>
      <span class="field__error" role="alert"></span>
    </div>
    <div class="field">
      <input class="field__input" type="text" id="last-name" name="lastName"
        placeholder=" " autocomplete="family-name" required minlength="2">
      <label class="field__label" for="last-name">Last name</label>
      <span class="field__error" role="alert"></span>
    </div>
  </div>

  <div class="msf-panel" data-panel="2" role="group" aria-label="Step 2: Account" hidden>
    <div class="field">
      <input class="field__input" type="email" id="email" name="email"
        placeholder=" " autocomplete="email" required>
      <label class="field__label" for="email">Email address</label>
      <span class="field__error" role="alert"></span>
    </div>
    <!-- Password with strength meter (see below) -->
  </div>

  <div class="msf-panel" data-panel="3" role="group" aria-label="Step 3: Confirm" hidden>
    <!-- Summary / review -->
    <div class="msf-summary" id="msf-summary"></div>
  </div>

  <!-- Navigation -->
  <div class="msf-nav">
    <button type="button" class="btn btn--ghost msf-btn-back" id="msf-back" hidden>
      ← Back
    </button>
    <button type="button" class="btn btn--primary msf-btn-next" id="msf-next">
      Continue →
    </button>
    <button type="submit" class="btn btn--primary msf-btn-submit" id="msf-submit" hidden>
      Create account
    </button>
  </div>
</form>

Read the full file on GitHub · 1,317 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 1,317 lines · 11,090 tokens per session scan A 3b12c8f0c399

Subscribe to this mod's changes

PixelPilot uiux-forms.instructions.md is an instructions file published in the GitHub repository dev-lou/PixelPilot (2 stars, last pushed 4mo ago), licensed MIT. It adds 11,090 tokens to every session, about $0.0554 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.