add-query-param
スター16
フォーク6
更新日2026年7月1日 21:02
This rule describes how to add a new QueryParam feild to a function.
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SKILL.md
readonlyメニュー
This rule describes how to add a new QueryParam feild to a function.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | add-query-param |
| description | This rule describes how to add a new QueryParam feild to a function. |
When adding a new query parameter to a function, follow these steps:
Identify the QueryParams Model
<Function>QueryParams class in the appropriate command directoryAdd the New Parameter
class FunctionQueryParams(BaseModel):
# ... existing code ...
new_param: type = Field(
default=default_value,
description="Description of the parameter",
examples=["example_value"]
)
Data Model Impact Assessment
<Function>Data model accordinglyUpdate Fetcher Logic
transform_query() if neededtransform_data() if the parameter affects data processingDocumentation
Testing
Example:
# Before
class MandelbrotChannelQueryParams(BaseModel):
window: str
rv_adjustment: bool
# After
class MandelbrotChannelQueryParams(BaseModel):
window: str
rv_adjustment: bool
new_param: bool = Field(
default=False,
description="New parameter description",
examples=[True, False]
)
Remember:
Field for parameter definitions