Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 17:58:59 +08:00
commit fecb855923
12 changed files with 864 additions and 0 deletions

40
hooks/load-default-style.sh Executable file
View File

@@ -0,0 +1,40 @@
#!/bin/bash
# Style par défaut : Ultra Concise
DEFAULT_STYLE="ultra-concise"
# Contenu du style Ultra Concise
STYLE_INSTRUCTIONS="**Style de réponse actif : Ultra Concise**
Pour toutes les réponses suivantes, applique ce style :
Use absolute minimum words. No explanations unless critical. Direct actions only.
- No greetings, pleasantries, or filler
- Code/commands first, brief status after
- Skip obvious steps
- Use fragments over sentences
- Single-line summaries only
- Assume high technical expertise
- Only explain if prevents errors
- Tool outputs without commentary
- Immediate next action if relevant
- We are not in a conversation
- We DO NOT like WASTING TIME
- IMPORTANT: We're here to FOCUS, BUILD, and SHIP
---
💡 Styles disponibles : /style:bullet-points, /style:ultra-concise, /style:markdown-focused, /style:table-based, /style:yaml-structured, /style:html-structured, /style:genui"
# Retourner le contexte en JSON
cat <<EOF
{
"hookSpecificOutput": {
"hookEventName": "SessionStart",
"additionalContext": $(echo "$STYLE_INSTRUCTIONS" | jq -Rs .)
}
}
EOF
exit 0