tanstack-config
This skill equips Claude with detailed guidance on setting up and optimizing build configurations across the TanStack ecosystem. It covers toolchain setup, TypeScript patterns, and development best practices to streamline JavaScript package builds.
tanstack-config provides comprehensive guidance on setting up and configuring a build toolchain for JavaScript/TypeScript packages using Vite. It covers how to structure your build process, configure entry points, and optimize your toolchain to match TanStack's best practices for modern package development.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-01-31
tanstack-config provides comprehensive guidance on setting up and configuring a build toolchain for JavaScript/TypeScript packages using Vite. It covers how to structure your build process, configure entry points, and optimize your toolchain to match TanStack's best practices for modern package development.
Use it when
- tanstack-config includes detailed instructions on establishing consistent linting and code formatting standards across projects.
- Yes, tanstack-config covers automation of package versioning, changelog generation, and npm publishing workflows.
Verify before relying
Read SKILL.md below before installing (1 file). Open directory: indexed for reading, not audited.
Install
tanstack-skills/tanstack-skills/tanstack-config
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What does tanstack-config help with for Vite build setup?
tanstack-config provides comprehensive guidance on setting up and configuring a build toolchain for JavaScript/TypeScript packages using Vite. It covers how to structure your build process, configure entry points, and optimize your toolchain to match TanStack's best practices for modern package development.
How do you configure ESLint for TypeScript packages with tanstack-config?
tanstack-config includes detailed instructions on establishing consistent linting and code formatting standards across projects. It covers ESLint preset configuration for TypeScript, integration with Prettier for code formatting, and how to apply these standards uniformly across your codebase to maintain quality.
Can tanstack-config automate semantic versioning and changelog generation?
Yes, tanstack-config covers automation of package versioning, changelog generation, and npm publishing workflows. It includes setup guidance for changesets to manage semantic versioning in monorepos, automated changelog generation, and GitHub Actions CI/CD pipelines for seamless npm publishing.
How does tanstack-config support monorepo workspace configuration with pnpm and Nx?
tanstack-config provides detailed configuration guidance for setting up a monorepo workspace using pnpm and Nx for managing multiple packages. It covers workspace structure, package interdependencies, and how to orchestrate builds and publishing across your entire monorepo.
What guidance does tanstack-config provide for generating ESM and CommonJS dual outputs?
tanstack-config explains how to configure Vite and TypeScript to generate ESM and CommonJS dual outputs with proper TypeScript declarations. It covers package.json exports field setup, tree shaking configuration, and ensuring your packages work correctly in both module systems while maintaining type safety.
How can tanstack-config help validate and optimize package publishing?
tanstack-config includes guidance on using tools like publint for package validation before publishing. It covers best practices for package.json configuration, type module ESM-first setup, and ensures your packages meet modern npm standards and are properly optimized for distribution.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Overview
TanStack Config provides an opinionated, minimal-configuration toolkit for JavaScript/TypeScript package development. It includes Vite-powered build configuration, ESLint presets, publish automation with semantic versioning, and integrations with TypeScript, Prettier, Changesets, and GitHub Actions. Designed for monorepo workflows with pnpm and Nx.
Package: @tanstack/config
Status: Stable
Installation
npm install @tanstack/config --save-dev
# or
pnpm add @tanstack/config -D
Vite Build Configuration
Basic Setup
// vite.config.ts
import { defineConfig, mergeConfig } from 'vitest/config'
import { tanstackViteConfig } from '@tanstack/config/vite'
const config = defineConfig({
// Your custom Vite config
})
export default mergeConfig(
config,
tanstackViteConfig({
entry: './src/index.ts',
srcDir: './src',
exclude: ['./src/__tests__'],
})
)
Multiple Entry Points
```typescript import { tanstackViteConfig } from '@tanstack/config/vite'
export
(truncated - see the full file via the links below)
File tree — 1 file
plugins/tanstack-config/skills/tanstack-config/SKILL.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Set up and configure a build toolchain for JavaScript/TypeScript packages”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Tanstack Cli streamlines your local development workflow by providing essential command-line utilities for Tanstack projects. This skill walks you through installation, initial configuration, and core setup steps to get your environment ready for building. Master the CLI's foundational commands and integrate it seamlessly into your development process.
This skill streamlines monorepo initialization and configuration across multiple agent platforms. It provides agentic workflow building blocks designed to work natively with Claude Code, Cursor, GitHub Copilot, and other leading development tools from a unified source.
Ts Sdk Author provides a robust framework for building and organizing TypeScript SDKs from the ground up. This agent harness accelerates SDK scaffolding, letting you focus on implementation details rather than boilerplate setup. Ideal for developers who need production-ready TypeScript SDK foundations quickly.
This skill provides a complete framework for initializing and managing monorepo architectures, including configuration templates, dependency strategies, and workspace organization patterns. It integrates with Claude Code's agent ecosystem to automate setup tasks and enforce consistent project structures across multiple packages.
This skill handles the end-to-end automation of package distribution and versioning tasks. Integrate it into your CI/CD pipeline to eliminate repetitive publishing steps, manage releases systematically, and keep your artifact repositories in sync across environments.
This skill walks you through the complete lifecycle of npm package development, from initial setup and code organization to publishing your work on the npm registry. You'll gain hands-on experience with package configuration, dependency management, and the tools needed to share your code with the JavaScript community.
More skills tanstack-cli (MIT) · nx-import (MIT) · monorepo-setup (MIT) · monorepo-management (MIT) · tanstack-ai (MIT) · eslint (MIT) · tanstack-table (MIT) · Npx Cli (unlicensed)