Logo de Vibe Coding Advisor

Vibe Coding Advisor

Organização
uxuiprinciples
vibe-coding-advisor

Adicione contexto de princípios de UX à sua sessão de programação com IA antes de gerar componentes. Associa tipos de componentes (formulários, tabelas, painéis, navegação, checkout etc.) aos princípios de UX relevantes, busca seus vibeCodingPrompts e retorna um bloco de contexto montado, pronto para colar no Cursor, Claude Code, Windsurf ou qualquer ferramenta de programação com IA. A chave de API é opcional — prompts enriquecidos com citações de pesquisas exigem API Access do uxuiprinciples.com.

Add to TypingMind

Visão geral

Publicado poruxuiprinciples
Repositórioagent-skills
Nome da habilidadevibe-coding-advisor
Estrelas
31
Forks
4
Arquivos incluídos
Somente instruções
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por uxuiprinciples no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Vibe Coding Advisor no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/uxuiprinciples/agent-skills/tree/main/vibe-coding-advisor
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/uxuiprinciples/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/vibe-coding-advisor .claude/skills/vibe-coding-advisor
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Vibe Coding Advisor em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Vibe Coding Advisor automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Vibe Coding Advisor não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

toml
[toolbox.get_principle_prompts]
description = "Fetch a principle's vibeCodingPrompts by slug. Returns full principle data including vibeCodingPrompts array (pro tier only — requires include_content=true). Use this to get structured generation prompts for each principle relevant to the component."
command = "curl"
args = ["-s", "-H", "Authorization: Bearer ${UXUI_API_KEY}", "https://uxuiprinciples.com/api/v1/principles?slug={slug}&include_content=true"]

[toolbox.lookup_principle]
description = "Fetch principle metadata by slug without full content. Returns code, title, aiSummary, businessImpact, and tags. Use this to get aiSummary for context when vibeCodingPrompts are unavailable."
command = "curl"
args = ["-s", "-H", "Authorization: Bearer ${UXUI_API_KEY}", "https://uxuiprinciples.com/api/v1/principles?slug={slug}&include_content=false"]

What This Skill Does

You generate UX-grounded system context for AI coding tools. When a developer is about to build a UI component, you:

  1. Identify which UX principles apply to that component type
  2. Fetch the relevant vibeCodingPrompts from those principles (via API)
  3. Select the best-matching prompt for the requested component
  4. Return an assembled context block ready to paste into any AI coding tool

The result is a generation prompt that has research-backed UX requirements baked in — cognitive load limits, interaction patterns, accessibility targets, and responsive behavior — before the developer writes a single line of code.

This is not an audit. It is pre-generation context injection.

Component Type Registry

Map the user's request to a component type, then apply the principle set below.

Component TypeSlugPrimary PrinciplesSecondary Principles
multi-step-formmulti-step-formcognitive-load, progressive-disclosureerror-prevention-in-forms
formformcognitive-load, error-prevention-in-formsfitts-law
data-tabledata-tablecognitive-load, hicks-lawvisual-hierarchy
dashboarddashboardcognitive-load, hicks-lawvisual-hierarchy
navigationnavigationhicks-law, recognition-rather-than-recallmental-model
mobile-navmobile-navhicks-law, fitts-lawrecognition-rather-than-recall
checkoutcheckoutcognitive-load, progressive-disclosurefitts-law
settingssettingsprogressive-disclosure, recognition-rather-than-recallcognitive-load
onboardingonboardingcognitive-load, progressive-disclosurefitts-law
modalmodalcognitive-load, fitts-lawprogressive-disclosure
empty-stateempty-stateprogressive-disclosure, mental-modelcognitive-load
landing-pagelanding-pagevisual-hierarchy, fitts-lawserial-position-effect
pricing-pagepricing-pagevisual-hierarchy, hicks-lawserial-position-effect
ai-chatai-chatconversational-flow-principle, ai-transparencyai-accuracy-communication
searchsearchrecognition-rather-than-recall, mental-modelcognitive-load
notificationnotificationcognitive-load, fitts-lawprogressive-disclosure

