Agent skill
process-journals
Review journal entries and extract valuable knowledge into formal documentation
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/process-journals
SKILL.md
Process Journals Runbook
This runbook guides you through reviewing journal and note entries to extract valuable knowledge into formal project documentation.
Purpose
Journals and notes capture raw project knowledge - decisions made, discoveries, rationale, and context. This runbook helps systematically review them and extract insights into permanent documentation.
Prerequisites
.docent/journals/directory with journal entries.docent/notes/directory with notes- Write access to documentation directories
Procedure
Step 1: List Recent Journal Entries
Action: Find journal entries from the last 7-30 days
find .docent/journals -name "*.md" -mtime -30 -type f | sort
Review: Scan the list to identify which sessions to review
Step 2: Review Each Journal Entry
Action: Read through journal entries looking for:
Knowledge worth preserving:
- Architecture decisions → Should become ADRs
- Important discoveries → Should be in guides or READMEs
- "Why" rationale → Should be in code comments or docs
- Patterns/conventions → Should be in standards docs
- Problems solved → Should be in troubleshooting guides
Decision Point: For each piece of knowledge, ask:
- Is this still relevant?
- Would future developers need to know this?
- Does this explain "why" something was done?
Step 3: Extract Architecture Decisions
Action: For significant technical decisions found in journals
Use /docent:act create-adr (if available) or /docent:tell to create ADR:
/docent:tell create an ADR documenting [the decision]
Context from journal:
- Decision: [what was decided]
- Rationale: [why it was decided]
- Date: [when]
- Alternatives considered: [other options]
Location: .docent/decisions/
Step 4: Extract Implementation Insights
Action: For useful implementation details or patterns
Use /docent:tell to add to appropriate documentation:
/docent:tell add implementation note to [relevant doc]:
[insight from journal]
Common locations:
- Technical details →
docs/guides/ - API usage →
docs/api/ - Setup/configuration →
README.mdordocs/setup.md - Troubleshooting →
docs/troubleshooting.md
Step 5: Extract Project Context
Action: For project evolution and timeline information
Update project documentation:
- Add to
CHANGELOG.mdif it's a notable change - Update
docs/roadmap.mdwith completed items - Document in
docs/history.mdor similar
Step 6: Clean Up Processed Journals
Decision Point: What to do with processed journals?
Option A: Archive
- Move to
.docent/journals/archive/YYYY/ - Keeps history but clearly marks as processed
Option B: Keep as-is
- Leave in place for historical reference
- Add "Processed: YYYY-MM-DD" note at top
Option C: Distill and delete
- Extract all value into docs
- Delete the journal entry
- Use when journals are truly ephemeral
Recommended: Option A (archive) - preserves history without clutter
mkdir -p .docent/journals/archive/$(date +%Y)
mv .docent/journals/2025-10-*.md .docent/journals/archive/2025/
Step 7: Review Notes Directory
Action: Process .docent/notes/ similarly
Notes are often:
- TODO lists → Convert to issues or project tracking
- Research findings → Extract to guides
- Meeting notes → Extract action items and decisions
- Scratch pads → Delete if no longer relevant
Process:
- Read each note file
- Extract actionable/valuable content
- Delete or archive the note
Step 8: Update Documentation Index
Action: Ensure new/updated docs are discoverable
Tasks:
- Update
docs/README.mdor index if it exists - Check cross-references are correct
- Verify internal links work
Step 9: Commit Documentation Updates
Action: Create a commit with extracted knowledge
git add .docent/decisions/ docs/
git commit -m "docs: extract knowledge from journal review
- Added ADRs for [decisions]
- Updated [guides] with implementation insights
- Documented [context/rationale]
Processed journals: [date range]"
Step 10: Report Summary
Action: Provide summary of knowledge extracted
Report:
- Number of journal entries reviewed
- ADRs created
- Documentation files updated
- Valuable insights extracted
- Items archived or deleted
Example Output:
📋 Journal Processing Summary
Reviewed: 3 journal entries (2025-10-23 to 2025-10-29)
Extracted:
✓ 2 architecture decisions → .docent/decisions/
✓ 4 implementation insights → docs/guides/
✓ 1 troubleshooting tip → docs/troubleshooting.md
✓ Project timeline updated → CHANGELOG.md
Archived: 3 journal files → .docent/journals/archive/2025/
Knowledge preserved and organized! 🎉
Cadence
Recommended frequency:
- Weekly: Review journals from past week
- Monthly: Deep review of all journals, extract to formal docs
- Before releases: Ensure all valuable context is documented
Error Handling
No Journals Found
If: .docent/journals/ is empty or doesn't exist
Action: Nothing to process - this is normal for new projects or between sessions
Unclear What to Extract
If: Uncertain whether journal content is valuable
Rule of thumb:
- If it explains "why" → Extract it
- If it would help future debugging → Extract it
- If it's project-specific context → Extract it
- If it's just "what I did" without insight → Can skip
When in doubt: Extract to notes first, decide later
Documentation Location Unclear
If: Not sure where extracted knowledge should go
Ask /docent:ask:
/docent:ask where should documentation about [topic] go?
Or create a new guide if appropriate.
Tips
Efficient Processing:
- Block time weekly for this (15-30 min)
- Use
/docent:tellto speed up documentation updates - Focus on "why" not "what" (code shows what, docs explain why)
- Date journal entries for easy filtering
Knowledge Triage:
- High value: Architecture decisions, non-obvious solutions, context
- Medium value: Implementation tips, useful patterns, discoveries
- Low value: Routine work logs, obvious steps, temporary notes
Avoid Over-Documenting:
- Not everything needs extraction
- Focus on knowledge that has lasting value
- Routine implementation details often don't need docs
Validation
After processing:
- Verify ADRs are well-formed and clear
- Check that extracted docs make sense on their own
- Ensure cross-references are correct
- Test that
/docent:askcan find the extracted knowledge
Notes
- This process turns raw journal knowledge into searchable, structured documentation
- Journals become a valuable "inbox" for project knowledge
- Regular processing prevents knowledge loss and improves project understanding
- The act of extraction forces clarity and distillation of insights
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?