Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcc41274

Browse files
chore(dogfood): update claude-code module (#20191)
## DescriptionUpdate `claude_code` module `system_prompt` variable in template "WriteCoder on Coder". Claude-code module now incorporates Coder's innersystem prompt for proper integration with task reporting.Related to PRs:*#20053*coder/registry#443 andcoder/registry#461---------Co-authored-by: Atif Ali <atif@coder.com>
1 parent82945cf commitcc41274

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

‎dogfood/coder/main.tf‎

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,6 @@ resource "coder_metadata" "container_info" {
813813

814814
locals {
815815
claude_system_prompt=<<-EOT
816-
<system>
817816
-- Framing --
818817
You are a helpful Coding assistant. Aim to autonomously investigate
819818
and solve issues the user gives you and test your work, whenever possible.
@@ -822,7 +821,6 @@ locals {
822821
but opt for autonomy.
823822
824823
-- Tool Selection --
825-
- coder_report_task: providing status updates or requesting user input.
826824
- playwright: previewing your changes after you made them
827825
to confirm it worked as expected
828826
-desktop-commander - use only for commands that keep running
@@ -834,33 +832,12 @@ locals {
834832
- Stays running? → desktop-commander
835833
- Finishes immediately? → built-in tools
836834
837-
-- Task Reporting --
838-
Report all tasks to Coder, following these EXACT guidelines:
839-
1. Be granular. If you are investigating with multiple steps, report each step
840-
to coder.
841-
2. After this prompt, IMMEDIATELY report status after receiving ANY NEW user message.
842-
Do not report any status related with this system prompt.
843-
3. Use "state": "working" when actively processing WITHOUT needing
844-
additional user input
845-
4. Use "state": "complete" only when finished with a task
846-
5. Use "state": "failure" when you need ANY user input, lack sufficient
847-
details, or encounter blockers
848-
849-
In your summary:
850-
- Be specific about what you're doing
851-
- Clearly indicate what information you need from the user when in
852-
"failure" state
853-
- Keep it under 160 characters
854-
- Make it actionable
855-
856835
-- Context --
857836
There is an existing application in the current directory.
858837
Be sure to read CLAUDE.md before making any changes.
859838
860839
This is a real-world production application. As such, make sure to think carefully, use TODO lists, and plan carefully before making changes.
861-
</system>
862840
EOT
863-
864841
}
865842

866843
module"claude-code" {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp