specd-spec-metadata

Generate structured spec metadata from artifact ASTs using extraction rules.

12|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/specd-sdd/SpecD --skill specd-spec-metadata
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: specd-spec-metadata
Source: https://github.com/specd-sdd/SpecD/tree/main/.gemini/skills/specd-spec-metadata
Command: npx skills add https://github.com/specd-sdd/SpecD --skill specd-spec-metadata

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the extraction and refinement of specification metadata from artifacts, ensuring consistent, machine-friendly metadata for downstream tooling and review.

Core Features & Use Cases

  • Deterministic extraction of metadata from artifact ASTs using schema-defined rules.
  • Optional LLM-based optimization to enhance quality, deduplicate content, and generate keywords.
  • Safe and auditable workflow with dependsOn preservation and batch-processing support.

Quick Start

Run specd spec generate-metadata <spec-id> to create or refresh the metadata for a spec.

Frequently Asked Questions about specd-spec-metadata

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate structured metadata from specification artifacts?

Generate spec metadata by analyzing artifact ASTs and applying schema-defined metadataExtraction rules. This process produces consistent, machine-friendly metadata for downstream tooling and review.

How does deterministic spec metadata extraction work?

Deterministic extraction parses artifact ASTs using schema-defined rules, ensuring reproducible metadata output. Optional LLM-based optimization then enhances quality and deduplicates content while preserving dependencies and content hashes.

Can I use LLM optimization to improve specification metadata quality?

Yes, you can apply optional LLM-based optimization after deterministic extraction to deduplicate content and generate keywords. This improves metadata quality while preserving original dependencies and content hashes for validation.

What is the best way to preserve dependencies when refining spec metadata?

Use a metadata generation workflow that explicitly preserves dependsOn relationships during extraction and LLM optimization. The final metadata is written back to the spec store with integrity validation to ensure no dependencies are broken.

How do I validate spec metadata integrity after batch processing?

Validate spec metadata integrity by checking content hashes and dependency preservation after the generation workflow completes. The tool writes final metadata back to the spec store and performs integrity validation automatically.

Does spec metadata generation support batch processing for multiple specifications?

Yes, the metadata generation workflow supports batch-processing of specs. It applies deterministic extraction and optional LLM optimization across multiple artifacts, maintaining an auditable workflow with dependsOn preservation and integrity validation.