gsd-ingest-docs

Ingest ADRs, PRDs, SPECs, and docs into .planning/ artifacts with conflict detection.

Updated May 21, 2026
One-click install
npx skills add https://github.com/jedmamosto/m-and-ms --skill gsd-ingest-docs-jedmamosto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-ingest-docs
Source: https://github.com/jedmamosto/m-and-ms/tree/main/.agents/skills/gsd-ingest-docs
Command: npx skills add https://github.com/jedmamosto/m-and-ms --skill gsd-ingest-docs-jedmamosto

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill bootstraps or merges a repository’s full .planning/ structure by synthesizing decisions and requirements from existing ADRs, PRDs, SPECs, and docs, saving you from manually reconciling and rewriting planning artifacts.

Core Features & Use Cases

  • Net-new bootstrap from repo docs: When .planning/ is absent, generates PROJECT.md, REQUIREMENTS.md, ROADMAP.md, and STATE.md by synthesizing content and delegating final roadmap writing to gsd-roadmapper.
  • Safe merge into existing planning: When .planning/ exists, appends new phases and requirements while hard-blocking any contradictions with locked decisions.
  • Conflict-aware ingestion: Detects and classifies conflicts with auto-resolutions and buckets such as competing variants and unresolved blockers into .planning/INGEST-CONFLICTS.md, using precedence ADR > SPEC > PRD > DOC.
  • Flexible inputs: Discovers planning documents via directory conventions (e.g., docs/adr, docs/prd, docs/specs, docs/rfc, and root {ADR,PRD,SPEC,RFC}-*.md) or accepts an explicit --manifest YAML to define doc paths, types, and precedence.
  • Guardrails and limits: Enforces a v1 cap of 50 docs per run and preserves approval gates, including a BLOCKER rule that prevents writing destination files when unresolved contradictions exist.

Quick Start

Run gsd-ingest-docs to build a new .planning/ setup from your existing ADR/PRD/SPEC/DOC files in the repository using the default mode.

Frequently Asked Questions about gsd-ingest-docs

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

FAQPage Schema
How do I bootstrap a .planning directory from existing ADRs and PRDs?

To bootstrap a .planning directory from existing ADRs and PRDs, you can run an ingestion process that synthesizes documents into PROJECT.md, REQUIREMENTS.md, ROADMAP.md, and STATE.md. It discovers inputs via standard doc directories or an explicit manifest.

What is the precedence order for resolving conflicts when ingesting specs and requirements?

The precedence order for resolving conflicts when ingesting specs and requirements is ADR > SPEC > PRD > DOC. The system applies deterministic conflict detection and reports unresolved blockers to a dedicated conflict file.

How do I merge new requirements into an existing .planning setup safely?

To merge new requirements into an existing .planning setup safely, the ingestion process appends new phases while hard-blocking contradictions with locked decisions. A BLOCKER rule prevents writing destination files when unresolved contradictions exist.

Can I use a custom manifest to define document paths and types for planning automation?

Yes, you can use a custom manifest to define document paths and types for planning automation. The system accepts an explicit --manifest YAML file to define doc paths, types, and precedence instead of relying on directory conventions.

What are the limitations of ingesting planning documents in a single run?

The primary limitation of ingesting planning documents in a single run is a hard v1 cap of 50 documents per invocation. Additionally, a BLOCKER rule halts the process if unresolved contradictions are detected among the inputs.

How does roadmap generation work when synthesizing requirements from repository docs?

Roadmap generation when synthesizing requirements from repository docs works by consolidating content into a ROADMAP.md file. The ingestion process generates the foundational planning artifacts and delegates the final roadmap writing to a specialized roadmapping component.