用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/latitude-dev/latitude-llm --skill create-pr命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Review the current conversation context and git changes, then persist durable repository knowledge into `dev-docs/*.md` by domain and into `AGENTS.md` for cross-cutting repo rules. Use after features, fixes, refactors, architecture changes, schema changes, or when the user mentions docs, documentation, design, architecture, business logic, conventions, or `AGENTS.md`.
Installing dependencies, running dev/build/test/lint, filtering packages, single-test runs, git hooks, preparing a clone (.env.development / .env.test), or Docker-backed local services and dev servers.
Triages a PR with GitHub CLI: loads issue-level and inline review feedback (gh pr view, gh api REST, gh api graphql as appropriate), walks items in order, replies in the correct thread, optional resolve. Groups duplicate comments into one fix. Use when addressing PR review comments, Copilot inline threads, or babysitting PR feedback.
正在显示 SKILL.md
基于 SOC 职业分类
| name | create-pr |
| description | Patterns and conventions for creating a good PR |
The work is done. Now, create a new PR for the current changes. If you're not on a new branch yet, create one first. Then, create the PR. Treat the changes as a real deliverable. The description is the first thing anyone reading this work will see, and most readers will not read the diff line by line.
Write for someone who:
You don't need to explain the codebase, the framework, or how things generally work in this system. You do need to explain everything new that this PR introduces — concepts, entities, flows, behaviors — clearly enough that the reader understands the change without opening the diff.
Cover only what's in this PR. If it's part of a larger effort (MVP, migration, refactor), one short line of framing is enough. Don't restate the whole project.
The title is a one-line summary of the change. Specific, declarative, imperative mood.
Add alert incident lifecycle and worker pipelineAlert work / Various improvements / Updates to alerts moduleIf the repo uses a prefix convention (feat:, fix:, scoping like [backend]), match it.
Every PR description, regardless of size, has to answer:
Beyond those two, include whatever else the reader needs to actually understand the change:
If something is only interesting at the code level — naming, file moves, mechanical refactors — leave it in the diff.
Don't follow a fixed template. The right structure depends entirely on what this PR contains.
Decide the structure by asking: what does the reader need to know, and in what order? Then group that information into coherent sections with headers that describe their actual content. A small bug fix might be three sentences with no headers at all. A PR introducing a new subsystem might have five sections. Both are correct when they match the change.
Order matters: start with whatever orients the reader fastest (usually a summary), put context next, push edge cases, caveats, and follow-ups toward the end.
If related issues or PRs exist, link them. Use GitHub's keyword syntax (Closes #123, Refs #456) where appropriate.
The description should read like a senior engineer wrote it for a colleague — direct, specific, no filler. The following phrasings mark text as AI-generated and must be avoided:
Write declaratively. "Adds X. X is created when Y happens." Not "This PR aims to introduce X, which would help with Y."
Use prose where bullets would fragment a thought. Use bullets where prose would become a wall. Don't enumerate every file changed.
Use lowercase headings unless the repo's existing PRs use a different convention.
Return the title and description as raw markdown in separate code blocks I can paste into GitHub directly. No preamble, no commentary after the blocks.
If this PR includes noticeable UI work — new views, new sections, visual changes — remind me at the end to attach screenshots or a short screen recording to the PR for reviewer context.