Skip to content

Commit 9f190ff

Browse files
karthiknadigCopilot
andcommitted
docs: capture config semantics review lesson (PR #497)
Add raw-literal and downstream config-consumption checks from the latest glob diagnostics review. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent c4f83c9 commit 9f190ff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • .github/skills/rust-coding-skill

‎.github/skills/rust-coding-skill/SKILL.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ Use contextual `expect` for poisoned locks in production code, matching the surr
6565
- Avoid `canonicalize` for Windows junction identity; use PET path helpers.
6666
- Treat both `/` and `\` as separators when parsing user patterns, but only classify `**` as recursive when it is a complete path segment. `foo**bar` is not a recursive segment.
6767
- Preserve original user-facing paths after normalized comparisons.
68+
- Prefer raw string literals for regexes and backslash-heavy path examples to avoid malformed escapes.
69+
- Before documenting or logging a recommended config value, trace how the consumer uses it. For example, `environmentDirectories` contains directories that hold environments, not environment folders themselves.
6870

6971
## Tests Must Prove the Change
7072

0 commit comments

Comments
 (0)