Skip to content

docs: contributing and issue/PR templates#3

Merged
DataDave-Dev merged 1 commit into
mainfrom
docs/community-files
Jun 30, 2026
Merged

docs: contributing and issue/PR templates#3
DataDave-Dev merged 1 commit into
mainfrom
docs/community-files

Conversation

@DataDave-Dev

@DataDave-Dev DataDave-Dev commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Adds community scaffolding for the public repo:

  • CONTRIBUTING.md (setup, PR workflow, conventions, how to add a check or catalog BEC).
  • Issue templates: bug report, feature request, and a BEC proposal mapped to the BEC fields.
  • A pull request template aligned with the PR-only flow on main.

Summary by CodeRabbit

  • Documentation

    • Added contribution guidelines covering setup, testing, pull request workflow, and project conventions.
    • Added clearer guidance for creating and organizing checks and related catalog entries.
  • New Features

    • Added templates for bug reports, feature requests, and proposal submissions.
    • Added a pull request template with sections for summary, rationale, and a checklist.

@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Adds five community health files: CONTRIBUTING.md with setup, PR workflow, conventions, and check/BEC authoring guidance; a PR template with What/Why/Checklist sections; and three issue templates for bug reports, feature requests, and BEC proposals.

Changes

Community Health Files

Layer / File(s) Summary
Contributing guide and PR template
CONTRIBUTING.md, .github/pull_request_template.md
CONTRIBUTING.md documents dev setup, PR workflow, coding conventions, and instructions for adding new checks and BEC catalog bundles. The PR template defines What, Why, and a four-item checklist.
Issue templates
.github/ISSUE_TEMPLATE/*
Three templates added: bug report (description, steps, expected behavior, environment, rule/check), feature request (problem, solution, alternatives), and BEC proposal (intent, why it matters, check method, languages, severity).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

A rabbit hops in with a template in paw,
"Here's how to contribute—no guessing, no flaw!"
Bug reports, BEC plans, a PR checklist too,
The warren is tidy with rules fresh and new. 🐇✨

🚥 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 clearly summarizes the main change: added contributing docs plus issue and pull request templates.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/community-files

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

@DataDave-Dev DataDave-Dev merged commit 666e501 into main Jun 30, 2026
2 of 3 checks passed
@DataDave-Dev DataDave-Dev deleted the docs/community-files branch June 30, 2026 06:01

@coderabbitai coderabbitai 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.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/ISSUE_TEMPLATE/bec_proposal.md:
- Around line 8-17: The proposal template sections are mismatched with the BEC
bundle contract: it asks for Language(s) instead of the fields the bundle
actually persists. Update the bec_proposal template to collect the
bundle-aligned metadata using the existing Intent/Why it matters/Check/Severity
structure, and replace the Language(s) prompt with the contract-backed fields
such as paths, severity, and optionally rejected_alternatives so proposals can
map cleanly into catalog entries.

In @.github/ISSUE_TEMPLATE/bug_report.md:
- Around line 23-24: The bug report template is pointing reporters to the wrong
BEC reference, so update the “Rule / check involved” prompt in the bug_report
template to mention the actual bundle path used by the repo’s BEC format or the
check command instead of `.bec/rules.yaml`. Keep the wording aligned with the
existing template section and use the relevant prompt text in the bug report
markdown to guide reporters to `becs/<id>.bec.yaml` or the command they should
run.
🪄 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 Plus

Run ID: 13951ee2-8c02-4f2d-84ae-671994ca4717

📥 Commits

Reviewing files that changed from the base of the PR and between 79299c4 and b94f83d.

📒 Files selected for processing (5)
  • .github/ISSUE_TEMPLATE/bec_proposal.md
  • .github/ISSUE_TEMPLATE/bug_report.md
  • .github/ISSUE_TEMPLATE/feature_request.md
  • .github/pull_request_template.md
  • CONTRIBUTING.md

Comment on lines +8 to +17
**Intent** — what should this rule enforce?

**Why it matters** — what breaks if it is violated?

**Check** — how would it be detected? (a `forbid` regex, a built-in check, or a
custom script)

**Language(s)** — Python, JS/TS, any, ...

**Severity** — `blocking` or `warning`, and why.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win

Align the proposal template with the BEC bundle contract.

The bundle format persists paths, severity, and optionally rejected_alternatives, but this template asks for Language(s) instead. That leaves proposals underspecified and forces extra back-and-forth when turning them into catalog entries.

Suggested update
 **Intent** — what should this rule enforce?
 
 **Why it matters** — what breaks if it is violated?
 
 **Check** — how would it be detected? (a `forbid` regex, a built-in check, or a
 custom script)
 
-**Language(s)** — Python, JS/TS, any, ...
+**Affected paths** — which files or patterns should this rule cover?
+
+**Rejected alternatives** — what other approaches did you rule out?
 
 **Severity** — `blocking` or `warning`, and why.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
**Intent** — what should this rule enforce?
**Why it matters** — what breaks if it is violated?
**Check** — how would it be detected? (a `forbid` regex, a built-in check, or a
custom script)
**Language(s)** — Python, JS/TS, any, ...
**Severity**`blocking` or `warning`, and why.
**Intent** — what should this rule enforce?
**Why it matters** — what breaks if it is violated?
**Check** — how would it be detected? (a `forbid` regex, a built-in check, or a
custom script)
**Affected paths** — which files or patterns should this rule cover?
**Rejected alternatives** — what other approaches did you rule out?
**Severity**`blocking` or `warning`, and why.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/ISSUE_TEMPLATE/bec_proposal.md around lines 8 - 17, The proposal
template sections are mismatched with the BEC bundle contract: it asks for
Language(s) instead of the fields the bundle actually persists. Update the
bec_proposal template to collect the bundle-aligned metadata using the existing
Intent/Why it matters/Check/Severity structure, and replace the Language(s)
prompt with the contract-backed fields such as paths, severity, and optionally
rejected_alternatives so proposals can map cleanly into catalog entries.

Comment on lines +23 to +24
**Rule / check involved** (if any)
The `.bec/rules.yaml` rule or the `check` command, if relevant.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Point reporters at the actual BEC bundle path.

becs/<id>.bec.yaml is the repo’s BEC format, so .bec/rules.yaml will send people to the wrong place and make reports harder to triage. Please update this prompt to reference the bundle path (or the check command) instead.

Suggested fix
-**Rule / check involved** (if any)
-The `.bec/rules.yaml` rule or the `check` command, if relevant.
+**Rule / check involved** (if any)
+The `becs/<id>.bec.yaml` bundle or the `check` command, if relevant.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
**Rule / check involved** (if any)
The `.bec/rules.yaml` rule or the `check` command, if relevant.
**Rule / check involved** (if any)
The `becs/<id>.bec.yaml` bundle or the `check` command, if relevant.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/ISSUE_TEMPLATE/bug_report.md around lines 23 - 24, The bug report
template is pointing reporters to the wrong BEC reference, so update the “Rule /
check involved” prompt in the bug_report template to mention the actual bundle
path used by the repo’s BEC format or the check command instead of
`.bec/rules.yaml`. Keep the wording aligned with the existing template section
and use the relevant prompt text in the bug report markdown to guide reporters
to `becs/<id>.bec.yaml` or the command they should run.

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