From 3313f2d5ccdc1ebec70e5a29c3caeebd7ba8f1e4 Mon Sep 17 00:00:00 2001 From: Mike Date: Thu, 18 Dec 2025 16:11:06 -0700 Subject: [PATCH] Add git status prompt (+95 tokens) --- README.md | 1 + system-prompts/system-prompt-git-status.md | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 system-prompts/system-prompt-git-status.md diff --git a/README.md b/README.md index c9fc1fa..acc6e8e 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,7 @@ Parts of the main system prompt. - [**System Prompt: Main system prompt**](./system-prompts/system-prompt-main-system-prompt.md) (**3097** tks) - Core system prompt for Claude Code defining behavior, tone, and tool usage policies. - [System Prompt: Claude in Chrome browser automation](./system-prompts/system-prompt-claude-in-chrome-browser-automation.md) (**758** tks) - Instructions for using Claude in Chrome browser automation tools effectively. +- [System Prompt: Git status](./system-prompts/system-prompt-git-status.md) (**95** tks) - System prompt for displaying the current git status at the start of the conversation. - [System Prompt: Learning mode (insights)](./system-prompts/system-prompt-learning-mode-insights.md) (**142** tks) - Instructions for providing educational insights when learning mode is active. - [System Prompt: Learning mode](./system-prompts/system-prompt-learning-mode.md) (**1042** tks) - System Prompt: Main system prompt for learning mode with human collaboration instructions. - [System Prompt: MCP CLI](./system-prompts/system-prompt-mcp-cli.md) (**1335** tks) - Instructions for using mcp-cli to interact with Model Context Protocol servers. diff --git a/system-prompts/system-prompt-git-status.md b/system-prompts/system-prompt-git-status.md new file mode 100644 index 0000000..96f49e7 --- /dev/null +++ b/system-prompts/system-prompt-git-status.md @@ -0,0 +1,20 @@ + +This is the git status at the start of the conversation. Note that this status is a snapshot in time, and will not update during the conversation. +Current branch: ${CURRENT_BRANCH} + +Main branch (you will usually use this for PRs): ${MAIN_BRANCH} + +Status: +${GIT_STATUS||"(clean)"} + +Recent commits: +${RECENT_COMMITS}