cirrus-uchicago/symbolon/prefer-fixed-bounded-loops-over-conditional-accumulation
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 uses a single loop with an index-based conditional (e.g., if i==0 initialize, else accumulate) and branches inside the loop on operand ordering before invoking a helper
Install
npx vskill@latest install cirrus-uchicago/symbolon/prefer-fixed-bounded-loops-over-conditional-accumulationSKILL.md
The same SKILL.md was published earlier as cirrus-uchicago/symbolon/prefer-fixed-bounded-loops-over-conditional-accumulation.
prefer-fixed-bounded-loops-over-conditional-accumulation
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 uses a single loop with an index-based conditional (e.g., if i==0 initialize, else accumulate) and branches inside the loop on operand ordering before invoking a helper
Transformation
Hoist the first one or two iterations out of the loop to perform explicit initialization, drop redundant ordering branches before commutative helper calls, and use a simple bounded loop over a fixed-size array for the remaining accumulation
Why it helps
Removing per-iteration initialization branches and symmetric ordering branches collapses path explosion in KLEE; fixed bounded loops over small arrays produce a predictable, shallow path tree so symbolic execution covers more states within the same budget
Example
Before:
After:
Evidence
- Average coverage delta: 0.2238
- Source problems: train_AIZU_p02469
- Rule id:
9e71e21e
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/prefer-fixed-bounded-loops-over-conditional-accumulation/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/prefer-fixed-bounded-loops-over-conditional-accumulation)