speckit-extract-run

Extract ADRs, knowledge, and guidelines from spec directories into project documentation.

9|4|Updated May 13, 2025
One-click install
npx skills add https://github.com/opsmill/infrahub-mcp --skill speckit-extract-run
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: speckit-extract-run
Source: https://github.com/opsmill/infrahub-mcp/tree/main/.agents/skills/speckit-extract-run
Command: npx skills add https://github.com/opsmill/infrahub-mcp --skill speckit-extract-run

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Extract knowledge, guidelines, and ADRs from completed spec directories into a centralized project documentation system to improve traceability and onboarding.

Core Features & Use Cases

  • Extract ADRs from research.md sections, including decisions, rationales, and alternatives.
  • Aggregate knowledge and guidelines from spec artifacts (spec.md, data-model.md, contracts/, plan.md) into the appropriate docs.
  • Support batch extractions across multiple specs and maintain an extraction ledger with source tagging.

Quick Start

Run speckit-extract-run with one or more spec directories to start the extraction.

Frequently Asked Questions about speckit-extract-run

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

FAQPage Schema
How do I extract ADRs from completed spec directories into project documentation?▼

To extract ADRs from spec directories, run speckit-extract-run to scan research.md, spec.md, data-model.md, contracts/, and plan.md. It categorizes decisions, rationales, and alternatives, then outputs ADRs directly into your dev/adr folder with source tagging.

What is the best way to automate knowledge and guidelines extraction from multiple specs?▼

The best way to automate knowledge and guidelines extraction across multiple specs is using batch extraction mode. It scans spec artifacts, categorizes content, and aggregates updates into dev/knowledge and dev/guidelines directories while maintaining an extraction ledger for full traceability.

Can I use speckit-extract-run to process multi-spec batches simultaneously?▼

Yes, you can process multi-spec batches simultaneously. The tool applies batch extraction logic across multiple completed spec directories, categorizing content into ADRs, knowledge, or guidelines, and produces a unified extraction ledger with source tagging.

How does spec directory extraction categorize content from research.md and plan.md?▼

Spec directory extraction categorizes content by scanning research.md, spec.md, data-model.md, contracts/, and plan.md. It identifies decisions, rationales, and alternatives for ADRs, and routes general knowledge or guidelines into their respective dev/ subdirectories.

Do I need a specific documentation structure to extract ADRs and guidelines from spec artifacts?▼

You need completed spec directories containing research.md, spec.md, data-model.md, contracts/, and plan.md. The extraction process automatically generates the target structure, producing ADRs under dev/adr, knowledge under dev/knowledge, and guidelines under dev/guidelines.

Why does spec extraction maintain an extraction ledger with source tagging?▼

Spec extraction maintains an extraction ledger with source tagging to improve traceability and onboarding. By linking extracted ADRs, knowledge, and guidelines back to their original spec artifacts, teams can verify decisions and track documentation origins.