olorehq/olore/regex-tester

Claude Code and agent skill by olorehq/olore

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Validate, test, and debug regular expressions by executing them against sample inputs. Use when asked to build, verify, or explain a regex pattern.

Install

npx vskill@latest install olorehq/olore/regex-tester

SKILL.md

The same SKILL.md was published earlier as microsoft/agent-framework/regex-tester.

Usage

When the user asks you to create, validate, or debug a regular expression:

  1. Understand the requirement — clarify what the pattern should match and what it should reject.
  2. Consult the cheatsheet — review references/regex-cheatsheet.md for syntax reminders if needed.
  3. Write and execute test code — use the execute_code tool to run Python code that:
  • Compiles the regex with re.compile()
  • Tests it against a set of positive examples (should match) and negative examples (should not match)
  • Extracts and displays any capturing groups
  • Reports pass/fail for each test case
  1. Iterate — if any test fails, refine the pattern and re-run until all cases pass.
  2. Present the result — give the user the final pattern, explain what each part does, and show the test results.

Example Test Script

python
import re
pattern = re.compile(r'^[\w.+-]+@[\w-]+\.[\w.-]+$')
positives = ["user@example.com", "first.last+tag@sub.domain.org"]
negatives = ["@missing.com", "no-at-sign", "spaces in@address.com"]
for s in positives:
assert pattern.match(s), f"FAIL: expected match for '{s}'"
for s in negatives:
assert not pattern.match(s), f"FAIL: expected no match for '{s}'"
print("All tests passed!")

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/olorehq/olore/regex-tester/badge)](https://verified-skill.com/skills/olorehq/olore/regex-tester)

Something wrong with this skill or its page? Tell us.