Merge docs

From serpro69/claude-toolbox · View interactive version

Merge docs is an AI agent skill from the GitHub repository serpro69/claude-toolbox. Compare and merge two design docs for the same feature into a single source of truth. Use when you have competing or complementary design/implementation docs (e.g. from separate design runs) that need reconciling into one unified document.

How to use this skill

Skill file

<!-- codex: tool-name mapping applied. See the kk Codex bootstrap instructions -->

Merge Design Documents

Goal: Produce a single, unified set of feature docs from two separate designs for the same feature.

Conventions

When to Use

You have two feature directories under /docs/feat/wip/ for the same feature — each with its own design, implementation plan, and task list — and you need to combine them into one coherent set of docs.

Workflow

Mandatory order — grounding before merging. The flow below is strictly sequential. Do not categorize sections, surface contradictions, or write merged content until you have read both feature directories fully and built a codebase-grounded mental model. Merging without grounding produces decisions based on prose clarity rather than codebase reality — the wrong tiebreaker.

See merge-process.md for the detailed steps.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.