Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

glic-check

БесплатноЗапускает вложенные скриптыНе проверен

Systematic quality check for code, skills, configs, and documents. Two modes — GLIC for internal quality (4 dimensions: Grammar / Logic / Integrity /…

songhongleiот songhonglei742 установки в других каталогах

Об этом скилле

GLIC / UGLIC Check

Systematic quality review for code, skills, configs, and documents.

Modes

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)

Dimensions

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.

Workflow

1. Determine Mode & Scope

Detect mode from the user's message — use intent matching, not bare substring matching:

  • Message expresses intent to run UGLIC (e.g., "UGLIC check", "UGLIC this", "uglic verify", "do a uglic on X", "uglic mode") → UGLIC mode (5 dimensions: U + G + L + I + C)
  • Message expresses intent to run GLIC, or asks for a multi-dimension review without specifying mode → GLIC mode (4 dimensions: G + L + I + C)
  • ⚠️ Do not auto-route to UGLIC just because the word 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:

  • "this change" / "the diff" → git diff against base branch / last commit
  • "check this skill" → entire skill directory
  • "check this code" → specified file(s)
  • "GLIC/UGLIC verify" → most recent changes (git diff or last touched files)
  • No target specified → ask the user what to check

2. Read Target Content

Read all in-scope files before judging — but read intelligently for large targets.

  • Small target (≤ 500 lines total, ≤ 5 files): read fully top-to-bottom.
  • Large target (> 500 lines total, or > 10 files, or one file > 500 lines):
    1. Structural scan first — file list, frontmatter, headings, function/class signatures, first + last few lines of each long file
    2. Then deep-read sections that match likely-finding patterns: anti-pattern lists, cross-references, error-handling blocks, frontmatter, build-artifact suspects
    3. Avoid loading every reference upfront — load each references/*.md only when a dimension check needs it
  • Do not skim. Skimming = silent miss = wrong report. If a section is too long to read in one go, summarize it before moving on (don't pretend you read it).

3. Execute Dimension Checks

For 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).

Checker-finding citation discipline (when consuming machine-readable findings from a checker like skill-release-audit JSON):

  • Quote findings with code + location + classification reason intact — never re-summarize into a bare variable list and never drop the classification.
  • ENV_OPTIONAL_OVERRIDE / ENV_RUNTIME_INJECTED / ENV_AMBIENT / ENV_TEST_ONLY findings must NOT be escalated to WARN/ERR unless you find an independent real failure path (document it when escalating).
  • Never recommend adding env metadata just because code reads an env var — see the four-item evidence rule in dimensions.md (I-skill: Env metadata consumption).
  • Report confirmed false-positives / non-user-config separately; do not count them into the WARN total.

4. Assign Severity

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:

  • ERR: Agent cannot reliab
Полный SKILL.md на ClawHub

Установить glic-check в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл glic-check?

Systematic 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.

Как установить скилл glic-check?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл glic-check запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить glic-check с