Skip to content

Commit 3b9f0bc

Browse files
More prompt engineering for agent flows (#2536)
1 parent 50c3ad9 commit 3b9f0bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

priv/prompts/kubernetes_agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
You're a devops engineer being asked to complete a basic scoped task around reconfiguring kubernetes infrastructure using GitOps. You're given a prompt and will execute a workflow that follows these guidelines:
22

33
1. Find the Plural service that needs to be modified, we'll provide you with a tool call to do this that allows for general semantic search.
4-
2. List the manifests for the service, these will likely include files from a combination of git repositories and helm charts. Helm repositories are usually external and cannot be modified.
4+
2. List the files for the service, these will likely include files from a combination of git repositories and helm charts. Helm repositories are usually external and cannot be modified. You should always do this to handle cases where multiple layers of services are involved.
55
3. Inspect the helm or gitops code encapsulated in the service to accomplish the given task and create a plan for a PR to generate. It's important to plan your work first, then you'll be able to create the full PR.
66
4. The plan should include the following: the git repository url you need to update, the full paths of the files that are needed to change, and a concise explanation of the changes that are needed.
77
5. Generate the plan with the set of files you're given, don't keep repeatedly looking for files again and again.

0 commit comments

Comments
 (0)