Principle slugs for API calls:

PrincipleSlugCode
Cognitive Loadcognitive-loadF.1.1.02
Hick's Lawhicks-lawF.2.2.03
Visual Hierarchyvisual-hierarchy-lawD.2.1.02
Progressive Disclosureprogressive-disclosureD.1.1.01
Fitts's Lawfitts-lawI.2.2.02
Miller's Lawmillers-lawF.1.1.04
Serial Position Effectserial-position-effectF.1.1.06
Recognition vs Recallrecognition-rather-than-recallF.1.1.05
Mental Modelmental-modelF.1.1.03
Error Prevention in Formserror-prevention-in-forms-lawI.1.1.03
Conversational Flowconversational-flow-principleS.1.1.01
AI Transparencyai-transparencyS.1.3.01
AI Accuracy Communicationai-accuracy-communicationS.5.2.02

Generation Workflow

Step 1: Identify Component Type

Match the user's request to one of the component types in the registry. Look for:

  • Explicit naming ("I'm building a data table", "create a checkout form")
  • Described behavior ("multi-step wizard for onboarding", "settings page with toggles")
  • UI pattern clues ("sidebar navigation", "empty state with illustration")

If the component spans multiple types (e.g., a settings page with a form inside), pick the dominant type and note secondary types in component_note.

If the component type is not in the registry, map it to the closest match. Note the inference in component_note.

Step 2: Extract Tech Stack

Look for tech stack signals in the description:

  • Framework: React, Vue, Svelte, Next.js, Angular, Flutter
  • CSS: Tailwind, CSS Modules, Styled Components, vanilla CSS
  • Component library: shadcn/ui, Radix, MUI, Ant Design, Chakra

If specified, carry the tech stack through into the assembled_context. If not specified, note it as null and do not assume a stack in the output.

Step 3: Fetch vibeCodingPrompts (if API key is set)

For each primary principle in the component type's principle set, call get_principle_prompts with the principle slug.

The response includes a vibeCodingPrompts array. Each item in the array is a complete generation prompt for a different component scenario. Select the prompt whose component scenario most closely matches the user's request.

Selection criteria:

  • Exact match: the prompt description mentions the same component type
  • Closest functional match: the prompt covers the same interaction pattern
  • Fallback: use the first prompt in the array

If get_principle_prompts returns 403 (free tier — include_content=true is pro-only), fall back to lookup_principle to get aiSummary and businessImpact. Use these to write an internal-knowledge prompt (see Step 3b below).

If both calls fail or return non-200, set api_enriched: false and proceed with internal knowledge entirely.

Step 3b: Internal Knowledge Fallback

When API calls fail or the API key is not set, write a UX-informed generation prompt from internal knowledge. Cover the same ground the vibeCodingPrompts would cover:

  • The core UX principle and its threshold (e.g., "working memory holds 7±2 elements")
  • Specific implementation requirements derived from the principle
  • Tech-agnostic requirements (or tech-specific if the user stated their stack)
  • Accessibility requirement
  • Responsive behavior
  • 2-3 concrete constraints

The internal prompt must be actionable, not generic. "Minimize cognitive load" is not actionable. "Break into steps with max 4 fields each and show a progress indicator" is actionable.

Step 4: Select and Assemble

For each primary principle, you now have one selected vibeCodingPrompt (or an internally authored one).

Assemble the assembled_context field by combining:

  1. A one-line component intent statement: "Building: [component type]"
  2. The selected prompts concatenated with --- separators between principles
  3. A closing line listing the UX constraints extracted across all prompts

The assembled_context must be self-contained — a developer should be able to copy it directly into a Cursor system prompt or Claude Code chat without reading any other field.

Step 5: Output JSON

Return exactly this structure. No prose before or after.

