Add or reconcile flutter_rust_bridge contributors through all-contributors PRs. Use when finding contributor PRs, posting all-contributors comments, validating contributor metadata, resolving contributor PR merge conflicts, or merging the generated contributor PRs.
Use this skill when contributors need to be added to flutter_rust_bridge via all-contributors, especially when multiple recent PR authors should be credited in batch.
For each GitHub username, find their PRs in fzyzcjy/flutter_rust_bridge.
gh search prs --repo fzyzcjy/flutter_rust_bridge --author <username> --limit 100 --json number,title,author,url,state
Important:
new contributor PRs, use the contributor's first PR only..all-contributorsrc or README.md, do not expect a new all-contributors PR to be created..all-contributors-custom.yaml and stop for human inputBefore regenerating contributor artifacts, append each new contributor to the end of .all-contributors-custom.yaml:
- <username>: TODO
Do this only for contributors who are not already present in .all-contributors-custom.yaml.
Then stop and ask a human to replace each TODO with a concise contribution summary.
This stop is mandatory.
TODO.Only resume after the human-written descriptions are present in .all-contributors-custom.yaml.
Post the comment on the chosen source PR:
gh pr comment <pr-number> --repo fzyzcjy/flutter_rust_bridge --body '@all-contributors please add <username> for code'
Then inspect the bot response on that PR.
docs: add <username> as a contributor for code.When a contributor PR exists, check the generated contributor data before merging.
Files to inspect:
.all-contributorsrcREADME.mdRequired validation:
https://, never http://.http://, change it to https:// if the site supports it.https://, prefer the contributor's GitHub profile URL instead of keeping http://.After the human has replaced all TODO messages, regenerate the contributor artifacts instead of hand-editing README.md.
Use:
./frb_internal generate-internal-contributor
This command updates:
.all-contributorsrcREADME.md via all-contributors generatewebsite/docs/index.md via generate-internal-readmeIf you only need to refresh the website copy of the README, use:
./frb_internal generate-internal-readme
These PRs usually conflict only in:
.all-contributorsrcREADME.mdRecommended workflow for each open contributor PR:
gh pr checkout <pr-number> --repo fzyzcjy/flutter_rust_bridge
git fetch origin master
git merge --no-ff origin/master
If the merge conflicts:
origin/master content.README.md../frb_internal generate-internal-contributor if you edited contributor metadata or finished filling in .all-contributors-custom.yaml.git add the resolved files and commit the merge.Do not revert unrelated contributor entries that were merged by other PRs.
After the branch is updated and GitHub reports it mergeable:
gh pr merge <pr-number> --repo fzyzcjy/flutter_rust_bridge --merge --delete-branch
Notes:
DIRTY or reject merge immediately after push.origin/master again before resolving the next one.At the end, verify there are no remaining open all-contributors PRs:
gh pr list --repo fzyzcjy/flutter_rust_bridge --search "author:allcontributors[bot] is:open" --limit 50 --json number,title,mergeStateStatus,url
Also verify the credited contributors appear in:
.all-contributorsrcREADME.mdwebsite/docs/index.md if contributor regeneration was run