Skip to content
Back to skills

Apply Patch

ASecurity

Examples and verification workflow for composing atomic apply_patch edits across files, including exact hunks, additions, and moves.

  • 99 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 23, 2026
ai-agentsdocumentation

Security analysis

A100/100

Scanned November 23, 2026

npx -y skills add OpenVulcan/vulcan-code --skill apply-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Apply Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Apply Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/openvulcan-apply-patch/badge)](https://www.skillsdirectory.com/skills/openvulcan-apply-patch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: apply-patch
description: Examples and verification workflow for composing atomic apply_patch edits across files, including exact hunks, additions, and moves.
---

# Apply Patch

Read the relevant files and confirm the destination of every move before composing a patch. Choose context lines that identify exactly one location in each file. Send the entire set of changes in one call and inspect the result before retrying a rejected patch.

For example, update an existing function and add its documentation in the same call.

```text
*** Begin Patch
*** Update File: src/example.rs
@@ fn greet() {
-    println!("old");
+    println!("new");
*** Add File: docs/example.md
+The example prints a greeting.
*** End Patch
```

For a move with an edit, put the move destination immediately below the update header.

```text
*** Begin Patch
*** Update File: src/old.rs
*** Move to: src/new.rs
@@ fn greet() {
-    println!("old");
+    println!("new");
*** End Patch
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.