cirrus-uchicago/symbolon/flatten-struct-to-array
Claude Code and agent skill by cirrus-uchicago/symbolon
- community
Checking that the SKILL.md file is still in the repository.
Use when state is stored in arrays of multi-field structs with assignments and modular arithmetic intermixed across cells
Install
npx vskill@latest install cirrus-uchicago/symbolon/flatten-struct-to-arraySKILL.md
The same SKILL.md was published earlier as cirrus-uchicago/symbolon/flatten-struct-to-array.
flatten-struct-to-array
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 state is stored in arrays of multi-field structs with assignments and modular arithmetic intermixed across cells
Transformation
Replace the array-of-struct representation with a multi-dimensional integer array indexed by an extra dimension for the former struct fields, and apply transformations (e.g., modulo) in a uniform loop over that dimension
Why it helps
KLEE handles flat integer array accesses with concrete indices more efficiently than struct copies and field-wise updates; uniform loop-based updates produce simpler, more symmetric constraints and fewer distinct memory objects, enabling deeper path exploration within the solver's time budget
Example
Before:
After:
Evidence
- Average coverage delta: 0.1578
- Source problems: train_AIZU_p00470
- Rule id:
dc9c69aa
Security
- Security scanPassed, 95 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/flatten-struct-to-array/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/flatten-struct-to-array)