Generate documentary-style narrative of repository development history
Generates documentary-style narrative of repository development history
/plugin marketplace add majesticlabs-dev/majestic-marketplace/plugin install majestic-engineer@majestic-marketplace[--output PATH] [--detail minimal|standard|comprehensive] [--since DATE] [--commits N]git/Transform git history into an engaging documentary narrative.
claude -p "/majestic:config default_branch main"git rev-parse --show-toplevel 2>/dev/nullgit rev-list --count HEAD 2>/dev/nullgit log --reverse --format="%H|%ai|%an|%s" 2>/dev/null | head -1| Option | Format | Default | Description |
|---|---|---|---|
--output | PATH | STORY.md | Output file |
--detail | minimal|standard|comprehensive | standard | Detail level |
--since | YYYY-MM-DD | (all) | Analyze after date |
--commits | N | (all) | Limit to N commits |
git rev-parse --git-dir)For large repos:
Always include:
Sample size by detail:
minimal: 20 additionalstandard: 50 additionalcomprehensive: 100 additional# Project name, age, tags, top contributors, monthly distribution
basename "$(git rev-parse --show-toplevel)"
git log --reverse --format="%ai" | head -1
git tag -l --format='%(creatordate:short)|%(refname:short)' | sort
git shortlog -sn --no-merges | head -10
Invoke git-researcher agent:
Task (majestic-engineer:research:git-researcher):
Analyze evolution: milestones, contributor growth, architecture changes,
development patterns, turning points.
Invoke code-story skill which will guide you to find and read the appropriate template:
Skill(skill="code-story")
Follow the skill's instructions to load the template matching the detail level.
š Code Story Generated
**Output:** [file_path]
**Detail Level:** [minimal|standard|comprehensive]
**Commits Analyzed:** [count]
**Contributors Featured:** [count]
The story is ready: [file_path]
| Scenario | Response |
|---|---|
| Not a git repo | "Error: Not a git repository" |
| Empty repo | "Error: Empty repository" |
| Single commit | Generate "genesis only" minimal story |
| No tags | Note: "No formal releases yet" |