router-core-search-params

Validate, manage, and serialize URL search parameters with Zod, Valibot, or ArkType.

7|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/hashintel/brunch --skill router-core-search-params-hashintel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: router-core-search-params
Source: https://github.com/hashintel/brunch/tree/main/.agents/skills/router-core-search-params
Command: npx skills add https://github.com/hashintel/brunch --skill router-core-search-params-hashintel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides robust tools for validating and handling URL search parameters in web applications, ensuring correctness and security.

Core Features & Use Cases

  • Validation & Parsing: Validates search parameters with libraries like Zod, Valibot, or ArkType to ensure data integrity.
  • Middleware & Serialization: Implements middlewares for retaining or stripping URL parameters; supports custom serialization methods for URL readability.
  • Usage Scenario: A developer building a search page needs to validate user input, preserve filter states, and handle URL encoding seamlessly.

Quick Start

Use the search validation feature to confirm user inputs and maintain consistent URL states during navigation.

Frequently Asked Questions about router-core-search-params

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate URL search parameters in a web routing context?

To validate URL search parameters, use this Skill to integrate schema validation libraries like Zod, Valibot, or ArkType, ensuring data integrity and security during web routing.

What's the best way to preserve URL filter states during navigation?

The best way to preserve URL filter states is by implementing middlewares that retain or strip URL parameters during navigation. This ensures consistent URL states and reliable search page behavior.

Can I use Zod or Valibot for URL state control in frontend routing?

Yes, you can use Zod, Valibot, or ArkType for URL state control. This Skill supports multiple validation libraries and middlewares specifically for frontend developers needing reliable URL parameter handling.

How does URL parameter serialization work for search page readability?

URL parameter serialization transforms validated search parameters into a readable URL format. This Skill supports custom serialization methods to maintain URL readability while handling encoding seamlessly.

Why do my URL search parameters break when users input invalid filter data?

URL search parameters break because user input lacks proper validation before serialization. Validating search parameters with libraries like Zod or Valibot confirms user inputs and prevents malformed URL states.