Skip to content

docs: add CONTRIBUTING.md and GSSoC 2026 contributor guide (#342) - #497

Open
saurabhhhcodes wants to merge 1 commit into
agnivo988:mainfrom
saurabhhhcodes:fix-342-contributing-guide
Open

docs: add CONTRIBUTING.md and GSSoC 2026 contributor guide (#342)#497
saurabhhhcodes wants to merge 1 commit into
agnivo988:mainfrom
saurabhhhcodes:fix-342-contributing-guide

Conversation

@saurabhhhcodes

@saurabhhhcodes saurabhhhcodes commented Jul 8, 2026

Copy link
Copy Markdown

Adds a comprehensive CONTRIBUTING.md with setup instructions, development workflow, coding standards, test running, and GSSoC 2026 contributor guidance.

Fixes #342

Summary by CodeRabbit

  • Documentation
    • Added a comprehensive contributor guide with setup requirements, local development steps, testing guidance, and a pre-commit checklist.
    • Included instructions for submitting pull requests and reporting issues.
    • Added a dedicated section for GSSoC 2026 contributors.

…#342)

Adds a comprehensive CONTRIBUTING.md with:
- Setup instructions for Go development
- Fork and clone workflow
- Coding standards and Go formatting
- Test running instructions
- PR submission guidelines
- GSSoC 2026 contributor section

Fixes agnivo988#342
@coderabbitai

coderabbitai Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

A new CONTRIBUTING.md file is added to the repository root, providing contribution guidance including prerequisites, setup instructions, development workflow, PR submission steps, issue reporting, and a GSSoC 2026 contributors section.

Changes

Contributing Guide Documentation

Layer / File(s) Summary
Table of contents and getting started guidance
CONTRIBUTING.md
Adds document header, table of contents, prerequisites, fork/clone/build steps, and general development workflow including branching, coding standards, testing, and a pre-commit checklist.
Issue reporting, PR submission, and GSSoC section
CONTRIBUTING.md
Adds PR submission steps, issue reporting instructions, a dedicated GSSoC 2026 contributors subsection, and a closing note.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Suggested labels: ECWoC26-ENDED

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The CONTRIBUTING guide matches most requirements, but the required README.md link from #342 is missing. Add a README.md link to CONTRIBUTING.md so the repo entry point matches the issue's acceptance criteria.
✅ Passed checks (4 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 documentation-only addition of CONTRIBUTING.md and the GSSoC 2026 guide.
Out of Scope Changes check ✅ Passed The PR stays within scope as a documentation-only change focused on the contributing guide.
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

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.

@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: 3

🤖 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 `@CONTRIBUTING.md`:
- Around line 22-49: The setup flow in CONTRIBUTING.md skips the dependency
download step, so update the “Fork and Clone” / “Building from Source”
instructions to include a `go mod download` step before running the build. Keep
the fix near the existing clone/build guidance and ensure the documented
workflow for the repository setup is complete from clone to build.
- Around line 113-118: The GSSoC 2026 contributor section in the CONTRIBUTING
guide is too minimal and the table of contents does not include it. Expand the
existing GSSoC 2026 section to cover how to claim an issue, the required PR
title format, point levels, and the meaning/use of the level1, level2, level3,
and gssoc-ext labels, and add a corresponding TOC entry so contributors can find
it easily. Refer to the existing “GSSoC 2026 Contributors” section and the
document’s TOC list when updating the content.
- Around line 53-91: Update the contributor guide section that currently covers
Branching, Coding Standards, Running Tests, and the Pre-commit Checklist to also
include guidance for commit message prefixes and running go vet. Add a short
commit convention entry near the existing branch-name examples, and add go vet
to the validation steps alongside go build and go test; keep the wording
consistent with the rest of CONTRIBUTING.md and use the existing section
structure so the new guidance is easy to find.
🪄 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: 76ad3153-facf-4eca-a796-cbac6ec2b842

📥 Commits

Reviewing files that changed from the base of the PR and between 59221f9 and fb8d658.

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

Comment thread CONTRIBUTING.md
Comment on lines +22 to +49
- **Go 1.24+** — install via [gvm](https://github.com/moovweb/gvm) or [official installer](https://go.dev/dl/)
- **Git** — version 2.30 or later
- A **GitHub Personal Access Token** (classic) with `repo` and `read:org` scopes

### Fork and Clone

1. Fork the repository on GitHub.
2. Clone your fork locally:
```bash
git clone https://github.com/YOUR_USERNAME/Repo-lyzer.git
cd Repo-lyzer
```
3. Add the upstream remote:
```bash
git remote add upstream https://github.com/agnivo988/Repo-lyzer.git
```

### Building from Source

```bash
go build -o repo-lyzer ./cmd
```

The binary will be placed at `./repo-lyzer` in the project root. Run it with:

```bash
./repo-lyzer analyze --token YOUR_GITHUB_TOKEN --owner agnivo988 --repo Repo-lyzer
```

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.

📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

Add the missing go mod download step.

Fresh-clone setup jumps straight from cloning to building; the documented workflow still omits the dependency download step required by the PR objective.

🤖 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 `@CONTRIBUTING.md` around lines 22 - 49, The setup flow in CONTRIBUTING.md
skips the dependency download step, so update the “Fork and Clone” / “Building
from Source” instructions to include a `go mod download` step before running the
build. Keep the fix near the existing clone/build guidance and ensure the
documented workflow for the repository setup is complete from clone to build.

Comment thread CONTRIBUTING.md
Comment on lines +53 to +91
### Branching

- Create a feature branch off `main`: `git checkout -b feat/my-feature`
- Use a descriptive branch name: `fix/login-error`, `feat/dashboard-widget`, `docs/contributing-guide`

### Coding Standards

- Format all Go code with `gofmt` before committing:
```bash
gofmt -s -w .
```
- Follow idiomatic Go conventions as described in [Effective Go](https://go.dev/doc/effective_go).
- Use meaningful variable names and avoid abbreviations where clarity matters.
- Keep functions focused and under 50 lines where practical.
- Add comments for exported functions, types, and package-level declarations.

### Running Tests

Run the full test suite:

```bash
go test ./...
```

Run tests for a specific package:

```bash
go test ./cmd/...
```

### Pre-commit Checklist

Before committing, ensure:

- [ ] `go build ./...` passes with no errors
- [ ] `go test ./...` passes with no failures
- [ ] `gofmt -s -w .` has been run
- [ ] New functionality includes tests
- [ ] Changes are accompanied by updated documentation

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.

📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

Add go vet and commit-prefix guidance.

This section covers branch names, gofmt, and tests, but it never documents commit prefixes or go vet, both of which are required by the contributor guide objectives.

🤖 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 `@CONTRIBUTING.md` around lines 53 - 91, Update the contributor guide section
that currently covers Branching, Coding Standards, Running Tests, and the
Pre-commit Checklist to also include guidance for commit message prefixes and
running go vet. Add a short commit convention entry near the existing
branch-name examples, and add go vet to the validation steps alongside go build
and go test; keep the wording consistent with the rest of CONTRIBUTING.md and
use the existing section structure so the new guidance is easy to find.

Comment thread CONTRIBUTING.md
Comment on lines +113 to +118
### GSSoC 2026 Contributors

If you are contributing as part of **GSSoC 2026**:
- Comment on the issue you want to work on to get it assigned.
- Tag your PR with the relevant GSSoC labels.
- Reach out on the project's communication channel if you need guidance.

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.

📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

Expand the GSSoC 2026 section.

The current text is too thin: it doesn't explain how to claim issues, the PR title format, point levels, or the level1/level2/level3/gssoc-ext labels, so contributors still need external guidance. Also add this section to the TOC.

🤖 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 `@CONTRIBUTING.md` around lines 113 - 118, The GSSoC 2026 contributor section
in the CONTRIBUTING guide is too minimal and the table of contents does not
include it. Expand the existing GSSoC 2026 section to cover how to claim an
issue, the required PR title format, point levels, and the meaning/use of the
level1, level2, level3, and gssoc-ext labels, and add a corresponding TOC entry
so contributors can find it easily. Refer to the existing “GSSoC 2026
Contributors” section and the document’s TOC list when updating the content.

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.

[GSSoC 2026] [Good First Issue] Add CONTRIBUTING.md and GSSoC 2026 Contributor Guide

1 participant