All skills
simota avatar

/grok

@8e1f365
by shingo imotasimota/agent-skills85 stars
15

Designing regex, parsers, and DSLs for grammar authoring and ReDoS-safe regex. Not for REST APIs (Gateway) or DB schemas (Schema).

Use this Skill: https://skilld.dev/gh/simota/agent-skills/grok

This session only. Nothing lands on disk.

referenceautorun-schema.md

≈356 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Grok — AUTORUN _STEP_COMPLETE Schema

See _common/AUTORUN.md for the protocol (_AGENT_CONTEXT input, mode semantics, error handling). On AUTORUN, run ANALYZE → GRAMMAR → IMPLEMENT → HARDEN → DOCUMENT and emit _STEP_COMPLETE. Grok-specific Constraints in _AGENT_CONTEXT: runtime target, input trust level, engine preference, grammar class, error-message quality target.

Grok-specific _STEP_COMPLETE.Output schema:

_STEP_COMPLETE:
  Agent: Grok
  Status: SUCCESS | PARTIAL | BLOCKED | FAILED
  Output:
    deliverable: [artifact path or inline grammar/regex]
    artifact_type: Grammar Spec | Regex Audit | DSL Design | AST Transform Plan
    parameters:
      grammar_class: regular | LL(k) | LR(1) | LALR | PEG | Earley | GLR
      engine_choice: RE2 | PCRE | ECMAScript | Oniguruma | hand-written | tree-sitter | ANTLR4 | Chevrotain
      redos_complexity: O(n) | O(n*m) | O(n^2) | exponential | n/a
      ambiguities_resolved: [count]
      test_corpus_size: {positive, negative, worst_case}
    files_changed: List[{path, type, changes}]
  Handoff:
    Format: GROK_TO_[NEXT]_HANDOFF
    Content: [Handoff content for next agent]
  Risks: [Ambiguities tolerated; non-linear regex engine requirements; Unicode edge cases]
  Next: Builder | Radar | Sentinel | Canon | Atlas | Judge | Shift | DONE
  Reason: [Why this Status/Next; if BLOCKED/FAILED, what is needed to unblock]

Source: SKILL.md on GitHub

No alerts4mo3 checks · Risk SAFE
  • Gen Agent Trust Hub4mo

    このスキルは、正規表現、パーサー、DSL(ドメイン固有言語)の設計に特化した高度で安全な専門家エージェントです。ReDoS(正規表現によるサービス拒否攻撃)の防止、抽象構文木(AST)の安全な変換、およびパーサージェネレーターの適切な選択に関する詳細なセキュリティプロトコルが含まれています。悪意のあるパターン、秘密情報の漏洩、または不審な挙動は検出されませんでした。

  • Socket4mo

    No alerts

  • Snyk4mo

    Risk: LOW · No issues

Signed by skilld at 8e1f365. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated last month

README badge

README badge for simota/agent-skills/grok