AGENT SKILL

Git合并冲突解决

resolving-merge-conflicts

当需要解决进行中的 git merge/rebase 冲突时使用。

License 许可
MIT
所属仓库
pkking/dotfiles
最近更新
2026-11-14
Stars
★ 0
Forks
0

01 前言 Front Matter

name
resolving-merge-conflicts
description
Use when you need to resolve an in-progress git merge/rebase conflict.

02 资源文件 1

03 SKILL.md 正文

  1. See the current state of the merge/rebase. Check git history, and the conflicting files.

  2. Find the primary sources for each conflict. Understand deeply why each change was made, and what the original intent was. Read the commit messages, check the PRs, check original issues/tickets.

  3. Resolve each hunk. Preserve both intents where possible. Where incompatible, pick the one matching the merge's stated goal and note the trade-off. Do not invent new behaviour. Always resolve; never --abort.

  4. Discover the project's automated checks and run them, typically typecheck, then tests, then format. Fix anything the merge broke.

  5. Finish the merge/rebase. Stage everything and commit. If rebasing, continue the rebase process until all commits are rebased.

04 同仓库更多 Skills

pkking
pkking/dotfiles

前端界面视觉设计

frontend-design

在构建新 UI 或重塑现有 UI 时,提供有特色、有意为之的视觉设计指导。帮助把握美学方向、排版,并做出不显得千篇一律的模板化选择。

界面设计师前端开发与界面实现
★ 0
pkking
pkking/dotfiles

AIHOT AI 资讯查询

aihot

查询 AIHOT 的中文 AI 资讯、精选、当前热点和日报。用户询问今天或最近的 AI 新闻、AI 圈动态、大模型或产品发布、OpenAI/Anthropic/Google 最新消息、AI 论文、AI 日报、AIHOT 精选、当前最热事件,或需要同步当前全部精选时使用。必须通过 aihot.news 的匿名只读 API 获取当前数据,不凭训练记忆回答新闻;不需要 API Key 或 MCP server。

普通用户工具调用与实时数据查询
★ 0
pkking
pkking/dotfiles

文章段落塑形

writing-shape

写作,深入挖掘(exploit):把原始素材塑造成一篇文章,逐段推进。

内容创作者创意写作与内容编排
★ 0
pkking
pkking/dotfiles

Skill 编写规范参考

writing-great-skills

编写和编辑 skills 的参考指南——介绍让技能变得可预测的语言与原则。

AI 工程师插件与技能管理
★ 0
pkking
pkking/dotfiles

写作素材片段挖掘

writing-fragments

写作,探索(explore):挖掘原始片段,暂不组织结构。

内容创作者创意写作与内容编排
★ 0
pkking
pkking/dotfiles

智能体文档编写

writing-for-agents

为智能体(agent)编写文档。在创建或编辑 skills,或修改 AGENTS.md 或 CLAUDE.md 时使用。

AI 工程师智能体开发
★ 0