Skip to content

Commit 0818696

Browse files
gn00295120codex
andauthored
feat: add changelog-observer skill for subagent context (closes #1) (#7)
- SKILL.md defines event tracking (file-change, test-result, decision) - Logs to .changelog/session-YYYY-MM-DD.md - Includes template.md for entry structure Co-authored-by: OpenAI Codex <noreply@openai.com>
1 parent 2d84a90 commit 0818696

2 files changed

Lines changed: 44 additions & 0 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: changelog-observer
3+
description: Track development session events in a daily markdown changelog, including file changes, test results, and key decisions.
4+
allowed-tools:
5+
- Read
6+
- Write
7+
- Edit
8+
- Bash
9+
user-invocable: true
10+
---
11+
12+
# Changelog Observer
13+
14+
Track session context in `.changelog/session-YYYY-MM-DD.md`.
15+
16+
## Log target
17+
18+
- Use `.changelog/session-YYYY-MM-DD.md` for the current local date.
19+
- Create `.changelog/` and the session file if they do not exist.
20+
- If the session file is new, initialize it from [template.md](template.md).
21+
- Append new entries in chronological order.
22+
23+
## What to log
24+
25+
- `file-change`: after creating, editing, or deleting project files.
26+
- `test-result`: after running tests, checks, or validation commands.
27+
- `decision`: after making an implementation or architecture decision worth preserving.
28+
29+
## Entry rules
30+
31+
- Keep each description short and specific.
32+
- List only directly affected files.
33+
- Use `none` when no files were changed.
34+
- Do not rewrite earlier entries unless they are incorrect.
35+
36+
## Template
37+
38+
Use the markdown structure in [template.md](template.md) for each appended entry.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Session Changelog - YYYY-MM-DD
2+
3+
### [timestamp]
4+
- Event Type: [file-change | test-result | decision]
5+
- Description: [short summary]
6+
- Files Affected: [path/to/file, another/path] | none

0 commit comments

Comments
 (0)