Initial commit: Flutter 无书应用项目
This commit is contained in:
16
.trae/skills/planning-with-files/.gemini/hooks/after-tool.sh
Normal file
16
.trae/skills/planning-with-files/.gemini/hooks/after-tool.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
# planning-with-files: AfterTool hook for Gemini CLI
|
||||
# Reminds the agent to update progress after file writes.
|
||||
# Reads stdin JSON, outputs JSON to stdout.
|
||||
|
||||
INPUT=$(cat)
|
||||
|
||||
PLAN_FILE="task_plan.md"
|
||||
|
||||
if [ ! -f "$PLAN_FILE" ]; then
|
||||
echo '{}'
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo '{"additionalContext":"[planning-with-files] Update progress.md with what you just did. If a phase is now complete, update task_plan.md status."}'
|
||||
exit 0
|
||||
Reference in New Issue
Block a user