Fix a pnpm bug with your coding agent A developer has published a step-by-step workflow for using a coding agent to contribute a bug fix to the pnpm package manager, covering forking the repo, selecting an unassigned bug via the GitHub CLI, reproducing it with a failing test, making a minimal root-cause fix, and opening a PR that discloses AI assistance. The guide instructs the agent to confirm the chosen issue with the human before proceeding and to comment on the issue if work stops. | | I want to contribute a bug fix to pnpm https://github.com/pnpm/pnpm . | | | 1. Set up | | | - Fork and clone the repo: gh repo fork pnpm/pnpm --clone , then cd into it. | | | - Read CONTRIBUTING.md and any AGENTS.md / CLAUDE.md files, and follow them. | | | They explain how to install dependencies, build, run tests, and add changesets. | | | 2. Pick an issue | | | - List open bugs that nobody is working on yet: | | | gh issue list -R pnpm/pnpm --state open --label "type: bug" --limit 100 \ | | | --search "no:assignee -label:\"state: has PR\" -label:\"state: in progress\" -label:\"state: blocked\" -label:\"state: needs design\" -linked:pr" | | | - Choose ONE issue that has clear reproduction steps and a scope you can fix in a | | | single focused PR. Skip issues that need a design decision or depend on a specific OS | | | or registry setup you can't reproduce. | | | - Read the whole thread, and check that there isn't already an open PR for it | | | and that nobody has commented that they are working on it. | | | - Tell me which issue you picked and why before you continue. | | | - Once I confirm, leave a short comment on the issue so others don't start on it too: | | | gh issue comment