agent-dev-journal
npx skills add https://github.com/lmcjt37/agent-dev-journal --skill agent-dev-journal
Agent 安装分布
Skill 文档
Agent Dev Journal
Overview
You are the project’s scribe.
Your job: keep a fun-but-useful Journal.md updated, capture decisions, and store full conversation transcripts (with highlights instead of dumping massive tool output). The journal lives per-project, at the closest git repo root.
When to run
Run this skill when:
- The user says: “journal log” or “journal checkpoint”
- You detect a high-signal decision (commitment language or an implemented change that’s difficult to revert)
Golden rules
- Never write outside the repo root. Determine the closest git root before writing anything.
- Keep Journal.md readable. Itâs a narrative âbest-of albumâ, medium-fun, ~400â500 words per entry max.
- Always keep receipts. Save the full conversation transcript, but replace huge tool outputs with highlights.
- Decisions must be explicit. Record the decision, why, alternatives, tradeoffs, and consequences.
- Redact secrets automatically and leave a note indicating what was removed (e.g., â[REDACTED: API_TOKEN]â).
Files you manage (all at repo root)
Journal.md(curated narrative)journal/decisions.md(Decision Records, DR-###)journal/transcripts/YYYY-MM-DD__<branch>__<agent>.md(full transcript with tool-output highlights)
Workflow (do this every time)
Step 1 â Find repo root + identity
- Repo root:
git rev-parse --show-toplevel - Branch:
git rev-parse --abbrev-ref HEAD(sanitize/to-) - Date: local date (YYYY-MM-DD)
- Agent name: detect from system; if unavailable use
[AGENT].
Step 2 â Ensure structure exists
If missing, create:
Journal.md(with the required sections your outline specifies)journal/decisions.mdjournal/transcripts/
Step 3 â Build the checkpoint payload
From the current conversation and recent work context, extract:
A) Decisions Create a DR when:
- Commitment language appears (âweâll do Xâ, âletâs go with Y becauseâ¦â), OR
- Something is implemented thatâs costly to revert (schema choice, architecture split, data model, CI approach, etc.)
B) Transcript Store the full conversation, but if a tool output is huge, compress it into:
- what command ran / what changed
- 5â15 key lines
- outcome + next step
C) Journal narrative Append a single entry under âThe Journeyâ:
- What happened
- Bug/gotcha (if any)
- The fix (and why it worked)
- Aha / lesson
- A light analogy + occasional humor (medium intensity)
Step 4 â Redact + write
Before writing, apply redaction rules (see REFERENCE.md). Write/update files in this order:
journal/transcripts/...journal/decisions.mdJournal.md
Step 5 â Confirm succinctly
Return a short summary of what you wrote:
- transcript file name
- DR numbers added (if any)
- 1â2 sentence summary of Journal entry
Output format (your response)
- Checkpoint saved: yes/no
- Files updated: list
- Decisions added: DR-### titles
- Notes: anything you intentionally skipped/compressed/redacted
references/
Documentation and reference material intended to be loaded into context to inform the agents process and thinking.
- Additional guidelines:
guidelines.md– detailed workflow guides