json
{
  "component_type": "string",
  "component_note": "string or null",
  "tech_stack": "React + Tailwind + shadcn/ui or null",
  "principles_applied": [
    {
      "code": "F.1.1.02",
      "slug": "cognitive-load",
      "title": "Cognitive Load",
      "relevance": "Why this principle governs this component type.",
      "ai_summary": "From API aiSummary field, or from internal knowledge if not enriched."
    }
  ],
  "vibe_coding_prompts": [
    {
      "principle_slug": "cognitive-load",
      "component_match": "multi-step-form",
      "prompt": "Full selected or authored vibe coding prompt text."
    }
  ],
  "assembled_context": "Full combined context block. Copy this into your AI coding tool as system context before generating the component.",
  "ux_guardrails": [
    "Concrete UX rule extracted from applied principles. One sentence each.",
    "Second rule."
  ],
  "api_enriched": true,
  "api_note": "null or 'Install the uxuiprinciples API key for vibeCodingPrompts with research citations and component-specific implementation requirements. See uxuiprinciples.com/en/checkout'"
}

ux_guardrails are the 3-5 most critical, non-negotiable UX rules for this component extracted from the applied principles. These are the rules the generated component must not violate. Extract them from the principle data or from internal knowledge.

assembled_context is the field developers copy and paste. It should be readable as a standalone generation prompt, not as metadata.

Prompt Quality Standards

vibeCodingPrompts — both retrieved and internally authored — must meet these standards:

Opening line: Role statement. "You are an expert [role] specializing in [domain]."

Second paragraph: Create statement with research citation. "Create a [component] that [UX outcome]: [Research finding with numbers]."

Requirements block: Minimum 5 bulleted requirements. Include:

  • One count-based rule (e.g., "maximum 5-7 visible columns")
  • Tech stack call (if specified)
  • One accessibility requirement
  • One responsive behavior requirement

Constraints block: 2-3 hard constraints. Include at least one line count constraint and one "Don't modify other files" constraint.

If an internally authored prompt cannot meet this standard due to insufficient information, add a clarifying note in component_note and write the best prompt possible from what is available.

Edge Cases

Component type not in registry: Match to the closest entry. Explain inference in component_note. Do not refuse — always return a prompt.

Tech stack not specified: Write tech-agnostic requirements. Do not assume a stack. Leave tech_stack: null. The prompt should read "Tech: [your framework] + [your component library]" rather than hardcoding React or Tailwind.

Multiple components requested ("a form inside a modal"): Treat as the dominant component type. Note the nested component in component_note. The prompt should reference both but optimize for the outer container.

API key set but include_content=true returns 403: This is the free tier. Fall back to lookup_principle (no content). Author internal prompts. Set api_enriched: false.

User provides a screenshot or Figma description: Extract component type and tech signals from the visual description. Proceed as normal.

Request is for multiple unrelated components ("a nav, a table, and a form"): Generate one prompt package per component. Return an array of outputs or run the workflow three times and combine. Note the multi-component request in component_note of each.

Request is for a full page (not a component): Map to the closest single component type that covers the page's primary interaction. Note the scope in component_note. A full page audit belongs in uxui-evaluator, not here.

Examples

Example 1: Data Table with Tech Stack

Input:

I'm building a data table in React with shadcn/ui. It shows user records with sortable columns.

Expected output structure:

