design-metadata-schema
$
npx mdskill add dandye/ai-runbooks/design-metadata-schemaDesign structured metadata frameworks for content management.
- Creates standardized templates to improve searchability and organization.
- Integrates Dublin Core standards and custom business fields.
- Analyzes content domains to identify required attributes and constraints.
- Outputs JSON schemas with defined validation rules and field properties.
SKILL.md
.github/skills/design-metadata-schemaView on GitHub ↗
--- name: design-metadata-schema description: Design comprehensive metadata frameworks. Develops structured metadata templates and tagging systems. required_roles: scribe: roles/scribe.editor personas: [information-architect, data-architect, content-strategist] --- # 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.
More from dandye/ai-runbooks
- analyze-content-gapsIdentify content gaps and organizational opportunities. Analyzes missing content areas, redundancies, and consolidation opportunities.
- audit-contentComprehensive content quality and maintenance assessment. Evaluates documentation quality, relevance, maintenance needs, and provides actionable recommendations.
- check-duplicates"Check for duplicate or similar cases. Use before deep analysis to avoid investigating the same incident twice. Takes a CASE_ID and returns list of similar cases."
- close-case-artifact"Close a case or alert with proper reason and documentation. Use when triage determines an alert is FP/BTP or investigation is complete. Requires artifact ID, type, closure reason, and root cause."
- cluster-documentsAutomated content similarity and grouping analysis. Groups related documents by topic, purpose, or content similarity.
- confirm-action"Ask the user to confirm before taking a significant action. Use before containment, remediation, or other impactful operations to ensure analyst approval. Presents options and waits for response."
- correlate-ioc"Check for existing SIEM alerts and case management entries related to IOCs. Use to understand if an indicator has triggered previous alerts or is part of ongoing investigations. Takes IOC list and returns related alerts and cases."
- deep-dive-ioc"Perform exhaustive analysis of a critical IOC. Use when an IOC needs Tier 2+ investigation beyond basic enrichment - includes GTI pivoting, deep SIEM searches, correlation with related entities, and threat attribution. For escalated IOCs requiring comprehensive investigation."
- document-in-case"Add a comment to a case to document findings, actions, or recommendations. Use to maintain audit trail during investigations. Requires CASE_ID and comment text."
- enrich-ioc"Enrich an IOC (IP, domain, hash, URL) with threat intelligence. Use when you need to look up reputation and context for an indicator using GTI and SIEM. Returns threat intel findings, SIEM entity summary, and IOC match status."