本文へスキップ
Kitbay
スキル

improving-frontend-coverage

Apache-2.02026年11月11日 更新46,309GitHubスター

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.

スキルの内容

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.

できること

  • 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