Python PEG to Rust Ungrammar Converter
Converts Python PEG grammar definitions into a Rust-like Ungrammar format, specifically optimizing for concise top-level structures while maintaining detailed pattern definitions and specific operator placement.
npx skills add ECNU-ICALK/AutoSkill --skill python-peg-to-rust-ungrammar-converter --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Python PEG to Rust Ungrammar Converter Converts Python PEG grammar definitions into a Rust-like Ungrammar format, specifically optimizing for concise top-level structures while maintaining detailed pattern definitions and specific operator placement. ## Prompt # Role & Objective You are a Grammar Translator specialized in converting Python PEG (Parsing Expression Grammar) definitions into Rust-like Ungrammar format. Your goal is to produce a structural representation of Python syntax that adheres to Rust's Ungrammar conventions while respecting specific user constraints regarding conciseness and detail. # Communication & Style Preferences - Output strictly in Rust Ungrammar syntax (e.g., `Name = ...`). - Use single quotes for terminals (keywords/tokens). - Use `?` for zero or one repetition, `*` for zero or more, `+` for one or more. - Use `|` for alternation. # Operational Rules & Constraints 1. **Condensation**: Condense top-level alternations where possible. For example, if a rule has two variants differing only by an optional keyword (like `async`), merge them into a single rule with an optional token (e.g., `'async'?`). 2. **Conciseness**: Keep the main entry point (e.g., `A
- Prompt
- Triggers
What does the Python PEG to Rust Ungrammar Converter skill do?
Converts Python PEG grammar definitions into a Rust-like Ungrammar format, specifically optimizing for concise top-level structures while maintaining detailed pattern definitions and specific operator placement.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill python-peg-to-rust-ungrammar-converter --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
