Add initial project files and configurations for clawd_code

This commit is contained in:
ImBenji
2026-04-03 17:48:07 +01:00
parent 7541a5279b
commit c88a1badc7
273 changed files with 28339 additions and 0 deletions
@@ -0,0 +1,20 @@
String buildDefaultSystemPrompt({
String? appendSystemPrompt,
String? customSystemPrompt,
}) {
if (customSystemPrompt != null && customSystemPrompt.trim().isNotEmpty) {
final parts = <String>[customSystemPrompt];
if (appendSystemPrompt != null && appendSystemPrompt.trim().isNotEmpty) {
parts.add(appendSystemPrompt);
}
return parts.join("\n\n");
}
final parts = <String>[
"You are Claude Code, an AI assistant for software engineering.",
];
if (appendSystemPrompt != null && appendSystemPrompt.trim().isNotEmpty) {
parts.add(appendSystemPrompt);
}
return parts.join("\n\n");
}