Back to skills
SKILL.md
Aqven Docs
ASecurityLooks up authoritative documentation and TypeScript contracts across AQVEN (@aqven/*), VoltAgent (@voltagent/core), AI SDK (ai), Zod, and data/media libraries (remeda, sharp, etc.). Use first whenever unsure of an API, checking what VoltAgent or installed dependencies already provide natively, choosing a data-manipulation library instead of hand-rolled loops, or resuming after context compaction.
- 5 stars
- 0 votes
- 0 copies
- 0 views
- Added December 3, 2026
Works with
Security analysis
100/100npx -y skills add lastonoga/AQVEN --skill aqven-docs --agent claude-codeAre you the author of Aqven Docs?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/lastonoga-aqven-docs)---
name: aqven-docs
description: Looks up authoritative documentation and TypeScript contracts across AQVEN (@aqven/*), VoltAgent (@voltagent/core), AI SDK (ai), Zod, and data/media libraries (remeda, sharp, etc.). Use first whenever unsure of an API, checking what VoltAgent or installed dependencies already provide natively, choosing a data-manipulation library instead of hand-rolled loops, or resuming after context compaction.
---
# Project & Dependency Documentation Lookup (`aqven-docs`)
## MUST
1. **Check AQVEN + VoltAgent + installed dependencies before writing custom code:** Never reinvent retries, guardrails, workflow checkpoints, message formatting, or collection algorithms that `@aqven/*`, `@voltagent/core`, `ai`, `zod`, or `remeda` already provide natively.
2. **Verify against the exact installed version (`node_modules/` & local docs) — never guess from memory:** Training-cutoff memory frequently confuses Zod v3 vs v4, AI SDK v4 vs v6, or VoltAgent v1 vs v2. Inspect local bundled docs and `.d.ts` files first.
3. **Prefer proven data & media libraries over hand-rolled imperative code:** Use `remeda` for collection pipelines and dedicated media/document libraries in `prepareInput` rather than writing ad-hoc `reduce` loops, regex parsers, or raw byte hacks.
4. **Reload the stage skill + relevant doc page after context compaction** before editing probes, schemas, or agents.
---
## Layer 1: AQVEN Platform Documentation (`@aqven/*`)
Lookup order:
1. **Installed single-file reference:** `node_modules/@aqven/docs/llm.txt` (or `packages/docs/llm.txt` inside the AQVEN monorepo)
2. **Published AI-ready docs:** `https://aqvenstudio.com/llms.txt` -> `https://aqvenstudio.com/llms/<path>.md` (full bundle: `/llms-full.txt`)
3. **Exact TS types:** `node_modules/@aqven/{patterns,matching,runtime,core}`
| Task | AQVEN doc page (`/llms/<path>.md`) | Companion skill |
|---|---|---|
| Architecture, Probes vs Workflows, VoltAgent boundary | `start/architecture.md`, `start/mental-model.md` | `aqven-loop` |
| Quickstart, `$0` validation, first iteration | `start/quickstart.md`, `start/first-iteration.md` | `aqven-loop` |
| Zod contracts (`promptedEnum`, `allowedField`, `withCompleteness`, `mediaPath`/`mediaUrl`/`mediaBase64`/`contentText`/`withContent`) | `core/schemas.md`, `core/llm-failure-modes.md` | `aqven-build` |
| Agents, prompts, inferences, `buildInterleavedMediaMessages` | `core/agents-prompts-inferences.md` | `aqven-models`, `aqven-build` |
| Matchers (`identifierSafeEmbeddingMatcher`, `aliasField`) & L3 merge/shard/schedule helpers (`validateMergeGraph`, `resolveMergeGraph`, `packMergeShards`, `validateScheduleSlots`) | `core/extensibility.md`, `workflows/matching-and-merge.md` | `aqven-build` |
| Escalation ladder (`andAgent`, `andForEach`, `andMerge`, `andCriticLoop`, `andDivergent`) | `workflows/index.md`, `workflows/batching.md`, `workflows/critic-loop.md`, `workflows/divergent.md` | `aqven-build` |
| Production pipeline assembly | `workflows/assembling-pipelines.md` | `aqven-build` |
| Relational `check.*` & `metric.*` algebras, Golden benchmarks, `pass^m` stability, `--matrix` | `evaluate/checks-and-metrics.md`, `evaluate/golden-datasets.md`, `evaluate/stability.md`, `evaluate/experiments-and-gates.md` | `aqven-evaluate` |
| `aqven.config.ts`, concurrency/rate-limit lanes, CLI & MCP (`aqven_matrix_content`, `offset`) | `tooling/config-and-queues.md`, `reference/cli.md`, `reference/mcp.md`, `reference/diagnostics.md` | `aqven-models`, `aqven-debug` |
### First-Stop `@aqven/*` Native Exports (Check Before Hand-Rolling!)
- **`@aqven/patterns`:** `promptedEnum`, `allowedField`, `withCompleteness`, `mediaPath`, `mediaUrl`, `mediaBase64`, `contentText`, `withContent`, `buildInterleavedMediaMessages`, `validateMergeGraph`, `resolveMergeGraph`, `packMergeShards`, `selectCrossShardGroups`, `uniqueByKey`, `pickMostFrequent`, `parseHhMmToMinute`, `formatMinuteToHhMm`, `validateScheduleSlots`.
- **`@aqven/matching`:** `identifierSafeEmbeddingMatcher`, `aliasField`, `surfaceFormsOf`, `features`, `by`, `withNullish`, `arrayMatcher`, `exactMatcher`, `normalizedMatcher`, `embeddingMatcher`.
- **`@aqven/runtime`:** `defineProbe`, `check` (`coverage`, `everyItem`, `cardinality`, `uniqueBy`, `foreignKey`, `functionalDependency`, `setCover`, `attempts`), `metric` (`errorRate`, `scalar`, `ratio`, `distribution`, `funnel`, `stats`).
---
## Layer 2: VoltAgent Capabilities (`@voltagent/core`)
**`@voltagent/core` ships version-matched documentation directly inside `node_modules/@voltagent/core/docs/`!**
Always inspect `node_modules/@voltagent/core/docs/` before building custom agent/workflow infrastructure:
| Need | Where to read in `node_modules/@voltagent/core/docs/` |
|---|---|
| Workflow chains (`createWorkflowChain`, `.andThen`, `.andAll`, `.andRace`, suspend/resume, state) | `workflows/` |
| Agent options, instructions, memory, dynamic context, hooks, subagents | `agents/` |
| Built-in input/output guardrails (PII redaction, prompt-injection defense, moderation, custom guardrails) | `guardrails/` |
| Embedding adapters (`AiSdkEmbeddingAdapter`), vector stores, chunkers, retrievers | `rag/`, `models-docs/` |
| Tool definitions, tool routing, approval gates, workspaces | `tools/`, `workspaces/` |
| Logging, OpenTelemetry spans, server deployment (`@voltagent/server-hono`) | `observability/`, `deployment-docs/` |
---
## Layer 3: Core Runtime Dependencies (`ai`, `zod`)
Inspect exact installed TypeScript definitions in `node_modules/` whenever wiring multimodal payloads, provider options, or schemas:
- **AI SDK (`node_modules/ai/dist/index.d.ts` & `@ai-sdk/*`):**
- Multimodal `ModelMessage` parts (`TextPart`, `ImagePart`, `FilePart` for PDFs/audio/video), `providerOptions`, `LanguageModelUsage`, `FinishReason`, and provider-specific packages (`@ai-sdk/openai`, `@ai-sdk/anthropic`, `@ai-sdk/google`, `@openrouter/ai-sdk-provider`, etc.).
- **Zod v4 (`node_modules/zod/`):**
- JSON-serializable schema primitives (`z.object(...).strict()`, `z.discriminatedUnion`, `z.array`, `z.enum`), `.meta()` / `.describe()`. Remember: workflow & LLM schemas must stay JSON-representable (no `z.date()`, `z.map()`, `z.set()`, `z.transform()`).
---
## Layer 4: Use Proven Data & Media Libraries (Do Not Hand-Roll)
1. **Collection & Data Transforms -> `remeda` (`import * as R from "remeda"`):**
- **Rule:** Never write imperative `for` loops, nested `.reduce(...)` accumulators, or manual `new Map()` grouping in probe, mapping, or evaluation code when a typed `remeda` function expresses it cleanly.
- Standard toolkit (check `node_modules/remeda/dist/` for exact signatures):
- Indexing & deduplication: `R.indexBy`, `R.unique`, `R.uniqueBy`
- Grouping & counting: `R.groupBy`, `R.countBy`, `R.partition`, `R.entries`, `R.mapValues`
- Aggregation & slicing: `R.sumBy`, `R.firstBy`, `R.sortBy`, `R.chunk`, `R.flatMap`, `R.pipe`
2. **Deterministic Media, Document & Table Preparation (in `prepareInput` or project scripts):**
- Before writing fragile custom parsers, check `package.json` for installed libraries or propose standard, well-typed packages to the owner (verifying their docs/types first):
- **Images:** `sharp` (EXIF auto-orientation `.rotate()`, metadata inspection, lossless cropping, format conversion)
- **PDFs / Documents:** `pdfjs-dist` / `pdftoppm` (page count, text-layer check, per-page rendering)
- **Audio / Video:** `ffprobe` / `ffmpeg` (codec, duration, fps, channel layout, silence/scene slicing)
- **Tables / CSV:** `csv-parse` / `papaparse` (typed headers, locale decimals, ragged-row checks)
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.