Skip to main content

backport

Backport a commit to an OpenShift or COO release branch while adapting dependencies and repository layout. Use when the user asks to backport a feature or fix.

소스 정보

저장소
openshift/monitoring-plugin
최근 소스 활동
2026년 9월 23일 12:59
감지된 SKILL.md 언어
영어
스타
12
포크
71

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
backport
description
Backport a commit to an OpenShift or COO release branch while adapting dependencies and repository layout. Use when the user asks to backport a feature or fix.
# Backport a change Require a target branch. Use the requested commit, or the current `HEAD` when none is supplied. Explicit invocation authorizes the branch creation and cherry-pick, but never a push or PR creation. ## Workflow 1. Inspect `git status`, the current branch, the source commit, and its changed files. Preserve unrelated work; stop if switching branches would overwrite it. 2. Confirm the target ref and source commit exist. Capture the source commit hash before switching branches. 3. Read the target branch's manifests and relevant source files with `git show`. Do not infer dependency versions solely from the branch name. Older branches may keep the frontend at the repository root rather than under `web/`. 4. Read [references/dependency-adaptations.md](references/dependency-adaptations.md) when the change touches frontend dependencies, routing, Console SDK APIs, or paths that differ between branches. 5. Create a descriptively named branch from the target and cherry-pick the source commit. Resolve conflicts and adapt the code to the target branch's actual APIs and layout. 6. Install dependencies only in the frontend directory used by the target branch. Do not delete an existing dependency directory unless troubleshooting requires it and the user approves. 7. Run checks appropriate to the changed files and available targets. Prefer the target branch's `Makefile` and package scripts over commands copied from the source branch. 8. Summarize the files changed, adaptations made, checks run, and any remaining failures. Provide push/PR commands if useful, but do not run them. If the cherry-pick leaves unresolved conflicts, continue working through them. Abort only when the user asks or when preserving their work requires it.
GitHub에서 보기