Install
openclaw skills install @songhonglei/glic-checkSystematic quality check for code, skills, configs, and documents. Two modes — GLIC for internal quality (4 dimensions: Grammar / Logic / Integrity / Containment) and UGLIC adding User Experience (5 dimensions: U + G + L + I + C). Each finding cites file:line; severity is tagged as ERR / WARN / INFO with explicit escalation rules (silent-failure = ERR, 3× repeated WARN → ERR, missing public-param doc = ERR). Use when the user says "GLIC check", "UGLIC check", "do a glic", "systematically review this", "audit my skill", "quality check this code", or any phrasing that asks for a multi-dimension review of code / skills / configs / docs.
openclaw skills install @songhonglei/glic-checkSystematic quality review for code, skills, configs, and documents.
build-better-skills suite — see Stages for the lifecycle map.| Mode | Trigger Examples | Dimensions |
|---|---|---|
| GLIC | GLIC check, glic, glic this | G + L + I + C (4 dims) |
| UGLIC | UGLIC check, UGLIC verify, uglic this | U + G + L + I + C (5 dims) |
| Dim | Name | Focus |
|---|---|---|
| U | Usability & User Experience | Two perspectives — Agent: executability, unambiguous instructions, declared dependencies, failure recovery; Human: usability, onboarding success, error communication, interaction efficiency |
| G | Grammar | Syntax errors, naming conventions, formatting consistency, YAML/JSON validity |
| L | Logic | Control flow correctness, implicit dependencies, edge cases, branch coverage |
| I | Integrity | Completeness, consistency, boundary handling, documentation-code alignment |
| C | Containment | Side effects, scope boundaries, security, backward compatibility |
U is only active in UGLIC mode. GLIC mode skips U entirely.
Detect mode from the user's message — use intent matching, not bare substring matching:
UGLIC appears anywhere in the message (e.g., "the UGLIC mode docs say X" is asking about UGLIC, not requesting a UGLIC check). Look for a verb/imperative form: do, run, check, verify, audit.Then, ask or infer what to check:
git diff against base branch / last commitRead all in-scope files before judging — but read intelligently for large targets.
references/*.md only when a dimension check needs itFor each active dimension, go through the checklist in references/dimensions.md. Adapt sub-checks to the target type (code / skill / config / document).
GLIC mode: Run G → L → I → C. UGLIC mode: Run U → G → L → I → C.
Key rule: Each finding must cite a specific location (file:line or section heading).
| Tag | Meaning | Action |
|---|---|---|
| ❌ ERR | Functional impact, security risk, documentation misaligns with code, user fundamentally cannot complete the core task | Must fix |
| ⚠️ WARN | Maintainability, consistency, future-proofing, implicit risk, user friction or confusion | Should fix |
| ℹ️ INFO | Style preference, minor optimization, nice-to-have | Optional |
U-dimension severity rules:
Severity escalation (all dimensions):
Follow references/output-format.md for consistent structure:
## GLIC Check — [target description] (GLIC mode) or ## UGLIC Check — [target description] (UGLIC mode)Assign new numbers per dimension (reset per check).
After report, explicitly ask: ERR items should be fixed first, then WARN items. Do not fix automatically — wait for user confirmation.
bash scripts/grep_antipatterns.sh <target-dir-or-file>.This skill belongs to the build-better-skills suite.
For the full lifecycle map (Install → Audit → Release → Testing → Sediment),
all sibling skills, and their current status, see the
Stages table on the suite repo home — kept as the single source
of truth (this file does not duplicate it).