跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/formation-res/querylight-ts/api-style-guardrails

Codex Querylight TS Public API Style with Named Options and TSDoc

Design public TypeScript signatures with explicit parameter objects where helpful, keeping exported types, examples, and tests aligned.

中文

Install in Codex

Codex, the pinned Querylight TS checkout, and its npm toolchain.

  1. Copy the pinned `.codex/skills/api-style-guardrails/` directory into `.agents/skills/api-style-guardrails/` in the project.
  2. Select `$api-style-guardrails` for the targeted interface under `packages/querylight/src`.

Example task

Add a mock text-search helper with field, search text, and weight inputs. Compare a named options object with three positional arguments.

What to check

The chosen signature has descriptive keys and concise TSDoc, and the example matches the tested API.

Original SKILL.md on GitHub · Updated 2026-11-13

Frequently asked question

Must a single scalar always be wrapped?

A direct scalar remains appropriate when it communicates the intent more clearly.

Browse Codex skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