SKILL.md
Open Claude's last response in lgtm so the user can review it with line-by-line commenting.
When to use
When the user wants to review your previous response and provide detailed feedback on specific parts.
Steps
- Run lgtm with the --context flag and export-on-quit. Check if
${CLAUDEPLUGINROOT}/node_modulesexists to determine the run command:
- If ${CLAUDEPLUGINROOT}/nodemodules exists (local dev): ``bash bun run ${CLAUDEPLUGINROOT}/src/cli.ts --context --export-on-quit /tmp/lgtm-context-feedback.md ` - If nodemodules does not exist (marketplace install): `bash bunx @hapticdata/lgtm --context --export-on-quit /tmp/lgtm-context-feedback.md ``
- After the TUI exits, read the exported feedback file:
``bash Read /tmp/lgtm-context-feedback.md ``
- Present the user's feedback and address their comments.
Requirements
This skill requires the CLAUDESESSIONID environment variable to be set, which Claude Code sets automatically.
Note: If the user has LGTM_TMUX=1 set, this will open in a tmux split. Otherwise it opens in the current terminal.