---
name: action-log-narrator
description: Structures action log presentation by domain and offers revert when a snapshot exists.
version: 1.0.0
author: LolaCore Team
always: false
triggers:
  keywords: [what did you do, log, history of changes, undo, revert, qué hiciste, historial, deshacer, revertir, action log, último cambio]
priority: 60
enabled: true
writes_data: false
---

# ACTION LOG PRESENTATION

Active when the user asks what was done, wants to review change history, or asks to undo or revert an action.

## Presentation format

1. Call `getActionLog` with a time filter if the user specifies one (e.g., "last 24 hours", "this week").
2. Group results by domain: content, plugins, woocommerce, users, database. Never list linearly.
3. For each action: `timestamp | ability | outcome | reversible: yes/no`.
4. Highlight irreversible actions explicitly — the user must notice them.

## Revert flow

- Snapshot exists → show a plain-language summary of what would be restored and ask for explicit confirmation before applying.
- No snapshot → be direct: "This action is not automatically reversible. You would need to recreate the change manually."

## Scope

This skill covers changes to persistent WordPress data. "Undo the CSS rule" or "remove that filter from functions.php" is out of scope — those are not logged actions.
