Conventional Commit Enforcer
This loop ensures all Git commits follow the Conventional Commits specification by using commitlint to validate commit messages. It automatically detects non…
This loop is republished with attribution. Full credit and the original content belong to the source linked above.
AI Skill Market Insights
Real data. Real impact.
Emerging
Developers
Kickoff Prompt
Copy this prompt and run it with your agent to start the loop.
Start the "Conventional Commit Enforcer" loop.
Goal: Standardize commit messages
Max iterations: 10
Between iterations run: commitlint
Exit when: Commit lint passes
Check the last commit message using commitlint. If it fails, suggest a fix and amend the commit. Repeat until it passes or max iterations are reached.
Self-pace this loop. After each iteration, run `commitlint` and evaluate the output, and only continue if the exit condition is not met (Commit lint passes). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.