بنقرة واحدة
work-log
Scan the repository for file modifications and append structured daily entries to the project work log
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scan the repository for file modifications and append structured daily entries to the project work log
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Bump the V.R.M version across manifest XML, Phing build file, and SQL update file for any Joomla extension project
Summarise the commits on the current branch and write a markdown file suitable for pasting into a Pull Request description
Regenerate the dynamic include files (available-agents.md and available-skills.md) by scanning agent and skill directories for frontmatter
Record prompts and responses from the current Claude Code session into a structured conversation log
| name | work-log |
| description | Scan the repository for file modifications and append structured daily entries to the project work log |
| disable-model-invocation | true |
| argument-hint | include today |
Scan the project repository for file modifications since the last logged date and append structured daily entries to the work log.
$ARGUMENTS is optional:
include today — include today's date in the scan range (default stops at yesterday)date -d "YYYY-MM-DD" +%A before writing any date heading; never guessRead the project's CLAUDE.md (it is auto-loaded into context). Extract:
## Project Configuration section (e.g. SANE)## Directory Paths section (e.g. E:\repositories\Sane)If these values cannot be found, report the error and stop.
The work log lives at {Repository}/Files/work-log.md.
Files/ directory does not exist, create itwork-log.md does not exist, create it with the initialisation template (see below)Initialisation template (only used for new files):
# {Project Name} Project — Work Log
> Daily record of development activity on the {Project Name} project.
---
Find the last ## YYYY-MM-DD heading in the existing work log. The scan range is:
$ARGUMENTS includes "include today", in which case end = today)If the work log has no entries yet, scan from 30 days ago (or a reasonable lookback).
If there are no dates to scan (last entry = yesterday, or last entry = today when "include today"), report that the work log is up to date and stop.
For each date in the range, scan the repository for modified files:
find "{Repository}" \
-not -path "*/.git/*" \
-not -path "*/node_modules/*" \
-not -path "*/vendor/*" \
-not -path "*/build/*" \
-not -path "*/.idea/*" \
-newermt "YYYY-MM-DD 00:00:00" \
-not -newermt "YYYY-MM-DD+1 00:00:00" \
-type f \
-printf "%T@ %p\n" 2>/dev/null | sort
Group all dates with modifications. Skip dates with zero modified files.
For efficiency, you may scan the entire range at once and then group by date:
find "{Repository}" \
-not -path "*/.git/*" \
-not -path "*/node_modules/*" \
-not -path "*/vendor/*" \
-not -path "*/build/*" \
-not -path "*/.idea/*" \
-newermt "{start_date} 00:00:00" \
-not -newermt "{end_date+1} 00:00:00" \
-type f \
-printf "%TY-%Tm-%Td %p\n" 2>/dev/null | sort
For each date with modifications:
git log to understand commits, always filter to only the local user's commits:
git -C "{Repository}" log --author="$(git -C '{Repository}' config user.name)" \
--after="YYYY-MM-DD 00:00:00" --before="YYYY-MM-DD+1 00:00:00" \
--oneline --stat
Do NOT use unfiltered git log — it will include commits from other contributors that were merged into the branch, which are not the local user's work. Only report on work done by the configured user.name.Before writing any entry, verify the day-of-week:
date -d "YYYY-MM-DD" +%A
This is critical. Never assume or calculate the day name yourself.
Append new entries to the end of work-log.md following this exact format:
---
## YYYY-MM-DD (DayName)
### Focus: [one-line summary of the day's primary activity]
### 1. [First area of work]
[Description of what changed and why — be specific about files, features, fixes]
### 2. [Second area of work]
[Description]
**Files changed:** [comma-separated list of key files or "N files across X, Y, Z"]
**In short:** [1-2 sentence summary of the entire day's work]
Format rules:
--- separator on a blank line before the heading### Focus: (not bold, not a different heading level)### 1., ### 2., etc.**Files changed:** and **In short:**### 1. numberingAfter appending, report:
## YYYY-MM-DD (DayName) headings — TWO hashes, not three