بنقرة واحدة
rai-bugfix-triage
Classify bug in 4 dimensions and set Jira custom fields. Phase 2 of bugfix pipeline.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Classify bug in 4 dimensions and set Jira custom fields. Phase 2 of bugfix pipeline.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Interactive adapter setup for Jira and Confluence. Detects available backends, discovers projects/spaces, generates validated YAML config. 3-4 questions max.
Evaluate design proportionality using Beck's four rules. Use after implementation.
Root cause analysis using the method best suited to the bug. Phase 3 of bugfix pipeline.
Push branch, create MR, verify artifacts complete. Phase 7 of bugfix pipeline.
Execute fix tasks with TDD and all validation gates. Phase 5 of bugfix pipeline.
Decompose fix into atomic TDD tasks. Phase 4 of bugfix pipeline.
استنادا إلى تصنيف SOC المهني
| name | rai-bugfix-triage |
| description | Classify bug in 4 dimensions and set Jira custom fields. Phase 2 of bugfix pipeline. |
| allowed-tools | ["Read","Edit","Write"] |
| license | MIT |
| metadata | {"raise.adaptable":"true","raise.fase":"2","raise.frequency":"per-bug","raise.gate":"hitl","raise.next":"bugfix-analyse","raise.prerequisites":"bugfix-start","raise.skillset":"raise-maintainability","raise.version":"2.4.0","raise.visibility":"public","raise.work_cycle":"bugfix","raise.inputs":"- bug_id: string, required, argument\n- scope_md: file_path, required, from_previous\n","raise.outputs":"- triage_block: string, next_skill\n"} |
Classify the bug in 4 orthogonal dimensions (ODC-inspired) and persist classification to scope artifact and Jira custom fields. This is the highest-leverage phase — misclassification cascades through all subsequent phases.
When to use: After /rai-bugfix-start has produced scope.md with WHAT/WHEN/WHERE/EXPECTED.
When to skip: Never — triage is mandatory. Even trivial bugs need classification for queryable data.
Inputs: Bug ID, work/bugs/RAISE-{N}/scope.md without TRIAGE block.
Expected state: On bug branch. Scope artifact exists and bug reproduces.
Classify the bug before any analysis — classify what you see, not what you think caused it:
| Dimension | Values |
|---|---|
| Bug Type | Functional, Interface, Data, Logic, Configuration, Regression |
| Severity | S0-Critical, S1-High, S2-Medium, S3-Low |
| Origin | Requirements, Design, Code, Integration, Environment |
| Qualifier | Missing, Incorrect, Extraneous |
Append to work/bugs/RAISE-{N}/scope.md:
TRIAGE:
Bug Type: [Functional|Interface|Data|Logic|Configuration|Regression]
Severity: [S0-Critical|S1-High|S2-Medium|S3-Low]
Origin: [Requirements|Design|Code|Integration|Environment]
Qualifier: [Missing|Incorrect|Extraneous]
4 dimensions classified in scope artifact.
Update Jira — set the 4 classification custom fields via MCP. Map Severity to Jira format (S{N}-Label → Sev-{N}) and Origin Environment → Enviroment (Jira typo):
mcp__atlassian__jira_update_issue(
issue_key = "RAISE-{N}",
additional_fields = '{"customfield_13267": {"value": "{Bug Type}"}, "customfield_12090": {"value": "Sev-{N}"}, "customfield_13269": {"value": "{Origin}"}, "customfield_13270": {"value": "{Qualifier}"}}'
)
Jira fields set. MCP not available → set fields manually in Jira UI.Field IDs: Bug Type =
customfield_13267, Severity =customfield_12090, Origin =customfield_13269, Qualifier =customfield_13270.
git add work/bugs/RAISE-{N}/scope.md
git commit -m "bug(RAISE-{N}): triage — {Bug Type}/{Severity}/{Origin}/{Qualifier}
Co-Authored-By: Rai <rai@humansys.ai>"
Triage committed. All 4 dimensions in scope artifact AND Jira.
This gate is mandatory — all 4 dimensions must be classified before advancing to Analyse. If uncertain about Origin, use your best hypothesis — it can be revised during Analyse.
When invoked via orchestrator (/rai-bugfix-run), the orchestrator presents classification for human active verification before proceeding.
| Item | Destination |
|---|---|
| TRIAGE block | Appended to work/bugs/RAISE-{N}/scope.md |
| Jira custom fields | 4 fields set via MCP |
| Next | /rai-bugfix-analyse |
/rai-bugfix-start/rai-bugfix-analysecustomfield_13267 (Bug Type), customfield_12090 (Severity), customfield_13269 (Origin), customfield_13270 (Qualifier)