Skip to content

About

cursorのrulesまとめ

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

cursor-rules

Cursor 用ルール・スキル・omega の正本リポジトリ。

Git submodule(上流追従)

パス 上流 omega からの参照
supabase-skills/ omegamaster86/agent-skills (別用途)
yomiyasu/ nanaism/yomiyasu 上流全文。Cursor 用は omega/skills/yomiyasu/ に抜粋(references/UPSTREAM.md)
openai-plugins/ openai/plugins(Codex プラグイン正本) 参照用。プラグイン本体は openai-plugins/plugins/(main/plugins)。Cursor 向けミラーは別途 plugins-main/(cursor/plugins)

初回 clone 後:

git submodule update --init --recursive

上流の更新を確認する

git submodule foreach 'git fetch origin 2>/dev/null; echo "=== $name ==="; git -C $toplevel/$sm_path log --oneline HEAD..origin/main 2>/dev/null | head -20 || true'

yomiyasu だけ:

git -C yomiyasu fetch origin
git -C yomiyasu log --oneline HEAD..origin/main

openai-plugins だけ:

git -C openai-plugins fetch origin
git -C openai-plugins log --oneline HEAD..origin/main

上流を取り込む(cursor-rules 側で pin を進める)

全 submodule を .gitmodules の branch 追従で更新:

git submodule update --remote --merge
git status   # yomiyasu などの gitlink 変更を確認
git add yomiyasu .gitmodules
git commit -m "chore: bump yomiyasu submodule"

yomiyasu だけ:

git submodule update --remote yomiyasu
omega/skills/yomiyasu/scripts/sync-from-upstream.sh
# 必要なら omega/skills/yomiyasu/SKILL.md と references/writing-rules.md を手マージ
git add yomiyasu omega/skills/yomiyasu
git commit -m "chore: bump yomiyasu upstream and sync omega excerpt"

openai-plugins だけ:

git submodule update --remote openai-plugins
git add openai-plugins
git commit -m "chore: bump openai-plugins submodule"

claude-plugins-official だけ:

git submodule update --remote claude-plugins-official
git add claude-plugins-official
git commit -m "chore: bump claude-plugins-official submodule"

特定コミットに pin する場合:

git -C yomiyasu checkout <sha>
git add yomiyasu
git commit -m "chore: pin yomiyasu at <sha>"

omega 経由でスキルを使う

omega/scripts/omega-link は omega/skills/yomiyasu/ を PJ の .cursor/skills/yomiyasu にリンクする。正本を更新したあと、各 PJ で omega-link を再実行。

運用: yomiyasu は 明示依頼時 の推敲用(Cursor のみの抜粋版)。forge-mode 常時適用や他の日本語校正スキルとの同時有効化は避ける。

product-design は Cursor 専用(omega/skills/product-design/)。Codex CLI のスキルパスには載せない。omega-link で各 PJ の .cursor/skills/product-design にリンクされる。

About

cursorのrulesまとめ

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages