Skip to content

docs: give new contributors a first-issue path and focused checks - #453

Merged
Ducksss merged 3 commits into
devfrom
docs/contributor-onramp
Aug 13, 2026
Merged

Ducksss merged 3 commits into
devfrom
docs/contributor-onramp

Conversation

@Ducksss

@Ducksss Ducksss commented Aug 9, 2026 •

Copy link
Copy Markdown
Owner

Closes #100. Closes #101.

Two small docs gaps that both cost a new contributor their first ten minutes.

README — first-issue path (#100)

The ## Contributing section linked CONTRIBUTING, the CoC, SECURITY, and the roadmap, but nothing pointed at work that was actually approachable. Added two label searches near the top of that section.

Both use GitHub issue searches rather than hard-coded issue numbers, so they stay accurate as issues land. Setup and PR instructions are unchanged.

CONTRIBUTING — focused checks table (#101)

## Verification said "run the focused checks that match your change" and then listed all seven commands — which gives a first-time contributor no way to pick. Added a table covering the four change types the issue asks for, and kept the full list intact below it under a ### Full suite heading.

Change type Run
Docs or content only pnpm source:build, pnpm run test:int
Site UI pnpm lint, pnpm exec tsc --noEmit, pnpm run test:e2e
Registry or component metadata pnpm test:registry, pnpm run test:int
CLI or tooling pnpm lint, pnpm exec tsc --noEmit, pnpm test:install

Plus two rules that apply to every row: pnpm format before pushing (CI runs format:check), and a pointer to the existing Visual baselines section for anything that changes what a page renders — the trap most likely to bite someone who only ran their row.

No new scripts, tooling, or dependencies.

Verification

  • pnpm run test:int — 505 passed, 1 skipped, 44 files. Covers inventory-sync.int.spec.ts, which pins the README's COMPONENT-INVENTORY table; this change sits outside those markers.
  • pnpm format:check — clean repo-wide.
  • pnpm source:build — clean.
  • Every command named in the table verified present in package.json. pnpm exec tsc --noEmit is a direct invocation, consistent with the existing full list.
  • Both label searches confirmed to return open issues.

Docs-only, so no visual baselines are involved.

Note for the maintainer

After this merges, good first issue will be empty — #100 and #101 were the only two issues carrying that label. The README link will point at a blank list until a few more issues are labelled. From the current backlog, #121 is a good candidate: its two required tests already exist in payload-components-fragment.int.spec.ts, so the work is scoped to enriching three error strings.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Expanded contribution and verification guidance with focused checks, test coverage, formatting, and visual-baseline requirements.
    • Added links to help contributors discover beginner-friendly and help-wanted work.
    • Included references for relevant issue searches.

Copilot AI lite review requested due to automatic review settings August 9, 2026 14:27

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vercel

vercel Bot commented Aug 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
payload-components Ready Ready Preview Aug 11, 2026 2:35pm
payload-components-97bf Ready Ready Preview Aug 11, 2026 2:35pm

@coderabbitai

coderabbitai Bot commented Aug 9, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@Ducksss, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 5df06102-d8e2-45d7-9910-7f39d452c7ea

📥 Commits

Reviewing files that changed from the base of the PR and between 3d4569c and e7f3fac.

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

Walkthrough

Contributor documentation now includes focused verification commands, expanded test guidance, formatting and visual-baseline requirements, and links to open beginner-friendly issues.

Changes

Contributor guidance

Layer / File(s) Summary
Focused verification guidance
CONTRIBUTING.md
Adds change-specific verification commands, integration and CLI test guidance, formatting checks, visual-baseline requirements, and a Full suite subsection.
Beginner issue links
README.md
Adds links and reference URLs for open Good first issue and Help wanted searches.

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

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the contributor documentation changes, including the first-issue path and focused checks.
Description check ✅ Passed The description clearly covers the changes and verification; it omits the template's Registry Checklist and Notes headings but remains mostly complete.
Linked Issues check ✅ Passed The README links satisfy #100, and the focused-checks table, preserved full suite, existing commands, and no new tooling satisfy #101.
Out of Scope Changes check ✅ Passed All changes are limited to the contributor documentation objectives, with no unrelated code, tooling, dependency, or setup changes.
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
  • Commit unit tests in branch docs/contributor-onramp

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

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 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 80-85: Update the “CLI or tooling (`tools/payload-components`,
`bin/`)” row in the checks table to explicitly include `pnpm test:pack` when the
change affects `bin/`, packaging, or the published CLI, while preserving the
existing checks for other tooling changes.
🪄 Autofix

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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 3c0c451d-0e2e-4afb-be54-6e03131d6306

📥 Commits

Reviewing files that changed from the base of the PR and between 63a195f and 3d4569c.

📒 Files selected for processing (2)
  • CONTRIBUTING.md
  • README.md

Comment thread CONTRIBUTING.md
Comment on lines +80 to +85
| Change type | Run |
| ------------------------------------------------------ | ------------------------------------------------------------------------------- |
| Docs or content only (`content/docs`, `*.md`) | `pnpm source:build`, `pnpm run test:int` |
| Site UI (`src/app`, `src/components`, `src/lib`) | `pnpm lint`, `pnpm exec tsc --noEmit`, `pnpm run test:int`, `pnpm run test:e2e` |
| Registry or component metadata (`payload-components/`) | `pnpm test:registry`, `pnpm run test:int` |
| CLI or tooling (`tools/payload-components`, `bin/`) | `pnpm lint`, `pnpm exec tsc --noEmit`, `pnpm run test:int` |

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

Clarify the packed CLI check for bin/ changes.

The table presents these commands as the smallest checks that cover the change, but pnpm run test:int does not include pnpm test:pack. The later guidance requires pnpm test:pack for bin/, packaging, and published CLI changes. Make that condition explicit in this row so contributors do not stop after the table.

Suggested clarification
-| CLI or tooling (`tools/payload-components`, `bin/`)    | `pnpm lint`, `pnpm exec tsc --noEmit`, `pnpm run test:int`                      |
+| CLI or tooling (`tools/payload-components`, `bin/`)    | `pnpm lint`, `pnpm exec tsc --noEmit`, `pnpm run test:int`; add `pnpm test:pack` for `bin/`, packaging, or published CLI changes |
📝 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
| Change type | Run |
| ------------------------------------------------------ | ------------------------------------------------------------------------------- |
| Docs or content only (`content/docs`, `*.md`) | `pnpm source:build`, `pnpm run test:int` |
| Site UI (`src/app`, `src/components`, `src/lib`) | `pnpm lint`, `pnpm exec tsc --noEmit`, `pnpm run test:int`, `pnpm run test:e2e` |
| Registry or component metadata (`payload-components/`) | `pnpm test:registry`, `pnpm run test:int` |
| CLI or tooling (`tools/payload-components`, `bin/`) | `pnpm lint`, `pnpm exec tsc --noEmit`, `pnpm run test:int` |
| Change type | Run |
| ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Docs or content only (`content/docs`, `*.md`) | `pnpm source:build`, `pnpm run test:int` |
| Site UI (`src/app`, `src/components`, `src/lib`) | `pnpm lint`, `pnpm exec tsc --noEmit`, `pnpm run test:int`, `pnpm run test:e2e` |
| Registry or component metadata (`payload-components/`) | `pnpm test:registry`, `pnpm run test:int` |
| CLI or tooling (`tools/payload-components`, `bin/`) | `pnpm lint`, `pnpm exec tsc --noEmit`, `pnpm run test:int`; add `pnpm test:pack` for `bin/`, packaging, or published CLI changes |
🤖 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 80 - 85, Update the “CLI or tooling
(`tools/payload-components`, `bin/`)” row in the checks table to explicitly
include `pnpm test:pack` when the change affects `bin/`, packaging, or the
published CLI, while preserving the existing checks for other tooling changes.

Ducksss and others added 3 commits August 11, 2026 22:25
Closes #100 and #101.

README pointed newcomers at CONTRIBUTING, the CoC, SECURITY, and the
roadmap, but nothing told them which open work was actually approachable.
Add label searches rather than issue numbers so the lists stay accurate
as issues land.

CONTRIBUTING told contributors to "run the focused checks that match your
change" and then listed all seven commands, which is the opposite of
focused. Add a table mapping the four common change types to the smallest
checks that still cover them, and keep the full list intact below it as
the broader suite. Every command named already exists in package.json; no
new scripts.

Co-Authored-By: Claude Opus 5 <[email protected]>
Review of the table caught two rows prescribing checks that do not cover
their own change type.

The CLI row said `pnpm test:install`, which runs four specs — but more
than thirty int specs import tools/payload-components. The very next PR
in this series touched only project.ts and turned blog-visual-system,
fragment, and target-detection red, none of which test:install runs. A
contributor following that row would have gone green locally and red on
CI, which is the failure this table exists to prevent.

The Site UI row omitted test:int, but fumadocs-site.int.spec.ts imports
SiteFooter and asserts on its rendered output, and the catalog count pins
live there too.

Both now run test:int, with a note on why it appears three times and what
test:install is actually good for.

Co-Authored-By: Claude Opus 5 <[email protected]>
`pnpm run test:int` appears in all four rows of the table, not three.
Replace the hedge with the actual figures: 32 of the 46 int specs import
the CLI, which is the reason the suite is unavoidable whatever you
touched.

Co-Authored-By: Claude Opus 5 <[email protected]>

This branch was successfully deployed

2 active deployments
Preview – payload-components-97bf — e7f3face Deployed Aug 11, 2026 by vercel[bot]
Preview – payload-components — e7f3face Deployed Aug 11, 2026 by vercel[bot]
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.

2 participants