Lgtm plan
Open the current plan file in lgtm for user reviewFrom its SKILL.md
npx -y skills add hapticdata/lgtm --skill lgtm-planAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.3 KB, as published. Nobody here has run it
Open the plan file in lgtm so the user can review and add feedback. After the user quits the TUI, read their feedback and return it to the conversation.
When to use
After generating a plan file, invoke this skill to open it for user review.
Steps
-
Determine the export path based on the plan file basename:
/tmp/lgtm-plan-{basename}.md -
Run lgtm with export-on-quit (use the unique export path from step 1). Check if
${CLAUDE_PLUGIN_ROOT}/node_modulesexists to determine the run command:- If
${CLAUDE_PLUGIN_ROOT}/node_modulesexists (local dev):bun run ${CLAUDE_PLUGIN_ROOT}/src/cli.ts $ARGUMENTS --export-on-quit /tmp/lgtm-plan-{basename}.md - If
node_modulesdoes not exist (marketplace install):bunx @hapticdata/lgtm $ARGUMENTS --export-on-quit /tmp/lgtm-plan-{basename}.md
- If
-
After the TUI exits, read the exported feedback file:
Read /tmp/lgtm-plan-{basename}.md -
Present the user's feedback and incorporate it into your response.
Note: If the user has LGTM_TMUX=1 set, this will open in a tmux split. Otherwise it opens in the current terminal.