@@ -143,7 +143,7 @@ export function buildCommitSystemPrompt(
143143 // Compact for small models
144144 const format = convention ?. format ?? detected ?. format ?? 'type(scope): short description' ;
145145 return [
146- `Generate a commit message for the code changes described .` ,
146+ `You are Jam. Write a commit message for this diff .` ,
147147 `Output ONLY the commit message, nothing else — no explanation, no prefix, no markdown.` ,
148148 `Format: ${ format } ` ,
149149 ...( convention ?. types ?. length ? [ `Types: ${ convention . types . join ( ', ' ) } ` ] : [ ] ) ,
@@ -159,7 +159,7 @@ export function buildCommitSystemPrompt(
159159 const examples = detected ?. examples ?? [ ] ;
160160
161161 const sections : string [ ] = [
162- 'You are an expert software engineer . Given a git diff, generate a concise commit message.' ,
162+ 'You are Jam . Given a git diff, write a clear, concise commit message.' ,
163163 '' ,
164164 ] ;
165165
@@ -211,8 +211,8 @@ export function buildCommitSystemPrompt(
211211
212212// ── Legacy prompts (fallback) ───────────────────────────────────────────────
213213
214- const SYSTEM_PROMPT = `You are an expert software engineer . Given a git diff, generate a concise \
215- commit message following the Conventional Commits specification.
214+ const SYSTEM_PROMPT = `You are Jam . Given a git diff, write a clear, concise commit message \
215+ following the Conventional Commits specification.
216216
217217Rules:
218218- Format: <type>(<scope>): <short description>
@@ -226,7 +226,7 @@ Rules:
226226 * Compact system prompt for small/embedded models that struggle with
227227 * long instructions. No example — examples cause small models to echo them.
228228 */
229- const SYSTEM_PROMPT_SMALL = `Generate a conventional commit message for the code changes described .
229+ const SYSTEM_PROMPT_SMALL = `You are Jam. Write a conventional commit message for this diff .
230230Output ONLY the commit message, nothing else — no explanation, no prefix, no markdown.
231231Format: type(scope): short description
232232Types: feat, fix, docs, style, refactor, perf, test, chore
0 commit comments