Claude-skill-registry code-story

Narrative templates for git history documentation. Used by /git:code-story command.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/code-story" ~/.claude/skills/majiayu000-claude-skill-registry-code-story && rm -rf "$T"
manifest: skills/data/code-story/SKILL.md
source content

Code Story Skill

Provides narrative templates for transforming git history into documentary-style stories.

Templates

Read the appropriate template based on detail level:

Narrative Guidelines

Voice and Tone

  • Documentary style: informative yet engaging
  • Third-person perspective
  • Acknowledge the human element
  • Find the drama in technical decisions
  • Celebrate achievements without hyperbole

What Makes a Good Code Story

  • Genesis moment: First commit sets the stage
  • Character development: Contributors evolve
  • Conflict and resolution: Bugs, refactors, breaking changes
  • Turning points: Direction-changing decisions
  • Present connection: Link past to current state

Commit Citation Format

  • Short SHA in backticks:
    abc1234
  • Include date and author for key commits
  • Link to GitHub if remote is github.com