← スキル一覧に戻る

merge-upstream
by Arthur742Ramos
⭐ 0🍴 0📅 2026年1月14日
SKILL.md
name: merge-upstream description: Sync Azure Codex fork with OpenAI Codex upstream while preserving Azure features. Use when asked to merge or sync with upstream.
Merge Upstream Expert
Sync Azure Codex fork with OpenAI Codex upstream while preserving Azure features.
Azure-Specific Features to Preserve
Critical Components (Must Not Regress)
- Azure Authentication (
core/src/auth/) - Entra ID, CLI, Managed Identity - Azure Deployment Discovery (
core/src/azure/) - Automatic deployment listing - Claude/Anthropic Support (
codex-api/src/) - Anthropic API integration - Model Family Detection (
core/src/models_manager/) - GPT, Claude families - Theme System (
tui2/src/theme.rs) - 7 color themes - Syntax Highlighting (
tui2/src/syntax_highlight.rs) - Syntect-based
Pre-Merge Commands
# Fetch upstream
git fetch upstream
# Check divergence
git rev-list --left-right --count HEAD...upstream/main
# Review changes
git log --oneline HEAD..upstream/main
# Check for conflicts in critical files
git diff upstream/main...HEAD --stat -- \
codex-rs/core/src/auth/ \
codex-rs/core/src/azure/ \
codex-rs/core/src/models_manager/
Merge Process
# Create backup
git branch backup-before-upstream-merge
# Merge upstream
git merge upstream/main --no-edit
# Resolve conflicts (prioritize Azure features)
# Then:
git add .
git merge --continue
Conflict Resolution Priority
- Keep Azure Features (CRITICAL) - Auth, Claude, deployment discovery
- Accept Upstream - Bug fixes, security patches, new features
- Merge Both - Additive changes that coexist
- Azure UI Wins - Themes, syntax highlighting
Post-Merge Testing
# Build
cargo check -p codex-core -p codex-tui2 -p codex-cli
# Test
cargo test --workspace
# Azure OpenAI
./target/debug/codex-exec --skip-git-repo-check -m "gpt-5.2" "Hello"
# Azure AI Services (Claude)
./target/debug/codex-exec --skip-git-repo-check -m "claude-opus-4-5" "Hello"
Rollback
git reset --hard backup-before-upstream-merge
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です