f2s-kb-merge

Resolves Git merge conflicts in AI context files while deferring implementation conflicts for user confirmation.

48|6|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/double-coding-lab/Flow2Spec --skill f2s-kb-merge-double-coding-lab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: f2s-kb-merge
Source: https://github.com/double-coding-lab/Flow2Spec/tree/main/.cursor/skills/f2s-kb-merge
Command: npx skills add https://github.com/double-coding-lab/Flow2Spec --skill f2s-kb-merge-double-coding-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? After a Git merge or rebase, conflict markers appear across knowledge base files like rule indexes, skill definitions, and documentation. Manually reconciling these is error-prone, and blindly auto-merging implementation code or dependency files can silently break runtime behavior. ## Core Features & Use Cases - Category-based conflict handling: Classifies conflicted files into documentation indexes, overview rules, module rules, skills, and explanatory docs that can be auto-merged, versus implementation source, behavior-changing config, and dependency metadata that require user confirmation. - Structured merge strategies: Applies union-merge for index table rows, preserves unique constraints from both sides in rules, deduplicates paths, and removes all conflict markers without residue. - Optional sub-agent orchestration: When enabled, a sub-agent produces a five-field comparison table (file, category, ours_summary, theirs_summary, recommendation) while the main agent handles writes and acceptance. - Use Case: After rebasing a branch that touched both .cursor/rules files and service code, run this skill to auto-merge the rule and index conflicts, then review a side-by-side summary of the implementation conflicts before choosing which side to keep. ## Quick Start Ask the assistant to resolve the merge conflicts in the workspace context files, optionally listing specific conflicted files to limit the scope.

Frequently Asked Questions about f2s-kb-merge

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

FAQPage Schema
How do I resolve Git merge conflicts in AI agent rule files?▼

Run the merge conflict skill after a merge or rebase. It scans for conflict markers, classifies files by category, and auto-merges documentation indexes, rules, and skill files using union strategies while removing all conflict markers.

Can I resolve only specific conflicted files instead of the whole workspace?▼

Yes. You can pass one or more conflicted file paths, and only those files are processed. Afterward, you can optionally request a supplementary scan of the remaining workspace for other conflicts.

Which merge conflicts are not auto-resolved?▼

Implementation source code, behavior-changing configuration like routes and middleware, and dependency or build metadata are never auto-merged. The skill lists both sides' differences with a recommendation and waits for your explicit choice before editing.

How are index table conflicts merged without losing entries?▼

For shared index rows, the Rules, Skills, and link columns are union-merged with path deduplication. Rows present on only one side are preserved in full, so no index entries are lost during the merge.

What happens if both sides of a rule conflict have unique constraints?▼

The merge keeps the more specific and clearly constrained wording, and merges any unique must or must-not clauses from the other side into the result. This prevents rule regressions where one side's constraints would otherwise be dropped.