Skip to content

Agent config: emphasize writing tests with full coverage#1612

Merged
nathanjmcdougall merged 3 commits into
mainfrom
copilot/add-emphasis-on-test-coverage
Mar 27, 2026
Merged

Agent config: emphasize writing tests with full coverage#1612
nathanjmcdougall merged 3 commits into
mainfrom
copilot/add-emphasis-on-test-coverage

Conversation

Copilot AI commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Agents weren't proactively using the usethis-test-with-coverage skill when modifying code (#1601 shipped with 54.98% patch coverage initially). The skill existed but nothing in the agent instructions told agents to always use it.

  • AGENTS.md: Added usethis-test-with-coverage as an always-relevant skill in "Important Instructions about Skills usage", matching the existing usethis-qa-static-checks pattern
  • usethis-python-code-modify skill: Added explicit step to write/update tests using usethis-test-with-coverage before pushing — previously the procedure only said to run existing tests, not write them

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…ge to AGENTS.md important instructions and usethis-python-code-modify skill

Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/5cefab95-ffca-4f9e-a494-9a31389aee9e

Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Copilot AI changed the title [WIP] Add emphasis on the need to write tests with full coverage Agent config: emphasize writing tests with full coverage Mar 27, 2026
Copilot AI requested a review from nathanjmcdougall March 27, 2026 12:22
@nathanjmcdougall nathanjmcdougall marked this pull request as ready for review March 27, 2026 12:30
@nathanjmcdougall nathanjmcdougall merged commit 9d6f3f7 into main Mar 27, 2026
@nathanjmcdougall nathanjmcdougall deleted the copilot/add-emphasis-on-test-coverage branch March 27, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent config: Put more emphasis on the need to write tests with full coverage

2 participants