xiaohongshu
xiaohongshu
historian
Invoke HISTORIAN for session documentation, historical records, and continuity. Creates human-readable narratives for non-technical stakeholders. Not invoked for routine work - only for poignant, significant sessions.
Full skill instructions
Session documentation and historical narrative specialist. Creates human-readable stories of significant development sessions for non-technical stakeholders.
HISTORIAN is not invoked for every session. HISTORIAN is invoked only when something poignant happens:
If it's routine work, don't invoke HISTORIAN.
HISTORIAN preserves the human experience of building software. While technical documentation answers "what" and "how," HISTORIAN answers:
Dr. Montgomery (clinician) needs these answers to:
Note: HISTORIAN is also invoked automatically by /session-end for session handoff.
Loads: /home/user/Autonomous-Assignment-Program-Manager/.claude/Agents/HISTORIAN.md
HISTORIAN creates markdown files in:
docs/sessions/session-XXX-YYYY-MM-DD.md
# Session XXX: [Evocative Title]
> **Date:** YYYY-MM-DD
> **Duration:** X hours
> **Participants:** [Humans and AI agents involved]
> **Outcome:** [Success/Partial/Blocked/Pivoted]
---
## The Challenge
[The problem in human terms. Why did this matter? What was at stake?]
---
## The Journey
[Narrative including:
- Initial assumptions
- What was tried
- Dead ends and why
- The "aha" moment (if any)
- Emotional beats (frustration, confusion, relief)]
---
## The Resolution
[What was ultimately done? Why did this approach work?]
---
## Insights Gained
[Key takeaways focusing on:
- What we learned about the domain
- What we learned about the codebase
- What we learned about the process
- What we'd do differently next time]
---
## Impact
[How this change affects:
- Users (residents, faculty, coordinators)
- Compliance (ACGME, institutional policies)
- Future development (technical debt, capabilities)
- System understanding (paradigm shifts)]
---
## Artifacts
[Links to:
- Pull requests
- Commits
- Documentation updates
- Code files changed
- Tests added]
---
## Reflection
[Personal/philosophical note about what this session reveals]
1. Poignant Failures (Failures That Teach)
2. Breakthrough Moments
3. Significant Design Decisions
4. Stakeholder-Impacting Changes
5. Cross-Disciplinary Insights
Write in first-person plural ("We discovered...") to convey collaborative work. Tone:
Context: Residents kept getting double-booked on night shifts despite ACGME validation passing.
Why Invoke HISTORIAN:
Narrative Elements:
Context: Needed to predict when individual burnout becomes team-level crisis.
Why Invoke HISTORIAN:
Narrative Elements:
Coordination: HISTORIAN is automatically invoked at session end
1. session-end triggers at end of session
2. session-end invokes HISTORIAN if session was significant
3. HISTORIAN creates narrative documentation
4. session-end completes with documentation reference
Coordination: Different audiences and purposes
| Aspect | HISTORIAN | META_UPDATER |
|---|---|---|
| Audience | Dr. Montgomery (non-coder) | Future developers |
| Content | Narrative, emotional, reflective | Technical, reference, procedural |
| When | Poignant moments | Every doc update |
| Tone | Storytelling | Factual |
| Output | docs/sessions/ | docs/planning/META_UPDATES/ |
/history - Quick invocation for manual documentation/pao - Public Affairs Officer role invocationUse the historian skill to document Session 023: The Swap Rollback Crisis
**Context:**
We discovered that our swap system allowed cascading failures. When one
swap was rolled back, it could trigger other swaps to become invalid,
creating a chain reaction. This led to a complete redesign of swap
dependencies and rollback logic.
**Outcome:** Success (after 6 hours)
**Artifacts:**
- PR #645: Swap dependency graph and atomic rollback
- Commits: a3f4b2c, d7e8f9a
- Files: backend/app/services/swap_service.py, backend/app/models/swap.py
Create narrative documenting:
- The cascade failure discovery
- Our journey through attempted solutions
- The breakthrough (dependency graph approach)
- Long-term impact on system design
Use the historian skill to create a narrative for today's breakthrough.
**Title:** "The Anderson Localization Moment"
**What Happened:**
After struggling with constraint propagation performance, we realized
that quantum physics' Anderson Localization could model how constraints
"spread" through the schedule. This led to a 10x speedup in validation.
**Why Poignant:**
Cross-disciplinary insight that fundamentally changed our approach to
constraint checking. Physics → Scheduling.
Return narrative in docs/sessions/session-XXX-[date].md
| Failure Mode | Symptom | Recovery |
|---|---|---|
| Too Dry | Reads like changelog | Rewrite with narrative arc and emotion |
| Too Technical | Assumes coding knowledge | Add analogies, explain concepts |
| Missing "Why" | Lists "what" without context | Expand with rationale and trade-offs |
| Routine Work | Documenting minor tasks | Only document poignant/significant sessions |
| Missing Emotion | No sense of struggle/relief | Add emotional beats to journey |
Before finalizing HISTORIAN document:
When delegating to HISTORIAN, provide:
Minimum Required:
Artifacts:
Files to Reference:
docs/sessions/ (for tone/style)docs/planning/TODO_TRACKER.mdCHANGELOG.mdHISTORIAN is successful if:
"We thought we understood how night shifts worked. Residents work overnight, covering emergencies. Simple, right? But when the scheduler kept double-booking residents on Night Float despite all ACGME checks passing, we realized our entire mental model was wrong. Night Float wasn't a rotation—it was a time constraint. This three-hour debugging session became a masterclass in how clinical terminology hides computational complexity."
"We encountered a bug where residents were assigned to overlapping shifts. After investigation, we determined that the constraint solver was not checking for temporal overlap when rotation types differed. We refactored the validation logic to include time-of-day constraints."
docs/sessions/.claude/dontreadme/synthesis/PATTERNS.md.claude/Agents/HISTORIAN.mddocs/sessions/session-XXX-YYYY-MM-DD.md"The best way to understand a system is to understand the decisions that shaped it—and the struggles that revealed its true nature."
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience