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