lerd-open-pr
Draft and open a pull request the lerd way — issue-first, correct issue linking, human prose, none of the banned sections. Use when asked to open, prepare, or draft a PR for lerd. Never creates anything on GitHub without explicit per-action approval.
- License 许可
- MIT
- 所属仓库
- lerd-env/lerd
- 最近更新
- 2026-11-11
- Stars
- ★ 1.5k
- Forks
- 96
01 前言 Front Matter
- name
- lerd-open-pr
- description
- Draft and open a pull request the lerd way — issue-first, correct issue linking, human prose, none of the banned sections. Use when asked to open, prepare, or draft a PR for lerd. Never creates anything on GitHub without explicit per-action approval.
03 SKILL.md 正文
Open a lerd PR
Every write to GitHub (create/edit/close/reopen/merge/comment on an issue or PR)
needs explicit approval each time. Draft the text, show it, and wait. Do not
run gh pr create or any state-changing gh command until the human says go.
Before the PR
- An issue should already exist for the work, framed as future work. If it doesn't, draft one and ask before creating it.
- Run
/lerd-preflight— the PR is not ready until the local gate is green. - Confirm the branch is off
main, notmainitself, and staged by explicit path (nevergit add -A).git statusfirst.
PR body — write it as a human would
Prose paragraphs, single-line (no column wrapping), explaining what changed and why. Then the issue link:
- Feature PR →
Closes #N(auto-closes on merge). - Bug-report issue →
Refs #N(stays open until the stable release ships). - Security issue →
Closes #N(closes once the fix merges to main).
Never include
- A Test plan section.
- A Verified / Tested / Manual testing section or trailer.
- A checklist of any kind (
- [ ]/- [x], "Release checklist"…). - A "Notes for reviewers" section — we own the project, there is no external reviewer.
file:linecitations, em dashes,Co-Authored-By, or "Generated with…" footers.- Prose about tests, TDD, or coverage; and don't mention incidental cleanup.
PR and issue comments
Casual plain prose. No markdown, no bullets, no hyphens — commas instead. Don't open with boilerplate like "Pulled it down and put it on my install." Vary it.
After pushing
Return immediately. Don't sit polling CI; failures get flagged by the human.
04 同仓库更多 Skills
lerd-hello
Greets lerd sites. Use when the user asks to greet a site.
lerd-preflight
Run the full local verification gate for lerd before committing — build, test, vet, gofmt, UI tests, installer tests, then install the local build and smoke-test. Use before every commit or PR, and whenever asked to "verify", "check CI locally", or "make sure it's green".
lerd-add-service
Add or edit a lerd service preset (database, cache, search engine, admin dashboard) as YAML in the lerd-services store. Use whenever the task is to add a new service, a new version of a service, or wire a service into projects — never add services in Go.
lerd-add-framework
Add or extend a lerd framework definition (a new PHP framework or a new major version) as versioned YAML in the lerd-frameworks store. Use whenever the task involves framework detection, per-framework workers, env wiring, doctor checks, custom commands, or scaffolding — never branch on a framework name in Go.