本文へスキップ
Kitbay
掲載依頼
スキル公式

error-pattern-safety

MIT2026年11月11日 更新5,616GitHubスター

A maintainer skill with rules for regular expressions used to match errors in gh-aw's agentic engines.

スキルの内容

A maintainer skill with rules for regular expressions used to match errors in gh-aw's agentic engines. It explains how a JavaScript pattern with the global flag that can match an empty string makes exec loop forever, lists patterns that must not be used, and shows safe alternatives and tests. It applies to the log parsing code in the gh-aw repository.

できること

  • Spot regex patterns that can loop forever in JavaScript
  • Rewrite error patterns to avoid zero-width matches
  • Test error patterns for safety