Skip to content

Add CONTRIBUTING.md with step-by-step guide#126

Closed
shivansh31414 wants to merge 5 commits intoAOSSIE-Org:mainfrom
shivansh31414:docs/contributing-guide
Closed

Add CONTRIBUTING.md with step-by-step guide#126
shivansh31414 wants to merge 5 commits intoAOSSIE-Org:mainfrom
shivansh31414:docs/contributing-guide

Conversation

@shivansh31414
Copy link

@shivansh31414 shivansh31414 commented Dec 2, 2025

Description

This PR adds core documentation files to improve contributor onboarding and community clarity.
Specifically, it introduces:

  • DESCRIPTION.md → Overview of DebateAI, its purpose, and vision.
  • CONTRIBUTING.md → Step‑by‑step guide for new contributors.
  • CODE_OF_CONDUCT.md → Standards for respectful collaboration.
  • PULL_REQUEST_TEMPLATE.md → Checklist and structure for consistent PRs.

Motivation

Clear documentation is essential for open source collaboration. These files:

  • Help new contributors understand the project quickly.
  • Provide guidance on how to contribute effectively.
  • Ensure community standards are upheld.
  • Streamline the review process with structured PRs.

Changes Made

  • Added four .md files in the repo root.
  • Excluded ISSUE_TEMPLATE.md and SECURITY.md (to be added separately).
  • Ensured LF line endings for consistency across platforms.

Related Issue

Closes #23

Checklist

  • Documentation files added
  • Markdown formatting verified
  • Linked to relevant issue

Summary by CodeRabbit

  • Documentation
    • Introduced a Code of Conduct establishing community standards and enforcement guidance
    • Added contributor guidelines with getting-started steps and best practices
    • Added a project description outlining purpose, features, and vision
    • Added a pull request template to standardize submissions
    • Added an issue template to standardize reports
    • Added a security policy describing reporting procedures, scope, and response expectations

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Dec 2, 2025

Walkthrough

Adds repository governance and contributor documentation: new markdown files for Code of Conduct, Contributing guidelines, project Description, Issue template, Pull Request template, and a Security policy — all new docs establishing standards, templates, and onboarding instructions.

Changes

Cohort / File(s) Change Summary
Community Standards
CODE_OF_CONDUCT.md
New file defining standards for respectful, inclusive behavior; lists unacceptable conduct and outlines reporting and enforcement procedures.
Contribution Guidelines
CONTRIBUTING.md
New file with onboarding steps (forking, branching, commits, PR creation), recommended commit/PR message formats, and best practices (code quality, testing, security, communication).
Project Description
DESCRIPTION.md
New file describing DebateAI purpose, motivations, key features (UI/UX, AI integration, structured debate formats, private rooms), and project vision.
Issue & PR Templates
ISSUE_TEMPLATE.md, PULL_REQUEST_TEMPLATE.md
New issue template (description, steps to reproduce, expected/actual behavior, environment, additional context) and PR template (description, related issues, checklist, screenshots).
Security Policy
SECURITY.md
New security policy with reporting instructions, response timelines, scope, and disclosure/acknowledgement guidance.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Verify CONTRIBUTING.md steps align with repository workflow and branch/PR conventions.
  • Confirm CODE_OF_CONDUCT.md includes actionable reporting/contact details.
  • Quick read of SECURITY.md to ensure timelines and scope are clear.

Possibly related PRs

  • Update README.md #93 — Updates contribution guidance; likely overlaps with or complements the new CONTRIBUTING.md.

Poem

🐇 I nibbled through docs with joyful cheer,
New rules, new guides for contributors here.
Templates placed, conduct penned with care,
A softer burrow for debate to share.
Hop on in — polite arguments await!

Pre-merge checks and finishing touches

✅ 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 specifically mentions CONTRIBUTING.md with a step-by-step guide, which aligns with the main focus of the PR, though the PR also adds three other documentation files.
Linked Issues check ✅ Passed The PR addresses four of six requirements from issue #23: DESCRIPTION.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md, and PULL_REQUEST_TEMPLATE.md are included, but SECURITY.md and ISSUE_TEMPLATE.md are excluded as noted in the PR summary.
Out of Scope Changes check ✅ Passed All changes are focused on adding documentation files to support contributor onboarding and community standards, directly aligned with the stated PR objectives and linked issue requirements.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e758e15 and 523f20d.

📒 Files selected for processing (1)
  • SECURITY.md (1 hunks)
✅ Files skipped from review due to trivial changes (1)
  • SECURITY.md

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

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

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (4)
DESCRIPTION.md (1)

17-17: Strengthen the closing statement for engagement.

Consider replacing "wants to improve" with a more dynamic verb to enhance reader engagement. For instance: "seeks to enhance," "strives to master," or "aims to perfect."

