Create an AILOG (AI Action Log) document for the current changes. Quick shortcut for the most common document type.
Quickly create an AI Action Log (AILOG) document for the current changes.
This is a shortcut skill that creates AILOG documents directly.
# Get current date
date +%Y-%m-%d
# Get modified files
git status --porcelain
# Get change summary
git diff --stat HEAD~1 2>/dev/null || git diff --stat
Always confirm before creating:
╔══════════════════════════════════════════════════════════════════╗
║ DevTrail AILOG ║
╠══════════════════════════════════════════════════════════════════╣
║ ║
║ 📊 Changes detected: ║
║ • Files: [list of modified files] ║
║ • Lines: [+X / -Y] ║
║ ║
║ 📝 Will create: ║
║ AILOG-YYYY-MM-DD-NNN-[description].md ║
║ ║
║ Please provide a brief description of what was done: ║
╚══════════════════════════════════════════════════════════════════╝
# Count existing AILOGs for today
ls .devtrail/07-ai-audit/agent-logs/AILOG-$(date +%Y-%m-%d)-*.md 2>/dev/null | wc -l
Next number = count + 1, formatted as 3 digits (001, 002, etc.)
Read .devtrail/config.yml for language setting:
en (default): .devtrail/templates/TEMPLATE-AILOG.mdes: .devtrail/templates/i18n/es/TEMPLATE-AILOG.mdFill template with:
id: AILOG-YYYY-MM-DD-NNNtitle: User-provided descriptioncreated: Current dateagent: claude-code-v1.0confidence: based on change complexityrisk_level: based on files modifiedSave to: .devtrail/07-ai-audit/agent-logs/AILOG-YYYY-MM-DD-NNN-description.md
✅ AILOG created:
.devtrail/07-ai-audit/agent-logs/AILOG-YYYY-MM-DD-NNN-description.md
DevTrail: Created AILOG-YYYY-MM-DD-NNN-description.md
| Indicator | Risk Level |
|---|---|
| Config/settings changes | low |
| Business logic changes | medium |
| Auth, security, payments | high |
| Database schema, migrations | critical |