gsd-ingest-docs

Ingest ADRs, PRDs, and SPECs into a repository-level .planning/ structure.

4|1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/lgwanai/openforce --skill gsd-ingest-docs-lgwanai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-ingest-docs
Source: https://github.com/lgwanai/openforce/tree/main/skills/gsd-ingest-docs
Command: npx skills add https://github.com/lgwanai/openforce --skill gsd-ingest-docs-lgwanai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill turns scattered ADRs, PRDs, SPECs, and other repository documents into a coherent .planning/ workspace, so teams can quickly align on requirements, roadmaps, and state without manual restructuring.

Core Features & Use Cases

  • Net-new bootstrap: When .planning/ is absent, synthesizes PROJECT.md, REQUIREMENTS.md, ROADMAP.md, and STATE.md, delegating the roadmap generation to gsd-roadmapper.
  • Merge into existing planning: When .planning/ exists, appends phases and requirements derived from ingested docs while blocking contradictions with locked decisions.
  • Conflict-aware ingestion: Auto-resolves conflicts using precedence ADR > SPEC > PRD > DOC (overridable via a manifest) and writes unresolved results to .planning/INGEST-CONFLICTS.md, using a BLOCKER gate to prevent writing destination files when unresolved contradictions exist.
  • Flexible inputs: Discovers documents from conventional paths (e.g., docs/adr/, docs/prd/, docs/specs/, docs/rfc/, and root-level {ADR,PRD,SPEC,RFC}-*.md) or ingests an explicit manifest file via --manifest <file>.

Quick Start

Run the Skill in net-new mode to build a full .planning/ setup from your repository’s ADRs, PRDs, SPECs, and docs, using default discovery conventions.

Frequently Asked Questions about gsd-ingest-docs

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

FAQPage Schema
How do I generate a project roadmap and requirements from existing ADRs and PRDs?

When conflict resolution is applied during planning setup, ingestion auto-resolves contradictions using precedence rules where ADR overrides SPEC, SPEC overrides PRD, and PRD overrides DOC. Unresolved contradictions are written to `INGEST-CONFLICTS.md` and a BLOCKER gate prevents destination file writes until fixed.

Can I merge new specification documents into an existing `.planning/` directory?

You can ingest an explicit manifest file using the `--manifest <file>` flag to specify exact documents for ingestion. Without a manifest, the tool auto-discovers documents from conventional repository paths like `docs/adr/`, `docs/prd/`, and root-level `ADR-*.md` files.

What is the best way to bootstrap a complete planning setup from repository documentation?

If your repository lacks a `.planning/` directory, running the net-new bootstrap creates the entire structure from discovered documents. If the directory already exists, it performs a safe incremental merge, appending new phases and requirements while enforcing conflict precedence to protect locked decisions.

How does conflict precedence work when ingesting ADRs, SPECs, and PRDs?

To prevent corrupting your planning setup, a BLOCKER gate stops the tool from writing destination files when unresolved contradictions exist. You must manually resolve the conflicts listed in `.planning/INGEST-CONFLICTS.md` before the synthesis can complete successfully.

Does the planning ingestion tool support RFC documents?

During net-new bootstrap, roadmap generation is delegated to `gsd-roadmapper` after synthesizing the initial planning files. This ensures the generated `ROADMAP.md` aligns with the newly extracted requirements and project state.

Why does the ingestion process block writes to `ROADMAP.md` and `STATE.md`?

The BLOCKER gate enforces this by halting all destination file writes and surfacing the unresolved issues in `.planning/INGGEST-CONFLICTS.md`. You must resolve these documented conflicts before the tool can safely append phases and requirements to your existing planning structure.