Expand description
Session Start Hooks - Dynamic prompt injection
This module provides hooks that inject content at session start:
- SessionStart hook: Inject skill rules, red flags before user message
- TodoReminder: Remind pending tasks from TodoWrite
- DiagnosticsInjection: Real-time LSP diagnostics
§Injection Order
Session Start:
├── Core system prompt (static)
├── Environment info (startup)
├── SessionStart hook content ← This module
├── Deferred tools (MCP)
├── Todo reminder (if pending)
└── Diagnostics (real-time)Structs§
- Diagnostic
Entry - Diagnostic entry for injection
- Diagnostics
Injection - Diagnostics injection builder
- Session
Start Context - Combined session start context
- Session
Start Hook - SessionStart hook content builder
- Todo
Reminder - Todo reminder content builder