Agents & OrchestrationAttention5454/100
Merge (Microsoft)
Merge changes from the topic branch to the merge base branch. Use when the user wants to merge their session's work back to the base branch.
ou envoie-le directement à ton agent.
Installer dans ton projet
Ce skill a un score de sûreté moyen. Vérifie le rapport avant de l’installer.
$ curl -fsSL https://arboristhree.xyz/cli/install-skill.mjs -o /tmp/arboris-install-skill.mjs && node /tmp/arboris-install-skill.mjs merge__microsoft-vscode__src-vs-sessions-skills-fe65026649d4Microsoft
microsoft/vscode
Contenu à copier
--- name: merge description: Merge changes from the topic branch to the merge base branch. Use when the user wants to merge their session's work back to the base branch. metadata: origin: Microsoft --- <!-- Customize this skill and select save to override its behavior. Delete that copy to restore the built-in behavior. --> # Merge Changes Merge the topic branch (checked out in the current worktree) into the merge base branch (checked out in the main worktree). The context block appended to the prompt contains the source branch, target branch, and main worktree path. ## Guidelines - **Never force-push** (`--force`, `--force-with-lease`) without explicit user approval. - **Never skip pre-push hooks** (do not use `--no-verify`). - **Never rewrite or drop commits** without asking the user. - When in doubt about conflict resolution — ask the user. ## Workflow ### 1. Commit uncommitted changes in the current worktree Check for uncommitted changes in the current worktree: ``` git status --porcelain ``` If there are uncommitted changes, use the `/commit` skill to commit them before continuing. ### 2. Merge the topic branch into the base branch Use `git -C <main-worktree-path>` to run commands against the main worktree without leaving the current worktree. ``` git -C <main-worktree-path> merge <topic-branch> ``` ### 3. Handle merge conflicts If the merge reports conflicts: 3.1. List conflicted files: ``` git -C <main-worktree-path> diff --name-only --diff-filter=U ``` 3.2. For each conflicted file, read the file content, resolve the conflict by preserving the intent of both sides, and stage the resolved file: ``` git -C <main-worktree-path> add <resolved-file> ``` 3.3. When in doubt on how to resolve a merge conflict, ask the user for guidance. If the user wants to abort, run: ``` git -C <main-worktree-path> merge --abort ``` 3.4. Once all conflicts are resolved and staged, commit the merge: ``` git -C <main-worktree-path> commit --no-edit ``` ## Validation After the merge completes, verify the result: 1. Confirm the main worktree is clean: ``` git -C <main-worktree-path> status --porcelain ``` 2. Confirm the topic branch is an ancestor of the base branch (i.e. all commits are merged): ``` git -C <main-worktree-path> merge-base --is-ancestor <topic-branch> HEAD ```
Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.
Ce que fait Merge (Microsoft)
**Never force-push** (`--force`, `--force-with-lease`) without explicit user approval.
**Never skip pre-push hooks** (do not use `--no-verify`).
**Never rewrite or drop commits** without asking the user.
When in doubt about conflict resolution — ask the user.
Comment utiliser Merge (Microsoft)
1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.
Déclencheurs pour Merge (Microsoft)
Dis simplement à ton agent quelque chose comme :
Applique le skill merge__microsoft-vscode__src-vs-sessions-skills-fe65026649d4 à cette tâche
Utilise merge__microsoft-vscode__src-vs-sessions-skills-fe65026649d4 pour améliorer cette implémentation
Passe en revue ce sujet avec merge__microsoft-vscode__src-vs-sessions-skills-fe65026649d4
Skills liés à Merge (Microsoft)
Acceleration (Microsoft)
Compare synthetic acceleration options and clearly separate scenario value from forecast commitments.Account Overview (Microsoft)
Create a synthetic Acme account overview and identify evidence that merits seller attention.Acroform Writer (Microsoft)
Use this skill whenever the user wants values written INTO an existing PDF form that lives in the connected SharePoint knowledge source — filling out, completing, populating, or submitting a fillable PDF (application, intake sheet, contract, government form) from data they supply, a spreadsheet row, or the conversation. Triggers include "fill out the job application form", "complete the intake form for [person]", "populate our standard NDA template", and "make this ready to send / non-editable" (flatten). The source form should be found via knowledge search; only ask the user to upload it if knowledge search turns up nothing plausible. different task), and do NOT use it on scanned/image-only PDFs that have no real fillable fields — those need OCR or manual overlay instead, which this skill explicitly detects and reports rather than silently failing.