인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
데이터 및 연구 · SKILL.md

prompt_metadata_quality

prompt_metadata_quality

Validate PromptSource-style prompt metadata and community quality constraints for natural-language prompts, metrics, answer choices, and target format.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: prompt_metadata_quality description: Validate PromptSource-style prompt metadata and community quality constraints for natural-language prompts, metrics, answer choices, and target format.

Prompt Metadata Quality

Use this skill when reviewing PromptSource/P3-style prompt records before adding them to a prompt collection or using them in a recovery experiment.

Inputs

  • metadata: JSON object with fields such as name, metrics, answer_choices, original_task, valid_outputs_stated, language, and reference.
  • rendered_examples: optional JSON list of rendered prompt records with input and target.

Outputs

A JSON validation report with ok, errors, warnings, and checked_fields.

Workflow

  1. Require a prompt name and reference or rationale.
  2. Validate metrics against the PromptSource metric vocabulary.
  3. Validate language tags when supplied.
  4. Check consistency between valid-output metadata and answer choices.
  5. Inspect rendered examples for natural-language task statements and concise targets.
  6. Return actionable review messages without mutating the prompt.

Validation

Run:

python tests/test_prompt_metadata_quality.py
python scripts/validate_metadata.py --metadata-json '{"name":"based on passage","metrics":["Accuracy"],"answer_choices":["Yes","No","Maybe"],"valid_outputs_stated":true,"reference":"paper example"}'

Limitations

This skill provides deterministic review checks. It does not replace human judgment for prompt usefulness or downstream model performance.

저장한 Skills