Agent skill
address-merge-conflict
Gives guidelines for addressing a Git merge conflict with user intervention. Do not invoke unless user asks.
Install this agent skill to your Project
npx add-skill https://github.com/rstacruz/agentic-toolkit/tree/main/skill/atk-extras/address-merge-conflict
SKILL.md
Help address a merge conflict.
- Gather context:
git grep "^<<<<<<<"(find merge conflict markers)git status --porcelain(show changed files)
- Read the code changes to understand what's happening.
- If there are decisions to be made, ask the user first using
questiontool. Provide suggested answers and a recommendation. - After addressing the conflict, test that it works. Run related automated tests.
- Summarise the merge conflict resolutions and give abbreviated code overviews.
Guidelines:
- Do NOT do any git operations. Leave it for the user to add and commit.
Showing code changes
- Include pseudocode in it, along with 🔵 OURS and 🟠 THEIRS markers
- See example below
```javascript
// == path/to/file.ts ==
setup() {
start() // [🔵 OURS]
start({ now: true }) // [🟠 THEIRS]
// Added logging [🟠 THEIRS]
if (loggingEnabled) {
log({ event: "started" })
}
}
```
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
refine-implementation
Use after implementation to simplify and review code. Provide: git range (eg, main...HEAD). Runs simplify + peer review loop until change set is clean.
implement-spec
Implements a spec on a ticket-by-ticket basis.
spec-product-requirements
Gives important guidelines to define product requirements sections (functional requirements, technical requirements, constraints, design considerations, diagrams). Companion to $spec-mode.
coding-practices
Contains important guidelines for software engineering, coding, programming. Includes (but not limited to): - CP1: Functional core, imperative shell - CP2: Operational vs unexpected errors - CP3: Result-oriented interface pattern - CP4: Presentational vs container components - CP5: Log context builder pattern Use this when writing, editing, debugging, planning, or otherwise working with: - Any programming work - UI components in React, Vue, or similar - JavaScript, TypeScript, Rust, or any programming language
spec-tech-design
Gives important guidelines to define technical design sections (call graphs, data models, pseudocode, files, CSS classes, testing strategy). Companion to $spec-mode skill.
review-changes
Use when reviewing code changes against a plan. Provide: plan/spec doc; git range or changed files (eg, branch...HEAD). Returns P1/P2/P3 on alignment, quality, bugs, security.
Didn't find tool you were looking for?