What problem does it solve?
Commits that only change documentation, editor settings, or other non-deploy files can trigger unnecessary Amplify builds and consume time and resources; this Skill helps avoid those redundant deployments by creating commits annotated to skip CI/CD.
Core Features & Use Cases
- Change detection: Identifies modified files and determines whether they affect deployment-sensitive paths such as src/, amplify/, or package.json.
- Safe staging & commit: Stages only files considered safe for skipping deployment and constructs a commit message appended with [skip-cd].
- Warnings for risky changes: Emits warnings and requires confirmation when deployment-critical files are included so users do not accidentally skip required builds.
- Use Case: Updating README.md, docs/, or editor config files without triggering an Amplify build.
Quick Start
Use the commit-docs skill to create a [skip-cd] commit for documentation and config updates by detecting non-deploy file changes, staging them, and committing with a message like "Docs update [skip-cd]".