/subtext:subtext-sightmapfrom subtext
Connects a project's .sightmap/ corpus to Subtext session review, enriching snapshots and traces with semantic component names and memory guides instead of generic a11y roles.
Ships in subtext. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
PREREQUISITE: Read
subtext-sharedfor MCP conventions.
Subtext's session tools understand sightmap — a .sightmap/ corpus (checked
into a project's repo) that names an app's views, components, and API
requests, with optional memory notes. Feed that corpus to a review and
snapshots/traces come back annotated with semantic names and memory guides
instead of generic a11y roles.
The corpus itself is authored with the bundled sightmap skills — use them directly:
sightmap-authoring — build and maintain .sightmap/ YAML (components,
views, requests, memory). The full schema reference lives here.sightmap-browser — drive a live browser to read page state and verify
coverage before/after edits.Both drive the sightmap CLI. If it isn't on PATH, install it
(npm install -g @sightmap/sightmap) — see those skills' Installation sections.
When a project has a .sightmap/ directory, upload it to the session so the
output is enriched. There are two ways; prefer the side-band upload for any
real corpus.
review-open returns a single-use sightmap_upload_url in its response. Upload
the checked-in corpus to that URL with the sightmap CLI, from the project root:
# run from the project root (where .sightmap/ lives):
sightmap export --url <sightmap_upload_url>
sightmap export finds the nearest .sightmap/ at or above the current directory,
compiles it through the Go loader — the single source of truth, shared with the
server-side reader, so the two ends can't drift — and POSTs the whole canonical
wire: components (including view-scoped ones, flattened to the compound
selectors the matcher expects), views/routes, requests, messages,
memory, and authored tags. No extra auth; the URL carries its own token.
Needs the sightmap binary on PATH (installed above).
Matched names then appear in review-snapshot component trees and review-zoom
signals — component names on interactions, plus view and network annotations from
the uploaded routes/requests — and memory entries surface as an orientation guide.
Upload promptly. The
sightmap_upload_urltoken is single-use and time-limited — a stale one returns401 invalid or expired nonce. Run the upload right afterreview-open, before anyreview-zoom/review-snapshot.
review-open (small sets / no binary)Without the sightmap binary, or for a handful of flat, hand-written definitions,
review-open also accepts a sightmap array (component definitions: name,
selectors, optional memory, source) and a top-level memory array directly.
The array takes already-flattened compound selectors, so nested components must
be flattened by hand (each parent selector prefixed onto its children) — which is
why the side-band upload is preferred for anything real. Either way, keep the
.sightmap/ corpus the source of truth: edit the YAML and re-upload — don't paste
one-off definitions that aren't checked in.
sightmap-authoring, sightmap-browser — the corpus skills (bundled).subtext-session — the review-* tool catalog.subtext-shared — MCP conventions.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
sightmap, subtext, component-naming, session-review, corpus-upload
11 skills in this plugin
/sightmap-authoringUse when building or maintaining a sightmap corpus — defining components, authoring .sightmap/ YAML, seeding from a live site or the codebase, running snapshot/coverage/validate/lint, or diagnosing coverage gaps. Activate whenever a .sightmap/ directory is present in the project./sightmap-browserUse when driving a live browser session with a sightmap — starting or navigating a Chrome session, taking annotated component snapshots to read page state, and interacting with elements by component ID or component query. Activate when a .sightmap/ directory is present and you need to observe or act on the running app./subtext-privacyPrivacy rule management — detect PII in sessions and manage element-block, URL, and network privacy rules. Use when you need to propose, create, list, delete, or promote privacy rules for a Fullstory org./subtext-reviewReview a completed Subtext session and produce a structured summary. Use when you have a session URL and want to understand what happened — verify a flow, walk through a dev / staging / preview session, or summarize a captured session. Optionally emits reproduction steps on request./subtext-searchFind Subtext sessions by what happened in them — a predicate tree over page navigations, custom events, and failed network requests within a time window — then hand a match off to session review. Use when you don't have a session URL and need sessions matching a behavior, not a specific user./subtext-sessionSession replay tools for analyzing Fullstory session recordings. Sparse API catalog — tools are self-describing.npx claudepluginhub fullstorydev/subtext --plugin subtextOther plugins' skills for the same job