generating-sorbet-inline
Sorbet のインラインシグネチャを生成
Ruby チームでは、ロジックを RBI ファイルへ移動せずに、型付きのメソッド契約が必要になることがよくあります。このスキルは、Claude、Codex、Claude Code がソースファイル内に Sorbet の sig ブロックを直接追加できるようにガイドします。
自分のエージェントでインストール
このリクエストをエージェントにコピーしてください。正規の Skill ページとマニフェストが含まれています。
Review the Skillstore skill "generating-sorbet-inline" from https://skillstore.io/skills/dmitrypogrebnoy-generating-sorbet-inline.md and its manifest at https://skillstore.io/api/skills/dmitrypogrebnoy-generating-sorbet-inline/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.エージェントは引き続き計画を提示し、セキュリティポリシーで必要な確認を求める必要があります。
エージェントが読めるリソース
AI エージェント、クローラー、スクリプトがページ全体ではなく整理されたコンテキストを必要とする場合は、これらのリンクを使ってください。
テストする
「generating-sorbet-inline」を使用しています。 初期化メソッド、2 つの属性リーダー、greeting メソッドを持つ Ruby クラス。
期待される結果:
ファイルに typed sigil がない場合は追加され、extend T::Sig と、各パブリック API に対するメソッドレベルのシグネチャが追加されます。
「generating-sorbet-inline」を使用しています。 キーワード引数とオプション値を持つサービスオブジェクト。
期待される結果:
生成されるシグネチャは、必須キーワード、nullable な値、メソッドの戻り値型を Sorbet 構文で表現します。
「generating-sorbet-inline」を使用しています。 すでに # typed: strict と一部の既存 sig ブロックを使用しているファイル。
期待される結果:
このスキルは strict sigil を保持し、不足しているシグネチャを補完し、レビューが必要な不確かな型をすべて指摘します。
セキュリティ監査
中リスクMost static findings are false positives caused by Markdown backticks, Sorbet sig syntax, documentation URLs, Ruby Hash#fetch, and bundled reference examples. No prompt injection or malicious exfiltration intent was found. The main residual risk is the instruction to run Sorbet validation commands in the user project.
確認済みのセキュリティ上の懸念 (1)
リスク要因
⚙️ 外部コマンド (54)
🌐 ネットワークアクセス (25)
📁 ファイルシステムへのアクセス (6)
このレポートを共有・引用
バージョン付き評価レポート、中立的なバッジ、埋め込みカード、引用を共有できます。Skillstore は証拠を報告しますが、この Skill が安全かどうかは判断しません。
レポートリンクをコピー
https://skillstore.io/skills/dmitrypogrebnoy-generating-sorbet-inline/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdownバッジ
[](https://skillstore.io/skills/dmitrypogrebnoy-generating-sorbet-inline?utm_source=security_passport_badge)HTMLバッジ
<a href="https://skillstore.io/skills/dmitrypogrebnoy-generating-sorbet-inline?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/dmitrypogrebnoy-generating-sorbet-inline/security.svg" alt="Skillstore security assessment" loading="lazy"></a>埋め込みカード
<iframe src="https://skillstore.io/embed/skills/dmitrypogrebnoy-generating-sorbet-inline.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学術引用 (APA · BibTeX · CFF)
APA形式の引用
DmitryPogrebnoy. (2026). generating-sorbet-inline security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/dmitrypogrebnoy-generating-sorbet-inline/audits/8BibTeX形式の引用
@techreport{dmitrypogrebnoy-dmitrypogrebnoy-generating-sorbet-inline-2026,
author = {DmitryPogrebnoy},
title = {generating-sorbet-inline security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/dmitrypogrebnoy-generating-sorbet-inline/audits/8},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "generating-sorbet-inline security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "DmitryPogrebnoy"
date-released: "2026-07-05"
url: "https://skillstore.io/skills/dmitrypogrebnoy-generating-sorbet-inline/audits/8"
identifiers:
- type: other
value: "skillstore:dmitrypogrebnoy-generating-sorbet-inline:audit:8"
description: "Skillstore immutable audit report identifier"
Skillstore スコア
このスコアの理由 証拠の信頼度: 高作成できるもの
小さな Ruby クラスに型を付ける
コンストラクタ、リーダー、単純なインスタンスメソッドを持つクラスに Sorbet sig ブロックを追加します。
段階的型付けのプルリクエストを準備する
既存の typed sigil ポリシーを維持しながら、選択したファイルをインライン Sorbet シグネチャへ変換します。
既存の Sorbet シグネチャをレビューする
生成されたシグネチャについて、T.untyped の使用、extend T::Sig 宣言の不足、戻り値型の不一致を確認します。
これらのプロンプトを試す
Add Sorbet inline signatures to this Ruby file. Preserve the current typed sigil and explain any uncertain type choices.
Generate inline sig blocks for these methods. Use the implementation and tests to avoid T.untyped unless no reliable type can be inferred.
Add Sorbet signatures for the constructor, attr_reader methods, attr_writer methods, and public instance methods in this class.
Review these Sorbet inline signatures, identify likely type errors, and suggest safe refinements before running any validation command.
ベストプラクティス
- 型推論を依頼する際は、Ruby ファイル全体と関連テストを提供してください。
- 変更をコミットする前に、生成されたすべての型をレビューしてください。
- コマンドとリポジトリのコンテキストを承認した後でのみ、Sorbet 検証を実行してください。
回避
- このワークフローで RBI ファイルの生成を依頼しないでください。
- 不明確なメソッドに対して、フォローアップレビューなしに T.untyped を受け入れないでください。
- 信頼できないリポジトリで検証コマンドを自動実行しないでください。
よくある質問
このスキルは RBI ファイルを作成しますか?
typed sigil は変更されますか?
attr_reader と attr_writer メソッドに対応できますか?
T.untyped を使用しますか?
提案された検証コマンドを実行すべきですか?
これは新しい Sorbet プロジェクトにも役立ちますか?
開発者情報
作成者
DmitryPogrebnoyライセンス
MIT
Skillstore リビジョン
r1
バージョンに関する注意
作者はバージョンを宣言していません。
参照
c579efd02184f1128d6741d16e6c8d951d7d4208
メンテナンスの新しさ
2026/7/20
利用状況
9 ダウンロード · 414 閲覧