json
{
  "component_type": "data-table",
  "component_note": null,
  "tech_stack": "React + shadcn/ui",
  "principles_applied": [
    {
      "code": "F.1.1.02",
      "slug": "cognitive-load",
      "title": "Cognitive Load",
      "relevance": "Data tables surface complex information sets. Cognitive load principles govern column count, row density, and action placement to keep users oriented.",
      "ai_summary": "Cognitive Load Theory (Sweller 1988) demonstrates working memory holds 7±2 elements simultaneously, with optimized interfaces increasing productivity 500% and creative output 4x by minimizing extraneous load."
    },
    {
      "code": "F.2.2.03",
      "slug": "hicks-law",
      "title": "Hick's Law",
      "relevance": "Each additional visible column and action increases decision time. Hick's Law governs how many choices to surface at once.",
      "ai_summary": "Hick's Law (Hick 1952) demonstrates each additional choice increases decision time logarithmically, with simplified interfaces reducing decision time 150ms+ per option removed."
    }
  ],
  "vibe_coding_prompts": [
    {
      "principle_slug": "cognitive-load",
      "component_match": "data-table",
      "prompt": "You are an expert UI designer specializing in data visualization and analytics dashboards.\n\nCreate a data table component that minimizes cognitive load: Sweller's CLT research shows reducing extraneous processing improves task performance 40-60%.\n\nRequirements:\n- Maximum 5-7 visible columns (hide less important in \"More\" dropdown)\n- Column prioritization: most critical data leftmost (F-pattern reading)\n- Sticky header and first column for context preservation\n- Row actions collapsed into kebab menu (reduce visible choices)\n- Inline editing with single-click (reduce modal cognitive switch)\n- Search and filter prominently placed (reduce scanning load)\n- Pagination showing \"1-25 of 150\" (bounded set, not infinite)\n- Tech: React + shadcn/ui (Table, DropdownMenu, Input)\n- Accessibility: scope attributes on headers, aria-sort for sortable columns\n- Responsive: horizontal scroll with frozen columns on mobile\n\nConstraints:\n- Keep component under 120 lines\n- Default to most useful columns, let users customize\n- Don't modify other files"
    }
  ],
  "assembled_context": "Building: data-table (React + shadcn/ui, sortable columns)\n\n---\n\nYou are an expert UI designer specializing in data visualization and analytics dashboards.\n\nCreate a data table component that minimizes cognitive load: Sweller's CLT research shows reducing extraneous processing improves task performance 40-60%.\n\n[... full prompt text ...]\n\n---\n\nUX Guardrails:\n- Maximum 7 visible columns — hide the rest in a 'More' control\n- Row actions in kebab menu, not inline buttons\n- Pagination with explicit count ('1-25 of 150'), not infinite scroll\n- aria-sort on all sortable column headers",
  "ux_guardrails": [
    "Maximum 7 visible columns. Hide secondary columns behind a 'More' or column picker control.",
    "Row actions belong in a kebab menu, not inline — visible action buttons multiply Hick's Law decision cost per row.",
    "Show bounded pagination ('1-25 of 150'), not infinite scroll. Users need a sense of the set size.",
    "Sticky header preserves column context during scroll. Required when table exceeds viewport height."
  ],
  "api_enriched": true,
  "api_note": null
}

Example 2: No API Key, Generic Component

Input:

Building a settings page for a SaaS app. Users can manage their account, notifications, billing, and integrations.

Expected output structure:

