doc-consolidation

Consolidate untracked LLM-generated markdown files into permanent documentation.

326|35|Updated Nov 23, 2025
One-click install
npx skills add https://github.com/athola/claude-night-market --skill doc-consolidation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-consolidation
Source: https://github.com/athola/claude-night-market/tree/main/plugins/sanctum/skills/doc-consolidation
Command: npx skills add https://github.com/athola/claude-night-market --skill doc-consolidation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sanctum:shared.

What problem does it solve?

Consolidates ephemeral LLM-generated markdown files into permanent documentation.

Core Features & Use Cases

  • Candidate detection, content analysis, destination routing
  • Phase-based consolidation (triage → execute)
  • Merges into docs and generates consolidation summaries

Quick Start

Identify and consolidate untracked *_REPORT.md or *_ANALYSIS.md files.

Frequently Asked Questions about doc-consolidation

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

FAQPage Schema
How do I consolidate Claude-generated markdown files into permanent documentation?

Consolidate ephemeral markdown outputs by identifying untracked REPORT.md and ANALYSIS.md files, then merge them into your docs using semantic routing and merge strategies like CREATE_NEW, INTELLIGENT_WEAVE, REPLACE_SECTION, or APPEND_WITH_CONTEXT. The Skill detects candidates, analyzes content, routes to destinations, and removes source artifacts.

Can I use markdown consolidation to prepare pull requests from code review insights?

Yes. The Skill supports PR preparation by consolidating ephemeral markdown artifacts flagged by git status into permanent documentation. It preserves insights from code reviews, generates consolidation summaries, and cleans up untracked files before you commit.

What's the workflow for consolidating multiple markdown files at once?

The Skill uses a two-phase workflow: triage identifies candidate files and analyzes their content, then execution routes them to semantic destinations and merges using your chosen strategy. Summaries are generated and source artifacts deleted, leaving your docs and git state clean.

How does semantic destination routing decide where markdown content goes?

Semantic destination routing analyzes each markdown file's content and intelligently matches it to existing documentation sections or creates new ones. It applies merge strategies appropriate to each destination, preserving formatting and context while avoiding duplicates.

Can I consolidate markdown files beyond REPORT.md and ANALYSIS.md?

The Skill primarily targets untracked REPORT.md and ANALYSIS.md files and other ephemeral markdown artifacts detected by git status. It's designed for LLM-generated outputs that need permanent homes in your documentation structure.

What happens to the original markdown files after consolidation?

Source artifacts are automatically deleted after successful consolidation. This cleans your repository of ephemeral files while preserving their insights in your permanent documentation, keeping your git state organized.

Related Skills