RZ

rudedogg/zig-skills

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

39 stars 品質 34 トレンド 27

Zigプログラミング言語のエージェントスキル

概要

Zigプログラミング言語のエージェントスキル、バージョン0.15.xのターゲティング LLM は TypeScript や Swift などの言語よりも Zig に苦労しています。 言語は依然として進化しており、トレーニングデータが少ないため、非推奨または削除された構文を頻繁に使用できます。 このスキルは、正しい、慣習的なZigコードに向かってモデルを導く最新のコンテキストを提供します。 - : 重要なパターンと一般的な間違いを覆う357行 - : ドキュメントの約21,500行の合計51ファイル - 標準ライブラリモジュールのドキュメント - Idiomaticパターン(Zigコードパターンから) - ビルドシステムガイダンス - 言語参照コンテンツ Claude Opus 4.5 で Zig 標準ライブラリソースコードをコンテキストとして生成します。 各モジュールは、モデルに実際のソースファイルを供給し、出力を構造化するために、スキル・クリエイターを使用して文書化されました。 方法論は、幻覚文書ではなく、実際のソースコードにモデルを基づかせていることを優先します。 https://austinrude. を参照してください

概要(AI 翻訳)

Zigプログラミング言語のエージェントスキル、バージョン0.15.xのターゲティング

なぜこの例

LLM は TypeScript や Swift などの言語よりも Zig に苦労しています。 言語は依然として進化しており、トレーニングデータが少ないため、非推奨または削除された構文を頻繁に使用できます。 このスキルは、正しい、慣習的なZigコードに向かってモデルを導く最新のコンテキストを提供します。

含まれているもの

-SKILL.md:重要なパターンと一般的な間違いを覆う357行

  • references/:文書の約21,500行の合計51ファイル
  • 標準ライブラリモジュールのドキュメント
  • Idiomatic パターン(Zig コード パターンから)
  • システムガイダンスの構築
  • 言語参照内容

作った方法

Claude Opus 4.5 で Zig 標準ライブラリソースコードをコンテキストとして生成します。 各モジュールは、モデルに実際のソースファイルを供給し、出力を構造化するために、スキル・クリエイターを使用して文書化されました。

方法論は、幻覚文書ではなく、実際のソースコードにモデルを基づかせていることを優先します。

詳細はhttps://austinrude.com/blog/making-a-zig-agent-skill/を参照してください。

使用法

zigディレクトリを[~/.claude/skills/]にインストールします.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

Zig 0.15.x Agent Skill

An Agent Skill for the Zig programming language, targeting version 0.15.x.

Why This Exists

LLMs struggle with Zig more than languages like TypeScript or Swift. The language is still evolving, there’s less training data available, and models frequently use deprecated or removed syntax. This skill provides up-to-date context to guide models toward correct, idiomatic Zig code.

What’s Included

  • SKILL.md: 357 lines covering critical patterns and common mistakes
  • references/: 51 files totaling ~21,500 lines of documentation
    • Standard library module documentation
    • Idiomatic patterns (from Zig Code Patterns)
    • Build system guidance
    • Language reference content

How It Was Made

Generated using Claude Opus 4.5 with the Zig standard library source code as context. Each module was documented by feeding the model the actual source files and using the skill-creator to structure the output.

The methodology prioritizes grounding the model in real source code rather than hallucinated documentation.

See https://austinrude.com/blog/making-a-zig-agent-skill/ for details.

Usage

Install the zig directory into ~/.claude/skills/ per Claude Code skill documentation.

Example prompt:

Using the zig skill please review @src/ and help me improve the codebase.

Feedback

Please open an issue if you find any hallucinations, inaccuracies, or outdated patterns. No need to write a detailed report with a fix—just knowing about the problem helps improve the skill.

Specification

This skill follows the Agent Skills Specification.

License

MIT

GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add rudedogg/zig-skills
MCP 初心者?mcpskill.org のガイドから始めましょう →