본문으로 건너뛰기
Skillpedia
문서화48k · #4998

json-schema-manual

하는 일

이 도구는 데이터를 위한 '계약'(JSON Schema라고 부릅니다)을 만듭니다. 데이터가 이미 정의된 필드 목록처럼 올바른 형식을 갖추도록 보장하며, 임의로 규칙을 만들지 않습니다.

사용하는 경우

  • ✓시스템에 들어갈 데이터의 모습을 정의해야 할 때.
  • ✓시스템으로 들어오는 데이터가 올바른지 검증할 때.
  • ✓가져올 파일을 위한 문서를 만드는 경우.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/json-schema-manual/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/json-schema-manual/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이미 정한 고객 필드 목록에 맞춰 데이터 계약을 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 여러분이 이미 확정한 필드 목록을 가져와 검증 스키마를 만듭니다. 이미 정해진 규칙(어떤 필드가 필수인지 등)을 사용하고, 새 규칙은 추가하지 않습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

JSON Schema Manual

What it is: a draft 2020-12 schema over a field list someone already confirmed - validating structure, never inventing business rules.

Overview

Produces JSON Schema from a confirmed canonical field list, for validation, API contracts, import and export structures, form generation, and schema documentation.

JSON Schema validates structure. It does not compute, decide or imply. This is a helper: it defines no table of its own and renders whatever field list the active module already confirmed, so the property names here are the names that module uses in its CSV, SQL, spreadsheet and Notion mapping.

Layer: n/a. Fits: every stage. Table code: n/a - it renders the active module's table.

When to Use This Skill

  • I need a JSON Schema
  • validate this payload before it goes in
  • make an API contract for this table
  • document the shape of this import file
  • generate a form from this schema
  • turn the agreed fields into a schema

Also use it when a module has confirmed a field list and the user wants the contract for the system that will read it, rather than the table itself.

Do not use it to add validation the business has not asked for. A schema is a promise about what a payload may contain, and every restriction in it rejects real data.

How It Works

Follow the shared execution contract. The module-specific rules below define only domain fields, decisions, calculations, and safety constraints.

Step 1 - Identify intent

Read the request and pick the intent before asking anything.

  • "I need a schema" -> a strict or permissive schema, per Step 5.
  • "something rejected my payload" -> review or fix: only the rule that caused it.
  • "which fields are required" -> advice: answer from the confirmed field list, and offer the schema rather than emitting one.

Build only what was requested. A fix does not become a rewrite, and advice does not become a file.

Step 2 - Ask only what is missing

Reuse everything already confirmed, including by the module that owns the field list: the property names and types, the select options, the date and currency fields, the calculated fields, the statuses and the IDs. Never ask again for information the user has already supplied.

Ask one short question per message, and only when the answer changes the schema:

Q: Should the schema reject unknown fields, or allow them?

Nothing else is worth a question. Requiredness, options and formats come from the confirmed field list, not from a new round of asking.

Step 3 - Hold the internal context

Hold the answers in this shape. It stays internal - it is not shown to the user unless they ask, and it never carries a value the user did not give.

module: json-schema-manual
intent: null            # set in Step 1, one of: schema, review, fix, advice
source_module: null     # the module whose field list this renders
draft: "https://json-schema.org/draft/2020-12/schema"
additional_properties: null   # false | true - asked once, then held
example_instances: false
confirmed_facts: []     # only what the user actually said
open_questions: []      # the unanswered ones, in the order worth asking

source_module is the one field this skill needs that a module skill does not have. If it is unknown, ask which table the contract is for, because a schema built from a guess rejects the real data.

Step 4 - Recommend the smallest workflow

Build an already requested artifact without asking again. For advice-only requests, give a short recommendation and offer the relevant artifact.

Recommended approach: one object schema, one property per confirmed field, no required entry the field list does not mark as required, and no enum the field list does not define. Strictness only where the contract is closed.

Why this one: a schema's damage is asymmetric. A property it omits passes data nobody reviewed; a property it marks required, or an enum it invents, rejects data that was perfectly valid. Confirm the closed rules and stay silent on the rest.

Workflow: Field list confirmed -> Properties typed -> Requiredness applied from the source -> (validated) -> Published as the contract

Step 5 - Build only on request

Once the user asks, emit the schema as data only. Keep prose outside machine-readable data; provide file links and material limitations separately. Property names come from the confirmed field list, identical to the CSV, SQL,

…

자주 묻는 질문

JSON Schema란 무엇인가요?

JSON 데이터의 구조와 기대되는 데이터 타입을 설명하는 형식입니다. JSON 데이터의 설계도나 틀과 같습니다.

'데이터 계약'을 왜 쓰나요?

데이터를 주고받는 시스템들이 서로를 이해하고 데이터가 올바르도록 보장해 오류를 막기 위해서입니다.

이 도구가 검증 규칙을 임의로 만드나요?

아니요. 이미 확인되고 정의된 규칙(필드, 타입, 필수 여부)만 사용합니다.

상세 정보

작성자의 원본 설명

JSON Schema Manual: draft 2020-12 validation schema from a confirmed field list, with required and enum values only where confirmed. Use for an API or import contract.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4998
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