user-validate
БесплатноЗапускает вложенные скриптыНе проверенPuts an artifact (a spec, a plan or any document) to the user for a validation decision and returns exactly one outcome: approved, changes-requested or…
от crewrig★ 24 звезды на GitHubОб этом скилле
User Validate
Workflows call this skill instead of open-coding a gate, so the backend choice, the fallback and the presentation options live in one place. One invocation is one question and one outcome, then control returns to the caller. The skill never loops and never decides what a non-approval means: the caller owns that policy.
Invocation contract
- Inputs: the artifact to validate (a file path preferred, or an inline element) and the one decision asked, such as "Approve this plan for DEV?".
- Output: exactly one of
approved: the caller proceeds;changes-requested: the caller does not proceed and routes thefeedbacktext upstream;rejected: the caller does not proceed; the situation goes to the user and control returns to the caller, which re-drives under its own retry or halt policy.
Step 1: read the configuration
node scripts/gate-config.ts --json
It reads ~/.crewrig/validation.conf and prints the effective backend, translate, pedagogy,
illustration and theme, plus raw_passthrough_allowed. A missing file, a missing key or an invalid
value gives the default, so the gate never fails for a configuration reason: internal is the floor on
every CLI. Exit 0 always carries usable settings (warnings name an ignored key or value); exit 2 is a
usage error.
CrewRig repository only: the file is written by node scripts/setup-<cli>-interactive.ts, run after
node scripts/lib/node-floor-guard.js as a separate step.
Step 2: realise the gate on the backend
internal (the default)
Use AskUserQuestion, or the host CLI's structured question tool (ask_user on Gemini CLI and Copilot
CLI, ask_question on Antigravity CLI). A plain prose question is not a gate: the user can answer it
ambiguously and the caller gets no outcome to branch on.
- Ask the one decision, with options that map to the outcomes: Approve is
approved, Request changes ischanges-requested(then collect the feedback text), Reject isrejected. - Apply
translateandpedagogy(below) to the question and option text. illustrationdoes not apply: this path has no image surface.
plannotator (opt-in)
Read references/plannotator-backend.md, then follow it. In short: check the binary with
node scripts/plannotator-gate.ts check (exit 3 means fall back to internal and tell the user),
build a presentation when any option is active, and run the review detached with
node scripts/plannotator-gate.ts run <file> --json. The script maps the result to an outcome.
Presentation options
translate=onwith a non-English user language: translate only what the user sees (the artifact copy, the commentary, the question, the options). The repository artifact stays in English and a translated copy is never written back.pedagogyframes the request:simpleis brief context plus the user's role;contextual(default) is the global context, the concerned part and the precise ask;professorre-explains what is decided, why, and what each choice implies, with the real content embedded.illustration=onandthemematter only to theplannotatorbackend; see its reference.
Friction
When something here misleads or blocks you, tag it with the harness-report skill; the shared rule is
in references/shared-friction-reporting.md.
Установить user-validate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл user-validate?
Puts an artifact (a spec, a plan or any document) to the user for a validation decision and returns exactly one outcome: approved, changes-requested or rejected. Runs on the configured backend, `plannotator` (browser review, opt-in) or `internal` (structured prompt, the default). Use when a workflow stage needs the user's approval, sign-off or go/no-go before it proceeds, or when the user must arbitrate between options. Also use to work out the effective gate configuration (validation.conf) or the outcome a gate run returns. Trigger terms: user gate, validation gate, gate configuration, gate outcome, approval, sign-off, approve this plan, plannotator review. Not for reviewing a pull request (pr-reviewer), writing a spec (spec-author) or annotating a file on the user's own initiative (plannotator).
Как установить скилл user-validate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл user-validate запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic