How powerpratik/ste-mode works
ste-mode is a Claude Code writing-style plugin. Its main workflow is: a new session runs the SessionStart hook, which checks the opt-out file and adds the STE rules when the file is absent. The /ste command changes that file and can apply the rules immediately. The README documents these behaviors; no source excerpts were provided, so implementation details and the registration-to-handler link are not inferred.
Main entry points: session-start.sh SessionStart hook · commands/ste.md STE command · rules/ste.md STE rules · hooks.json Hook registration
Components 6
Session activation
- SessionStart hook
hooks-handlers/session-start.sh - Hook registration
hooks/hooks.json
Mode controls
- STE command
commands/ste.md - Opt-out file
Writing rules
- STE rules
rules/ste.md
Other components
- Claude Code session
Connections 6
- Claude Code session → SessionStart hook: starts session
README.md - SessionStart hook → Opt-out file: checks state
README.md - SessionStart hook → STE rules: adds rules
README.md - STE command → Opt-out file: creates or removes
README.md - STE command → STE rules: applies now
README.md - Hook registration → SessionStart hook: registers