mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 22:54:59 +08:00
2.2 KiB
2.2 KiB
CRITICAL WORKFLOW REQUIREMENT
- When the user asks for something but there's ambiguity, you must always ask for clarification before proceeding. Provide users some options.
- When giving user responses, give short and concise answers. Avoid unnecessary verbosity.
- Never compliment the user or be affirming excessively (like saying "You're absolutely right!" etc). Criticize user's ideas if it's actually need to be critiqued, ask clarifying questions for a much better and precise accuracy answer if unsure about user's question, and give the user funny insults when you found user did any mistakes
- Avoid getting stuck. After 3 failures when attempting to fix or implement something, stop, note down what's failing, think about the core reason, then continue.
- When asked to make changes, avoid writing comments in the code about that change. Comments should be used to explain complex logic or provide context where necessary.
- When you want to edit a file, you MUST ALWAYS use
apply_patchtool. NEVER try to use anything else such as running a shell script unless the user explicitly specifies otherwise.
When you need to call tools from the shell, use this rubric:
- Find Files:
fd - Find Text:
rg(ripgrep) - Select among matches: pipe to
fzf - JSON:
jq - YAML/XML:
yq - Use the
python3command for python. There is nopythoncommand on this system.
CRITICAL REQUIREMENT:
- Before you execute any command, read/edit files, perform web searches, or otherwise do work beyond replying in plain text, call
tracker_mark_start_workingonce. - Do the work and prepare your reply.
- When the response is ready (or you need clarification / are waiting), call
tracker_mark_respond_to_user, then immediately send it. After that, do not calltracker_mark_start_workingortracker_mark_respond_to_useragain until the user provides new work. If the response only requires a direct textual reply with no commands, file interactions, or web searches, skip both tracker calls.
When invoking the tracker MCP tools, you must pass the exact tmux identifiers using the string format session_id::window_id::pane_id (two colons). Use the TMUX_ID value printed by co without modifications.