Home › Prompts › Claude › Build a small interactive tool as an artifact

Build a small interactive tool as an artifact

Ask Claude to build a single-file interactive tool in an artifact, like a calculator or checklist, that you can use right away.

ClaudeCodingRuleStack original

Written for Claude Opus 5.5 (artifacts) · Updated 2026-10-17

Note: Review and test before use. Provided as is, without warranty. See Terms.

Prompt

Download  
Build an interactive [tool, e.g. pricing calculator / habit tracker / quiz] as an artifact.
Inputs: [inputs]. Logic: [rules or formulas]. Output: [what it shows].
Keep it in one file, make it work on mobile, use clear labels, and include a reset button. After building it, list 3 improvements I could ask for.

Replace everything in [square brackets] with your own details.

Settings & parameters

Variations

Tips

More: all Claude prompts · all coding prompts · prompt library

Related prompts

Thorough pull request review

A structured code review focused on correctness, security and maintainability, with severity labels and concrete fixes.

ClaudeCoding

Generate meaningful unit tests

Tests that cover behavior, edge cases and failure modes for a function, in your framework's style.

ClaudeCoding

Debug an error with hypotheses

A debugging prompt that makes the model rank hypotheses and suggest the fastest checks instead of guessing a fix.

ChatGPTCoding

Prototype a small web app in Gemini Canvas

Use Gemini Canvas to prototype a small web app or page with a clear spec and test checklist.

GeminiCoding

Explain an unfamiliar codebase

Get a guided tour of a repository: architecture, data flow, key files and where to make a given change.

GeminiCoding

Write and explain a SQL query from a schema

Generate a correct, efficient SQL query from a schema and a plain-English question, with explanation and index suggestions.

GrokCoding

Get the best new AI prompts every week

One short email a week: the best new prompts and rules for ChatGPT, Claude, Gemini, Midjourney, Cursor and more, plus what changed in the tools. Free, unsubscribe anytime.

Finishes on our newsletter page at beehiiv (opens in a new tab). Or subscribe directly.