بنقرة واحدة
lgtm-plan
Open the current plan file in lgtm for user review
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Open the current plan file in lgtm for user review
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| 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.
After generating a plan file, invoke this skill to open it for user review.
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_modules exists to determine the run command:
${CLAUDE_PLUGIN_ROOT}/node_modules exists (local dev):
bun run ${CLAUDE_PLUGIN_ROOT}/src/cli.ts $ARGUMENTS --export-on-quit /tmp/lgtm-plan-{basename}.md
node_modules does not exist (marketplace install):
bunx @hapticdata/lgtm $ARGUMENTS --export-on-quit /tmp/lgtm-plan-{basename}.md
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.