From tesseron
Maps Tesseron TypeScript codebases — catalogs apps, actions, resources, context-method usage, transports, React hooks, and session-lifecycle wiring with file:line references.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tesseron:tesseron-explorerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Map an existing Tesseron TypeScript application — its app manifests, actions, resources, context-method usage, transports, React hooks, and session lifecycle — and return a compact summary the caller can act on without re-reading the files themselves.
Map an existing Tesseron TypeScript application — its app manifests, actions, resources, context-method usage, transports, React hooks, and session lifecycle — and return a compact summary the caller can act on without re-reading the files themselves.
The caller specifies what to explore in the invocation prompt:
packages/core, examples/react-todo).If the caller does not specify, start from the directory the parent thread is operating in and locate every file that imports from @tesseron/*.
Project shape. Read package.json (root and workspace packages) for workspace layout, dependency versions, and scripts. Grep for "@tesseron/ in all package.json files to identify which packages are consumers (@tesseron/web, /server, /react) and which are the SDK itself. Identify entry points (src/main.ts, src/main.tsx, src/app.tsx, src/index.ts, vite.config.ts, tsconfig.json).
SDK surface. Grep for framework anchors:
from '@tesseron/web' / from '@tesseron/server' / from '@tesseron/react' / from '@tesseron/core' — consumer imports.tesseron.app( — app manifest registration.tesseron.action( / .action( — action builder chains.tesseron.resource( / .resource( — resource builder chains.tesseron.connect( — session handshake sites.useTesseronAction( / useTesseronResource( / useTesseronConnection( — React hook sites.ctx.sample( / ctx.confirm( / ctx.elicit( / ctx.progress( / ctx.log( / ctx.signal — context method use.ResumeCredentials / resumeToken / sessionId — resume-flow persistence.BrowserWebSocketTransport / NodeWebSocketServerTransport / @tesseron/vite plugin / implements Transport — transport wiring.TesseronError / SamplingNotAvailableError / ElicitationNotAvailableError / TimeoutError / ResumeFailedError — error handling.Component mapping. For each match, open just enough of the file to capture the component's shape. Do not read the whole file if a targeted span will do.
Data-flow. Trace how invocations propagate:
actions/invoke → handler → state mutation → subscribers → resources/updated notifications.tesseron/hello or tesseron/resume → welcome → ongoing invocations.ctx.sample / ctx.confirm / ctx.elicit round-trips.App
id and name — file:line of tesseron.app(...) call.description, origin, version.tesseron.connect(...)) or elsewhere (e.g. React useTesseronConnection at app root).Action
.strictOutput() is set.readOnly / destructive / requiresConfirmation).sample / confirm / elicit / progress / log / signal forwarding.Resource
read() reader (pure vs impure), subscribe() wiring (initial emit, callback registry, cleanup function).$effect / watch).Transport
BrowserWebSocketTransport (client, dials a /@tesseron/ws bridge), NodeWebSocketServerTransport (server, hosts a loopback endpoint and writes a tab file), custom postMessage, in-memory for tests.@tesseron/vite is configured (required in v2.0 — it bridges browser tabs to the gateway via /@tesseron/ws).ConnectOptions.resume is wired.React hook site
useTesseronAction: action name, closure captures, whether handler uses fresh state via refs.useTesseronResource: shorthand (function) vs full options, subscribe pattern.useTesseronConnection: where it mounts (root vs nested), connection state consumer (claim-code UI, error banner, etc.).Session lifecycle
resumeToken rotates on every successful resume).## Codebase Map: <project or feature name>
### Overview
<two or three sentences on what the app exposes to Claude, which stack it uses, and which transport/gateway pattern is in play>
### Entry points
- `<path>:<line>` — <role>
### Apps
- **<AppId>** (`<path>:<line>`). <one-sentence purpose>. Description=<...>. Connects via <transport + URL>. Resume: <persisted? where?>.
### Actions
- **<actionName>** — `<path>:<line>`. <one-sentence purpose>. Input=<shape>, Output=<shape or "none">, Strict=<yes/no>, Annotations=<readOnly/destructive/confirm>, Timeout=<default or override>. Context use: <sample/confirm/elicit/progress/log/signal>. Side effects: <...>.
### Resources
- **<resourceName>** — `<path>:<line>`. <one-sentence purpose>. Read=<pure/impure>, Subscribe=<yes/no>. Emitter wiring: <where the app triggers updates>.
### Transports
- `<path>:<line>` — <implementation>. Target: <URL>. Options: <resume? allowlist? timeout?>.
### React hooks (if applicable)
- `<path>:<line>` — `useTesseronAction('<name>', ...)` / `useTesseronResource(...)` / `useTesseronConnection(...)`. Closure pattern: <fresh state via ref / stable closure / other>.
### Session lifecycle
<how hello/resume happens, where claim code surfaces, how credentials persist, where disconnect is handled>
### Data flow
<ASCII / short prose: Gateway → handler → state → subscribers, plus any sample/elicit round-trips>
### Essential reading list
Prioritized files the caller should open to understand the system further, with a one-line reason per file.
### Observations (optional)
Flag notable patterns, risks, or anomalies. Do not review — just point out what seems structurally interesting. Hand detailed review off to the `tesseron-reviewer` skill.
Keep the total map focused. Token ceiling: aim for one or two screens of Markdown plus the essential-reading list. For larger codebases, produce a two-level map: a top-level shape + one level of detail per component, and dive deeper only where the user asks.
-n and small Read offsets. Reading entire files when a 30-line span is enough wastes context and delays the summary.tesseron-reviewer skill.npx claudepluginhub eigenwise/tesseron --plugin tesseronReviews Tesseron TypeScript code for framework- and protocol-specific defects — manifest hygiene, builder invariants, capability checks, async handling, and React hook registration.
Runs a 7-phase codebase analysis using typegraph-mcp tools, producing a detailed architectural report. Useful when onboarding to an unfamiliar codebase or before making significant changes.
Generates a developer guide for unfamiliar codebases by scanning structure, mapping architecture, detecting conventions, analyzing key modules, and providing setup instructions.