Skip to content

Commit b9c6336

Browse files
committed
feature: change the pr-summarizer to sonnet, change-log to opus
1 parent 07dbc6f commit b9c6336

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.claude/agents/pr-summarizer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: pr-summarizer
33
description: Use this agent when you need to analyze a GitHub pull request and create a concise summary of its description, body, and comments. This agent should be invoked with a repository name and PR number to generate a summary file in the summaries/ directory. Examples:\n\n<example>\nContext: User wants to summarize a pull request for documentation purposes.\nuser: "Summarize PR #142 from the facebook/react repository"\nassistant: "I'll use the pr-summarizer agent to analyze and summarize that pull request."\n<commentary>\nThe user is asking for a PR summary, so I should use the Task tool to launch the pr-summarizer agent with the repository and PR number.\n</commentary>\n</example>\n\n<example>\nContext: User needs to quickly understand what a PR is about without reading through all comments.\nuser: "Can you create a summary of pull request 89 in the vercel/next.js repo?"\nassistant: "Let me use the pr-summarizer agent to generate a concise summary of that PR."\n<commentary>\nThis is a clear request for PR summarization, so the pr-summarizer agent should be invoked via the Task tool.\n</commentary>\n</example>
4-
model: haiku
4+
model: sonnet
55
color: yellow
66
---
77

.claude/commands/update-change-log.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
---
22
allowed-tools: Bash(gh pr list *)
33
description: Generate a new change log for a date time
4+
agent: opus
45
argument-hint: [...repo]
56
---
67

78
1. Update the changelog in @changelog.mdx for any updates that happened within the next date range.
89
2. Tell me what date range of repositories you want to look at.
9-
3. Look at the repositories in #ARGUMENTS.
10-
4. We do not use releases. Only look at closed Pull Requests within the next daterange.
11-
5. For each pull request, invoke @agents-pr-summarizer in parallel to generate a summary of the pull request.
12-
6. Read each file from this in @summaries and generate a synopsis for each PR.
13-
7. Tell me a summary of what was changed
14-
8. Update @channgelog.mdx with the summary from all previous pull requests
10+
3. Keep the date range consistent with the previous changelog update. Only make one change log update.
11+
4. Look at the repositories in #ARGUMENTS.
12+
5. We do not use releases. Only look at closed Pull Requests within the next daterange.
13+
6. For each pull request, invoke @agents-pr-summarizer in parallel to generate a summary of the pull request.
14+
7. Read each file from this in @summaries and generate a synopsis for each PR.
15+
8. Tell me a summary of what was changed
16+
9. Update @channgelog.mdx with the summary from all previous pull requests
1517

1618
This summary should be a high level overview.
1719
- Bug fixes should be highlighted.

0 commit comments

Comments
 (0)