What problem does it solve?
This Skill automates the integration of Git version control into the WordPress build process, ensuring that all custom code and configurations are tracked, committed, and managed effectively.
Core Features & Use Cases
- Git Initialization: Automatically initializes a Git repository in the build directory.
- Dynamic
.gitignore: Generates a comprehensive .gitignore file that excludes WordPress core files, common cache/upload directories, and reinstallable components while tracking custom themes and plugins.
- Staged Commits: Provides a helper function to commit changes after each significant build stage with descriptive messages.
- Use Case: When building a custom WordPress site, this skill ensures that every step—from initial scaffolding to content installation—is captured in Git history, allowing for easy rollbacks and tracking of changes.
Quick Start
Use the build-git skill to initialize a git repository and manage commits during the WordPress build process.