بنقرة واحدة
bug-file
File a new bug report in wiki/work/bugs/ with required-on-report fields and append it to the bug index
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
File a new bug report in wiki/work/bugs/ with required-on-report fields and append it to the bug index
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Audit all project functionality at a high level and produce a 2-3 minute demo run book plus a Marp slideshow
Orchestrator for parallel agent teams. When invoked with a roadmap file path, drives every item through the full tackle → uat-generate → uat-auto pipeline until complete. When invoked with a task file path, runs that pipeline once and stops.
Refresh codebase context via Serena memories
Append a new item (task link or inline) to an existing roadmap in wiki/work/roadmaps/, optionally under a named phase
Create a structured execution-plan roadmap in wiki/work/roadmaps/ via short Socratic Q&A — captures goal, phases, and the initial hybrid (task-link OR inline) checklist
Execute an outlined task file step-by-step with subagent delegation
| name | bug-file |
| description | File a new bug report in wiki/work/bugs/ with required-on-report fields and append it to the bug index |
| category | planning |
| model | claude-sonnet-4-6 |
| argument-hint | <short bug description> |
| disable-model-invocation | false |
| user-invocable | true |
Always obey .docs/guides/mcp-tools.md. Read it now if not already in context.
Always obey wiki/work/bugs/lifecycle.md. Read it now if not already in context.
Run /primer first if you have not already this session.
Create a new bug file in wiki/work/bugs/ with status new. Gather every required-on-report field before writing — a bug without reliable reproduction is a complaint, not a bug.
Input: $ARGUMENTS
Read both files — they are the authoritative format:
wiki/work/bugs/README.md — full file template, severity/priority rubrics, glossary, and required-fields rulesFrom $ARGUMENTS, extract:
Hold these in working memory; do not invent details the user did not provide.
For each missing required-on-report field, use AskUserQuestion. Batch related questions into a single call where the UI permits. Required fields:
| Field | What to ask |
|---|---|
| Title | Confirm or refine the short symptom title (if $ARGUMENTS was vague) |
| Severity | Single-select: critical / high / medium / low — show the rubric from wiki/work/bugs/README.md |
| Reporter | Name or role (default: the current user from git config user.name) |
| Environment | OS / Platform, Browser or Runtime, App version or commit SHA, relevant config (feature flags, locale, account type) |
| Steps to Reproduce | Numbered list — block progress if reproduction is non-deterministic without recording Reproducibility: rarely or once with notes |
| Expected Behavior | One paragraph |
| Actual Behavior | Observed output only — error messages, stack traces, console output. No speculation. Offer to capture a screenshot path in wiki/work/uat/screenshots/ if relevant |
| Reproducibility | Single-select: always / sometimes / rarely / once; plus First seen and Last seen dates |
Do not ask for Priority, Assignee, Impact, Workaround, Tags, Linked task, Root Cause, or Resolution — those belong to /bug-triage or /bug-close. Leaving them blank (or with the templated placeholder line) on initial filing is correct.
Exception: if the user mentions a task in $ARGUMENTS, accept it in either TASK-NNN or [[TASK-NNN]] form and normalize to "[[TASK-NNN]]" for the linked_task: frontmatter field. If no task is mentioned, set linked_task: "—".
If the user cannot supply reliable Steps to Reproduce, STOP and tell them:
Cannot file this bug yet — Steps to Reproduce are required. Capture a deterministic trigger first (a failing test, a screencast, a server log timestamp), then re-run
/bug-file.
Scan all bug folders to find the next available 4-digit ID:
mcp__serena__list_dir on wiki/work/bugs/ and wiki/work/bugs/archive/ (skip either that doesn't exist)NNNN- prefix; take max + 1; zero-pad to 4 digits.wiki/work/bugs/README.md's Index table for any reserved IDs not yet on disk.Derive the slug from the title: lowercase, hyphen-separated, 2–5 words, ≤ 60 chars. Describe the symptom, not the suspected cause (e.g., login-fails-on-safari, not safari-cookie-handler-bug).
Before writing, present:
wiki/work/bugs/NNNN-<slug>.mdAsk the user to confirm via AskUserQuestion ("File this bug? Yes / Edit / Cancel"). If Cancel, STOP. If Edit, ask which field and re-prompt.
Use Write to create wiki/work/bugs/NNNN-<slug>.md following the File Template in wiki/work/bugs/README.md exactly. Set:
Status: newPriority: — (filled in triage)Assignee: — (filled in triage)Tags: — (filled in triage)linked_task: — "[[TASK-NNN]]" if a task was mentioned (normalized from either TASK-NNN or [[TASK-NNN]] input); "—" otherwiseReported: today's date (YYYY-MM-DD)Last updated: today's dateRoot Cause Analysis, Resolution, and Related sections present but empty (the templated placeholder line under each > quote is fine)Append a row to the Index table in wiki/work/bugs/README.md. Insert in numeric order. Row format:
| [BUG-NNNN](NNNN-slug.md) | <title> | <severity> | — | new | <reporter> | — | YYYY-MM-DD | — |
If the Index still shows the placeholder row (_No bugs yet — …_), replace it with the new row.
Use Edit — one targeted call. Never sed, awk, perl -i, or echo >>. See .docs/guides/mcp-tools.md.
Print:
wiki/work/bugs/NNNN-<slug>.mdBUG-NNNNnewTo triage: /bug-triage BUG-NNNN