This commit is contained in:
2026-04-01 01:21:48 +02:00
parent aaaabef4eb
commit e65fb9ed66
3 changed files with 63 additions and 2 deletions

View File

@@ -68,8 +68,16 @@ When creating or modifying overrides, PrestaShop also needs to rebuild the class
- PrestaShop hooks are the integration point — prefer hooks over direct core edits.
- The `admin658c34/` directory is the custom admin panel path (security through obscurity).
## Custom Assistant Command
## Custom Assistant Commands
- If the user writes `zapisz-changelog`, create or update monthly changelog file `changelog/YYYY-MM-DD.md` (based on current date).
### `zapisz-changelog`
- Create or update daily changelog file `changelog/YYYY-MM-DD.md` (based on current date).
- Add an entry for the current day with a concise summary of code changes made in the current session.
- Include touched file paths and relevant line references where possible.
### `$changelog` (slash command: `/changelog`)
- Registered as Claude Code command in `.claude/commands/changelog.md`.
- Usage: `$changelog [YYYY-MM-DD] [opis1;opis2;...]`
- Creates/updates `changelog/YYYY-MM-DD.md` with sections `## Co zrobiono` and `## Zmienione pliki`.
- Detects changed files via `git status --porcelain`, deduplicates entries.
- Shell scripts (globalne): `~/.claude/scripts/changelog.ps1` (PowerShell) i `~/.claude/scripts/changelog.cmd` (Windows wrapper).