スキル一覧に戻る
acrognale

codex-patches

by acrognale

Pasture is a desktop GUI for Codex

21🍴 1📅 2025年12月19日
GitHubで見るManusで実行

SKILL.md


name: codex-patches description: Use this when updating the codex submodule or when patch files in codex-patches/ need to be added, regenerated, or repaired.

Codex Patch Workflow

Use this skill whenever you touch the codex submodule (codex/) or the patch series in codex-patches/.

Apply Patches After Submodule Update

  1. Update the codex submodule to the target commit:
cd codex
git checkout <commit>
cd ..
  1. Apply our patches:
scripts/apply_codex_patches.sh

If a patch fails, fix only that patch before moving on.

Repairing a Broken Patch

General approach:

  1. Rehydrate codex/ to clean upstream before re‑diffing:
git archive codex-upstream/main | tar -x -C codex
  1. Re‑apply the remaining patches that still work. Fix conflicts manually if needed.
  2. Regenerate the broken patch by diffing the upstream file(s) against our modified version.

Regenerating a Patch (stable diff style)

Prefer diffs against the upstream tree to reduce context drift. For the full example script, see references/regen_patch_example.md.

Patch Hygiene

  • Keep each patch focused on a single feature or concern.
  • Avoid bundling unrelated changes into the same patch.
  • Do not include upstream-only changes; patches should be fork-only deltas.

Quick Smoke Test

After applying patches, run:

turbo lint
turbo typecheck

スコア

総合スコア

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

レビュー

💬

レビュー機能は近日公開予定です