You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Local-only Codex skill symlink. Do not add trailing slash:# the path may be a symlink, and shared repo skills live under .agents/skills/.
/.codex/skills
実際には先頭スペースなしで:
# Local-only Codex skill symlink. Do not add trailing slash:# the path may be a symlink, and shared repo skills live under .agents/skills/.
/.codex/skills
上の例は表示上の誤読を避けるなら、実ファイルではこうです。
# Local-only Codex skill symlink. Do not add trailing slash:# the path may be a symlink, and shared repo skills live under .agents/skills/.
/.codex/skills
printf'\n# Local Codex skill symlink\n/.codex/skills\n'>> .git/info/exclude
git check-ignore -v .codex/skills
推奨 B: repo policy として merge するなら PR を修正
.gitignore は以下に変更。
# Local-only Codex skill symlink. Do not add trailing slash:# the path may be a symlink, and shared repo skills live under .agents/skills/.
/.codex/skills
PR 本文には以下を追加。
## Scope decision
This is a standalone hygiene change. It does not define Codex repo skills placement.
Shared Codex skills for this repository remain under `.agents/skills/` per current Codex documentation and existing repo issues.
`.codex/skills` is reserved only for a local symlink / local experiment path and must not be used for committed shared skills.
## Verification-`test -L .codex/skills`-`git check-ignore -v .codex/skills`-`git ls-files --stage .codex/skills`-`git status --short --ignored .codex/skills`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
変更内容
.gitignoreの.codex/skillsルールを/.codex/skillsに変更し、ローカル専用 symlink であることをコメントで明示しました。.agents/skills/であることを README ではなく ignore ルール側で説明するようにしました。理由
local-onlyの用途とrepo policyの境界が曖昧なままだと merge しづらいためです。.codex/skillsを単なる個人用 ignore としてではなく、/.codex/skillsのローカル専用 symlink 想定として明示しました。Scope decision
.agents/skills/を正本とし、/.codex/skillsは local-only symlink / experiment path 専用です。検証
test -L .codex/skillsを temporary local symlink で確認しました。git check-ignore -v .codex/skills.gitignore:48:/.codex/skills\t.codex/skillsgit ls-files --stage .codex/skillsgit status --short --ignored .codex/skills!! .codex/skills