Receber por email
← Voltar para o catálogo

claude-odoo-builder

Transforme o Código Claude em um construtor de sites Odoo.

28estrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add 19prince/claude-odoo-builder

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/claude-odoo-builder-19prince/svg)](https://www.skillteca.com.br/skills/claude-odoo-builder-19prince)

Alerta por categoria

Receba novas skills de Design e Frontend toda segunda

1 email curto, só com as skills novas de Design e Frontend. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Skill: odoo-theme-fix

TRIGGER: User shares a screenshot of an Odoo page and asks for visual fixes, theming improvements, or readability changes.

What this skill does

Reviews an Odoo page screenshot against the blueprint dark theme, identifies broken or mismatched elements, writes targeted CSS overrides, and pushes them to website.custom_code_head via RPC — without touching any page arch.

Instructions

When invoked:

  1. Read the screenshot — identify every element that is wrong:
  2. White or light backgrounds that should be dark (#071222)
  3. Dark text on dark backgrounds (contrast failure)
  4. Default Odoo colors breaking the blueprint palette
  5. Unstyled form inputs, search bars, cards, pagination, badges
  1. Read workflows/css_theming.md — check the known selector map before writing anything new. Reuse confirmed selectors. Add new ones only when needed.
  1. Read the current custom_code_head:

``python sites = c.search_read("website", [], ["id", "custom_code_head"]) ``

  1. Write a targeted <style> block following these rules:
  2. Use the blueprint palette: #071222 bg, #0a1c33 card bg, #3b8eea / #5da8ff / #7ec8ff blues, #ffffff headings, rgba(255,255,255,.82) body, rgba(255,255,255,.6) muted
  3. Scope every selector to the page's body class (e.g. .o_wblog_index, .o_wblog_post_page) to avoid leaking styles globally
  4. Use !important on color and background overrides — Odoo's specificity is high
  5. Wrap the block in / == [section name] start == / and / == [section name] end == / CSS comments so it can be cleanly replaced later
  6. Strip the previous block for that section before appending the new one (use re.sub with DOTALL)
  1. Push via RPC:

``python c.write("website", [site_id], {"custom_code_head": new_head}) ``

  1. Confirm what changed and ask for a follow-up screenshot to verify.

Blueprint Palette Reference

| Role | Value | |---|---| | Page background | #071222 | | Card / panel background | rgba(10,28,51,.85) | | Elevated surface | #0a1c33 | | Primary blue | #3b8eea | | Bright blue (links, accents) | #5da8ff | | Light blue (muted accents) | #7ec8ff | | Heading text | #ffffff | | Body text | rgba(255,255,255,.82) | | Muted text | rgba(255,255,255,.55) | | Subtle text | rgba(255,255,255,.4) | | Card border | rgba(59,142,234,.22) | | Divider | rgba(59,142,234,.18) | | Blueprint grid line | rgba(59,142,234,.07) | | Success green | #4ade80 | | Error red | #f87171 | | Warning amber | #fbbf24 |

Do Not

  • Do not modify ir.ui.view arch or website.page records — CSS only
  • Do not use broad unscoped selectors like h1 { color: white } — always scope to a page class
  • Do not push without running a re.sub cleanup of any previous block for that section
  • Do not add visible text markers in the HTML — markers must be CSS comments inside <style> tags
Compartilhar X LinkedIn