بنقرة واحدة
coverage
Run code coverage analysis, track class-level results, and generate trend reports
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run code coverage analysis, track class-level results, and generate trend reports
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Run regression benchmarks, track results, and generate trend reports
Complete a sub-issue of an umbrella issue - close it, check parent checkbox, update design doc
Complete work on a GitHub issue - close issue, update artifacts, prompt for doc updates
Create a GitHub issue and add it to the Typhon org project
Implement a GitHub issue end-to-end — scope it (whole issue or specific phases), build an acceptance-criteria plan from its design doc, get the plan approved, then develop autonomously with tests and a mandatory code review.
Start design for a GitHub issue - creates design doc from research/ideas, updates status to Todo
| name | coverage |
| description | Run code coverage analysis, track class-level results, and generate trend reports |
| argument-hint | [--report-only] |
Run dotnet-coverage against Typhon.Engine.Tests, record class-level coverage history in JSONL, and generate trend reports with regression detection.
$ARGUMENTS may contain:
--report-only — Skip coverage execution, regenerate reports from existing history/coverage --report-onlySkip coverage execution. Regenerate reports from existing history:
python3 coverage/scripts/report_generator.py --history coverage/history/results.jsonl --config coverage/config.json --output-dir coverage/reports --source-dir src/Typhon.Engine
Read coverage/reports/latest.md and display a condensed summary.
/coverage (default — full run + report)Check that dotnet-coverage is available:
dotnet-coverage --version
If not installed, tell the user to install it:
dotnet tool install --global dotnet-coverage
dotnet build -c Debug test/Typhon.Engine.Tests/Typhon.Engine.Tests.csproj
If build fails, report errors and stop.
dotnet-coverage collect -o coverage/coverage-report.xml -f xml dotnet test "test/Typhon.Engine.Tests/Typhon.Engine.Tests.csproj" --no-build -c Debug
IMPORTANT: This step can take a minute or two. Let the user know coverage analysis is running.
python3 coverage/scripts/report_generator.py --coverage-xml coverage/coverage-report.xml --history coverage/history/results.jsonl --config coverage/config.json --output-dir coverage/reports --source-dir src/Typhon.Engine
Remove the temporary coverage XML report:
rm -f coverage/coverage-report.xml
Read coverage/reports/latest.md and display a condensed summary to the user:
coverage/reports/latest.mdAsk the user:
Question: "Coverage results have been appended to history. Commit the updated report?" Header: "Commit" Options:
Yes, commit report (description: "Commit the history + rendered report (latest.md + charts)")No, skip commit (description: "Keep the local changes without committing")The rendered report (coverage/reports/latest.md + coverage/reports/charts/) is now tracked —
latest.md embeds the charts, so they must be committed together to avoid broken images. Coverage is
hardware-independent, so committing from a local run is fine. If yes, commit the full set:
git add coverage/history/results.jsonl coverage/reports/latest.md coverage/reports/charts
git commit -m "coverage: record code coverage results"