Skip to content

Clarify naming conventions: kebab for filesystem/URLs, camelCase for code#51

Merged
Gumbees merged 1 commit into
mainfrom
enhancement/clarify-naming-conventions
May 11, 2026
Merged

Clarify naming conventions: kebab for filesystem/URLs, camelCase for code#51
Gumbees merged 1 commit into
mainfrom
enhancement/clarify-naming-conventions

Conversation

@Gumbees

@Gumbees Gumbees commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Splits the README's naming guidance into two clear axes that were previously conflated:

  • Code identifiers → camelCase (or whatever the language dictates: PascalCase for PS functions, snake_case for Python)
  • Filesystem and URLs → kebab-case (filenames, log names, folder names, paths, slugs)

Why

The original wording "We develop in camelCase only" was applied across the board, but kebab-case has actually been the convention for folders (app-adobe, bdr-veeam, iaas-azure, etc.) since the repo started, and we want kebab-case for new filenames and log names too. Kebab-case is shell-friendly (no quoting), URL-safe (RFC 3986 unreserved), and forces a clean split between "this is a path/slug" vs "this is a code identifier."

This came up while reviewing PR #31 — I initially flagged a kebab-case log filename as a "violation" against the README, then realized the README itself was the misalignment.

Test plan

  • README renders correctly on GitHub
  • No code or script changes; pure docs

Notes

  • Existing folder names already follow this convention; nothing in the repo needs renaming.
  • Per CLAUDE.md this kind of doc update would normally be eligible for direct-to-main, but branch protection requires PR — fine, going through the regular flow.

Summary by CodeRabbit

  • Documentation
    • Updated development guidelines with standardized naming conventions for code identifiers (camelCase), filesystem and URL strings (kebab-case), and folder structure for improved consistency.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Code review skipped — your organization's overage spend limit has been reached.

Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.

Once credits are available, push a new commit or reopen this pull request to trigger a review.

@coderabbitai

coderabbitai Bot commented Apr 29, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

Updated the "Development Guidelines" section in README.md to refine naming conventions: code identifiers are now explicitly camelCase by default with language-specific exceptions, filesystem and URL strings use kebab-case, and folder naming changed from category-"vendor/app" to category-vendor/category-app format.

Changes

Cohort / File(s) Summary
Documentation Updates
README.md
Refined naming conventions in Development Guidelines: code identifiers use camelCase (with language-specific exceptions), filesystem/URL strings standardized to kebab-case, and folder naming structure updated from quotation-enclosed format to unified kebab-case pattern.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • scottlei4dtctoday

Poem

🐰 Our naming conventions now shine so clear,
camelCase dancing, kebab-case near,
Folder structures unified at last,
With guidelines refined from future and past,
A rabbit hops through documentation with glee! 📝

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: clarifying naming conventions with kebab-case for filesystem/URLs and camelCase for code, which directly matches the README.md updates.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch enhancement/clarify-naming-conventions

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 60 minutes.

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@README.md`:
- Line 6: Update the "Code identifiers" guidance to remove the conflicting
PascalCase instruction and explicitly state that for PowerShell (*.ps1) both
variables and functions should use camelCase; edit the line that currently reads
"PowerShell uses PascalCase for functions and camelCase for variables" to a
single clear rule (e.g., "PowerShell: use camelCase for functions and
variables") and update the example to reflect a camelCase function name so the
README and repo convention match.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: fc389b9c-2382-41bc-a4a8-a45cb0592abd

📥 Commits

Reviewing files that changed from the base of the PR and between 1ac5146 and 50d1c40.

📒 Files selected for processing (1)
  • README.md

Comment thread README.md Outdated
- We develop in camelCase only unless otherwise specified by the language itself. E.G. Python we use snake_case.
- We label folders as "category"-"vendor/app"
- Each script, unless specified, should support both interactive input and RMM input.
- **Code identifiers** (variables, functions, parameters): camelCase by default unless the language specifies otherwise. E.g. PowerShell uses PascalCase for functions and camelCase for variables; Python uses snake_case.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Resolve conflicting PowerShell function naming guidance

Line 6 says PowerShell functions should be PascalCase, but existing repo guidance says PowerShell variables and functions should be camelCase. Please align these to a single standard to avoid contradictory review outcomes and script naming drift. Based on learnings: "Applies to **/*.ps1 : Use camelCase for PowerShell variables and functions".

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@README.md` at line 6, Update the "Code identifiers" guidance to remove the
conflicting PascalCase instruction and explicitly state that for PowerShell
(*.ps1) both variables and functions should use camelCase; edit the line that
currently reads "PowerShell uses PascalCase for functions and camelCase for
variables" to a single clear rule (e.g., "PowerShell: use camelCase for
functions and variables") and update the example to reflect a camelCase function
name so the README and repo convention match.

@Gumbees Gumbees left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

README docs update splitting naming guidance into two axes ... camelCase for code identifiers, kebab-case for filesystem/URLs ... documenting the convention that already exists in folder names like bdr-veeam and sec-huntress.

What works

  • Codifies the convention that the repo has been following organically since the start. The previous wording ("we develop in camelCase only") was misleading.
  • Calls out the language-specific exceptions (PowerShell PascalCase functions, Python snake_case) ... matches what's already in CLAUDE.md.
  • Explicitly covers log filenames and slugs, not just script names. That's the bit that was ambiguous before.

Concerns

None.

Suggestions

  • CLAUDE.md (lines 98-103) has overlapping naming guidance. Worth a one-line cross-reference or sync sweep to make sure README and CLAUDE.md agree once this lands.

Verdict

APPROVE ... clean docs update, zero behavioral risk, fixes a real ambiguity.

…code

The original "camelCase only" guideline conflated code identifiers with
filesystem paths. Kebab-case has been the actual convention for folders
(app-adobe, bdr-veeam, etc.) and is the right choice for filenames,
log names, and URLs as well — shell-friendly, URL-safe, and forces a
clean split between path/slug semantics and code-identifier semantics.

Code identifiers continue to follow language convention (camelCase for
variables, PascalCase for PowerShell functions, snake_case for Python).
@Gumbees Gumbees force-pushed the enhancement/clarify-naming-conventions branch from 50d1c40 to 97d1e5c Compare May 11, 2026 15:41

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Code review skipped — your organization's overage spend limit has been reached.

Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.

Once credits are available, push a new commit or reopen this pull request to trigger a review.

@Gumbees Gumbees merged commit 4505e65 into main May 11, 2026
@Gumbees Gumbees deleted the enhancement/clarify-naming-conventions branch May 11, 2026 16:16
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