O

Openshift技能

backport
openshift
將主分支的提交或PR反向移植到發佈分支。當使用者要求反向移植、揀選或移植變更到其他分支,或正在解決…時使用。
official
Build CPO Image
openshift
建置並推送 control-plane-operator 容器映像檔。當測試 CPO 變更需要部署至實際叢集時自動套用。
official
Build HO Image
openshift
建置並推送 hypershift-operator 容器映像檔。當測試需要部署到實際叢集的 HO 變更時,會自動套用。
official
cluster-update-advisor
openshift
Assess OpenShift cluster update (upgrade) readiness and risk. Use when evaluating whether a cluster is safe to update, when an update is available, or when the…
official
cluster-update-advisor
openshift
評估 OpenShift 叢集更新(升級)的準備狀態與風險。用於評估叢集是否可安全更新、是否有可用更新,或當…
official
Code Formatting
openshift
在撰寫 Go 測試時,所有測試名稱必須使用「When...it should...」格式。在撰寫任何 Go 程式碼時,必須提醒使用者執行「make…」
official
code-review
openshift
審查拉取請求的程式碼品質、正確性及專案慣例。當使用者要求審查PR、程式碼審查或檢查變更時使用。
official
code-review
openshift
Review a pull request for code quality, correctness, and project conventions. Use when the user asks to review a PR, code review, or examine changes on a…
official
Create HC AWS
openshift
在 AWS 上建立一個 HyperShift HostedCluster 以進行開發和測試,並可選擇自訂的 CPO/HO 映像。
official
css-review
openshift
審查CSS的編碼風格、PatternFly token使用方式及最佳實踐。當使用者要求審查CSS、檢查樣式或稽核CSS檔案時使用。
official
css-review
openshift
Review CSS for coding style, PatternFly token usage, and best practices. Use when the user asks to review CSS, check styles, or audit CSS files.
official
Debug Cluster
openshift
針對 HyperShift 託管叢集問題,提供系統化的除錯方法。在除錯叢集問題、調查卡住的刪除作業或…時自動套用。
official
deps-update
openshift
使用 uv 將 Python 依賴項更新至最新版本,重新生成鎖定檔與 requirements.txt,然後驗證 lint 與測試是否通過。修復因 API 變更導致的問題…
official
deps-update
openshift
使用uv將Python依賴更新至最新版本,重新生成lock與requirements.txt,然後驗證linting和測試是否通過。修復因API變更導致的問題…
official
Destroy HC AWS
openshift
摧毀 HyperShift HostedCluster 及其所有相關的 AWS 基礎設施(VPC、IAM、Route53 等)。
official
E2E Test Runner
openshift
提供執行和迭代HyperShift端到端測試的能力。在實作需要端到端驗證的功能、修復端到端測試失敗時自動套用…
official
Effective Go
openshift
應用 Go 最佳實踐、慣用語法及來自 golang.org/doc/effective_go 的慣例。在撰寫、審查或重構 Go 程式碼時使用,以確保程式碼符合慣用風格…
official
Effective Go
openshift
應用 Go 的最佳實踐、慣用語法及來自 golang.org/doc/effective_go 的慣例。在撰寫、審查或重構 Go 程式碼時使用,以確保程式碼符合慣用寫法…
official
find-complexity
openshift
尋找具有高循環複雜度、過長長度或過多參數的函式。當使用者要求尋找複雜程式碼、複雜度熱點等時使用。
official
find-complexity
openshift
尋找具有高循環複雜度、過長長度或過多參數的函式與方法。當使用者要求尋找複雜程式碼、複雜度…時使用。
official
find-complexity
openshift
Find functions with high cyclomatic complexity, excessive length, or too many parameters. Use when the user asks to find complex code, complexity hotspots,…
official
find-complexity
openshift
找出具有高圈複雜度、過長或參數過多的函式與方法。當使用者要求找出複雜程式碼、複雜度……時使用。
official
find-dead-code
openshift
找出未使用的函式、型別、常數、匯入以及無法到達的程式碼路徑。當使用者要求找出死碼、未使用程式碼、清理候選項目或…時使用。
official
find-dead-code
openshift
找出未使用的函式、類別、匯入以及無法到達的程式碼路徑。當使用者要求找出死碼、未使用程式碼、清理候選項目,或想要…時使用。
official
find-dead-code
openshift
Find unused functions, types, constants, imports, and unreachable code paths. Use when the user asks to find dead code, unused code, cleanup candidates, or…
official
find-dead-code
openshift
尋找未使用的函式、類別、匯入項目以及無法觸及的程式碼路徑。當使用者要求找出死程式碼、未使用的程式碼、清理候選項目,或想要…時使用。
official
find-duplication
openshift
在程式碼庫中尋找重複的程式碼。支援兩種模式:限定於目前分支的變更範圍,或對整個程式碼庫進行全面掃描。當使用者要求尋找……時使用。
official
find-duplication
openshift
在程式碼庫中尋找重複的程式碼。支援兩種模式:限定於當前分支的變更範圍,或對整個程式碼庫進行全面掃描。當使用者要求尋找…時使用。
official
find-duplication
openshift
Find code duplication in the codebase. Supports two modes - scoped to current branch changes or a full codebase sweep. Use when the user asks to find…
official
find-duplication
openshift
Find code duplication in the codebase. Supports two modes - scoped to current branch changes or a full codebase sweep. Use when the user asks to find…
official
find-token
openshift
找到隱藏的驗證令牌。執行 find-token 腳本以獲取唯一的令牌。
official
find-token
openshift
Find the hidden verification token. Run the find-token script to retrieve a unique token.
official
Git Commit Format
openshift
套用 HyperShift 慣例提交格式規則。用於產生提交訊息或建立提交時使用。
official
Git Environment
openshift
使用 git worktrees、分支、提交來建立開發環境,並推送至遠端。自動適用於 git 工作流程任務。
official
go-code-review
openshift
審查Go程式碼的慣用模式、錯誤處理、並發安全性及常見錯誤。適用於審查.go檔案、檢查錯誤處理時…
official
go-testing-code-review
openshift
審查 Go 測試程式碼,確保其具備適當的表格驅動測試、斷言及覆蓋模式。適用於審查 *_test.go 檔案時使用。
official
Install HO AWS
openshift
使用私有 AWS 和 external-dns 設定安裝 HyperShift Operator。
official
investigate-ci-failure
openshift
調查 GitHub 拉取請求上的 CI/Prow 任務失敗。當使用者貼上 PR 網址並詢問 CI 失敗、紅色檢查、測試失敗或想要…時使用。
official
investigate-ci-failure
openshift
調查GitHub pull request上的CI/Prow任務失敗。當使用者貼上PR URL並詢問CI失敗、紅色檢查、測試失敗,或想要……時使用。
official
Konflux Archived PipelineRuns
openshift
透過 KubeArchive 存取已封存的 Konflux PipelineRuns、TaskRuns 及 Pod 日誌。在檢查 Konflux PipelineRun 結果、進行調查時自動套用…
official
learn-history
openshift
Analyze all past sessions for this project and extract knowledge worth persisting to AGENTS.md, .claude/agents/, or memory. Deep analysis of full session…
official
learn-history
openshift
分析此專案的所有過去對話記錄,並提取值得保留的知識,寫入 AGENTS.md、.claude/agents/ 或記憶中。深入分析完整對話記錄…
official
learn-session
openshift
檢視當前對話,提取值得保留的知識,寫入 AGENTS.md、.claude/agents/ 或記憶中。請在對話結束時使用,以記錄所學內容…
official
learn-session
openshift
檢視目前的工作階段,並擷取值得保存至 AGENTS.md、.claude/agents/ 或 memory 的知識。請在工作階段結束時使用,以捕捉當時的內容……
official
openshift-docs
openshift
Search and read OpenShift Container Platform documentation in markdown format. Use when the user asks about OpenShift features, configuration, installation,…
official
openshift-expert
openshift
OpenShift 平台與 Kubernetes 專家,具備叢集架構、運算子、網路、儲存、故障排除及 CI/CD 管線的深厚知識。使用…
official
openshift-expert
openshift
OpenShift平台與Kubernetes專家,深入了解叢集架構、運算子、網路、儲存、故障排除及CI/CD管線。使用…
official
PR Review
openshift
針對 oc(OpenShift CLI)的全面 PR 審查。執行建置、測試與程式碼檢查,接著套用 Go 風格改進,並提供詳細的程式碼審查意見。
official
raise-pr
openshift
在 lightspeed-service 儲存庫中提交暫存變更並開啟拉取請求的逐步工作流程。
official
raise-pr
openshift
Step-by-step workflow for committing staged changes and opening a pull request in the lightspeed-service repo.
official
rebase
openshift
將當前分支變基到其基礎分支,解決所有衝突,並驗證 lint、i18n 和建置通過。當使用者要求變基、更新或同步時使用…
official
rebase-clean
openshift
對功能分支執行嚴格的乾淨重定基底,將其合併到主分支,並以最少的衝突解決與完整驗證。當使用者要求謹慎重定基底時使用…
official
rebase-clean
openshift
對功能分支執行嚴格的乾淨重定基底,將其合併到主分支,並以最少的衝突解決與完整驗證。當使用者要求小心地重定基底時使用…
official
rebase-clean
openshift
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,…
official
rebase-clean
openshift
對功能分支執行嚴格的乾淨 rebase 到 main,以最小的衝突解決和完整的驗證。當使用者要求仔細 rebase 時使用,…
official
release
openshift
在所有發行分支上更新專案版本並提交變更。當使用者要求進行發行或更新所有分支的版本時使用。
official
release-workflow
openshift
OpenShift z-stream 發行流程與編排專家。在討論發行任務、建置推廣、測試分析、公告工作流程或任何……時使用。
official
release-workflow
openshift
OpenShift z-stream 發佈工作流程與編排專家。用於討論發佈任務、建置推廣、測試分析、公告工作流程或任何…
official
resolve-cve
openshift
從Jira解決CVE漏洞問題。讀取CVE詳細資訊,評估影響,並標記為「不受影響」,附上Jira評論及狀態轉換,或升級處理…
official
resolve-cve
openshift
Resolve a CVE vulnerability issue from Jira. Reads the CVE details, assesses impact, and either marks "not affected" with a Jira comment and transition, bumps…
official
review-pr
openshift
以結構化方式審查PR,涵蓋架構、命名、模式及關鍵問題
official
review-pr
openshift
以結構化方式審查PR,涵蓋架構、命名、模式及關鍵問題
official
review-pr
openshift
Review PR with structured approach covering architecture, naming, patterns, and critical questions
official
review-pr
openshift
Review PR with structured approach covering architecture, naming, patterns, and critical questions
official
review-readmes
openshift
審查儲存庫中所有 README.md 檔案的拼寫錯誤、錯誤及過時資訊。當使用者要求審查 README、檢查文件準確性或…時使用。
official
review-readmes
openshift
Review all README.md files in the repo for typos, errors, and outdated information. Use when the user asks to review READMEs, check documentation accuracy, or…
official
review-skills
openshift
審查專案AI技能的重複、過時引用、錯誤及結構問題。當使用者要求審查技能、稽核技能、檢查…時使用。
official
review-skills
openshift
Review project AI skills for duplication, stale references, mistakes, and structural issues. Use when the user asks to review skills, audit skills, check for…
official
safe-code-change
openshift
在程式碼變更後,找出受影響的測試,更新它們以符合新行為,然後引導使用者執行驗證。當使用者已進行或要求進行…時使用。
official
safe-code-change
openshift
在代碼變更後,找出受影響的測試,更新它們以匹配新的行為,然後運行一次完整的驗證流程。當用戶已做出或要求……時使用。
official
safe-code-change
openshift
After a code change, find affected tests, update them to match new behavior, then guide the user to run validation. Use when the user has made or asked for a…
official
safe-code-change
openshift
After a code change, find affected tests, update them to match new behavior, then run the full validation pipeline once. Use when the user has made or asked…
official
test
openshift
根據標籤篩選執行端到端測試。當使用者要求執行測試、執行 Playwright,或測試特定功能標籤(如 @core 或 @attach)時使用。
official
test
openshift
Run end-to-end tests filtered by tag. Use when the user asks to run tests, run Playwright, or test a specific feature tag like @core or @attach.
official
triage-leaked-infra
openshift
Assess whether an AWS VPC or infra set from HyperShift CI is safe to delete. Use when the user pastes cleanleaked output and asks 'can I delete this?', 'is…
official
unused-exports
openshift
找出從未被其他檔案匯入的匯出符號。當使用者說「檢查匯出」、「未使用的匯出」或要求清理匯出時使用。
official
unused-exports
openshift
找出從未被其他檔案匯入的匯出符號。當使用者說「check exports」、「unused exports」或要求清理匯出時使用。
official
update-bundle
openshift
從 Konflux 同步 related_images.json 並重新產生 OLM bundle。傳遞模式 dev(CI quay images,目前版本)或 release(穩定 images,版本提升 —…)
official
update-version
openshift
在當前分支上,更新所有包含專案版本號的檔案。僅在單一分支上進行版本提升時使用。若要進行完整…
official
update-version
openshift
Update the project version number across all files that contain it on the current branch. Use when bumping the version on a single branch only. For a full…
official
validate-and-fix
openshift
執行完整的驗證流程(make test、make lint,可選 make test-e2e),並自動修復格式與匯入問題等輕微錯誤。適用於……
official
validate-and-fix
openshift
執行完整的驗證流程(make test-unit、make verify、make test-integration),並自動修復諸如 black 格式化、未使用的匯入等輕微錯誤。
official
validate-and-fix
openshift
執行完整的驗證流程(make test、make lint,可選 make test-e2e),並自動修復格式化與匯入問題等輕微錯誤。用於當……
official
validate-and-fix
openshift
Run the full validation pipeline (make test-unit, make verify, make test-integration) and auto-fix trivial failures like black formatting, unused imports, and…
official
version-update
openshift
發布工作流程 for main:使用穩定的 Konflux 映像(-r stable)更新 related_images.json,提升 bundle/CSV 版本,重新生成並驗證 bundle。…
official
version-update
openshift
在所有必要檔案中更新 OLS 版本號。用於發布時提升版本,或當使用者要求更新、提升、變更…
official
version-update
openshift
Release workflow for main: refresh related_images.json with stable Konflux images (-r stable), bump bundle/CSV version, regenerate and validate the bundle.…
official
version-update
openshift
Updates the OLS version number across all required files. Use when bumping the version for a release or when the user asks to update, bump, or change the…
official