todaymare/margarine/coverage
Claude Code and agent skill by todaymare/margarine
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install todaymare/margarine/coverageSKILL.md
margarine Compiler Coverage Continuation
Use this skill when asked to continue improving margarine compiler coverage.
Objective
Increase genuine compiler behavior exercised by ordinary margarine programs and focused compiler-command scenarios. Coverage is a search signal, not the goal by itself. Never change compiler or runtime behavior solely to increase a percentage.
Start with the current state
From the compiler/ directory:
Inspect:
The dashboard separates first-party compiler code from third-party Rust code. Use dashboard.json and uncovered.json for machine-readable decisions; do not scrape the HTML.
Continue loop
- Read the current summary and compare it with the latest history entry.
- Select an actionable target, prioritizing first-party parser, lexer,
semantic-analysis, diagnostics, and code-generation behavior.
- Inspect the referenced Rust source and determine what observable behavior
the missing edge represents.
- Find an existing
.martest that should cover it, or add a focused test
under the repository's existing test structure.
- Assert observable behavior: a value, successful compilation, a diagnostic,
a rejection, or an expected panic.
- Run the complete core suite:
``sh cargo run -p margarine -- test tests/core.mar ``
- Re-run
./scripts/coverage/coverage.shand confirm that the intended edge changed. - Record no success unless the test still expresses meaningful language or
compiler behavior and the complete suite passes.
- Repeat while targets remain actionable and testable.
Scope decisions
- First-party compiler coverage is the primary metric.
- Third-party coverage is useful evidence about end-to-end execution, but is
reported separately because dependency versions and implementations change.
- Runtime and standard-library coverage require separate instrumentation of the
generated program; do not merge it into compiler coverage without preserving separate scope totals.
- Uncovered CLI, filesystem, cache, network, and malformed-input paths may need
compiler-command or harness scenarios rather than valid .mar programs.
- A target that is unreachable through meaningful behavior may be documented
as non-actionable; do not add a garbage program to touch it.
Forbidden shortcuts
Do not:
- modify compiler/runtime implementation merely for coverage;
- add coverage exclusions or mark code unreachable;
- delete tests or weaken assertions;
- suppress diagnostics or alter expected behavior;
- add a source file whose only purpose is touching one arbitrary branch;
- claim progress from a partial or filtered run as full-suite verification.
Completion
Stop only when the requested coverage scope is exercised, or remaining targets are explicitly classified as non-actionable with evidence. Report the exact edge/group totals, changed tests, and commands run. If the user says “continue,” resume from the current dashboard and history rather than asking for a new target.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingscripts/coverage/SKILL.md
Popularity
- Repository stars
- 56
- Repository forks
- 2
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 25 Sep 2026, a month ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/todaymare/margarine/coverage)