Skip to content

Commit aea3541

Browse files
Move issue routing to top of CLAUDE.md to ensure it is read first
Claude was exploring the repo and analyzing code before reaching the routing table at the bottom of the file. Move the Issue Resolution section to the top with strong directive language so Claude checks the routing table immediately upon receiving an issue reference. Signed-off-by: Roman Nikitenko <rnikiten@redhat.com> Made-with: Cursor
1 parent 8dfd6db commit aea3541

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

CLAUDE.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
44

5+
## Issue Resolution (READ FIRST)
6+
7+
**IMPORTANT**: When you receive a GitHub issue reference (as a prompt or URL), you MUST follow this procedure BEFORE doing anything else. Do NOT explore the repository, analyze code, or take any other action until you have completed steps 1-3.
8+
9+
1. Fetch the issue details (title, body) using `gh issue view <URL>`.
10+
2. Match the issue title against the routing table below.
11+
3. If a skill matches, read that skill file and follow its instructions exactly as written. Do not skip steps or improvise alternatives.
12+
4. If no skill matches the issue title, report: "No matching skill for this issue title: \<title\>" and exit with a non-zero code.
13+
14+
### Routing Table
15+
16+
| Issue title pattern | Skill file |
17+
|---|---|
18+
| "Alignment Che-Code with" | `.claude/skills/test-pr.md` |
19+
520
## Project Overview
621

722
**che-code** is Eclipse Che's fork of Microsoft's VS Code (Code-OSS) that runs in a browser, connecting to a remote HTTP(s) server on Kubernetes instead of desktop mode. The terminal is container-aware: it can open shells in any container of the running pod.
@@ -140,18 +155,3 @@ Settings used by automated skills (`.claude/skills/`):
140155

141156
- **PR target repository**: `RomanNikitenko/che-code`
142157
- **Git identity**: name `che-code-rebase-bot`, email `che-code-rebase-bot@noreply`
143-
144-
## Issue Resolution
145-
146-
When you receive a GitHub issue reference (either as a prompt like "Resolve this GitHub issue: \<URL\>" or just an issue URL), follow these rules:
147-
148-
1. Fetch the issue details (title, body) using `gh issue view <URL>`.
149-
2. Match the issue title against the routing table below.
150-
3. Read the matched skill file and follow its instructions exactly as written. Do not skip steps or improvise alternatives.
151-
4. If no skill matches the issue title, report: "No matching skill for this issue title: \<title\>" and exit with a non-zero code.
152-
153-
### Routing Table
154-
155-
| Issue title pattern | Skill file |
156-
|---|---|
157-
| "Alignment Che-Code with" | `.claude/skills/test-pr.md` |

0 commit comments

Comments
 (0)