← スキル一覧に戻る

pr-docs
by jagreehal
⭐ 0🍴 0📅 2026年1月14日
SKILL.md
name: pr-docs description: "Generate PR documentation from completed spec and git diff. Use when: pr docs, generate docs, pull request docs, baldrick docs. Triggers on: pr docs, generate docs, document changes."
PR Documentation Generator
Generate PR-ready documentation from a completed spec and git changes.
Philosophy: Clear documentation makes reviews faster and preserves context.
The Job
- Receive spec name from user
- Read the spec file from
specs/[name].md - Analyze git diff for the related changes
- Generate comprehensive PR documentation
- Save to
docs/[name]-changes.md
Output Format
# [Feature Name]
## Summary
Brief description of what was implemented.
## Changes
### Files Modified
- `path/to/file.ts` - What changed and why
- `path/to/other.ts` - What changed and why
### Files Added
- `path/to/new-file.ts` - Purpose of new file
## Implementation Details
### Key Decisions
- Decision 1 and rationale
- Decision 2 and rationale
### Trade-offs
- Trade-off considered and why this approach was chosen
## BDD Coverage
| Scenario | Status |
|----------|--------|
| Happy path login | ✅ Implemented |
| Invalid email | ✅ Implemented |
| Wrong password | ✅ Implemented |
## Testing
- [ ] Unit tests added
- [ ] Integration tests added
- [ ] Manual testing steps
## Screenshots/Examples
(If applicable - UI changes, API responses, etc.)
## Related
- Spec: `specs/[name].md`
- Related PRs: (if any)
Process
- Read the spec - Understand what was supposed to be built
- Analyze git diff - See what actually changed
- Map changes to requirements - Connect code changes to spec scenarios
- Document decisions - Capture why things were done a certain way
- Note BDD coverage - Show which scenarios are implemented
Example Usage
User: "Generate PR docs for the login feature"
Output saved to: docs/login-changes.md
Output
- Format: Markdown (
.md) - Location:
docs/ - Filename:
[spec-name]-changes.md
Checklist Before Saving
- Read the spec completely
- Analyzed all git changes
- Documented all modified files
- Listed key implementation decisions
- Mapped scenarios to implementation status
- Saved to
docs/[name]-changes.md
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です