smithery/hapticdata

lgtm-plan

Open the current plan file in lgtm for user review

Installation

$ npx skills add smithery/hapticdata --skill lgtm-plan

Also in this package

Other skills from smithery/hapticdata.

npx skills add smithery/hapticdata

Browse all from smithery/hapticdata

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsBash(bun run *), Bash(bunx *), Bash(tmux *), Read

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,335 B
  • docs SUMMARY.md 67 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

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 ``

  1. Run lgtm with export-on-quit (use the unique export path from step 1). Check if ${CLAUDEPLUGINROOT}/node_modules exists to determine the run command:

- If ${CLAUDEPLUGINROOT}/nodemodules exists (local dev): ``bash bun run ${CLAUDEPLUGINROOT}/src/cli.ts $ARGUMENTS --export-on-quit /tmp/lgtm-plan-{basename}.md ` - If nodemodules does not exist (marketplace install): `bash bunx @hapticdata/lgtm $ARGUMENTS --export-on-quit /tmp/lgtm-plan-{basename}.md ``

  1. After the TUI exits, read the exported feedback file:

``bash Read /tmp/lgtm-plan-{basename}.md ``

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