AddThisFeature

AI Smart Defaults

Suggest sensible starting values for a form instead of leaving every field blank.

moderate AI Assistants

What it adds

Pre-filled but fully editable default values on the app's forms, derived from the current user, workspace, and related records.

What your agent is told to do

5
  1. 1

    Identify the forms where users repeatedly type the same value, then assemble the context that would predict it: the acting user's recent entries, the workspace's conventions, and the parent record the form was opened from.

  2. 2

    Render every suggestion as a normal editable field value that is visibly marked as suggested, and clear that marking the moment the user edits it. Never write a suggested value into a record the user has not submitted.

  3. 3

    Build the deterministic default first and keep it in place. The model layer only overrides it when it returns a well-formed value the field would accept and its own stated confidence clears a threshold you configure.

  4. 4

    Give the user a way to see why a value was suggested in plain language, and a single control that clears all suggestions on the form back to the deterministic defaults.

  5. 5

    Do not learn from the user's corrections by silently feeding their edits back as training or long-term memory. Correction data is only reused where the user has agreed to it, and never across tenant boundaries.

Edge cases it handles

8
  • A suggestion is a default, not a decision. If the user submits without looking, they must still get a value they could have arrived at themselves, so a suggestion must never populate a field with legal, financial, or destructive consequences.
  • The context assembled for one workspace must never include another tenant's records. Scope every lookup to the acting user's permissions before the request is composed, not after the response comes back.
  • Sensitive attributes about a person must not be part of the context or the reasoning, even when they correlate well with the right answer. Exclude them at the point the context is built.
  • A surprising suggestion with no explanation reads as a bug. If the app cannot say in one sentence where a value came from, do not show it as a suggestion.
  • When the model is slow, unavailable, or returns something the field cannot parse, the form must render immediately with deterministic defaults rather than blocking on the suggestion.
  • A suggestion that arrives after the user has already started typing in that field must be discarded, not applied over their input.
  • Suggestions must respect field-level validation and permissions. A value the user is not allowed to set must never be offered.
  • Cap the spend: a form opened repeatedly in a loop must not issue a request every time. Reuse a recent result for the same context and enforce a per-workspace ceiling on suggestion calls.

Definition of done

8
  • Every suggested value is editable, visibly marked as a suggestion, and unmarked once edited.
  • Deterministic defaults render immediately and remain in place when the model is slow, unavailable, or returns unusable output.
  • No suggestion is derived from another tenant's data or from sensitive personal attributes.
  • Each suggestion can be explained in one sentence in the interface.
  • Nothing is written to a record until the user submits the form.
  • Suggestion calls are rate limited and capped per workspace, with reuse of recent results for identical context.
  • The feature matches the existing design system.
  • No existing functionality is broken.

Related features

How it works

  1. 1

    Copy the link

    Grab the Markdown instruction URL for this feature.

  2. 2

    Give it to your AI

    Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.

  3. 3

    It inspects, then implements

    Your agent reads your existing app first, then adds the feature to fit it.

Works with your stack

These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.

Need it tighter than that? Customize the feature and tell it exactly what you're running.