Skip to content

docs: add CONTRIBUTING guide with first contribution section - #3

Merged
olitreadwell merged 1 commit into
mainfrom
docs/add-contributing-guide
Aug 19, 2026
Merged

docs: add CONTRIBUTING guide with first contribution section#3
olitreadwell merged 1 commit into
mainfrom
docs/add-contributing-guide

Conversation

@olitreadwell

Copy link
Copy Markdown
Owner

Upstream target

themesberg/flowbite-react — no issue; self-found gap. The PR template links to a CONTRIBUTING.md that does not exist.

What changed

Adds CONTRIBUTING.md with a "Your First Code Contribution" section matching the anchor the PR template links to, plus the repo's actual setup, commit, testing, and changeset conventions.

Why

The PR template's first checkbox links to https://github.com/themesberg/flowbite-react/blob/main/CONTRIBUTING.md#your-first-code-contribution, which 404s: the repo has no CONTRIBUTING.md (verified: no file on main or develop; root listing has only README.md and readme-images). The maintainers clearly intended one to exist.

How to verify

  • After merge, https://github.com/olitreadwell/flowbite-react/blob/main/CONTRIBUTING.md#your-first-code-contribution resolves to the "Your First Code Contribution" section.
  • curl -s -o /dev/null -w '%{http_code}' https://raw.githubusercontent.com/olitreadwell/flowbite-react/main/CONTRIBUTING.md returns 200.

Coverage

N/A — docs-only, no coverage tool applies.

Checks run locally

  • Every command in the guide matches the repo's real package.json scripts (bun install / dev / test / lint / typecheck / format:check, changeset add / version / release) and workspace layout (apps/web, packages/ui/src/components).
  • Anchor verified: heading "Your First Code Contribution" generates #your-first-code-contribution, matching the template link.
  • Tests / Lint / Typecheck / Build: N/A — no code changed.

Style / template compliance

Follows the repo's PR template (checkbox above) and Conventional Commits commit style (docs: ...). No CONTRIBUTING.md existed to follow; conventions were taken from package.json, turbo.json, .changeset/config.json, and recent git log.

Confidence: HIGH

Docs-only addition; every claim verified against the repo's actual files. Only residual risk: maintainers may prefer a different structure.

AI assistance

Drafted with AI assistance. The gap was found and verified against the current repo (template link 404s, no CONTRIBUTING.md exists), every command in the guide was checked against the repo's real package.json scripts, and the diff was reviewed line by line before opening.

Recommendation

Ready to send upstream as-is.


PROMOTION NOTE (remove this section before/when opening against upstream):

gh pr create --repo themesberg/flowbite-react --base main --head olitreadwell:docs/add-contributing-guide

Prerequisites: none. No CLA/DCO bot found in themesberg/flowbite-react; no signed-commit requirement found.

The PR template links to CONTRIBUTING.md#your-first-code-contribution,
but no CONTRIBUTING.md exists, so the link 404s. Add a guide with a
'Your First Code Contribution' section (matching the template anchor),
plus the repo's actual setup, commit, testing, and changeset
conventions.
@olitreadwell
olitreadwell merged commit 6e967d6 into main Aug 19, 2026
5 checks passed
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