agentleFS
dandyedandye/ai-runbooks/skills/design-metadata-schema/SKILL.md

design-metadata-schema

Skill127 starsChanged 4 months agoApache-2.0View on GitHub

Design comprehensive metadata frameworks. Develops structured metadata templates and tagging systems.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If VALIDATION_RULES is true, define:

    line 41

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Design Metadata Schema Skill

Develop a comprehensive metadata schema for content management. This skill defines structured fields, validation rules, and standards compliance to improve searchability and management.

Inputs

  • PATH - The content domain to apply the schema to (e.g., "/content")
  • OUTPUT_FORMAT - (Optional) The output format for the schema, e.g., "json-schema", "xml", "markdown" (default: "json-schema")
  • DUBLIN_CORE - (Optional) Boolean, whether to align with Dublin Core standards (default: true)
  • CUSTOM_FIELDS - (Optional) List of custom business-specific fields to include
  • VALIDATION_RULES - (Optional) Boolean, whether to define validation logic for fields (default: true)

Workflow

Step 1: Requirement Analysis

Analyze the content types at PATH to determine metadata needs.

  • Identify common attributes (Title, Date, Author).
  • Identify specific attributes (Product ID, Version, Region).

Step 2: Schema Definition

Define the fields and their properties.

  • Standard Fields: Map to Dublin Core (Title, Creator, Subject, etc.) if enabled.
  • Custom Fields: Define fields specified in CUSTOM_FIELDS or discovered during analysis.

Step 3: Constraints & Validation

If VALIDATION_RULES is true, define:

  • Data Types: String, Date, Integer, Boolean, Enum.
  • Required/Optional: Cardinality constraints.
  • Controlled Vocabularies: Allowed values for specific fields.

Step 4: Schema Output

Generate the schema definition in the requested OUTPUT_FORMAT (e.g., JSON Schema, XML Schema, or Markdown Table).

Required Outputs

A METADATA_SCHEMA object in the specified OUTPUT_FORMAT containing:

  • Field Dictionary: Name, Description, Type, Multiplicity.
  • Validation Logic: Rules for data entry.
  • Mapping: Correspondence to standards (like Dublin Core).

Quick Reference

  • Purpose: Standardize content tagging for consistency and interoperability.
  • Standards: Dublin Core, Schema.org.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.