http-generate
OfficialAuto-generate HTTP requests from Spring controllers.
System Documentation
What problem does it solve?
This Skill automates the generation of HTTP request examples from Spring Boot REST controllers, enabling quick API documentation and testing without manual crafting.
Core Features & Use Cases
- Automatically discovers modules with controllers and extracts mappings from @RequestMapping and related annotations.
- Generates .http files per module (and per controller) with fully qualified URLs, default @RequestParam values, and proper URL encoding.
- Provides a clean, separator-based file structure to group requests by controller and module to simplify documentation and testing workflows.
- Use case: A developer wants to quickly produce a set of API request samples for a newly added REST API surface to seed their team’s API docs.
Quick Start
Run the HTTP generator for a single module: python .claude/skills/http-generate/scripts/http_generator.py <module_path> [output_file]
Run for all modules: python .claude/skills/http-generate/scripts/http_generator.py all
Examples: generate for a basic module at basic/chat and save to custom.http: python .claude/skills/http-generate/scripts/http_generator.py basic/chat custom.http
Dependency Matrix
Required Modules
None requiredComponents
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: http-generate Download link: https://github.com/spring-ai-alibaba/examples/archive/main.zip#http-generate Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.