validator-issue
Files structured GitHub bug reports for agent-validator when users ask to file, report, or open an issue for a suspected defect
от Codagent-AI★ 30 звёзд на GitHub
Установить validator-issue в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/validator-issue
Collect runtime evidence, draft a structured GitHub issue for a suspected agent-validator bug, present a full preview, and file only after confirmation — unless invoked in auto-file mode.
Step 1: Get the Bug Description and Mode
Check for auto-file mode: If $ARGUMENTS begins with --auto-file , set auto-file mode to on and strip the prefix to get the remaining text as the bug description. Skip the confirmation step (Step 4) when auto-file mode is on.
Get the description:
If a non-empty description remains after stripping any
--auto-fileprefix, use it as the bug description and proceed to Step 2.If
$ARGUMENTSis empty (or becomes empty after stripping), ask the user:"Please describe the bug you encountered with agent-validator. What happened, what did you expect, and what were you trying to do?"
Wait for their response before continuing.
Step 2: Collect Evidence
Read .validator/config.yml first to resolve log_dir (default: validator_logs if the field is absent or the file doesn't exist).
Collect the following evidence. For each item, note if it is absent — do not fail if files are missing:
- Config file: Read
.validator/config.ymlin full. - Debug log (last 50 lines): Read the last 50 lines of
<log_dir>/.debug.log.tail -n 50 <log_dir>/.debug.log - Execution state: Read the full contents of
<log_dir>/.execution_state.
Record which files were found and which were absent.
Step 3: Draft the Issue
Draft a GitHub issue with the following structure:
## Problem
<A clear, concise description of the bug. Based on the user's description.>
## Steps to Reproduce
<Step-by-step instructions to reproduce the issue. Infer from the description and evidence, or note "Not yet determined" if unclear.>
## Expected vs Actual
**Expected:** <What should have happened>
**Actual:** <What actually happened>
## Evidence
> **Before including evidence, redact sensitive values**: remove or replace tokens, API keys, email addresses, and absolute local paths that may appear in config, logs, or state. Replace them with `[REDACTED]` or a generic placeholder.
**Config (`.validator/config.yml`):**
<Paste only relevant, non-sensitive config values. Redact tokens, emails, and absolute paths. Note "File not found" if absent.>
**Debug log (last 50 lines of `<log_dir>/.debug.log`):**
<Paste minimal relevant excerpt with sensitive values redacted. Note "File not found" if absent.>
**Execution state (`<log_dir>/.execution_state`):**
<Paste only fields needed to diagnose the bug; redact sensitive values. Note "File not found" if absent.>
**Absent files:** <List any files that were not found, or "None">
Choose a concise, descriptive title: Bug: <short summary of the problem>.
Step 4: Show Preview and Confirm
Present the full draft to the user — both title and body.
If auto-file mode is on: Inform the user that the issue will be filed automatically (show the title and body), then proceed directly to Step 5 without asking.
Otherwise, ask:
"Here is the draft issue. Shall I file it? (yes/no)"
- If the user confirms: proceed to Step 5.
- If the user declines: exit without creating an issue. Inform the user that no issue was filed.
Step 5: File the Issue
Write the issue body to a temporary file and pass it via --body-file to avoid shell interpolation issues with special characters in the body text:
ISSUE_TITLE=$(cat <<'TITLE_EOF'
Bug: <short summary>
TITLE_EOF
)
BODY_FILE=$(mktemp)
cat > "$BODY_FILE" << 'ISSUE_EOF'
<paste the full issue body here>
ISSUE_EOF
gh issue create --repo Codagent-AI/agent-validator --title "$ISSUE_TITLE" --body-file "$BODY_FILE"
rm -f "$BODY_FILE"
Report the created issue URL to the user.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash - 02
Read - 03
Glob
FAQ
Что делает скилл validator-issue?
Files structured GitHub bug reports for agent-validator when users ask to file, report, or open an issue for a suspected defect
Как установить скилл validator-issue?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл validator-issue запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse 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…
xlsx
AnthropicUse 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…
pptx
AnthropicUse 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…