Pular para o conteúdo
Kitbay
Skill

improving-frontend-coverage

Apache-2.0Atualizado em 11 de nov. de 202646.309Estrelas no GitHub

A contributor skill in the Streamlit repository that raises frontend unit test coverage by about 0.2 percent with tests meant to catch real bugs, working without pausing for confirmation.

O que a skill ensina

A contributor skill in the Streamlit repository that raises frontend unit test coverage by about 0.2 percent with tests meant to catch real bugs, working without pausing for confirmation. The agent runs the frontend tests with JSON coverage output, ranks large files with below-average coverage, core components and utilities, and skips files above 97 percent, generated files and type declarations. A subagent writes React Testing Library tests for uncovered lines, covering conditional rendering, events, error states, edge cases and accessibility, without testing styling or library internals. It repeats until the target is met, runs the full checks, then has simplifying and reviewing subagents look over the changes.

O que faz

  • Run frontend tests with coverage reports
  • Rank files by coverage gaps
  • Write React Testing Library tests for uncovered lines
  • Repeat until a coverage target is met