readd_git_submodule

Remove and re-add Git submodules atomically with path normalization.

1|Updated Nov 26, 2025
One-click install
npx skills add https://github.com/Baneeishaque/ai-suite --skill readd-git-submodule
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: readd_git_submodule
Source: https://github.com/Baneeishaque/ai-suite/tree/main/.agents/skills/readd_git_submodule
Command: npx skills add https://github.com/Baneeishaque/ai-suite --skill readd-git-submodule

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a standardized, atomic protocol for removing and re-adding Git submodules to fix path inconsistencies and metadata drift.

Core Features & Use Cases

  • Atomic removal and re-addition of submodules to ensure clean index and metadata state.
  • Delegation to specialized sub-skills for removal and addition, ensuring modular, auditable changes.
  • Use Case: When a submodule path needs migration or renaming while preserving history and configuration integrity.

Quick Start

Follow the atomic removal and re-addition workflow to standardize a submodule path.

Frequently Asked Questions about readd_git_submodule

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

FAQPage Schema
How do I rename a Git submodule path while preserving history?

Renaming a Git submodule path requires an atomic removal and re-addition protocol to standardize the path and clean up metadata. This approach preserves configuration integrity and fixes path inconsistencies without losing history.

What is the best way to repair Git submodule metadata drift?

Repairing Git submodule metadata drift involves standardizing the submodule through an atomic removal and re-addition protocol. This delegates changes to specialized sub-skills, ensuring modular, auditable remediation and a clean index state.

How do I execute an atomic Git submodule removal and re-addition?

Executing an atomic Git submodule removal and re-addition involves following a standardized protocol that delegates to specialized sub-skills. This process includes metadata cleanup and verification steps for commit lineage to ensure a clean index state.

When do I need to standardize Git submodules using atomic operations?

You need to standardize Git submodules using atomic operations when migrating, repairing, or renaming submodules within repositories. This process resolves path inconsistencies and metadata drift while ensuring clean index and metadata state.

Does the Git submodule remediation protocol verify commit lineage?

Yes, the Git submodule remediation protocol includes verification steps for commit lineage. By executing atomic removal and re-addition, the protocol ensures that submodule standardization maintains history and configuration integrity throughout the path migration.