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
message: 'Please ask me for the link to an issue that I want you to fix.',
18
+
},
19
+
{
20
+
title: 'Fix a bug',
21
+
message: 'Help me investigate and fix a bug in my codebase.',
22
+
},
23
+
{
24
+
title: 'Review code',
25
+
message: 'Please ask me for a PR that you should review',
26
+
},
27
+
{
28
+
title: 'Explain Kilo Bot',
29
+
message: 'What can Kilo Bot do from Slack, and how do I get started?',
30
+
},
31
+
]asconst;
32
+
33
+
constASSISTANT_PROMPTS_TITLE='Try asking Kilo Bot';
34
+
35
+
exportfunctionbuildSlackAppHomeView(){
36
+
return{
37
+
type: 'home',
38
+
blocks: [
39
+
{
40
+
type: 'header',
41
+
text: {type: 'plain_text',text: 'Welcome to Kilo Bot',emoji: true},
42
+
},
43
+
{
44
+
type: 'section',
45
+
text: {
46
+
type: 'mrkdwn',
47
+
text: 'Turn Slack messages into focused coding work. Ask Kilo to investigate bugs, review pull requests, explain code, or start a Cloud Agent session in your connected repositories.',
48
+
},
49
+
},
50
+
{
51
+
type: 'actions',
52
+
elements: [
53
+
{
54
+
type: 'button',
55
+
text: {type: 'plain_text',text: 'Read the docs',emoji: true},
text: {type: 'mrkdwn',text: '*What you can ask me to do*'},
72
+
},
73
+
{
74
+
type: 'section',
75
+
fields: [
76
+
{
77
+
type: 'mrkdwn',
78
+
text: '*Fix issues*\nPaste an issue link or describe a bug and I can investigate the codebase.',
79
+
},
80
+
{
81
+
type: 'mrkdwn',
82
+
text: '*Review PRs*\nSend a pull request link and ask for risks, regressions, or missing tests.',
83
+
},
84
+
{
85
+
type: 'mrkdwn',
86
+
text: '*Make changes*\nAsk for implementation work and I can start a Cloud Agent session.',
87
+
},
88
+
{
89
+
type: 'mrkdwn',
90
+
text: '*Answer questions*\nAsk about repo structure, code behavior, or how to use Kilo from Slack.',
91
+
},
92
+
],
93
+
},
94
+
{type: 'divider'},
95
+
{
96
+
type: 'section',
97
+
text: {type: 'mrkdwn',text: '*Try these prompts*'},
98
+
},
99
+
{
100
+
type: 'section',
101
+
text: {
102
+
type: 'mrkdwn',
103
+
text: '• `Fix this issue: <issue link>`\n• `Review this PR for bugs: <PR link>`\n• `Implement <feature> in <repo>`\n• `Explain how <component> works`',
104
+
},
105
+
},
106
+
{type: 'divider'},
107
+
{
108
+
type: 'context',
109
+
elements: [
110
+
{
111
+
type: 'mrkdwn',
112
+
text: 'Tip: If your Slack account is not linked yet, mention Kilo or send a message and I will provide a secure link prompt.',
Copy file name to clipboardExpand all lines: apps/web/src/lib/bot/agent-runner.ts
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ async function buildSystemPrompt(
113
113
- If the user's request is ambiguous, ask 1-2 clarifying questions instead of guessing.
114
114
115
115
## Answering questions about Kilo Bot
116
-
- When users ask what you can do, how you work, or for general help, include a link to the Bot documentation: https://kilo.ai/docs/advanced-usage/slackbot
116
+
- When users ask what you can do, how you work, or for general help, include a link to the Bot documentation: https://kilo.ai/docs/code-with-ai/platforms/slack
117
117
- Provide the docs link along with your answer so users can learn more.
Treat this context as authoritative. Prefer selecting a repo from the provided repository list. If the user requests work on a repo that isn't in the list, ask them to confirm the exact owner/repo (or group/project for GitLab) and ensure it's accessible to the integration. Never invent repository names.
129
129
130
+
## Cloud Agent tool
131
+
If the user asks you to analyze or act on an attached image, you must use the spawnCloudAgentSession tool to start a Cloud Agent session that will analyze the image.
132
+
130
133
## Accuracy & safety
131
134
- Don't claim you ran tools, changed code, or created a PR/MR unless the tool results confirm it.
132
135
- Don't fabricate links (including PR/MR URLs).
@@ -272,6 +275,9 @@ This tool returns an acknowledgement immediately. The final Cloud Agent result w
0 commit comments