Agent skill

Code Confirmation

by thedaviddias in thedaviddias/ux-patterns-for-developers

A skill your agent uses when implementing verify codes with segmented input.

Custom licenceAuto-check passedFrontend & Design

Install Code Confirmation

skills CLI
$ npx skills add thedaviddias/ux-patterns-for-developers --skill code-confirmation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install thedaviddias/ux-patterns-for-developers code-confirmation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/thedaviddias/ux-patterns-for-developers.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/code-confirmation .claude/skills/code-confirmation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-confirmation
GitHub stars
258
Token cost
~1.4k tokens
SKILL.md length
505 words
Files
2 (incl. references)
Skills in repo
92
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses when implementing verify codes with segmented input.

  • Works in 4 steps: Confirm the pattern matches the problem… → Start from the anatomy and examples in… → Apply accessibility, performance, and… → …
  • Implementing verify codes with segmented input
  • SKILL.md covers What it solves, When to use, When to avoid and Implementation workflow, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Code Confirmation is an agent skill from thedaviddias/ux-patterns-for-developers. Use when implementing verify codes with segmented input.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/pattern.md`).

It sits in Frontend & Design. The repository describes itself as: 🧩 Developer ecosystem for UX patterns: comprehensive docs, ready-to-use components, and real-world examples.

When your agent uses it

  • Implementing verify codes with segmented input

Example prompts

  • “/code-confirmation”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Confirm the pattern matches the problem and constraints before copying the example.
  2. Start from the anatomy and examples in references/pattern.md, then choose the smallest viable variation.
  3. Apply accessibility, performance, and interaction guardrails before layering visual polish.
  4. Use the testing guidance to verify behavior across keyboard, screen reader, responsive, and failure scenarios.

What it can do on your machine

Read from SKILL.md and the folder at commit a15991d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript and html).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • uxpatterns.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Code Confirmation loads about 1.4k tokens when it runs, and up to ~7.5k if it reads all its reference files. Until then it costs about 19 tokens; SKILL.md has 505 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~19
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 505 words (~1,389 tokens).

name
code-confirmation
metadata.id
code-confirmation
metadata.category
forms
metadata.pattern
Code Confirmation
metadata.source
uxpatterns.dev
metadata.url
https://uxpatterns.dev/patterns/forms/code-confirmation
metadata.sourcePath
apps/web/content/patterns/forms/code-confirmation.mdx

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in skills/code-confirmation of thedaviddias/ux-patterns-for-developers.

  • SKILL.md
  • references/pattern.md

Open the folder on GitHubat commit a15991d

Compare with similar skills

Code Confirmation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Code Confirmation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Confirmation this skillthedaviddias/ux-patterns-for-developers258—~1.4kAutomated safety check: PassCustom licence
AI Elements Chat Componentsmweinbach/agent-coworker1565 repos~1.8kAutomated safety check: PassCustom licence
MintlifyArize-ai/phoenix12k7 repos~3.4kAutomated safety check: PassMIT
Building AI Chatancoleman/ai-design-components5261 repos~3.4kAutomated safety check: PassMIT
Eval Chatankit/stylebot1.6k—~1.1kAutomated safety check: PassMIT
Search Paramspromptfoo/promptfoo26k—~1.1kAutomated safety check: PassMIT

Similar skills

  • AI Elements Chat Components

    mweinbach/agent-coworker

    Adds AI Elements components such as conversations, messages, tool displays and prompt inputs to a Next.js project that uses shadcn/ui.

    156 GitHub starsUsed in 5 repos~1.8k tokens
    Frontend & DesignAuto-check passed
  • Mintlify

    Arize-ai/phoenix

    Build and maintain documentation sites with Mintlify. An agent skill from Arize-ai/phoenix.

    12k GitHub starsUsed in 7 repos~3.4k tokens
    Frontend & DesignAuto-check passed
  • Building AI Chat

    ancoleman/ai-design-components

    Builds AI chat interfaces and conversational UI with streaming responses, context management, and multi-modal support.

    526 GitHub starsUsed in 1 repo~3.4k tokens
    Frontend & DesignAuto-check passed
  • Eval Chat

    ankit/stylebot

    Measure whether a change makes Chat's styling replies better, with yarn eval:chat — it runs styling requests on recorded real pages for two versions of Stylebot and measures on the page whether each…

    1.6k GitHub stars~1.1k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Search Params

    promptfoo/promptfoo

    URL search param and hash state management. An agent skill from promptfoo/promptfoo.

    26k GitHub stars~1.1k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Benchmark and profile the Dynamo frontend (dynamo.frontend HTTP + tokenizer + KV router) against mock workers (dynamo.mocker).

    8.2k GitHub stars~3.5k tokensUpdated today
    Frontend & DesignAuto-check: notes

More from thedaviddias/ux-patterns-for-developers

All 92 skills in this repo
  • Account Settings

    thedaviddias/ux-patterns-for-developers

    A skill your agent uses when implementing user account configuration and preferences.

    258 GitHub stars~1.2k tokensUpdated 2 days ago
    Auto-check passed
  • Breadcrumb

    thedaviddias/ux-patterns-for-developers

    A skill your agent uses when implementing help users understand their current location.

    258 GitHub stars~1.2k tokensUpdated 2 days ago
    Auto-check passed
  • Button

    thedaviddias/ux-patterns-for-developers

    A skill your agent uses when you need to trigger actions and submit forms.

    258 GitHub stars~695 tokensUpdated 2 days ago
    Auto-check passed
  • Color Picker

    thedaviddias/ux-patterns-for-developers

    A skill your agent uses when implementing select colors with visual feedback.

    258 GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Currency Input

    thedaviddias/ux-patterns-for-developers

    A skill your agent uses when implementing enter and format monetary values.

    258 GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Date Input

    thedaviddias/ux-patterns-for-developers

    A skill your agent uses when implementing enter dates in a structured text format.

    258 GitHub stars~1.4k tokensUpdated 2 days ago
    Auto-check passed

Questions about Code Confirmation

What does Code Confirmation do?

A skill your agent uses when implementing verify codes with segmented input. Code Confirmation is an agent skill from thedaviddias/ux-patterns-for-developers. Use when implementing verify codes with segmented input.

When should I use Code Confirmation?

Code Confirmation fits situations like: implementing verify codes with segmented input.

How do I install Code Confirmation in Claude Code?

Run `npx skills add thedaviddias/ux-patterns-for-developers --skill code-confirmation -a claude-code`. Or copy the skill folder (skills/code-confirmation in thedaviddias/ux-patterns-for-developers) into .claude/skills/code-confirmation in your project. Claude Code loads it when a task matches its description.

How do I install Code Confirmation in Codex?

Run `npx skills add thedaviddias/ux-patterns-for-developers --skill code-confirmation -a codex`. Or copy the skill folder (skills/code-confirmation in thedaviddias/ux-patterns-for-developers) into .agents/skills/code-confirmation in your project. Codex loads it when a task matches its description.

Can I use Code Confirmation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add thedaviddias/ux-patterns-for-developers --skill code-confirmation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-confirmation, .gemini/skills/code-confirmation, .github/skills/code-confirmation and .opencode/skills/code-confirmation in your project.

What does Code Confirmation need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Confirmation is instructions for the agent only.

Does Code Confirmation access the network?

SKILL.md names 1 domain. As links in the text: uxpatterns.dev. This is read from the text; nothing was executed.

Is Code Confirmation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Code Confirmation use?

Code Confirmation has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Code Confirmation use?

About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.1k tokens, read only when the agent opens those files.

What are the alternatives to Code Confirmation?

Skills that share tags, products or a category with Code Confirmation: AI Elements Chat Components (mweinbach/agent-coworker, 156 stars), Mintlify (Arize-ai/phoenix, 12k stars), Building AI Chat (ancoleman/ai-design-components, 526 stars) and Eval Chat (ankit/stylebot, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Confirmation?

thedaviddias (a GitHub user) maintains it in thedaviddias/ux-patterns-for-developers, which has 258 GitHub stars. The repository holds 92 skills in this directory. The repository was last updated on October 5, 2026.

Source: thedaviddias/ux-patterns-for-developers on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.