run-maintenance

Pull latest repository changes and update submodules with git commands.

8|2|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/ShareX/ShareX.ImageEditor --skill run-maintenance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-maintenance
Source: https://github.com/ShareX/ShareX.ImageEditor/tree/main/.ai/skills/run-maintenance
Command: npx skills add https://github.com/ShareX/ShareX.ImageEditor --skill run-maintenance

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reduces manual maintenance overhead by automatically pulling the latest repository changes and ensuring all submodules are up to date.

Core Features & Use Cases

  • Pulls latest commits from the main repository and updates submodules to their tracked revisions.
  • Ensures a consistent, up-to-date working tree suitable for development and release workflows.
  • Executes from the repository root to streamline maintenance tasks.

Quick Start

From the repository root, run the maintenance steps to pull updates and refresh submodules.

Frequently Asked Questions about run-maintenance

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

FAQPage Schema
How do I pull latest changes and update git submodules recursively?

To pull latest changes and update git submodules recursively, run the maintenance process from your repository root. This executes git pull with the recurse-submodules flag and initializes all submodule updates recursively to ensure a synchronized working tree.

What is the best way to automate repository maintenance for local development workflows?

Automating repository maintenance for local development workflows involves pulling the latest commits and refreshing submodules to their tracked revisions. This ensures a consistent, up-to-date working tree without requiring manual git submodule update commands.

Do I need to run git submodule update from the repository root?

Yes, you need to execute the repository maintenance process from the repository root. Running from the root ensures that both the main repository pull and the recursive submodule initialization apply correctly across all components.

Why does git pull --recurse-submodules keep my release workflow synchronized?

Git pull with the recurse-submodules flag keeps your release workflow synchronized by pulling main repository commits and updating submodules to their tracked revisions simultaneously. This guarantees all components match their expected states.

Can I use automated git maintenance to initialize new submodules across multiple components?

Yes, automated git maintenance initializes new submodules across multiple components by running git submodule update with the init and recursive flags. This guarantees any newly added submodules are fetched and synchronized during the pull process.