Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".
日本語の概要は準備中です。原文の説明を表示しています。
Comprehensive regular expressions guide covering character classes, quantifiers, anchors, groups, lookahead/lookbehind, common patterns (email, URL, IP, phone, dates, semver), ReDoS prevention, Unicode support, flags, debugging, and when NOT to use regex.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Regex syntax is mostly universal but API usage differs by language. After reading the patterns below, read the reference for your language:
| Language | Reference | Engine Notes |
|---|---|---|
| JavaScript | references/javascript.md | V8/SpiderMonkey — full PCRE-like features |
| Python | references/python.md | re module — PCRE-like, supports verbose mode |
| Go | references/go.md | RE2 — no backreferences or lookaround |
| Rust | references/rust.md | regex crate — RE2-like; fancy-regex for lookaround |
. Any character except newline (unless /s flag)
\d Digit [0-9]
\D Non-digit [^0-9]
\w Word character [a-zA-Z0-9_]
\W Non-word character [^a-zA-Z0-9_]
\s Whitespace [ \t\n\r\f\v]
\S Non-whitespace
[abc] Any of a, b, or c
[^abc] Not a, b, or c
[a-z] Range: a through z
[a-zA-Z] Any letter
[0-9a-fA-F] Hexadecimal digit
* Zero or more (greedy)
+ One or more (greedy)
? Zero or one (optional)
{3} Exactly 3
{2,5} Between 2 and 5
{3,} 3 or more
*? Zero or more (lazy)
+? One or more (lazy)
{2,5}? Between 2 and 5 (lazy)
*+ Zero or more (possessive — not in all engines)
++ One or more (possessive)
Input: <b>bold</b> and <b>more bold</b>
<b>.*</b> Greedy: matches entire string (one match)
<b>.*?</b> Lazy: matches "<b>bold</b>" and "<b>more bold</b>" (two matches)
^ Start of string (or line with multiline flag)
$ End of string (or line with multiline flag)
\b Word boundary (between \w and \W)
\B Non-word boundary
\A Start of string (never affected by multiline — Python, Ruby)
\z End of string (absolute — Python, Ruby)
\bcat\b Matches "cat" in "The cat sat" — not in "concatenate"
\bpre\w+ Matches "prefix", "preview" — not "compress"
(abc) Capture group — stores match for backreference
(\d{4}) Capture the year
(\w+)@(\w+) Two capture groups: username and domain
# Backreferences
(.)\1 Matches repeated character: "aa", "bb"
(\w+)\s+\1 Matches repeated word: "the the"
Named group syntax varies by language:
(?<name>pattern)(?P<name>pattern)(?P<name>pattern) (RE2 syntax)(?:abc) Groups but does NOT capture (no backreference)
(?:com|org|net) Matches without storing
cat|dog Matches "cat" or "dog"
(cat|dog)s Matches "cats" or "dogs"
(?:Mr|Mrs|Ms) Matches title without capturing
(?=pattern) Positive: followed by pattern
(?!pattern) Negative: NOT followed by pattern
# Password: at least one digit, one uppercase, one lowercase
^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}$
# Match "foo" only if followed by "bar"
foo(?=bar) Matches "foo" in "foobar", not in "foobaz"
# Match number NOT followed by percent
\d+(?!%) Matches "42" in "42 items", not in "42%"
(?<=pattern) Positive: preceded by pattern
(?<!pattern) Negative: NOT preceded by pattern
(?<=\$)\d+ Matches "50" in "$50", not in "50 items"
(?<!un)happy Matches "happy" but not "unhappy"
# Note: lookbehinds must be fixed-width in most engines
# Go RE2 does NOT support lookaround at all
^[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,}$
# WARNING: For production, use a library. RFC 5322 regex is 6,300+ chars.
https?:\/\/(?:www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_+.~#?&/=]*)
# For strict validation, use the URL parser in your language instead.
\b(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\b
^(?:\+1[-.\s]?)?(?:\(?\d{3}\)?[-.\s]?)?\d{3}[-.\s]?\d{4}$
^\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])$
# Validates format, NOT calendar correctness.
^(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)(?:-(?:(?:0|[1-9]\d*|\d*[a-zA-Z\-][\da-zA-Z\-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z\-][\da-zA-Z\-]*))*))?(?:\+[\da-zA-Z\-]+(?:\.[\da-zA-Z\-]+)*)?$
^#(?:[0-9a-fA-F]{3}){1,2}$
^[a-z0-9]+(?:-[a-z0-9]+)*$
(a+)+$ Nested quantifiers
(a|a)+$ Overlapping alternation
(\w+\s*)+$ Repeated group with optional separator
(a+)+ → flatten to a+.* inside a repeated group — use ([^,]*,)+ instead[^"]* over lazy .*?\p{L} Letter (any script)
\p{Lu} Uppercase letter
\p{Ll} Lowercase letter
\p{N} Number
\p{Nd} Decimal digit
\p{P} Punctuation
\p{S} Symbol
\p{Z} Separator (spaces)
\p{M} Mark (combining characters)
# Script-specific
\p{Script=Greek}
\p{Script=Han}
\p{Script=Arabic}
Note: Unicode property support varies by engine. JavaScript requires
/uflag. Go RE2 supports\p{L}etc. Pythonredoes NOT support\p{}—use theregexpackage.
g Global: find all matches
i Case-insensitive
m Multiline: ^ and $ match line boundaries
s DotAll: . matches newline characters
u Unicode: enables \p{}, correct surrogate pair handling
x Extended/Verbose: ignore whitespace, allow comments (Python, Ruby, PCRE)
y Sticky: match at exact position (JavaScript)
/file.txt/ # Dot matches anything — matches "file_txt"
/file\.txt/ # Correct: escaped dot
/\d{3}/ # Matches "123" inside "abc12345def"
/^\d{3}$/ # Correct: anchored to exact 3 digits
/<.*>/ # Greedy: matches entire "<a>text</a>"
/<[^>]*>/ # Correct: negated class
# Prefer:
startsWith('prefix') over /^prefix/.test(str)
endsWith('suffix') over /suffix$/.test(str)
includes('text') over /text/.test(str)
split(',') over split(/,/)
^ and $ when validating entire strings(?:...) when you don't need the value[^"]* over lazy .*?. when you mean a specific character classまだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".
日本語の概要は準備中です。原文の説明を表示しています。
Structured methodology for adversarial thinking — generating attack scenarios, abuse cases, race conditions, and security edge cases against specs and implementations. Produces spec-level gap items, not code-level fixes.
日本語の概要は準備中です。原文の説明を表示しています。
Orchestrate multiple Antigravity skills through guided workflows for SaaS MVP delivery, security audits, AI agent builds, and browser QA.
日本語の概要は準備中です。原文の説明を表示しています。
Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.
日本語の概要は準備中です。原文の説明を表示しています。
Manage API versioning and evolution with URL/header/query strategies, deprecation workflows, breaking change classification, sunset headers, and consumer-driven contract testing. Use when designing versioning strategy, deprecating endpoints, or evolving API contracts.
日本語の概要は準備中です。原文の説明を表示しています。
Analyzes codebase structure, data flow, module relationships, and key patterns to generate and maintain a living architecture document (ARCHITECTURE.md).
日本語の概要は準備中です。原文の説明を表示しています。