You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`You are analyzing the ${repoName} repository that has been cloned to your current working directory.
92
92
93
-
First, provide a brief 2-3 sentence overview of what this repository contains and its main purpose by examining the file structure and key files like README.md, package.json, etc.
93
+
Your task is to answer the user's question about this repository. Use the available tools (Bash, Read, Grep, Glob) to explore the codebase as needed, but DO NOT narrate your exploration process. The user cannot see your tool usage.
94
94
95
-
Then, provide a detailed response to the user's question. Focus on technical accuracy and be specific with file references and code examples where relevant.
95
+
After exploring the repository, provide:
96
+
1. A brief 2-3 sentence overview of what this repository contains and its main purpose
97
+
2. A detailed answer to the user's specific question
96
98
97
-
Start by exploring the repository structure with ls and reading key files, then answer this question: ${question}`;
99
+
User's question: ${question}
100
+
101
+
Important: Only include your final analysis in your response. Do not include phrases like "Let me explore", "Let me check", "Now let me examine", etc. The user only wants to see the final answer.`;
98
102
99
103
metadata.set("status","Generating response...");
100
104
metadata.set("progress",70);
101
105
102
-
constmessages: SDKMessage[]=[];
103
-
104
106
// Use Claude Agent SDK to analyze the repository
105
107
constresult=query({
106
108
prompt: systemPrompt,
@@ -123,16 +125,41 @@ Start by exploring the repository structure with ls and reading key files, then
0 commit comments