cirrus-uchicago/symbolon/explicit-branch-structure-over-arithmetic-mutation
Claude Code and agent skill by cirrus-uchicago/symbolon
- community
Checking that the SKILL.md file is still in the repository.
Use when the code mutates input variables in-place via chained arithmetic (e.g., subtracting, then conditionally zeroing, then subtracting again) before a final aggregate predicate, collapsing distinct logical cases into a single path
Install
npx vskill@latest install cirrus-uchicago/symbolon/explicit-branch-structure-over-arithmetic-mutationSKILL.md
The same SKILL.md was published earlier as cirrus-uchicago/symbolon/explicit-branch-structure-over-arithmetic-mutation.
explicit-branch-structure-over-arithmetic-mutation
Overview
A KLEE-coverage code transformation. Applying it rewrites C source so symbolic execution explores more of the program's behavior.
When to use
When the code mutates input variables in-place via chained arithmetic (e.g., subtracting, then conditionally zeroing, then subtracting again) before a final aggregate predicate, collapsing distinct logical cases into a single path
Transformation
Refactor into explicit nested if/else branches that directly encode each logical case over the original unmodified inputs, so each feasible scenario corresponds to a distinct control-flow path with its own printf
Why it helps
KLEE forks on branch conditions; replacing arithmetic-encoded case analysis with explicit conditionals exposes more discrete paths and produces simpler per-path constraints (linear inequalities over inputs) that the solver handles faster, yielding test inputs that cover more behaviors
Example
Before:
After:
Evidence
- Average coverage delta: 0.3242
- Source problems: train_Codeforces_1468_N
- Rule id:
8b5615fc
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinglibrary/explicit-branch-structure-over-arithmetic-mutation/SKILL.md
Popularity
- Repository stars
- 11
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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/cirrus-uchicago/symbolon/explicit-branch-structure-over-arithmetic-mutation)