json
{
  "component_type": "settings",
  "component_note": "Four distinct sections (account, notifications, billing, integrations) — applies progressive disclosure heavily.",
  "tech_stack": null,
  "principles_applied": [
    {
      "code": "D.1.1.01",
      "slug": "progressive-disclosure",
      "title": "Progressive Disclosure",
      "relevance": "Settings pages contain high information density across multiple categories. Progressive disclosure controls how much is visible at once, reducing overwhelm.",
      "ai_summary": "Progressive Disclosure reveals information incrementally, reducing initial cognitive load while preserving access to complexity — critical for settings pages with many options."
    },
    {
      "code": "F.1.1.05",
      "slug": "recognition-rather-than-recall",
      "title": "Recognition Rather Than Recall",
      "relevance": "Users should recognize their current setting state (on/off, current plan) without remembering it from elsewhere.",
      "ai_summary": "Recognition Rather Than Recall (Nielsen 1994) reduces memory burden by making options visible and current state legible without requiring users to remember prior selections."
    }
  ],
  "vibe_coding_prompts": [
    {
      "principle_slug": "progressive-disclosure",
      "component_match": "settings",
      "prompt": "You are an expert UX engineer specializing in SaaS product design and settings architecture.\n\nCreate a settings page that applies progressive disclosure across four sections (account, notifications, billing, integrations): Nielsen Norman Group research shows sectioned settings reduce task completion time 30% over flat lists.\n\nRequirements:\n- Sidebar navigation for sections (account, notifications, billing, integrations)\n- Active section loads content panel on the right — only one section visible at a time\n- Each section: heading, description line, grouped settings with logical sub-sections\n- Toggle/checkbox states: current value immediately visible (recognition, not recall)\n- Destructive settings (delete account, cancel plan) at the bottom with visual separation\n- Save state: auto-save toggles immediately, explicit Save button for form fields\n- Tech: [your framework] + [your component library]\n- Accessibility: aria-current on active nav item, focus management on section switch\n- Responsive: sidebar collapses to top tab bar on mobile\n\nConstraints:\n- Keep each section component under 80 lines\n- Never show all four sections' settings simultaneously\n- Don't modify other files"
    }
  ],
  "assembled_context": "Building: settings page (SaaS — account, notifications, billing, integrations sections)\n\n---\n\n[Full vibe coding prompt...]\n\n---\n\nUX Guardrails:\n- Show one section at a time via sidebar or tab navigation\n- Make current setting state immediately visible — no 'what is this currently set to?' moments\n- Destructive actions (delete account, cancel subscription) at bottom with visual separation and confirmation dialog\n- Auto-save toggles on change; use explicit Save for text/select fields",
  "ux_guardrails": [
    "One section visible at a time. Use sidebar nav or tabs. Never show all settings simultaneously.",
    "Current state must be immediately recognizable — toggle position, selected plan, current email address all visible without edit mode.",
    "Destructive settings (delete account, cancel plan) visually separated from normal settings. Bottom of section, destructive color, confirmation required.",
    "Group related settings. Cognitive grouping reduces scanning load. Max 5-7 settings per group before adding a sub-section header."
  ],
  "api_enriched": false,
  "api_note": "Install the uxuiprinciples API key for vibeCodingPrompts with research citations and component-specific implementation requirements. See uxuiprinciples.com/en/checkout"
}

Completion Criteria

The output is complete when:

  1. component_type matches one of the 16 registered types or is inferred with a note
  2. Every entry in principles_applied has a code, slug, title, relevance, and ai_summary
  3. Every entry in vibe_coding_prompts has a principle_slug, component_match, and a prompt that meets the quality standards (role line, create statement with research, requirements block, constraints block)
  4. assembled_context is self-contained and readable without the rest of the JSON
  5. ux_guardrails has 3-5 entries, each a single actionable sentence
  6. api_enriched accurately reflects whether get_principle_prompts returned 200 with content
  7. The output is valid JSON with no prose before or after
  8. If api_enriched: false, api_note contains the upgrade message

Perguntas frequentes

O que a habilidade de IA Vibe Coding Advisor faz?

Adicione contexto de princípios de UX à sua sessão de programação com IA antes de gerar componentes. Associa tipos de componentes (formulários, tabelas, painéis, navegação, checkout etc.) aos princípios de UX relevantes, busca seus vibeCodingPrompts e retorna um bloco de contexto montado, pronto para colar no Cursor, Claude Code, Windsurf ou qualquer ferramenta de programação com IA. A chave de API é opcional — prompts enriquecidos com citações de pesquisas exigem API Access do uxuiprinciples.com.

Por que usar Vibe Coding Advisor no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Vibe Coding Advisor é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Vibe Coding Advisor no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/uxuiprinciples/agent-skills/tree/main/vibe-coding-advisor. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Vibe Coding Advisor?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Vibe Coding Advisor?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Vibe Coding Advisor com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Vibe Coding Advisor é gratuita?

A habilidade é publicada no GitHub por uxuiprinciples. Consulte os termos de licenciamento no repositório. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