Creating pull requests
Agent skills for Laravel and PHP development. Installable via npx skills@latest add ceilidhboy/skills
npx -y skills add ceilidhboy/skills --skill creating-pull-requestsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Company pull request workflow and branch policy. Use when user says "create a PR", "make a pull request", "open a PR", or when managing GitHub pull requests for company projects.
SKILL.md
2.9 KB, as published. Nobody here has run it
Creating Pull Requests
Branch Policy
feature branches ──→ develop (merge for testing/preview)
feature branches ──→ master (via PR, when signed off)
NEVER develop ──→ master
NEVER PR into develop
Branch roles
| Branch | Purpose | Disposable? | Gets PRs? |
|---|---|---|---|
develop | Sandbox / WIP / experimental. Non-technical staff preview work here. | ✅ Yes — recreate from master if broken | ❌ Never — merge directly |
master | Production. Only clean, signed-off code. | ❌ No | ✅ Yes — from feature branches only |
staging (if exists) | Pre-production gate. Final testing before release. | Conditional | ✅ From feature branches |
Non-negotiable rules
- Never create a PR from
developtomaster.developmay contain half-baked or abandoned work. A PR fromdeveloprisks merging experimental code into production. - Never create a PR into
develop. Merging directly is faster and keepsdevelopa simple sandbox. If it breaks, recreate frommaster. - Always PR from a clean feature branch into
master. The feature branch should contain only the work for that specific feature or fix. developis disposable. Ifdevelopgets into a bad state, drop it and create a fresh one frommaster.
The reasoning
develop is used not just for developers to test features in combination, but also to allow non-technical staff within the business to preview and sign off work. Features on develop may be incomplete, abandoned, or never signed off. Pulling develop into master would put experimental or rejected code into production — a serious issue.
How to Create a PR
- Identify the correct feature branch (e.g.
feat/my-featureorfix/my-bugfix) - Ensure the branch is pushed to GitHub
- Create the PR targeting
master:gh pr create \ --base master \ --head <feature-branch-name> \ --title '<descriptive title>' \ --body '<summary of changes>' - Verify the PR was created successfully (check the URL)
What to include in the PR body
- Summary of changes (what and why)
- Key technical decisions
- Testing notes (what was tested, how)
- Links to related ADRs if applicable
Common Mistakes - Anti-Patterns
| Mistake | Why it's wrong | Correct approach |
|---|---|---|
PR from develop → master | May include unfinished/abandoned work | PR from clean feature branch |
PR into develop | Adds unnecessary process to a sandbox | Merge directly into develop |
| Including multiple features in one PR | Hard to review, hard to roll back | One feature per PR |