Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计未展示

ring%3aapi-field-descriptionsring%3aapi 字段描述

Agent Skill

ring%3aapi-field-descriptions 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

832

周安装

35

GitHub Stars

180

下载量

291
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ring%3aapi-field-descriptions(ring%3aapi 字段描述)
来源仓库:https://github.com/lerianstudio/ring
仓库路径:skills/ring%3Aapi-field-descriptions
安装命令:
npx skills add https://github.com/lerianstudio/ring --skill ring:api-field-descriptions
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/lerianstudio/ring --skill ring:api-field-descriptions

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 支持基于关键词、任务场景或来源线索进行信息检索与筛选。
  • 通过 GitHub 仓库获取技能定义,需结合原始 README 确认具体用法。
  • 安装前建议确认权限范围、维护状态及是否触发联网或文件操作。
  • ring%3aapi-field-descriptions 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

API Field Descriptions

Field descriptions are the most-read part of API documentation. Users scan for specific fields and need clear, consistent information.

Field Description Structure

Every field description answers: What is it? (purpose), What type? (data type), Required? (mandatory), Constraints? (limits/validations), Example? (valid data)

Table Format (Preferred)

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| id | uuid | — | The unique identifier of the Account |
| name | string | Yes | The display name of the Account (max 255 chars) |
| status | enum | — | Account status: `ACTIVE`, `INACTIVE`, `BLOCKED` |

Note: Use for response-only fields (not applicable for requests).

For nested objects: status.code, status.description


Description Patterns by Type

TypePatternExample
UUID"The unique identifier of the [Entity]"id: uuid — The unique identifier of the Account
String"[Purpose] (constraints)"code: string — The asset code (max 10 chars, uppercase, e.g., "BRL")
String (format)"[Purpose] (format example)"email: string — Email address (e.g., "user@example.com")
Enum"[Purpose]: val1, val2, val3"type: enum — Asset type: \currency, crypto, commodity``
Boolean"If true, [what happens]. Default: [value]"allowSending: boolean — If \true, sending permitted. Default: true``
Integer"[Purpose] (range)"scale: integer — Decimal places (0-18)
Timestamp"Timestamp of [event] (UTC)"createdAt: timestamptz — Timestamp of creation (UTC)
Object (jsonb)"[Purpose] including [fields]"status: jsonb — Status information including code and description
Array"List of [what it contains]"operations: array — List of operations in the transaction

Required vs Optional

In Requests:

  • Yes = Must be provided
  • No = Optional
  • Conditional = Required in specific scenarios (explain in description)

In Responses: Use (response fields are always returned or null)


Special Field Documentation

PatternFormat
Default values"Results per page. Default: 10"
Nullable fields"Soft deletion timestamp, or null if not deleted"
Deprecated fields"[Deprecated] Use route instead"
Read-only fields"Read-only. Generated by the system"
Relationships"References an Asset code. Must exist in the Ledger"

Writing Good Descriptions

Don'tDo
"The name""The display name of the Account"
"Status info""Account status: ACTIVE, INACTIVE, BLOCKED"
"A number""Balance version, incremented with each transaction"
"The code""The asset code (max 10 chars, uppercase)"
"The timestamp""Timestamp of creation (UTC)"

Quality Checklist

  • Description explains the field's purpose
  • Data type is accurate
  • Required/optional status is clear
  • Constraints documented (max length, valid values)
  • Default value noted (if optional)
  • Nullable behavior explained (if applicable)
  • Deprecated fields marked
  • Read-only fields indicated
  • Relationships to other entities clear
  • Example values realistic

Standards Loading (MANDATORY)

Before writing field descriptions:

  1. Load API documentation skill - ring:writing-api-docs for endpoint context
  2. Load voice and tone - ring:voice-and-tone for consistent style
  3. Verify data types - Confirm actual types from API schema

HARD GATE: CANNOT document fields without verified type information.


Blocker Criteria - STOP and Report

ConditionDecisionAction
Field types unknownSTOPReport: "Need schema or type definitions"
Constraints not definedSTOPReport: "Need validation rules for constraints"
Required/optional unclearSTOPReport: "Need field requirement status"
Enum values undefinedSTOPReport: "Need complete list of enum values"
Default values unknownSTOPReport: "Need default values for optional fields"

Cannot Be Overridden

These requirements are NON-NEGOTIABLE:

  • MUST document purpose for every field
  • MUST include accurate data type
  • MUST specify required vs optional status
  • MUST document all constraints (length, format, range)
  • MUST use realistic example values (not "foo", "bar")
  • CANNOT leave fields undocumented
  • CANNOT guess types or constraints

Severity Calibration

SeverityCriteriaExamples
CRITICALWrong type, missing required fieldsDocuments string as integer, skips required field
HIGHMissing constraints, no examplesMax length undocumented, no example values
MEDIUMVague descriptions, inconsistent format"The name" instead of "The display name of the Account"
LOWCould be clearer, minor format issuesDescription could include more context

Pressure Resistance

User SaysYour Response
"Field names are self-explanatory""Self-explanatory to you ≠ self-explanatory to users. MUST write explicit descriptions."
"Just copy the schema""Schema lacks context. MUST add purpose, constraints, and examples."
"Skip constraints, they're in validation""Constraints MUST be documented. Users shouldn't discover limits via errors."
"Use placeholder examples (foo, bar)""MUST use realistic examples. Placeholders don't demonstrate proper usage."
"Required/optional is obvious""Nothing is obvious. MUST explicitly mark required vs optional."

Anti-Rationalization Table

RationalizationWhy It's WRONGRequired Action
"Schema documents the type"Schema doesn't explain purpose or usageMUST add human description
"ID fields don't need description"Users need to know what ID refers toDocument ALL fields including IDs
"Boolean is self-documenting"Users need to know effect of true/falseMUST explain boolean behavior
"Timestamp format is standard"Which standard? Timezone? Format?MUST specify format and timezone
"Enum values are obvious"Enum meanings may not be clearMUST describe each enum value
"Same field, same description everywhere"Context may differTailor description to context

When This Skill is Not Needed

Signs that field descriptions already meet standards:

  • ALL fields have purpose-explaining descriptions
  • ALL data types documented accurately
  • ALL required/optional status clearly marked
  • ALL constraints documented (length, format, valid values)
  • ALL default values noted for optional fields
  • ALL nullable behavior explained
  • ALL deprecated fields marked with migration path
  • ALL examples use realistic values

If all above are true: Field descriptions are complete, no changes needed.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.46%
按下载量换算103

Claude

29.6%
按下载量换算86

Cursor

18.44%
按下载量换算54

Gemini CLI

10.51%
按下载量换算31

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills