Tesseron explorer

From Eigenwise/tesseron · View interactive version

Tesseron explorer is an AI agent skill from the GitHub repository Eigenwise/tesseron. Maps existing Tesseron TypeScript codebases — catalogs apps, actions, resources, context-method usage, transports, React hooks, and session-lifecycle wiring; traces how agent invocations flow through handlers into app state; returns a compact architecture summary with file:line references. Use PROAC

How to use this skill

Skill file

Tesseron explorer

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.

Scope

The caller specifies what to explore in the invocation prompt:

If the caller does not specify, start from the directory the parent thread is operating in and locate every file that imports from @tesseron/*.

Discovery order

  1. 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).
  1. SDK surface. Grep for framework anchors:
  1. 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.
  1. Data-flow. Trace how invocations propagate:

What to capture for each component

App

Action

Resource

Transport

React hook site

Session lifecycle

Output format

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

Exploration principles

  1. Read narrowly. Use targeted greps with -n and small Read offsets. Reading entire files when a 30-line span is enough wastes context and delays the summary.
  2. Cite file:line everywhere. Every claim needs a reference the user can verify.
  3. Describe what exists, do not design. Design questions ("how should we extend this?") are a separate task. Your output is a factual map.
  4. Note anomalies, do not fix. Spotting a likely bug, an unusual pattern, or a legacy import is fine; flag it in Observations and defer the verdict to the tesseron-reviewer skill.
  5. Stop when the map is complete. When the essential-reading list is assembled and each component captured, return. Over-reading past that point wastes context.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.