Skip to main content
ClaudeWave
ES, Spanish
Skill1.4k estrellas del repoactualizado 6d ago

vellum-test-selection

Vellum Test Selection guides developers on running focused verification commands for Vellum Assistant repository changes. Use this skill to determine which tests, typechecks, and lints to run after editing files, especially before commits and pull requests, avoiding the timeout risks of running the full test suite across multiple packages.

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/vellum-ai/vellum-assistant /tmp/vellum-test-selection && cp -r /tmp/vellum-test-selection/.cursor/skills/vellum-test-selection ~/.claude/skills/vellum-test-selection
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

# Vellum Test Selection

## Core Rule

Never run unscoped `bun test` in this repository. The full suite is large and can hang or time out. Choose focused tests based on changed files, then add typechecking when the change affects shared contracts or cross-package behavior.

## Setup

Before any Bun command:

```bash
export PATH="$HOME/.bun/bin:$PATH"
```

Run commands from the package directory that owns the changed files, usually `assistant`, `gateway`, `cli`, `clients/web`, or `clients/macos`.

## Selection Workflow

1. List changed files and group them by package.
2. For direct implementation/test pairs, run the matching test file.
3. For route, protocol, migration, IPC, provider, or schema changes, run nearby tests plus a package typecheck.
4. For shared TypeScript contracts, run tests for each consumer package that imports the contract.
5. For Swift or macOS client changes, prefer the existing platform-specific test command if one is already used in nearby docs or terminal history.
6. If a command is expected to be long-running, state that before running it.

## Common Commands

Assistant focused test:

```bash
cd assistant && bun test src/path/to/file.test.ts
```

Assistant test grep:

```bash
cd assistant && bun test src/path/to/file.test.ts --grep "case name"
```

Assistant typecheck:

```bash
cd assistant && bunx tsc --noEmit
```

Gateway focused test:

```bash
cd gateway && bun test src/path/to/file.test.ts
```

## Risk-Based Additions

Add typecheck when edits touch:

- exported TypeScript types or schemas
- route request/response shapes
- daemon/client protocols
- migrations and registry wiring
- package boundary imports
- provider abstractions
- feature flag registry or resolver code

Add migration tests when edits touch:

- `assistant/src/persistence/migrations/`
- `assistant/src/workspace/migrations/`
- persisted workspace files
- database schema modules

## Reporting

When proposing or running verification, explain why each command is selected and note anything intentionally skipped.
acpSkill

Set up, authenticate, and run external coding agents (Claude Code, Codex) via the Agent Client Protocol

amazonSkill

Shop on Amazon and Amazon Fresh through your browser

api-mappingSkill

Record and analyze API surfaces of web services

app-builderSkill

Build and edit small, personal visual tools and artifacts — dashboards, trackers, calculators, data visualizations, charts, simple landing pages, and slide decks the user wants for THEMSELVES. This is the right skill whenever the user asks to "visualize this," "make a chart," or "build an artifact" for their own use, or to edit an app they already built here. Do NOT reach for a ui_show dynamic_page to fake an artifact — build a real persistent app here. A one-off diagram, chart, or explainer that just accompanies an answer belongs to the visualize skill (ui_show visual), not an app. NOT for complex, multi-user, or shippable products — those go to a real project folder with a coding agent (see Scope below).

app-controlSkill

Drive a specific named macOS app via raw input bypassing the Accessibility tree

assistant-migrationSkill

Migrate from ChatGPT, Claude, OpenClaw, Hermes, Manus, and other AI assistants into Vellum by inspecting their data exports, conversation archives, files, prompts, custom instructions, memory, saved memories, tools, GPTs, workflows, integrations, and relationships, then mapping as much as safely possible into Vellum primitives. Handles single-source and multi-source migrations with a unified, deduplicated inventory.

chat-complex-documentsSkill

Chat with and search your complex documents — ask questions, extract tables and fields, and get answers grounded in the source. Connects the hosted Unstructured Transform MCP server to parse, structure, and enrich PDFs, Word/Excel/PowerPoint, images, scanned files, emails, and 60+ other formats into clean, AI-ready text for search, Q&A, and summarization without building a custom parsing pipeline.

chatgpt-importSkill

Import conversation history from ChatGPT into Vellum