Skip to content

Commit f157cff

Browse files
committed
Readme and config change
1 parent 0ec4d2b commit f157cff

2 files changed

Lines changed: 13 additions & 11 deletions

File tree

changelog-generator/README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Changelog Generator using Claude Agent SDK and Trigger.dev
22

3-
Generate intelligent changelogs from GitHub commits using AI with a two-phase approach: scan commits first, then selectively fetch diffs for unclear changes.
3+
Generate changelogs from GitHub commits using AI with a two-phase approach: scan commits first, then selectively fetch diffs for unclear changes.
44

55
## Tech Stack
66

7-
- **Next.js** – Frontend framework using App Router
8-
- **Claude Agent SDK** – Anthropic's SDK for building AI agents with custom tools
9-
- **Trigger.dev** – Background task orchestration with real-time streaming
10-
- **Octokit** – GitHub API client
7+
- **[Next.js](https://nextjs.org)** – Frontend framework using App Router
8+
- **[Claude Agent SDK](https://github.com/anthropics/claude-agent-sdk)** – Anthropic's agent SDK for building AI agents with custom tools
9+
- **[Trigger.dev](https://trigger.dev)** – Background task orchestration with real-time streaming to the frontend
10+
- **[Octokit](https://github.com/octokit/octokit.js)** – GitHub API client
1111

1212
## Features
1313

@@ -52,6 +52,7 @@ Streams to frontend via Trigger.dev Realtime
5252
```
5353

5454
Fill in:
55+
5556
- `TRIGGER_SECRET_KEY` – From [Trigger.dev dashboard](https://cloud.trigger.dev/)
5657
- `TRIGGER_PROJECT_REF` – Your project ref (starts with `proj_`)
5758
- `ANTHROPIC_API_KEY` – From [Anthropic Console](https://console.anthropic.com/)
@@ -71,21 +72,21 @@ Streams to frontend via Trigger.dev Realtime
7172

7273
## Relevant Files
7374

74-
- `trigger/generate-changelog.ts` – Main task with custom MCP tools for GitHub
75-
- `trigger/changelog-stream.ts` – Stream definition for real-time output
76-
- `app/api/generate-changelog/route.ts` – API endpoint
77-
- `app/response/[runId]/page.tsx` – Streaming display page
75+
- [trigger/generate-changelog.ts](trigger/generate-changelog.ts) – Main task with custom MCP tools for GitHub
76+
- [trigger/changelog-stream.ts](trigger/changelog-stream.ts) – Stream definition for real-time output
77+
- [app/api/generate-changelog/route.ts](app/api/generate-changelog/route.ts) – API endpoint
78+
- [app/response/[runId]/page.tsx](app/response/[runId]/page.tsx) – Streaming display page
7879

7980
## Custom Tools
8081

8182
The task defines two custom MCP tools that Claude can use:
8283

8384
```typescript
8485
// List commits with messages (lightweight)
85-
list_commits({ since: "2024-01-01", until: "2024-02-01" })
86+
list_commits({ since: "2024-01-01", until: "2024-02-01" });
8687

8788
// Get full diff for a specific commit (on-demand)
88-
get_commit_diff({ sha: "abc1234" })
89+
get_commit_diff({ sha: "abc1234" });
8990
```
9091

9192
This two-phase approach minimizes token usage while giving Claude full context when needed.

changelog-generator/next.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
3+
reactStrictMode: false,
34
eslint: {
45
ignoreDuringBuilds: true,
56
},

0 commit comments

Comments
 (0)