Skip to content

Tighten the shared and C++ style rules of the Diego skill - #128

Merged
diegoferigo merged 1 commit into
mainfrom
diegoferigo/style-rules-from-laptop
Dec 1, 2026
Merged

diegoferigo merged 1 commit into
mainfrom
diegoferigo/style-rules-from-laptop

Conversation

@diegoferigo

Copy link
Copy Markdown
Owner

What change is being made

Edits to reference/coding-style.md and reference/cpp.md of acting-as-diegoferigo, found as local edits on the laptop:

  • A duplicated concept that cannot be shared yet is explained in a comment where the paths split.
  • A one-off tool meets the bar of production code, and two independent subsystems go to separate PRs.
  • C++: prefer full type names and fixed-width integers, log through the logging library of the project, and test a function through an injected input instead of a detail twin.

Why this change is being made

The old rules pushed toward a public function plus a detail helper, and toward aliases and one-off tools that skip the review bar.

Tested

  • pixi run -q hooks: all hooks passed.
  • pixi run -q test: 395 passed.

The rules left room for a detail namespace twin of every public function, for aliases that only save characters, and for one-off tools below the production bar. Say to test through an injected input, to prefer full names and fixed-width integers, to log through the project library, and to hold one-off tools to the same bar.
@diegoferigo diegoferigo self-assigned this Dec 1, 2026
@diegoferigo
diegoferigo marked this pull request as ready for review December 1, 2026 12:43
@diegoferigo
diegoferigo merged commit 84d978f into main Dec 1, 2026
4 checks passed
@diegoferigo
diegoferigo deleted the diegoferigo/style-rules-from-laptop branch December 1, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant