본문으로 건너뛰기
cccskills
무료GitHub에 공개

tomlyn

how to use Tomlyn for serialization and deserialization of TOML files in C#

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(10)

  • SKILL.md2.2 KB
  • docs/compatibility.md2.6 KB
  • docs/dom.md6.9 KB
  • docs/getting-started.md4.9 KB
  • docs/low-level.md10.7 KB
  • docs/migration.md6.1 KB
  • docs/performance.md3.2 KB
  • docs/readme.md2.1 KB
  • docs/serialization.md31.6 KB
  • docs/source-generation.md9.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Tomlyn is a high-performance TOML 1.1 library for .NET, shaped like System.Text.Json. It provides two main layers:

  • Object serialization - TomlSerializer maps TOML documents to .NET objects (POCOs, records, dictionaries) and back. Supports reflection and source generation. Does not preserve comments or formatting.
  • Low-level parsing - TomlLexer, TomlParser, and SyntaxParser provide token streams, incremental events, and a full-fidelity syntax tree for tooling, analyzers, and formatters that need to preserve every character.

Where to start

ScenarioStart here
New to TomlynGetting started
Familiar with System.Text.JsonSerialization - the API shape is intentionally similar
Need NativeAOT / trimmingSource generation
Want a dynamic model (no POCOs)DOM model - TomlTable, TomlArray
Building tooling (formatters, analyzers)Low-level APIs - SyntaxParser
Migrating from Tomlyn v0.xMigration guide

Key concepts

[!IMPORTANT] Tomlyn v1 targets TOML 1.1.0 only. It does not support TOML 1.0 or earlier drafts. See the official TOML v1.1.0 specification for the full language reference.

  • Diagnostics - parsing and mapping failures throw TomlException with precise source locations (Line, Column, Offset, Span).
  • Immutable options - TomlSerializerOptions is a sealed record; cache and reuse instances.
  • NativeAOT / trimming - use source generation (TomlSerializerContext) to avoid reflection. Reflection can be disabled via a feature switch.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

astro

무료

Reference for Astro — the core web framework the gatOS docs site (under site/) is built on. Use this when authoring or editing pages in site/, working with .astro/.md/.mdx files, content collections, the astro.config.mjs, or component/JSX-in-Markdown mechanics. Covers Astro component anatomy, using components in MDX, content collections, frontmatter, imports, expressions, and the build/dev commands — enough to work the site without leaving the repo. Pair with the `starlight` skill (the docs theme + its components) and the `tutorials` skill (the gatOS house style).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

meow-sci/gatOS132026년 10월 11일 업데이트

bun

무료

how to use bun effectively for scripting and sqlite and more

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

meow-sci/gatOS132026년 10월 11일 업데이트

gatos

무료

Write scripts and programs against gatOS — the KSA mod that exposes live Kitten Space Agency simulation state as a 9P filesystem at /sim (also over HTTP /v1, MQTT, and an AI-oriented MCP server). Use this when asked to read game/celestial/vehicle telemetry, control vehicles (throttle, ignite, staging, attitude, burns, RCS, lights, docking), use game/debug controls (teleport, impulse kick, refuel, time-warp, switch vessel), direct the in-game camera / author cinematic shots and tracks, schedule timed command sequences, or write flight-computer / autopilot programs. Covers the full /sim catalog, the command model, KSA coordinate frames, and worked Bun/TypeScript + Rust examples.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

meow-sci/gatOS132026년 10월 11일 업데이트

harmony

무료

Expert in use of Harmony Lib for runtime patching of dotnet C# code

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

meow-sci/gatOS132026년 10월 11일 업데이트

imgui

무료

ImGui is an immediate mode UI library. KSA uses ImGui for UI

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

meow-sci/gatOS132026년 10월 11일 업데이트

ksa

무료

detailed information about kitten space agency (KSA) game code, decompiled sources, modding patterns, architecture and best practices for working with mods and the game codebase

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

meow-sci/gatOS132026년 10월 11일 업데이트

meow-sci의 스킬 모두 보기

이 스킬의 문제 신고