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.
1---2type: Skill3name: design-metadata-schema4description: Design comprehensive metadata frameworks. Develops structured metadata templates and tagging systems.5required_roles:6 scribe: roles/scribe.editor7personas: [information-architect, data-architect, content-strategist]8generated:9 by: process:google-labs-jules10 at: 2026-01-29T21:19:07Z11---1213# Design Metadata Schema Skill1415Develop a comprehensive metadata schema for content management. This skill defines structured fields, validation rules, and standards compliance to improve searchability and management.1617## Inputs1819- `PATH` - The content domain to apply the schema to (e.g., "/content")20- `OUTPUT_FORMAT` - (Optional) The output format for the schema, e.g., "json-schema", "xml", "markdown" (default: "json-schema")21- `DUBLIN_CORE` - (Optional) Boolean, whether to align with Dublin Core standards (default: true)22- `CUSTOM_FIELDS` - (Optional) List of custom business-specific fields to include23- `VALIDATION_RULES` - (Optional) Boolean, whether to define validation logic for fields (default: true)2425## Workflow2627### Step 1: Requirement Analysis2829Analyze the content types at `PATH` to determine metadata needs.30- Identify common attributes (Title, Date, Author).31- Identify specific attributes (Product ID, Version, Region).3233### Step 2: Schema Definition3435Define the fields and their properties.36- **Standard Fields**: Map to Dublin Core (Title, Creator, Subject, etc.) if enabled.37- **Custom Fields**: Define fields specified in `CUSTOM_FIELDS` or discovered during analysis.3839### Step 3: Constraints & Validation4041If `VALIDATION_RULES` is true, define:42- **Data Types**: String, Date, Integer, Boolean, Enum.43- **Required/Optional**: Cardinality constraints.44- **Controlled Vocabularies**: Allowed values for specific fields.4546### Step 4: Schema Output4748Generate the schema definition in the requested `OUTPUT_FORMAT` (e.g., JSON Schema, XML Schema, or Markdown Table).4950## Required Outputs5152A `METADATA_SCHEMA` object in the specified `OUTPUT_FORMAT` containing:53- **Field Dictionary**: Name, Description, Type, Multiplicity.54- **Validation Logic**: Rules for data entry.55- **Mapping**: Correspondence to standards (like Dublin Core).5657## Quick Reference5859- **Purpose**: Standardize content tagging for consistency and interoperability.60- **Standards**: Dublin Core, Schema.org.