njust-ai-conflict-resolution

Analyze git history and commit messages to resolve merge conflicts.

4|1|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/JunjieChen0/NJUST --skill njust-ai-conflict-resolution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: njust-ai-conflict-resolution
Source: https://github.com/JunjieChen0/NJUST/tree/main/.njust-ai/skills/njust-ai-conflict-resolution
Command: npx skills add https://github.com/JunjieChen0/NJUST --skill njust-ai-conflict-resolution

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides comprehensive guidelines for resolving merge conflicts intelligently using git history and commit context to determine the best course of action during PR changes or rebases.

Core Features & Use Cases

  • Analyze commit messages, git blame, and diffs to infer intent behind conflicting changes.
  • Provide structured resolution strategies for PR conflicts, rebases, and multi-file merges.
  • Offer actionable steps and guardrails to ensure safe, reproducible conflict resolution.

Quick Start

Provide the PR number and a list of conflicting files to start the conflict-resolution workflow.

Frequently Asked Questions about njust-ai-conflict-resolution

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

FAQPage Schema
How do I resolve Git merge conflicts using commit history?

Resolve Git merge conflicts by analyzing git history, commit messages, and code intent to infer the purpose behind conflicting changes and determine the best resolution strategy. This approach ensures the merged code aligns with the original development intent.

What is the best way to handle multi-file merge conflicts in a pull request?

Handling multi-file merge conflicts in a pull request requires a structured, risk-aware resolution plan. By analyzing git blame and diff data across the conflicting files, you can systematically infer code intent and apply safe, reproducible merge resolutions.

Can I use git blame to determine the correct resolution for a rebase conflict?

Yes, you can use git blame to determine the correct resolution for a rebase conflict. By analyzing git blame data alongside commit messages and diffs, you can infer the intent behind the conflicting changes and build a structured resolution strategy.

Does resolving version control conflicts manually risk overwriting valid code intent?

Resolving version control conflicts manually risks overwriting valid code intent if you lack context. Analyzing commit messages, git blame, and diffs before resolving conflicts helps infer the original development goals and prevents accidental code loss.

What data do I need to provide to start resolving PR conflicts?

To start resolving PR conflicts, you need to provide the pull request number and a list of conflicting files. This input allows the resolution workflow to access PR details, git blame, and diff data to generate a risk-aware resolution plan.