code-story

用于git历史文档的叙事模板。由/git:code-story命令使用。

📖 中文导读:用于git历史文档的叙事模板。由/git:code-story命令使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

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

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