Our review
Opens a plan file in the lgtm TUI for user review and collects feedback after the user quits.
Strengths
- Integrates smoothly with plan file workflows
- Exports feedback automatically on exit
- Supports both local dev and marketplace installation
- Works in tmux or current terminal
Limitations
- Requires lgtm to be installed and configured
- Only works with plan files, not arbitrary markdown
- Feedback is read as plain text, not structured
Use after generating a plan file to get user feedback before proceeding with implementation.
Do not use for simple yes/no approvals or when the user prefers inline feedback in the conversation.
Security analysis
CautionThe skill executes a third-party TUI tool from npm using bunx, which could potentially contain malicious code or vulnerabilities. The use of tmux adds a minor risk of session interference, but the overall purpose is safe.
- •Uses third-party npm package via bunx, introducing supply chain risk.
- •Uses tmux, which can split terminal and may interact with other sessions if not properly isolated.
Examples
Open the plan file for reviewI've generated a plan, let me review it before we proceed.name: lgtm-plan description: Open the current plan file in lgtm for user review allowed-tools: Bash(bun run *), Bash(bunx *), Bash(tmux *), Read
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.
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.