Skip to content

Commit 44bd9e3

Browse files
avivturcursoragent
andauthored
Resolves: MTV-5111 | consolidate Claude.md to AGENTS.md (#2394)
* Resolves: MTV-5111 | consolidate Claude.md to AGENTS.md Signed-off-by: Aviv Turgeman <aturgema@redhat.com> * Add DCO signoff requirement to commit message format Resolves: None Signed-off-by: Aviv Turgeman <aturgema@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com> --------- Signed-off-by: Aviv Turgeman <aturgema@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 7ee2959 commit 44bd9e3

14 files changed

Lines changed: 24 additions & 21 deletions

.cursor/rules/agents/developer.mdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Your approach:
2222

2323
## Focus Areas
2424

25-
**Important:** For file conventions, naming, and styling details, defer to the project's **CLAUDE.md**. Do not duplicate those rules. For formatting and linting, run `npm run lint` and `npm run lint:fix`.
25+
**Important:** For file conventions, naming, and styling details, defer to the project's **AGENTS.md**. Do not duplicate those rules. For formatting and linting, run `npm run lint` and `npm run lint:fix`.
2626

2727
### 1. Code Correctness
2828

@@ -179,7 +179,7 @@ Your approach:
179179
- Names that don't describe purpose
180180
- Abbreviations that aren't universally known
181181
- Functions doing more than one thing
182-
- Prefer shorter, focused functions (project hard limit is 150 lines per function per CLAUDE.md)
182+
- Prefer shorter, focused functions (project hard limit is 150 lines per function per AGENTS.md)
183183
- Nesting deeper than 3 levels (prefer early returns)
184184
- Magic numbers without named constants
185185

.cursor/rules/agents/ux-reviewer.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Your approach:
121121
- Using appropriate PatternFly components
122122
- Not recreating existing components
123123
- Consistent with OpenShift Console patterns
124-
- **Reference:** [PatternFly docs](https://www.patternfly.org/components) and project Coding Standards (CLAUDE.md)
124+
- **Reference:** [PatternFly docs](https://www.patternfly.org/components) and project Coding Standards (AGENTS.md)
125125

126126
**Visual Consistency**
127127
- Using PatternFly spacing variables

.cursor/rules/i18n.mdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ alwaysApply: false
66

77
# i18n Guidelines (Supplement)
88

9-
For basic i18n usage (`useForkliftTranslation`, `ForkliftTrans`, `t` function), see **CLAUDE.md**. This rule adds detailed patterns.
9+
For basic i18n usage (`useForkliftTranslation`, `ForkliftTrans`, `t` function), see **AGENTS.md**. This rule adds detailed patterns.
1010

1111
---
1212

@@ -21,7 +21,7 @@ For basic i18n usage (`useForkliftTranslation`, `ForkliftTrans`, `t` function),
2121

2222
## 2. Translation Utilities
2323

24-
For the three utilities (`useForkliftTranslation`, `ForkliftTrans`, `t`) and when to use each, see **CLAUDE.md**.
24+
For the three utilities (`useForkliftTranslation`, `ForkliftTrans`, `t`) and when to use each, see **AGENTS.md**.
2525

2626
---
2727

.cursor/rules/project-context.mdc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ alwaysApply: true
55

66
# Forklift Console Plugin - Domain Context
77

8-
For coding standards, conventions, and development commands, see **CLAUDE.md** at the project root.
8+
For coding standards, conventions, and development commands, see **AGENTS.md** at the project root.
99

1010
This rule provides Forklift-specific domain knowledge not covered there.
1111

@@ -116,11 +116,11 @@ src/
116116

117117
## Rule Maintenance
118118

119-
When implementing a new feature that introduces concepts, patterns, CRDs, provider types, statuses, or conventions **not already covered** by the existing rules (this file, `CLAUDE.md`, or any file under `.cursor/rules/`), you **must** update the relevant rule file as part of the same change. Examples:
119+
When implementing a new feature that introduces concepts, patterns, CRDs, provider types, statuses, or conventions **not already covered** by the existing rules (this file, `AGENTS.md`, or any file under `.cursor/rules/`), you **must** update the relevant rule file as part of the same change. Examples:
120120

121121
- New CRD or resource type -- add it to this file under **Core CRDs**.
122122
- New provider type or status -- add it to this file and to `agents/forklift-expert.mdc`.
123-
- New shared hook, utility, or component pattern -- add it to `CLAUDE.md` or the matching file-specific rule.
123+
- New shared hook, utility, or component pattern -- add it to `AGENTS.md` or the matching file-specific rule.
124124
- New testing pattern or tooling -- update `testing.mdc`.
125125
- New i18n utility or namespace change -- update `i18n.mdc`.
126126
- New workflow or development process -- add or update the relevant file under `workflows/`.

.cursor/rules/react-components.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ alwaysApply: false
66

77
# React Component Patterns (Supplement)
88

9-
For core React conventions (functional components, FC type, imports, hooks rules), see **CLAUDE.md**. This rule adds PatternFly and Console SDK patterns.
9+
For core React conventions (functional components, FC type, imports, hooks rules), see **AGENTS.md**. This rule adds PatternFly and Console SDK patterns.
1010

1111
---
1212

.cursor/rules/styles.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ alwaysApply: false
66

77
# SCSS Styling Guidelines (Supplement)
88

9-
For core styling conventions (SCSS preference, BEM methodology, no `!important`), see **CLAUDE.md**. This rule adds PatternFly theme variable references (version-agnostic) and layout patterns.
9+
For core styling conventions (SCSS preference, BEM methodology, no `!important`), see **AGENTS.md**. This rule adds PatternFly theme variable references (version-agnostic) and layout patterns.
1010

1111
---
1212

.cursor/rules/testing.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ alwaysApply: false
66

77
# Testing Guidelines (Supplement)
88

9-
For basic testing approach (Jest for unit, Playwright for E2E), see **CLAUDE.md**. This rule adds detailed patterns.
9+
For basic testing approach (Jest for unit, Playwright for E2E), see **AGENTS.md**. This rule adds detailed patterns.
1010

1111
---
1212

.cursor/rules/typescript.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ alwaysApply: false
66

77
# TypeScript Guidelines (Supplement)
88

9-
For core TypeScript conventions (type vs interface, no `any`, explicit return types, naming), see **CLAUDE.md**. This rule adds advanced patterns.
9+
For core TypeScript conventions (type vs interface, no `any`, explicit return types, naming), see **AGENTS.md**. This rule adds advanced patterns.
1010

1111
---
1212

.cursor/rules/workflows/debugging.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ npm run lint
122122

123123
### Implement Fix
124124
1. Make the minimal change needed
125-
2. Follow project coding conventions (see CLAUDE.md)
125+
2. Follow project coding conventions (see AGENTS.md)
126126
3. Add error handling if the root cause was missing error handling
127127
4. Consider edge cases
128128

.cursor/rules/workflows/feature-development.mdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This is the complete workflow from picking up a Jira ticket to submitting a PR.
2424

2525
3. IMPLEMENT
2626
"Create the component", "Add the feature"
27-
Write code following project standards (CLAUDE.md)
27+
Write code following project standards (AGENTS.md)
2828

2929
4. TEST
3030
"Test my changes", "Add unit tests"
@@ -224,7 +224,7 @@ Following `pr-preparation.mdc`:
224224
- **Playwright / E2E**: Use separate clusters or avoid heavy automated traffic so shared environments are not blocked.
225225

226226
### Rules Applied
227-
- **CLAUDE.md**: Project coding standards
227+
- **AGENTS.md**: Project coding standards
228228
- **team-review.mdc**: Multi-perspective review
229229
- **ticket-workflow.mdc**: Agent tracking for tickets
230230
- **pr-preparation.mdc**: PR checklist

0 commit comments

Comments
 (0)