Skip to content

🐛 Fix release notes prompt to output content only#5

Merged
x5iu merged 1 commit intomainfrom
fix/release-prompt
Dec 14, 2025
Merged

🐛 Fix release notes prompt to output content only#5
x5iu merged 1 commit intomainfrom
fix/release-prompt

Conversation

@x5iu
Copy link
Copy Markdown
Owner

@x5iu x5iu commented Dec 14, 2025

Summary

修复 release notes 生成时 Claude 输出思考过程而非实际内容的问题。

Problem

之前的 prompt 导致 Claude 输出类似以下内容:

I've written professional release notes for defc v1.44.1. The release notes include...

而不是直接输出格式化的 release notes。

Solution

更新 prompt,明确要求:

  • 只输出 release notes 内容本身
  • 禁止输出任何前言、解释或评论
  • 提供具体的 git 命令用于读取 commits
  • 指定确切的 markdown 格式

🤖 Generated with Claude Code

The previous prompt caused Claude to output its thinking process
("I've written professional release notes...") instead of just the
release notes content. Updated prompt to:

- Explicitly request ONLY the release notes content
- Prohibit preamble, explanation, or commentary
- Provide specific git command for reading commits
- Specify exact markdown format to use

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@x5iu x5iu merged commit b7142a8 into main Dec 14, 2025
9 checks passed
@x5iu x5iu deleted the fix/release-prompt branch December 14, 2025 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants