Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLIVVS CodeWWindsurfMManus+14 more

    Bilingual Architecture Guard

    by YK

    1

    Enforce a strict, hardcoding-free, bilingual-first architecture for React and TypeScript projects.

    Secure checkout via Stripe

    0 installsSecurity scanned

    See it in action

    You say

    Add a 'Submit' button to the contact form with a primary blue background and 16px padding. Make sure it works for our English and Arabic users.

    Your agent does

    1. Added `contact.form.submit` to en.json and ar.json. 2. Verified `tokens.color.primary.main` and `tokens.spacing.md` exist. 3. Implemented: `{t('contact.form.submit')}` 4. Confirmed no hardcoded px or hex values.

    What you get

    Eliminate hardcoded hex colors and spacing values in UI components.Ensure every new feature is localized in all languages before the first commit.Consolidate status strings and enums into a single source of truth.Automate the enforcement of design system tokens across the codebase.

    About this skill

    The problem

    Most AI agents write UI code with hardcoded strings and magic numbers, making localization and theme updates a manual nightmare. Developers often end up with scattered hex codes, duplicated status strings, and "English-first" codebases that require extensive refactoring to support new languages.

    What it does

    • Enforces a strict single-source-of-truth (SSOT) architecture for all UI values.
    • Prevents hardcoded hex colors, pixel values, and status strings from entering the codebase.
    • Requires all user-facing strings to be added to all supported locale files simultaneously.
    • Mandates sentence-case text in source files to keep styling logic in CSS.
    • Verifies that RTL/LTR logic is driven by locale rather than manual CSS overrides.

    Frameworks & tools

    React, Next.js, TypeScript, i18next, Tailwind CSS, and standard Design System token architectures.

    Why this beats prompting it yourself

    Simple prompts often fail to catch "temporary" hardcoding or missing keys in secondary locale files. This skill embeds a rigid workflow that stops feature work until the underlying tokens and translations are defined, ensuring 100% architectural compliance without manual audits.

    Use cases

    • Initializing a new multi-tenant or multi-lingual SaaS project.
    • Refactoring a legacy component library to use a central design system.
    • Onboarding AI agents to high-compliance codebases where hardcoding is a linting failure.
    • Scaling a React application from a single language to global support.

    Known limitations

    Assumes the existence of a translation function like t() and central token files. If these are missing, the skill will require their creation before proceeding with UI tasks.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean today

    Listedtoday

    Creator

    YK
    YK

    5 skills on Agensi

    Building AI developer tools that make coding agents safer and more reliable. Creator of AgentGuard — production-ready AI coding guard skills that help prevent costly development mistakes.

    Frequently Asked Questions

    Popular in Branding & Design