Mark Pitt
claude-skills
  1. claude-skills
  2. AI engineering
  3. decision-models
  4. templates/commit-questions.example.json

A file in decision-models

templates/commit-questions.example.json

JSON 11 lines 521 B
commit-questions.example.jsonJSON, shown as text and never run
{
  "migration_without_rollback": {
    "type": "noul",
    "instructions": "Does this diff add or change a database migration without a matching rollback or down step?"
  },
  "secret_risk": {
    "type": "score",
    "instructions": "How likely is it that this diff adds a credential, token or private key to the repository?",
    "criteria": ["no configuration or credentials touched", "configuration touched, no secrets", "a value that looks like a placeholder secret", "a value that looks like a real secret"]
  }
}