بنقرة واحدة
issue-triage
Rules for triaging new issues, classifying severity, and routing to the correct agent.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Rules for triaging new issues, classifying severity, and routing to the correct agent.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Detect and prevent product-specific terminology contamination across skills/ and prompts/. Run after any bulk content update, skill import from another project, or agent config change. Applied as a shared skill across all agents.
When and how Architect delegates tasks to AO, Mechanic, and Designer.
Checklist and rules for reviewing deployment requests. Architect assesses but NEVER executes.
How to classify and respond to CI/pipeline failures.
Rules for detecting and managing stale issues and PR reviews.
When Designer reviews vs builds. Clear boundaries for autonomous action.
| name | issue-triage |
| description | Rules for triaging new issues, classifying severity, and routing to the correct agent. |
| metadata | {"version":"1.0.0","type":"procedure"} |
Covers the
triage_new_issue(github:issue_opened) andevaluate_and_delegate(github:issue_labeled) tasks. Load this when an issue event arrives.
A new issue was created. Your ONLY job is to apply labels. Do NOT delegate work.
Do NOT publish architect:build_directive.
repo:list to get all registered repos.If the issue is on the WRONG repo:
"This work belongs in {correct-repo}. Moving."github:create_issue (copy title, body, context).needs-human to the original issue with a redirect note.ao-eligible or bug — do NOT delegate from the wrong repo.If the issue is on the correct repo: proceed to Step 1.
| Label | When to Apply |
|---|---|
bug | Describes a bug, defect, or incorrect behavior |
QA | Describes a test gap, missing test, or quality issue |
ao-eligible | Task AO can handle but isn't a bug or QA issue |
needs-human | Requires human judgment, ambiguous, or touches security/credentials |
coordination | Requires cross-agent or cross-repo coordination |
UI | Requires frontend/design work |
security-sensitive | Touches auth, credentials, permissions, or safety gates |
P1 | High priority (production impact, blocking other work) |
P2 | Normal priority |
github:add_labels.needs-human, do NOT also apply bug, QA, or ao-eligible. needs-human takes absolute priority.yclaw-agent-orchestrator[bot] or contains "follow-up from #", it's a bot-created follow-up. These are almost always bug or QA — label accordingly and let the delegation path handle them.A label was just added to an issue. Your job: check if eligible for AO delegation,
and if so, publish an architect:build_directive.
An issue is eligible if ALL of these are true:
bug, QA, or ao-eligible (match emoji-prefixed variants like 🐛 bug, 🧪 QA, 🤖 ao-eligible)needs-human, coordination, UI, security-sensitive (emoji: 🙅 needs-human, 🔗 coordination, 🎨 UI, 🔒 security-sensitive)in-progress (emoji: 🚧 in-progress) — already being workedlabel_added field) is an eligible label — don't re-evaluate old label additionsIf not eligible, stop. Return immediately.
ao:status to check AO health. If degraded or unavailable, stop.github:get_issue to fetch full issue details.investigation_summary: What the issue is, root cause analysiskey_files: Which files likely need changes (use github:get_contents to verify paths)constraints: What NOT to change, safety boundariesacceptance_criteria: How to verify the fix is correctevent:publish with event architect:build_directive containing:
repo (MUST be full slug owner/repo, e.g., YClawAI/yclaw)issueNumber (integer)in-progress.delegation-policy/SKILL.md — which agent to route eligible work tostale-management/SKILL.md — safety-net sweep that catches missed issues