Skip to content
Back to skills

Prompt Metadata Quality

ASecurity

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

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
researchpythonbashperformance

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill prompt_metadata_quality --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prompt Metadata Quality?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Prompt Metadata Quality
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-prompt-metadata-quality/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-prompt-metadata-quality)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
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:

```bash
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.