This skill should be used when the user asks to "analyze fix commits and generate postmortems", "create postmortems from git history", or "summarize bug fixes into postmortem reports".
Resources
2Install
npx skillscat add tizee/dotfiles/commit-postmortem-generator Install via the SkillsCat registry.
SKILL.md
Commit Postmortem Generator
Core Purpose
Analyze fix commits in a git repository and generate concise postmortem reports that capture critical information about bugs and their fixes.
Basic Workflow
To generate postmortems:
- Fetch the latest N fix commits (default: 100)
- Group commits by related issues
- Generate markdown postmortem reports with key details
- Store reports in ./.postmortem/ directory
Usage
When the user doesn't specify a number of commits
- Prompt the user: "How many latest fix commits would you like to analyze?"
- Use their response to run the script:
./scripts/generate-postmortems.sh -c [user-specified-number]When the user specifies a number
# Example: Analyze 50 commits
./scripts/generate-postmortems.sh -c 50
# With custom output directory
./scripts/generate-postmortems.sh -c 50 -o ./my-postmortems/Resources
references/postmortem-template.md- Minimal postmortem templatescripts/generate-postmortems.sh- Main script to generate postmortems