本文へ移動
cccskills
無料GitHub で公開

dygo-code-quality

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.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

dygo Code Quality

Deliver the required behavior with the least maintenance burden.

Before Editing

  • State material assumptions.
  • Inspect the current implementation and nearby conventions.
  • Define an observable success condition in a real Business App or operator flow.
  • Identify the canonical package, metadata contract, SDK boundary, or Studio component that owns the behavior.

Rules

  • Keep every changed line tied to the task.
  • Do not clean unrelated code or reformat unrelated files.
  • Prefer direct code and standard-library operations over custom algorithms and speculative abstraction.
  • Prefer existing framework and native platform capabilities before adding custom code or dependencies.
  • Reduce duplicated rules, state, branches, queries, and abstractions. Do not compress readable code or omit required behavior to reduce line count.
  • Add abstractions for demonstrated shared contracts, not hypothetical reuse. A small amount of duplication can be simpler than coupling unrelated behavior.
  • Avoid unnecessary I/O, repeated queries, allocations, and unbounded work. Support performance claims with measurements appropriate to the affected path.
  • For refactoring, identify the duplicated rule, state owner, branch, or concept that the change removes. Moving code into more files is not sufficient.
  • Preserve error meaning. Treat only a confirmed not-found result as absence. Do not use a fallback to hide a persistence, permission, or decoding failure.
  • Do not add a thin wrapper, flag, optional mode, or generic registry without a real repeated need.
  • Keep business logic in Apps and reusable platform capability in the framework.
  • Keep internals private until Business Apps need a stable public contract.
  • Remove only dead code that the current change creates unless cleanup is in scope.
  • Preserve reusable UI components and supported exports even without current callers unless their removal is explicitly requested.
  • Add a concise TODO only when a real deferred improvement has a clear boundary and cannot be completed in the current scope.
  • Verify behavior in proportion to risk.

If a solution becomes much larger than the behavior it provides, stop and simplify it before finalization.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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月2日 更新

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.

日本語の概要は準備中です。原文の説明を表示しています。

hapyco/dygo162026年10月2日 更新

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月2日 更新

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月2日 更新

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月2日 更新

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月2日 更新

hapyco のスキルをすべて見る

このスキルの問題を報告する