Skip to content

Add 'validate-rebase-rules' skill#681

Draft
RomanNikitenko wants to merge 1 commit intoche-incubator:mainfrom
RomanNikitenko:add-validate-rebase-rules-skill
Draft

Add 'validate-rebase-rules' skill#681
RomanNikitenko wants to merge 1 commit intoche-incubator:mainfrom
RomanNikitenko:add-validate-rebase-rules-skill

Conversation

@RomanNikitenko
Copy link
Copy Markdown
Collaborator

@RomanNikitenko RomanNikitenko commented Apr 8, 2026

What does this PR do?

  • Adds validate-rebase-rules skill
  • Allows to automate validation process of rebase rules (replace, add, override)
  • Generates a rebase-rules-validation.md report with mismatches and proposed fixes.
  • it's used when asked to check, validate, or audit rebase rules, or before a rebase.

What issues does this PR fix?

eclipse-che/che#23749

I used the skill to validate rebase rules for the current alignment with upstream: #646

How to test this PR?

image

Does this PR contain changes that override default upstream Code-OSS behavior?

  • the PR contains changes in the code folder (you can skip it if your changes are placed in a che extension )
  • the corresponding items were added to the CHANGELOG.md file
  • rules for automatic git rebase were added to the .rebase folder

Generated-by: Cursor AI

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Click here to review and test in web IDE: Contribute

@@ -0,0 +1,127 @@
# Rebase Rules Validation Report
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file is not going to be merged
it's just as an example of detected problems

Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
Generated-by: Cursor AI
@RomanNikitenko RomanNikitenko force-pushed the add-validate-rebase-rules-skill branch from 60a4fe4 to 9f0c211 Compare April 8, 2026 10:02
Comment thread CLAUDE.md
@@ -0,0 +1,135 @@
# CLAUDE.md
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file should be merged to the main within another PR: #676

Comment thread rebase.sh

PREVIOUS_UPSTREAM_VERSION="release/1.104"
CURRENT_UPSTREAM_VERSION="release/1.108"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

variables are used by skills
Also this place

UPSTREAM_VERSION=$(git rev-parse upstream-code/release/1.104)

should use CURRENT_UPSTREAM_VERSION variable

Copy link
Copy Markdown
Collaborator Author

@RomanNikitenko RomanNikitenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR depends on

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

1 similar comment
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant