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

principle-name-for-the-reader

Choose NeoHaskell module, type, and operation names that a junior TypeScript developer can understand without knowing GHC implementation terms.

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

neohaskell/NeoHaskellスター 348(GitHub 348 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.9 KB

SKILL.md(原文)

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

Name for the reader

Name the observable domain operation before its implementation mechanism. A junior TypeScript developer must be able to predict what a call does from its module, operation, arguments, and result.

Test a name without its doc comment. The module qualifier, operation, arguments, and result must communicate what the call does. If the comment is needed to decode that basic action, rename the operation. Keep public-contract documentation for precise guarantees, edge cases, and examples after the name is clear.

Design the qualifier and operation together. A type-centered module supplies the subject. In an illustrative mail service, DeliveryOutcome.text outcome converts an outcome to display text. The qualifier names the subject, and the operation names the conversion. Keep helper names specific to their domain responsibility.

Before naming a concurrency operation, establish its cancellation and ownership contract. An illustrative startCancellableWorker starts a child that can receive cancellation while its parent protects an ownership handoff. The name exposes the caller-visible guarantee. Choose the public name from the complete contract, then test that contract. A synonym that conceals cancellation behavior is not an improvement.

Use established domain words consistently. Reserve GHC vocabulary for the module that implements the mechanism and documentation that defines the precise contract. Keep public Haddock when ordinary words need a precise qualification.

For an API rename, inventory imports, generated consumers, and documentation before changing it. Follow consumer verification for exported APIs. A naming review alone does not authorize a production rename.

レビュー

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

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Write or review the published NeoHaskell agent guide for generated applications. Use for docs/agent changes and consumer-facing framework changes that may make the guide stale.

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

neohaskell/NeoHaskell3482026年10月29日 更新

architect

無料

Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for /architect, 'architect this', 'design this', or non-trivial work where jumping to code would lock in the wrong shape.

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

neohaskell/NeoHaskell3482026年10月29日 更新

arena

無料

Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape.

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

neohaskell/NeoHaskell3482026年10月29日 更新

babysit

無料

Inspect or supervise a PR or stack through review and CI to merge-ready, using current GitHub evidence and the requested mode.

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

neohaskell/NeoHaskell3482026年10月29日 更新

Vet a perf measurement (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened) before you report or act on it. Use when you benchmark or report a measured speedup or regression, including complete framework flows and compilation of projects that consume the framework.

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

neohaskell/NeoHaskell3482026年10月29日 更新

bro

無料

Restate the last message in plain human language, with no jargon.

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

neohaskell/NeoHaskell3482026年10月29日 更新

neohaskell のスキルをすべて見る

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