Skip to content

Update skills to use view-inspect for sightmap selector discovery#12

Open
joelgwebber wants to merge 1 commit intomainfrom
joel/inspect-updates
Open

Update skills to use view-inspect for sightmap selector discovery#12
joelgwebber wants to merge 1 commit intomainfrom
joel/inspect-updates

Conversation

@joelgwebber
Copy link
Copy Markdown
Contributor

Summary

  • Replaces the JS eval hack in recipe-sightmap-setup with live-view-inspect() for CSS selector discovery
  • Adds live-view-inspect and review-inspect to the live and session tool catalogs
  • Adds guidance that inspect is for sightmap authoring only, not general snapshot use

Companion to cowpaths/mn#102544 which adds the inspect tools to the MCP server.

Test plan

  • Verified inspect tool returns selectors on subtext-local (live + review)
  • Review skill prose for clarity

🤖 Generated with Claude Code

The sightmap setup recipe previously used live-eval-script with JS
one-liners to discover CSS selectors — a hack born from snapshots not
exposing selector info. Replace with live-view-inspect, which returns
the full component tree with tag, id, classes, and attributes natively.

Also adds view-inspect / review-inspect to the live and session tool
catalogs, with clear guidance that these are for sightmap authoring
only — not as a general snapshot replacement.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@jurassix jurassix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants