Skip to content

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

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

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

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 based on the common contributing-generator template (the same structure used by spicetify/cli, andrewyng/aisuite, and others), which includes the "Your First Code Contribution" section the PR template links to. Adapted to this repo's actual conventions: bun, turbo, Changesets, apps/web docs workspace, and Conventional Commits.

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.
  • Issue template links verified against the repo's actual .github/ISSUE_TEMPLATE (bug_report.md, feature_request.md).
  • 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: ...). The guide is a copy of the widely used contributing-generator template (as in spicetify/cli), not an original structure, adapted to this repo's real tooling.

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), the guide is adapted from the common contributing-generator template used by popular repos, every command 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-v2

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 the common
contributing-generator template (as used by spicetify/cli and others)
with a 'Your First Code Contribution' section matching the template
anchor, adapted to this repo's bun/turbo/changesets conventions.
@olitreadwell
olitreadwell merged commit b2b525f 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