Guardrails 💎 Built for Sidekick ⚡ Sidekick does this for you
shopify sidekick guardrails seo character-limit meta

Guardrail: Enforce Hard Character Limits Before Writing Any Field

Require Sidekick to count and validate every title, meta description, or alt-text draft against its real character limit before saving, and rewrite anything that's over instead of noting it's close.

📋 Prompt
Run in Sidekick
For this task — [YOUR TASK, e.g. “write new SEO titles and meta descriptions for every product in the Bestsellers collection”] — these are hard limits, not suggestions:


  SEO title: max [CHARACTER COUNT, e.g. 60] characters
  Meta description: max [CHARACTER COUNT, e.g. 155] characters
  [ANY OTHER FIELD, e.g. “Image alt text: max 125 characters”]


For every item you generate:

  Count the actual character length of your draft before showing it to me — don’t estimate or round down.
  If a draft is over the limit, rewrite it shorter rather than showing me an over-limit version with a note that it’s “close enough.”
  Show me a table with the product, field, character count, and the limit next to it, so I can verify at a glance instead of manually counting each one.
  If keeping a natural-sounding title or description under the limit means cutting an important keyword or detail, say so explicitly rather than silently dropping it without mention.


Do not write any field to the store until every item in the batch is confirmed under its character limit.

How to Use

  1. Copy the prompt above
  2. Open Shopify Sidekick in your Shopify admin
  3. Paste the prompt and replace the bracketed placeholders with your details
  4. Review Sidekick's response and apply the suggestions