Codex Unused Avalonia Styles for AXAML Selector Review
Compare AXAML selectors with usage in markup and C#. Separate actionable cleanup candidates from selectors that need manual review.
中文Install in Codex
Codex, the pinned token-map checkout, and Python 3. Scan only the specified project.
- Copy the pinned `.codex/skills/unused-avalonia-styles/` directory into `.agents/skills/unused-avalonia-styles/` in the project.
- Keep `run_unused_avalonia_styles.py` in the checkout and select `$unused-avalonia-styles` for the requested workspace.
Example task
In a sample project, compare a stale button class with one still added dynamically by C#.What to check
The report identifies the stale class as a candidate and keeps any unresolved dynamic use under review.
Original SKILL.md on GitHub · Updated
Frequently asked question
Does a candidate prove deletion is safe?
Review template and runtime behavior before removing a selector.