원클릭으로
rebase-clean
// Performs a strict clean rebase of a feature branch onto main with minimal conflict resolution and full validation. Use when the user asks to rebase carefully and run tests + verify until green.
// Performs a strict clean rebase of a feature branch onto main with minimal conflict resolution and full validation. Use when the user asks to rebase carefully and run tests + verify until green.
Update Python dependencies with uv, regenerate lock and Konflux requirements files, then verify lint, types, and tests. Fix breakage from API changes in bumped packages. Use when the user says "deps update", "bump dependencies", or "update deps".
Find functions with high cyclomatic complexity, length, or parameter count. Use when the user asks for complexity hotspots or refactor candidates.
Find unused functions, classes, imports, and unreachable code paths. Use when the user asks for dead code or cleanup candidates.
Find code duplication in the codebase. Supports branch-scoped or full sweep. Use when the user asks to find duplicated code or repeated patterns before a PR.
Investigate CI job failures on a GitHub pull request (checks, Prow, or GitHub Actions). Use when the user pastes a PR URL and asks about CI failures or red checks.
Step-by-step workflow for committing staged changes and opening a pull request for lightspeed-agentic-sandbox.
| name | rebase-clean |
| description | Performs a strict clean rebase of a feature branch onto main with minimal conflict resolution and full validation. Use when the user asks to rebase carefully and run tests + verify until green. |
| disable-model-invocation | true |
Use this workflow for rebases in lightspeed-agentic-sandbox.
git branch --show-current.main), and approved baseline ref when
anything is ambiguous.Use only after a failed rebase. Otherwise skip to Step 2.
git fetch origin # and/or upstream
git rebase origin/main
Adjust origin/main to upstream/main if that is your tracking main.
Resolve conflicts minimally; no opportunistic refactors.
git add <resolved files>
GIT_EDITOR=true git rebase --continue
Same as the original skill: minimal compatibility changes, keep feature intent, resolve tests with production changes.
git range-diff origin/main...<approved-base> origin/main...HEAD
git diff --name-status <approved-base>..HEAD
git merge-base --is-ancestor origin/main HEAD
git log --left-right --cherry-pick --oneline origin/main...HEAD
make test && make verify
If validation fails, treat as incorrect rebase; restore baseline and retry.
make test resultmake verify result