comp-ratio-analyzerlisted
Install: claude install-skill trycomp-io/comp-skills
## Dual-mode operation (Code + Cowork)
> **HTML pelo design system (obrigatório).** Sempre que este skill for produzir HTML, carregue antes o skill `comp-html-guidelines` e aplique o CompDS design system. Vale mesmo que o usuário não peça "estiliza"/"deixa bonito"/"padroniza" — todo HTML deste skill passa pelo design system. Isso não altera a metodologia abaixo; governa só a camada visual do HTML.
**Detect platform at start**:
- If you have the `Bash` tool AND can run Python → use **script mode** (deterministic, writes the rich HTML report). This is the existing workflow below.
- Otherwise (e.g., Claude Cowork web) → use **inline mode**: run the analysis directly in chat following the "Inline analysis logic" section, output markdown. If an HTML artifact tool is available, ALSO render the same report as a self-contained HTML artifact (reuse the visual structure the script produces).
Both modes apply the same methodology and the same privacy rules.
## Inline analysis logic (Cowork mode)
### Como o usuário fornece os dados
- Precisa de DUAS entradas: (1) roster com colunas `name`, `salary`, `level` (opcional `area`); (2) bandas com colunas `level`, `mid` (mediana). Cole as duas tabelas no chat ou anexe dois CSVs.
- Roster grande (>~50 linhas) é difícil de processar manualmente, então sugira rodar em Claude Code (script mode).
- **Salário** em formato brasileiro (`.` milhar, `,` decimal) deve ser convertido pra número.
### Metodologia (fixa, idêntica ao script)
1. Para cad