Ouvrir le plan dans lgtm pour révision

VérifiéPrudence

Ouvre le fichier de plan actuel dans lgtm pour que l'utilisateur le révise. Utilisé après la génération d'un plan, ce skill permet à l'utilisateur de donner son avis, puis lit et retourne ce feedback dans la conversation.

Spar Skills Guide Bot
DeveloppementIntermédiaire
6002/06/2026
Claude Code
#plan-review#feedback#lgtm#workflow

Recommandé pour

Notre avis

Ouvre un fichier de plan dans l'interface TUI lgtm pour révision par l'utilisateur et récupère les commentaires après sa sortie.

Points forts

  • S'intègre facilement aux workflows de planification
  • Exporte automatiquement les commentaires à la sortie
  • Prend en charge le développement local et l'installation via le marketplace
  • Fonctionne dans tmux ou le terminal courant

Limites

  • Nécessite que lgtm soit installé et configuré
  • Ne fonctionne qu'avec des fichiers de plan, pas du Markdown arbitraire
  • Les commentaires sont lus comme du texte brut, non structurés
Quand l'utiliser

À utiliser après avoir généré un fichier de plan pour recueillir les commentaires de l'utilisateur avant de passer à l'implémentation.

Quand l'éviter

Ne pas utiliser pour des approbations simples ou lorsque l'utilisateur préfère des commentaires en ligne dans la conversation.

Analyse de sécurité

Prudence
Score qualité75/100

The 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.

Points d'attention
  • 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.

Exemples

Open plan file for review
Open the plan file for review
Review current plan
I'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

  1. Determine the export path based on the plan file basename:

    /tmp/lgtm-plan-{basename}.md
    
  2. 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:

    • If ${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
      
    • If node_modules does not exist (marketplace install):
      bunx @hapticdata/lgtm $ARGUMENTS --export-on-quit /tmp/lgtm-plan-{basename}.md
      
  3. After the TUI exits, read the exported feedback file:

    Read /tmp/lgtm-plan-{basename}.md
    
  4. 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.

Skills similaires