Example revision:

-We aim to democratize debate practice, making it engaging, scalable, and accessible to anyone who wants to improve their communication skills.
+We aim to democratize debate practice, making it engaging, scalable, and accessible to anyone who seeks to master their communication skills.
CONTRIBUTING.md (2)

1-3: Remove leading blank lines.

Lines 1–3 contain unnecessary leading blank lines. These should be removed for a cleaner document start.

-
-
-
# Contributing to DebateAI

19-20: Expand branch naming convention guidance (optional).

The example uses feature-name, but contributors may benefit from guidance on naming patterns for different change types (e.g., bugfix/, docs/, hotfix/). This is optional but helps maintain consistency.

Example enhancement:

2. **Create a Branch**  
   ```bash
-  git checkout -b feature-name
+  git checkout -b feature-name  # or bugfix/, docs/, hotfix/, etc.

</blockquote></details>
<details>
<summary>CODE_OF_CONDUCT.md (1)</summary><blockquote>

`1-2`: **Remove leading blank lines (consistent with other docs).**

Lines 1–2 contain unnecessary leading blank lines that should be removed for consistency with documentation style.


```diff
-
-
# Code of Conduct
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3d22372 and 93fa98f.

📒 Files selected for processing (4)
  • CODE_OF_CONDUCT.md (1 hunks)
  • CONTRIBUTING.md (1 hunks)
  • DESCRIPTION.md (1 hunks)
  • PULL_REQUEST_TEMPLATE.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
DESCRIPTION.md

[style] ~17-~17: Try replacing commonly used words with synonyms to make your writing more engaging.
Context: ..., and accessible to anyone who wants to improve their communication skills.

(IMPROVE_STRENGTHEN)

🔇 Additional comments (2)
PULL_REQUEST_TEMPLATE.md (1)

1-16: Well-structured template aligned with contribution guidelines.

The template provides a clear structure that aligns with CONTRIBUTING.md recommendations and includes all essential elements: description, issue linking, verification checklist, and optional visuals. The checklist items (code quality, tests, documentation, security) are appropriately scoped.

CONTRIBUTING.md (1)

38-41: LGTM on best practices section.

The Best Practices section covers key areas: code quality, testing, security, and communication. The guidance is clear and appropriately scoped for contributor onboarding.

Comment on lines +18 to +21
## Enforcement
- Report violations via GitHub Issues or email (maintainers will provide contact).
- Maintainers will review and act fairly.
- Consequences may include warnings, temporary bans, or permanent removal.
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

Clarify enforcement reporting mechanism and process.

The Enforcement section is incomplete in two ways:

  1. Line 19: "maintainers will provide contact" is circular—this IS the maintainer communication channel. Provide an actual email address or point to a specific issues template/label.

  2. Lines 18–21: The process lacks detail on review timeline, escalation path, and appeals mechanism. Consider adding expected response time and clarity on consequences.

Example enhancement:

## Enforcement
- Report violations via GitHub Issues (use label: `code-of-conduct`) or email: conduct@DebateAI.org
- Maintainers will review within 5 business days and act fairly.
- Consequences may include: warnings, temporary bans (1 month+), or permanent removal.
- Appeals can be submitted to [maintainers email] with additional context.

Note: Replace conduct@DebateAI.org and the email address with actual project contact information.

📝 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
## Enforcement
- Report violations via GitHub Issues or email (maintainers will provide contact).
- Maintainers will review and act fairly.
- Consequences may include warnings, temporary bans, or permanent removal.
## Enforcement
- Report violations via GitHub Issues (use label: `code-of-conduct`) or email: conduct@DebateAI.org
- Maintainers will review within 5 business days and act fairly.
- Consequences may include: warnings, temporary bans (1 month+), or permanent removal.
- Appeals can be submitted to [maintainers email] with additional context.

Shivansh and others added 3 commits December 8, 2025 17:25
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
ISSUE_TEMPLATE.md (1)

6-9: Consider separate templates for bug reports vs. feature requests.

The "Steps to Reproduce (if bug)" phrasing suggests this template is primarily for bugs, but feature requests are equally important. If you want a single template, consider rewording this section to be more generic; otherwise, add separate templates:

  • .github/ISSUE_TEMPLATE/bug_report.md
  • .github/ISSUE_TEMPLATE/feature_request.md

This is optional if a single template is preferred, but it improves clarity and UX for contributors.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 93fa98f and e758e15.

📒 Files selected for processing (1)
  • ISSUE_TEMPLATE.md (1 hunks)

Added a security policy document outlining guidelines for reporting vulnerabilities and response timelines.
@bhavik-mangla
Copy link
Contributor

Already exists

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.

write a Description, Contributing.md , Code of conduct, Security policy, Issue templates, Pull request template

2 participants