跳到正文
cccskills
免费在 GitHub 公开

dygo-api-development

Design, implement, or review dygo HTTP APIs and public App SDK contracts. Use for Record APIs, metadata and boot endpoints, query behavior, response envelopes, compatibility, and public Go interfaces.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

dygo API Development

Keep network APIs and the trusted App SDK distinct.

Start

Read docs/server.md, docs/records.md, and docs/sdk.md. Inspect the current router, shared response types, query parser, permission engine, and public package before you design a new surface.

Rules

  • Use App-qualified Entity identity internally. Use documented route slugs only at the user-facing route boundary.
  • Enforce authentication and Permissions before Record access.
  • Keep response and error envelopes consistent across endpoints.
  • Validate filters, sorts, pagination, paths, and payloads at the boundary.
  • Preserve deterministic list ordering.
  • Return useful client errors without exposing SQL, secrets, or protected data.
  • Keep browser and Studio APIs compatible with the documented version contract.
  • Put stable trusted-server capability in pkg/dygo; keep implementation under internal/.
  • Do not expose a public SDK type only because an internal package needs it.
  • Consider cancellation, timeouts, observability, and audit behavior for material operations.

Use focused handler and contract tests. Verify Permissions and error shapes for data-bearing endpoints.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Design, implement, or review dygo roles, Entity access metadata, Permissions, and permission-aware Business App behavior. Use when access to Records or business actions is central to the task.

中文简介正在准备中。当前显示原文说明。

hapyco/dygo162026年10月18日 更新

Diagnose a dygo Business App that does not validate, boot, route, render, authorize, migrate, or execute background work correctly. Use for evidence-first investigation rather than feature implementation.

中文简介正在准备中。当前显示原文说明。

hapyco/dygo162026年10月18日 更新

Build or extend a dygo Business App using the supported project layout, generators, metadata, SDK, and validation workflow. Use for general app work that is not primarily Entity modeling, access, hooks, Jobs, fixtures, or patches.

中文简介正在准备中。当前显示原文说明。

hapyco/dygo162026年10月18日 更新

Review a dygo Business App for framework conventions, model quality, access control, SDK boundaries, observability, and safe lifecycle behavior. Use for App audits and pre-merge reviews, not ordinary implementation.

中文简介正在准备中。当前显示原文说明。

hapyco/dygo162026年10月18日 更新

Design, implement, or review the dygo framework CLI in Go with Cobra. Use for commands, flags, help, prompts, plans, output contracts, completion, and project-aware CLI behavior. Do not use for operating a deployed business through the reserved dygo-cli operator skill.

中文简介正在准备中。当前显示原文说明。

hapyco/dygo162026年10月18日 更新

Improve or review ordinary dygo code changes for simplicity, focused scope, canonical ownership, clear boundaries, and verifiable behavior. Use for normal implementation and refactoring quality; use dygo-thermonuclear-review only for an explicitly severe audit.

中文简介正在准备中。当前显示原文说明。

hapyco/dygo162026年10月18日 更新

查看 hapyco 的全部技能

报告此技能的问题