Files
recipe-maintainer/.claude/commands/includes/logging.md
autonomic-bot f283a371bb recipe-maintainer: public snapshot (secrets + deployment plans removed, single commit)
Sanitized single-commit public mirror of recipe-maintainer.
- Removed test-ssh/.testenv (live creds); added test-ssh/.testenv.example placeholders.
- Removed plans/ and planned-updates/ (deployment-planning docs) so no client/
  deployment domains appear in the public repo.
- All other secret stores were already gitignored.
- docs.coopcloud.tech retained as a submodule (public upstream).
2026-06-16 20:18:24 +00:00

15 lines
895 B
Markdown

## Logging
Throughout this entire operation, maintain a detailed log of everything that happens. At the **end** of the operation, write the full log to a file in the `logs/` directory (create it if it doesn't exist).
**Log file path:** `logs/<skill-name>-<recipe-name>-<YYYY-MM-DD>.md` — use the skill name from this file's name (e.g. `recipe-check`, `recipe-deploy`), the recipe name from `$ARGUMENTS` (omit if there is no recipe argument), and today's date.
The log file must include:
- A header with the skill name, recipe name (if applicable), and timestamp
- Every shell command that was run, in fenced code blocks
- The full output of each command (truncate excessively long output but keep enough to be useful)
- Any decisions made, errors encountered, or notable observations
- The final summary/result
Format the log as readable markdown with clear section headers for each step.