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

ingesting-spec

Guide for ingesting the latest OpenAI TypeSpec specification into the openai-dotnet SDK. Use this when asked to update or ingest OpenAI API specs, copy base TypeSpec files from upstream, fix client TSP compile errors, or run code generation for new API areas.

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

연동 도구OpenAI
설치 방법 보기

포함된 파일(6)

  • SKILL.md2.9 KB
  • checklist.md4.1 KB
  • file-locations.md3.2 KB
  • patterns-and-gotchas.md8.1 KB
  • references.md5.6 KB
  • steps.md13.7 KB

SKILL.md(원문)

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

Spec Ingestion

Overview

This skill describes how to ingest the latest OpenAI TypeSpec specification (from the upstream microsoft/openai-openapi-pr repository) into the openai-dotnet SDK, area by area.

The process involves:

  1. Copying updated base specs from upstream
  2. Reporting any compile errors in the base TSP
  3. Fixing compile errors in the client TSP layer
  4. Preserving custom C# code (renames, stubs)
  5. Running code generation
  6. Verifying the output

Skill Documents

This skill is split across multiple files for easier navigation:

DocumentDescription
steps.mdStep-by-step process — the full 9-step workflow from copying spec to post-generation verification
file-locations.mdKey file locations — quick reference for all upstream and local paths, area mappings
patterns-and-gotchas.mdCommon patterns & gotchas — lessons learned, pitfalls, and conventions to follow
checklist.mdChecklist — a task-by-task checklist for tracking progress during an ingestion
references.mdReference PRs — detailed notes on past ingestion PRs with lessons learned

Quick Start

  1. Review references.md for examples of past ingestions in your area
  2. Read file-locations.md to understand the repo layout
  3. Follow steps.md for the full ingestion workflow
  4. Use checklist.md to track your progress
  5. Consult patterns-and-gotchas.md when you hit issues

Available Areas

Areas that can be ingested independently:

administration · assistants · audio · batch · chat · containers · conversations · embeddings · evals · files · fine-tuning · graders · images · models · moderations · realtime · responses · runs · threads · vector-stores · videos

Key Rules

  1. Always add @@clientLocation for every operation in the client TSP (the latest spec no longer uses interface blocks)
  2. Update [CodeGenType] stubs in src/Custom/{Area}/Internal/GeneratorStubs.cs for any renamed types
  3. Defer complex features — suggest them as follow-up items rather than implementing in the same ingestion
  4. Run ./scripts/Invoke-CodeGen.ps1 to generate code (warnings are OK. Errors are not), then dotnet build to verify (Should be no warnings or errors)
  5. Work locally only — do NOT create PRs or file issues. Instead, suggest a list of issues that may need to be filed upstream

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Guide for running tests in the openai-dotnet repository. Use this when asked to run, debug, or validate tests, or when writing new tests. Explains test modes (Playback, Record, Live), how to identify recorded vs non-recorded tests, environment variable configuration, and what to do when recordings are missing or stale.

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

openai/openai-dotnet2.7천2026년 10월 19일 업데이트

openai의 스킬 모두 보기

이 스킬의 문제 신고