Automated summary
Automatically generates semantic request parameters (JSON, Query, Form) for Java/Kotlin web frameworks and copies them to the clipboard.
Strengths
- Supports three parameter types (JSON, Query, Form) with automatic type detection based on annotations.
- Automatic language localization (Chinese, English, Japanese, Korean) for generated values.
- Seamless integration with popular web frameworks (Spring, etc.).
Limitations
- Requires source code access and correct structuring to analyze annotations.
- Does not handle ambiguous parameter types (fixed priority JSON > Form > Query).
When you need to quickly generate realistic request parameters for testing API endpoints in a Java/Kotlin project.
When parameters need to be generated from an external API specification (OpenAPI) or for non-Java/Kotlin languages.
Security analysis
SafeThe skill uses Bash only for clipboard operations, no destructive or exfiltrating commands are present. It does not execute untrusted code.
No concerns found
How this analysis is madeExamples
/fr:gen json io.github.kings1990.controller.UserController.addUserInfo/fr:gen query io.github.kings1990.controller.ProductController.searchProducts/fr:gen io.github.kings1990.controller.FeedbackController.submitFeedbackname: fr:gen license: Apache-2.0 description: 为 Java/Kotlin Web 框架生成语义化的请求参数(JSON/Query/Form),并复制到剪贴板 allowed-tools:
- Glob
- Read
- Bash arguments:
- name: type description: 参数类型,支持 'json'(JSON 请求体)、'query'(Query 参数)、'form'(Form 参数) required: true
- name: method description: 完全限定方法名,格式为 'package.ClassName.methodName'(例如:io.github.kings1990.controller.UserController.addUserInfo) required: true
Fast Request 参数生成器
此技能为 Java/Kotlin Web 框架自动生成语义化的请求参数,支持三种参数类型:JSON 请求体、Query 参数和 Form 参数。
支持的框架和语言
参考 all-rules.md 通用说明>支持的框架和支持的编程语言。
执行流程
重要:本技能支持根据系统语言环境自动生成符合当地语言习惯的参数值。
系统语言检测
在开始生成参数之前,技能会自动检测系统语言,并根据检测结果生成相应语言的字符串内容:
- 🇨🇳 中文环境 → 生成中文姓名、地址、描述等
- 🇺🇸 英文环境 → 生成英文姓名、地址、描述等
- 🇯🇵 日文环境 → 生成日文姓名、地址、描述等
- 🇰🇷 韩文环境 → 生成韩文姓名、地址、描述等
详细的语言检测规则和字段适配说明,请参考:
- all-rules.md - 国际化支持
参数类型路由
根据 type 参数的值,加载对应的子文档:
- 如果
type是json,参考 category/json.md 执行 - 如果
type是query,参考 category/query.md 执行 - 如果
type是form,参考 category/form.md 执行
使用指令
指令格式
此技能支持三种参数类型,用于生成不同类型的请求参数:
1. JSON 请求体生成
适用场景:
- POST/PUT/PATCH 请求
- 方法参数带有
@RequestBody或@Body注解 - 需要发送复杂对象数据
示例1:
/fr:gen json io.github.kings1990.controller.UserController.addUserInfo
示例2:
/fr:gen --type=json --method=io.github.kings1990.controller.OrderController.createOrder
2. Query 参数生成
适用场景:
- GET 请求
- 方法参数带有
@RequestParam、@Param、@PathVariable、@Path注解 - URL 查询字符串参数
示例1:
/fr:gen query io.github.kings1990.controller.UserController.getUserList
示例2:
/fr:gen --type=query --method=io.github.kings1990.controller.ProductController.searchProducts
3. Form 参数生成(URL-Encoded)
适用场景:
- POST 请求(Content-Type: application/x-www-form-urlencoded)
- 方法参数带有
@RequestParam、@Param、@ModelAttribute注解 - 传统 HTML 表单提交
示例1:
/fr:gen form io.github.kings1990.controller.UserController.register
示例2:
/fr:gen --type=form --method=io.github.kings1990.controller.FeedbackController.submitFeedback
4. 不带类型参数的简化指令
示例:
/fr:gen io.github.kings1990.controller.FeedbackController.submitFeedback
上面的指令会根据方法参数中是否包含特定注解来判断使用哪种参数类型。你需要去判断到底是前面 3 种的哪一种。
生成 JSON 请求体参数
方法参数中必须包含 @RequestBody 或 @Body 注解,没有前面提到的注解则不能使用该规则
生成 Form 参数
方法参数中必须包含 @Param、@ModelAttribute 注解,如果没有注解,并且方法必须有@PostMapping注解或者@RequestMapping(method = RequestMethod.POST)注解
生成 Query 参数
方法参数中必须包含 @RequestParam、@Param 注解,或者方法必须有@GetMapping注解或者@RequestMapping(method = RequestMethod.GET)注解
优先级依次为 JSON > Form > Query
何时使用
当用户输入以下格式之一的指令时,此技能会自动激活:
/fr:gen json package.ClassName.methodName/fr:gen query package.ClassName.methodName/fr:gen form package.ClassName.methodName/fr:gen package.ClassName.methodName
扩展阅读
输出限制
Query和Form参数最终的输出前面不允许带上问号(?) 永远不要对参数进行编码,直接使用参数名和值。 输出的时候如果参数已经被编码,需要解码后再输出。
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/fast-request-parameter-generator-mmk3nhku/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/fast-request-parameter-generator-mmk3nhku' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/fast-request-parameter-generator-mmk3nhku/download' --output '.skill-downloads/fast-request-parameter-generator-mmk3nhku/SKILL.md.part' && mv '.skill-downloads/fast-request-parameter-generator-mmk3nhku/SKILL.md.part' '.skill-downloads/fast-request-parameter-generator-mmk3nhku/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.
Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/fast-request-parameter-generator-mmk3nhku/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.