golem-http-params-ts

Map HTTP request components to TypeScript method parameters.

1|Updated Oct 9, 2025
One-click install
npx skills add https://github.com/justcoon/golem-shopping-ts --skill golem-http-params-ts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golem-http-params-ts
Source: https://github.com/justcoon/golem-shopping-ts/tree/main/.agents/skills/golem-http-params-ts
Command: npx skills add https://github.com/justcoon/golem-shopping-ts --skill golem-http-params-ts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the challenge of mapping various parts of HTTP requests—such as path variables, query parameters, headers, and request bodies—to TypeScript agent method parameters, enabling seamless API integration.

Core Features & Use Cases

  • Parameter Mapping: Defines how URL segments, query strings, headers, and bodies are translated into method parameters.
  • Type Support: Handles common types like string, number, boolean, and literals, facilitating type-safe API interactions.
  • Use Case: For example, a developer can specify that path variables {id} or query parameters {filter} directly map to method parameters, simplifying the development of RESTful APIs in TypeScript.

Quick Start

Document how to set up an agent with HTTP parameter mappings, define endpoints with request parameters, and handle request/response types in TypeScript.

Frequently Asked Questions about golem-http-params-ts

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

FAQPage Schema
How do I map HTTP request parameters to TypeScript method parameters in a REST API?

Mapping HTTP request parameters to TypeScript method parameters involves translating URL path variables, query strings, headers, and request bodies into typed method arguments. This Skill handles that extraction automatically to ensure type-safe API interactions.

What is the best way to handle type-safe path variables and query parameters in TypeScript agents?

Type-safe path variables and query parameters in TypeScript agents are handled by mapping common types like string, number, boolean, and literals. This approach translates HTTP request components directly into method parameters for structured request handling.

Can I extract request body content and headers together when building RESTful APIs in TypeScript?

You can extract request body content and headers together by defining how URL segments, query strings, headers, and bodies map to method parameters. This Skill supports simultaneous extraction for seamless API integration.

Does TypeScript HTTP request mapping work for agent-based architectures without external dependencies?

TypeScript HTTP request mapping works for agent-based architectures without external dependencies. This Skill provides standalone references to define endpoints and handle request and response types for structured request handling.

How do I set up an agent with HTTP parameter mappings for a RESTful API?

To set up an agent with HTTP parameter mappings, you define endpoints with request parameters and specify how path variables and query strings translate into method parameters. This simplifies development by ensuring correct data extraction.