story

Write a candid engineering retrospective and case study in docs/studies/

Write Session Case Study / Story

Write a candid engineering retrospective and case study documenting the session's work in docs/studies/.

Purpose

A Story is an engineering case study that captures the reality of a development session: what was built, what worked, where mistakes or near-misses happened, code quality metrics, and velocity. It serves as primary research material for refining evergreen docs and agent harness rules.


Output Location & Naming


Required Story Sections

Every story must include the following sections:

1. Header & Context

2. Executive Summary

3. What Worked Well

4. Honest Post-Mortem (Failures, Bugs & Near-Misses)

5. Quality & Invariants Audit

6. Efficiency & Velocity Assessment

7. Key Learnings & Evergreen Upstream

8. File & Diff Summary


Execution Workflow for the Agent

  1. Gather Ground Truth: Run git status, git log --oneline, and git diff to collect factual session history.
  2. Draft the Story: Follow the required template structure above with full honesty.
  3. Index the Study: Add the entry to docs/README.md under docs/studies/.
  4. Present Summary: Provide a short recap to the user highlighting key lessons learned.
Content
file-backed
License:
AGPL-3.0-or-later
Origin
first-party
Source:
docs/commands/story.md
Source revision
4e3b8d592416fbf93a2af218882c1abef78faed6
Requires
Targets
codex, claude
Invocation
/story

Related skills