Skip to content

Commit bc6bf76

Browse files
fix: restore British spelling 'behaviour' and update grammar skill
Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/66e742df-4c76-4de6-9619-fc5419e8d735 Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
1 parent be1eb02 commit bc6bf76

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

.agents/skills/usethis-qa-grammar/SKILL.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Review code and documentation for grammar, spelling, and tone issue
44
compatibility: usethis, Python, markdown, documentation
55
license: MIT
66
metadata:
7-
version: "1.0"
7+
version: "1.1"
88
---
99

1010
# Grammar, Spelling, and Tone Review
@@ -43,9 +43,14 @@ Focus on human-readable text. In rough priority order:
4343
- **Inconsistent tone** — the project uses a professional but approachable tone. Flag text that is overly formal, too casual, or inconsistent with surrounding text.
4444
- **Inconsistent terminology** — the same concept described with different words in different places (e.g. mixing "hook" and "check" for the same thing).
4545

46+
## Spelling conventions
47+
48+
This project uses **British English** spelling (e.g. "behaviour", "colour", "initialise"). Do not change British spellings to American equivalents. When writing new text, prefer British spelling to stay consistent with the existing codebase.
49+
4650
## What to ignore
4751

4852
- **Identifier names** — variable names, function names, class names, and other code identifiers. These follow naming conventions, not grammar rules.
4953
- **Third-party content** — text in vendored files, generated files, or lock files.
5054
- **Technical jargon used correctly** — domain-specific terms (e.g. "pyproject.toml", "pre-commit", "lockfile") are not spelling errors.
5155
- **Intentional abbreviations** — standard abbreviations like "config", "deps", "args" are fine.
56+
- **British English spellings** — words like "behaviour", "colour", "favourite", "initialise" are correct in this project. Do not flag or change these.

skills-lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"find-skills": {
1515
"source": "vercel-labs/skills",
1616
"sourceType": "github",
17-
"computedHash": "d31e234f0c90694a670222cdd1dafa853e051d7066beda389f1097c22dadd461"
17+
"computedHash": "9e1c8b3103f92fa8092568a44fe64858de7c5c9dc65ce4bea8f168080e889cfd"
1818
}
1919
}
2020
}

src/usethis/_core/tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def use_ruff( # noqa: PLR0913
419419
"""Add Ruff to the project.
420420
421421
By default, sensible default rules are selected if there are no rules selected yet,
422-
but this behavior can be controlled using the `minimal` option.
422+
but this behaviour can be controlled using the `minimal` option.
423423
424424
If the existing rules are all pydocstyle rules (managed by the `usethis docstyle`
425425
interface), then the default rules will still be added, again excepting when the

0 commit comments

Comments
 (0)