Skip to content

Commit 2a1a471

Browse files
Skill: fix uv.lock wording; add DIRECTORY.md/README.md auto-gen note (#15216)
- Clarify that uv.lock is regenerated by the uv-lock pre-commit hook when a legitimate dependency is added; only hand-edits/reverts break the keeper. - Add a checklist item: DIRECTORY.md and README.md are bot-generated, don't hand-edit them.
1 parent 5046258 commit 2a1a471

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/skills/new-pull-request/SKILL.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ creating a new pull request.
1313
Create a new clearly named branch for the pull request. Pull request changes must
1414
not be made or submitted on the `master` branch.
1515

16-
Never modify the `uv.lock` file because the `algorithms-keeper` bot will close
17-
the pull request as invalid. Even a repo maintainer cannot undo this.
16+
Never hand-edit or revert the `uv.lock` file. If you add a legitimate
17+
dependency, let the `uv-lock` pre-commit hook regenerate it — do not touch it by
18+
hand. A hand-modified `uv.lock` makes the `algorithms-keeper` bot close the pull
19+
request as invalid, and even a repo maintainer cannot undo that.
1820

1921
Always check at least one Markdown checkbox in the pull request description (the "Describe your change" section), or the
2022
`algorithms-keeper` bot will close the pull request as invalid. Any repo maintainer can undo this if you @mention them on the closed pull request.
@@ -40,6 +42,8 @@ Always check at least one Markdown checkbox in the pull request description (the
4042
- [ ] Public functions have **doctests that actually pass**.
4143
- [ ] Descriptive variable and function names (no single letters where a word helps).
4244
- [ ] Code is formatted and lint-clean (`ruff`, `pre-commit`).
45+
- [ ] `DIRECTORY.md` and `README.md` are **not hand-edited** — the
46+
`algorithms-keeper` bot regenerates them automatically after merge.
4347

4448
### 3. Other Requirements for Submissions
4549

0 commit comments

Comments
 (0)