Use when authoring the main .orl rule and test.orl for a package using tree-sitter AST queries. Depends on: gomboc_community_know_language_guidance, gomboc_community_cap_orl_walk.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Use when authoring the main .orl rule and test.orl for a package using tree-sitter AST queries. Depends on: gomboc_community_know_language_guidance, gomboc_community_cap_orl_walk.
Task: Write ORL Rule
Inputs
Parameter
Required
Description
package_path
yes
Rule package with workspace fixtures
language
yes
ORL language id
objective
yes
What to audit/remediate
remediation_type
yes
FULL_REMEDIATION | AUDIT_ONLY | …
Process
Load gomboc_community_know_language_guidance.
Explore AST with gomboc_community_cap_orl_walk.
Write <name>.orl:
First line: # yaml-language-server: $schema=/app/orl-rules/schema/ruleset.json
spec.template.audit_language: ast
Filter-only captures use _ prefix; use flags.indent (no hardcoded spaces)
Write test.orl with negative/positive cases; when expected fixtures exist use remediated_workspace.mode: ast (never comparison: ast).
Prefer templates under assets/templates/ when available.
Constraints
Do not push or enrich here.
Hand off to gomboc_community_task_run_orl_test_loop with rule_package = this task’s package_path.