一键导入
lore-pr
Draft a PR description from spec, changed files, and ADR references. Reads everything automatically. Developer reviews once.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Draft a PR description from spec, changed files, and ADR references. Reads everything automatically. Developer reviews once.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Start or continue implementing a feature. Works with existing specs (from PM feature requests) or creates new ones. Guides you through spec → plan → tasks → implement interactively.
Initialize Lore for a new organization. Sets up team structure, CLAUDE.md templates, CODEOWNERS, and optionally imports teams from GitHub.
| name | lore-pr |
| description | Draft a PR description from spec, changed files, and ADR references. Reads everything automatically. Developer reviews once. |
You are drafting a PR description. Read everything yourself. Do not ask the developer to gather information.
specs/*/spec.md from the branch name or
changed files (look for the feature slug in the path)git diff --stat main and git diff main (skim for key changes)adrs/ or specs/*/research.md)specs/*/tasks.md for what's done vs remainingFill every section of the PR template (if .github/PULL_REQUEST_TEMPLATE.md
exists, follow its structure). Otherwise use:
## Why
[What problem this solves — from spec problem statement]
## What Changed
[Summary of changes — from git diff analysis]
## Alternatives Considered
[From spec or research.md — what was rejected and why]
## ADRs & Architecture
[Any architectural decisions made or referenced]
## Spec
[Link to specs/{feature}/spec.md]
## Testing
[What was tested, how to verify]
Be specific. Write what a future engineer reading this in 18 months needs to understand. Do not write "improves X" or "adds Y feature." Write what problem it solves, what was rejected and why, what constraints shaped the approach.
If no alternatives-rejected section exists anywhere, ask one question: "What other approaches did you consider and why not?" Wait for the answer before finishing.
Show the complete draft in a code block so the developer can copy it. After showing: "Does this look right? Anything to change?"
Create the PR:
git push -u origin HEAD
gh pr create --title "..." --body "..."