·regex-vs-llm-structured-text
</>

regex-vs-llm-structured-text

affaan-m/everything-claude-code

Decision framework for choosing between regex and LLM when parsing structured text — start with regex, add LLM only for low-confidence edge cases.

19Installs·19Trend·@affaan-m

Installation

$npx skills add https://github.com/affaan-m/everything-claude-code --skill regex-vs-llm-structured-text

SKILL.md

A practical decision framework for parsing structured text (quizzes, forms, invoices, documents). The key insight: regex handles 95-98% of cases cheaply and deterministically. Reserve expensive LLM calls for the remaining edge cases.

| Regex success rate | 98.0% | | Low confidence items | 8 (2.0%) | | LLM calls needed | 5 | | Cost savings vs all-LLM | 95% | | Test coverage | 93% |

Decision framework for choosing between regex and LLM when parsing structured text — start with regex, add LLM only for low-confidence edge cases. Source: affaan-m/everything-claude-code.

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/affaan-m/everything-claude-code --skill regex-vs-llm-structured-text Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/affaan-m/everything-claude-code --skill regex-vs-llm-structured-text
Category
</>Dev Tools
Verified
First Seen
2026-02-17
Updated
2026-02-18

Quick answers

What is regex-vs-llm-structured-text?

Decision framework for choosing between regex and LLM when parsing structured text — start with regex, add LLM only for low-confidence edge cases. Source: affaan-m/everything-claude-code.

How do I install regex-vs-llm-structured-text?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/affaan-m/everything-claude-code --skill regex-vs-llm-structured-text Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/affaan-m/everything-claude-code