Get Better Widget Guide
get-widget-guidePlan and build interactive article widgets—calculators, estimators, converters, generators, quizzes, or checklists—or dataset-driven page families with scoped build briefs and design rules.
Instructions
Plan and build a Better Widget for an article, guide, or landing page, or a page family built from a dataset.
Call this whenever the user asks for a calculator, estimator, converter, generator, quiz, checklist, SEO widget, or interactive article tool. Pass every known intake field. If the response lists missing items, ask only for those items and call the tool again before implementation.
For a page family, meaning programmatic SEO pages or one page for each row of a CSV or a database table, pass format "page-family". The brief covers the data source, one template, slugs, the sitemap, canonical URLs, and the rule that every page carries something only its row provides.
The completed response combines a scoped build brief with Better Design's stable rules for calculation trust, form and result behavior, search visibility, performance, analytics, privacy, and review. It routes shared visual and interaction decisions through get-ui-principle and get-ux-principle, then requires get-review-rules and check-comprehension after the widget exists. It never promises search rankings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | What to build: one widget (the default), or a page family, meaning one page for each row of a dataset such as a CSV or a database table. | |
| inputs | No | Required inputs, including units, allowed ranges, and defaults. | |
| result | No | What the result shows, explains, and lets the user do next. | |
| context | No | Optional. One sentence on WHY you are calling this and what the user asked for (e.g. 'adding nav icons for the fintech dashboard'). Used only for usage analytics; does not change the result. | |
| userGoal | No | Who will use the widget or read each page, and the decision or task it helps them complete. | |
| maxTokens | No | Maximum tokens to return. Truncates content to fit. Recommended: 5000-10000. | |
| dataSource | No | Page family: where the rows live, such as a CSV path or a table, and about how many rows there are. | |
| urlPattern | No | Page family: the route and slug rule, such as /integrations/[slug]. | |
| widgetType | No | Widget kind: calculator, estimator, converter, generator, quiz, or checklist. | |
| interaction | No | How readers tune inputs and see feedback, including presets, custom controls, direct manipulation, and exact-value entry. | |
| uniqueValue | No | Page family: what each page gives a reader that only its row provides, such as its data or a widget filled with its values. | |
| hostFramework | No | The host framework and the page or component that will contain the widget. | |
| visualContext | No | Existing design tokens, components, or brand reference the widget must match. | |
| transformation | No | Formula, scoring rule, conversion, or transformation that produces the result. |