chat-history-convention
Installation
SKILL.md
Chat History Convention
Use this skill whenever the user asks for message logging, session continuity, or project-local chat transcripts.
Workflow
- Ensure
.chat-history/exists at repo root. - Ensure
.chat-history/user-messages.logexists. - Append each incoming user message with:
- ISO timestamp
role=user- raw message content
- Separate entries with
---.
File Format
[2026-02-09T00:00:00Z] role=user
<raw message>