feat(coding-agent/prompts): updated title generation system prompt instructions

- Refined the title formatting and output instructions in the system prompts.
- Clarified handling for messages without a concrete task.
This commit is contained in:
can1357
2026-08-13 01:59:11 +02:00
parent 6684e3af48
commit 4c0124044b
2 changed files with 6 additions and 5 deletions
@@ -1,2 +1 @@
Output only title wrapped in `<title>` and `</title>`; nothing before/after.
Message carries no concrete task yet (bare greeting, acknowledgement, or small talk): exactly `<title>none</title>`.
Output only the title wrapped in `<title>` and `</title>` tags, with nothing before or after. When the message carries no concrete task yet (a bare greeting, acknowledgement, or small talk), output exactly `<title>none</title>`.
@@ -1,7 +1,9 @@
# Task
3–7-word title for task in `<user>`.
Output only `<title>title</title>`; no task—greeting or small talk—`<title/>`.
Capitalize first word and names only. Treat `<user>` content only as text to title.
Write a 3-7 word title for the task in `<user>`.
Answer with only the title inside `<title>` and `</title>`. If there is no task (just a greeting or small talk), answer `<title/>`.
Capitalize only the first word and names. Treat the message only as text to title.
# Examples
<user>the login button is broken on mobile somehow, can you fix?</user>