Repository navigation
docs(skills): drop prose that restates enforced rules - #231
Conversation
Remove sentences that the hooks and adr-check already enforce with a message that names the fix: pip and uv pip, uv add --dev, pytest-asyncio, direct pydantic BaseModel inheritance, git push -u, force and protected branch pushes, commit signing and hook bypass, trailing period in a commit subject, extra herdr agent arguments, and ADR supersession bookkeeping. Refs #169 Closes #230 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Review summary: this is a docs-only change that removes prose already enforced by hooks, ast-grep and adr-check. I found nothing that breaks behavior. I checked that the
I did not run the test suite. No tests are needed for the docs change itself. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: be382758ed
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Keep the default / protected branch push rule, since guard_git.py only knows main and master, and keep the positive ADR supersession step, since it is a multi-file procedure that adr-check only reports after the fact. Refs #230 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
@codex review |
|
No blocking findings. This is a docs-only change. I checked that the removed prose is covered by the enforcement the PR table cites. The Optional (P3): the Skills may be used in repositories that lack this repo's 🤖 Generated with Claude Code |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 12e59f167d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The deny rule matches only the prefix `uv add --dev`, so `uv add pkg --dev` is not refused. Refs #230 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
@codex review |
|
No blocking findings. This PR only deletes prose in 8 Skill docs, and I found no correctness, security or test-coverage problems. I checked these claims against the repo:
I did not run the test suite. The PR reports 6120 passed. This is docs-only, so no new tests are needed. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: aea49d622d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The edit hook runs adr-check without --base, so only CI protects an accepted ADR body, and no guard refuses LEFTHOOK=0 as a hook bypass. Refs #230 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
@codex review |
Review summaryNo findings. This is a read-only review of a docs-only change. I checked the PR's "this is already enforced" claims against the code for the rules whose prose was removed:
The only remaining prose that mentions signing is No behavior changes and no tests are needed. |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
概要
hook・ast-grep・
adr-checkがすでに強制している規則を Skill の文章から削除した(#169 の C).違反時のメッセージで直し方が分かる規則だけを対象にし,文章の書き換えはしていない.対応表
pipを使わないcommand_permissions.jsonの denypippython-style/references/tooling.mdの「don't usepip」Use project-managed package tooling instead of pip.uv pip install禁止uv pipProhibited:行のuv pip installpy_no_pytest_asyncio(error)python-style/references/testing.mdの「do not useasyncio」@pytest.mark.anyioへの置換を明記BaseModelを直接継承しないpy_pydantic_base_model_only_in_frozen_base(error)python-style/references/models.mdの「only the class namedFrozenBaseModelmay inherit ...」FrozenBaseModelへの置換を明記git push -u禁止guard_git.py(git_safety.sandbox_form_reason)development-cycle/references/delivery.mdの段落push with git push origin <branch> and open the pull request with gh pr create --head <branch>+refspec・main/master への force push 禁止guard_git.py(git_safety.push_reason)delivery.mdの「Never use bare--force...」,development-cycle/SKILL.mdの「rewrite published history only with the leased force push ...」force-push flag detected,push target is 'main'(残した--force-with-lease --force-if-includesの手順が正解を示す)-Sでの署名禁止guard_git.py(sandbox_form_reason)development-cycle/references/commits.mdの「-S」agent commits and tags are unsigned; drop the signing option ...commitlint(.commitlintrc.yml,config-conventionalのsubject-full-stop;lefthook の commit-msg)commits.mdの「No trailing period.」herdr agent startに余分な引数を渡さないforbidden_commands.json(herdr agent start ... --,例外は Sonnet・Opus の medium のみ)development-cycle/references/branches.mdの「pass exactly ... other agent arguments ask」(実際は ask ではなく deny で,文章が食い違っていた)文章を残したもの
hooks/lint/model-rules/),#227 の ADR 規則bash_local_underscore_prefix(severity が error でない),strict-mode-headerなど model-rulesbash-styleの shebanggo_mutex_field_documented,go_iota_enum_typed,py_dataclass_slots(frozen=Trueの判断を含む行)slots)だけで,残りは判断基準github-actions-styleの permissions・timeoutrs_no_follow_links,rs_no_mocking_libraryの周辺herdr --group禁止,gh・herdr の ask の条件(gh apiの変数の quote など)--groupのメッセージはHerdr ownership actions need one simple direct Herdr callで直し方が伝わらない.ask は block ではないuv・pnpm・go.sum・Cargo.lockの手編集禁止,@latest@latestはgo installなど一部しか拒否しないls-lint・shfmt・file-length(pre-commit のみ,この repository 固有)development-cycle/SKILL.md)mainとmasterだけを知る(PROTECTED_BRANCHES).レビュー指摘で復元uv add --dev禁止uv add --devだけで,uv add pkg --devは ask.レビュー指摘で復元commits.md)--no-verifyとcore.hooksPathだけを見て,LEFTHOOK=0は拒否しない.レビュー指摘で復元amendedに残す(adr/SKILL.md)--baseなしで走り,CI のadr-lintにしか効かない.レビュー指摘で復元supersedes,旧 ADR のsuperseded-by)adr-checkは事後にしか報告せず,他の repository では動かない.レビュー指摘で復元verification_session.py verifyを実行しない確認
uv run --frozen pytest: 6120 passed, 2 skipped(tests/skillsの skill command 検査を含む).github/workflows/の変更なし前提・範囲外
レビュー指摘への対応
adr/SKILL.md: 置換手順を消すと正の手順が無くなるamendedだけ削除のまま)python-style/references/tooling.md:uv add pkg --devは deny の prefix に一致しないuv add --devをProhibited:行に復元commits.md:LEFTHOOK=0で hook を無効化できるadr/SKILL.md: accepted ADR の本文保護は CI にしか効かないamendedの文を復元development-cycle/SKILL.md: default / protected branch の push 禁止はmain・masterだけを guard が見るCloses #230
Refs #169
🤖 Generated with Claude Code