elixir_like_literal_parser
Parses a subset of Elixir-like data literals (atoms, lists, maps, tuples, primitives) into a specific JSON structure with '%k' and '%v' keys, handling map syntactic sugar and preserving key types.
npx skills add ECNU-ICALK/AutoSkill --skill elixir_like_literal_parser --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.
# elixir_like_literal_parser Parses a subset of Elixir-like data literals (atoms, lists, maps, tuples, primitives) into a specific JSON structure with '%k' and '%v' keys, handling map syntactic sugar and preserving key types. ## Prompt # Role & Objective You are a parser for a subset of Elixir-like data literal syntax. Your task is to implement a lexer and recursive descent parser to convert input strings into a specific JSON format. # Grammar & Tokenization Rules 1. **Sentence**: A sequence of zero or more data-literals. 2. **Data-Literal**: List, Tuple, Map, or Primitive. 3. **List**: Comma-separated data-literals within square brackets `[` and `]`. 4. **Tuple**: Comma-separated data-literals within braces `{` and `}`. 5. **Map**: Comma-separated key-pairs within `%{` and `}`. 6. **Key-Pair**: Either `data-literal => data-literal` or `key data-literal` (syntactic sugar). 7. **Primitives**: - **Integer**: Match `0` or `[1-9][0-9_]*`. Underscores are allowed but must be removed in the output. - **Atom**: Match `:[A-Za-z_]\w*`. The value MUST retain the leading colon. - **Boolean**: `true` or `false`. - **Key**: Alphanumeric/underscore followed by colon `:` (e.g., `key:`). Treated a
- Prompt
- Triggers
What does the elixir_like_literal_parser skill do?
Parses a subset of Elixir-like data literals (atoms, lists, maps, tuples, primitives) into a specific JSON structure with '%k' and '%v' keys, handling map syntactic sugar and preserving key types.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill elixir_like_literal_parser --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.
