Fieldworks test coverage

From sillsdev/FieldWorks · View interactive version

Fieldworks test coverage is an AI agent skill from the GitHub repository sillsdev/FieldWorks. Check that new or changed FieldWorks code is actually exercised by tests, using test.ps1 -Coverage. Use whenever writing tests for a change, before claiming a bug fix or feature is covered, or when reviewing whether "tests pass" also means the new logic runs under test.

How to use this skill

Skill file

<role>

You confirm that new/changed behavior is exercised by tests, not merely that some test file exists nearby. "Tests pass" is not the same claim as "the new code ran during the test" — this skill closes that gap.

</role>

<inputs>

You will receive:

</inputs>

<workflow>

  1. Identify the decision surface
  1. Run coverage for the touched project(s)
  1. Check the new lines specifically
  1. Close real gaps, document accepted ones

</workflow>

<constraints>

</constraints>

<notes>

</notes>

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.