Loading...
Loading...
Daily report creation skill. Summarizes GitHub and Jira activities, creates a draft, and posts as an Issue. Use when: - Asked to "create daily report" or "write daily report" - Asked to "summarize today's activities" - Requested to create a daily report or journal
npx skill4agent add i9wa4/dotfiles daily-reportnix run nixpkgs#acli${CLAUDE_CONFIG_DIR}/skills/daily-report/scripts/get-activities.sh# Default: 24 hours ago to now (local repos only via ghq list)
${CLAUDE_CONFIG_DIR}/skills/daily-report/scripts/get-activities.sh --no-url
# Specify hours: N hours ago to now
${CLAUDE_CONFIG_DIR}/skills/daily-report/scripts/get-activities.sh --hours 48 --no-url
# Specify datetime directly (ISO8601, UTC)
${CLAUDE_CONFIG_DIR}/skills/daily-report/scripts/get-activities.sh --from 2025-12-16T15:00:00Z --to 2025-12-17T15:00:00Z --no-url| Option | Description |
|---|---|
| --no-url | Output without URLs (prevents mention notifications) |
| --hours N | Fetch activities from N hours ago to now |
| --from | Start datetime (ISO8601, e.g., 2025-12-17T00:00:00Z) |
| --to | End datetime (ISO8601, e.g., 2025-12-17T23:59:59Z) |
| --hostname | GitHub Enterprise Server hostname |
| --exclude-owner | Exclude repos by owner (comma-separated, default: i9wa4) |
| --include-personal | Include personal repos (overrides --exclude-owner) |
### repository-owner/repository-name
- [Issue] Issue title
- [IssueComment] Issue title
- [PullRequest] PR title
- [PullRequestComment] PR title
- [ReviewedPR] PR title (PRs reviewed by me, excludes my own PRs)--no-url# Today's activities
nix run nixpkgs#acli -- jira workitem search \
--jql "updated >= startOfDay() AND (assignee = currentUser() OR reporter = currentUser()) ORDER BY updated DESC" \
--fields "key,summary,status"
# Specific date range
nix run nixpkgs#acli -- jira workitem search \
--jql "updated >= 'YYYY-MM-DD' AND updated < 'YYYY-MM-DD' AND (assignee = currentUser() OR reporter = currentUser()) ORDER BY updated DESC" \
--fields "key,summary,status"export SLACK_GCAL_DM_URL="https://app.slack.com/client/E.../D..."
export SLACK_MCP_XOXC_TOKEN="xoxc-..."
export SLACK_MCP_XOXD_TOKEN="xoxd-..."# Extract channel ID from URL
CHANNEL=$(echo "$SLACK_GCAL_DM_URL" | sed -n 's|.*/client/[^/]*/\([^/]*\).*|\1|p')
# Fetch messages
FILE=$(mkoutput --dir tmp --label output)
curl -s -X POST "https://slack.com/api/conversations.history" \
-H "Authorization: Bearer $SLACK_MCP_XOXC_TOKEN" \
-H "Cookie: d=$SLACK_MCP_XOXD_TOKEN" \
-d "channel=${CHANNEL}" \
-d "limit=200" > "$FILE"
# Filter messages from last 24 hours
NOW=$(date +%s)
YESTERDAY=$((NOW - 86400))
jq -r --argjson yesterday "$YESTERDAY" \
'.messages[] | select(.ts | tonumber > $yesterday)' "$FILE"*Today*-<!date^...<!date^UNIX_TIMESTAMP^{time}|...>date -r UNIX_TIMESTAMP "+%H:%M"|Meeting Name>*- Meeting name (HH:MM-HH:MM)FILE=$(mkoutput --dir tmp --label "daily-$(whoami)")---
title: "YYYY-MM-DD $(whoami)"
labels:
- name: "日報"
color: "0887b9"
---
## 1. Reflection
## 2. Today's Activities
### 2.1. GitHub
Organize gh-furik output. Classify as follows:
#### 2.1.1. Created Issues
- [repo-name] Issue title
#### 2.1.2. Created PRs
- [repo-name] PR title
- [repo-name] PR title (merged)
- Add supplementary comments indented
#### 2.1.3. Reviewed PRs
- [repo-name] PR title
#### 2.1.4. Commented Issues/PRs
- [repo-name] Issue/PR title
### 2.2. Jira
- [KEY-123] Issue summary (status)
### 2.3. Meetings
- Meeting name
- Supplementary commentsgh issue creategh issue create --title "YYYY-MM-DD $(whoami)" --label "日報" --body "$(cat <<'EOF'
[body]
EOF
)"(# 123)(#123)| Output Type | Classification |
|---|---|
| Issue | Created Issues |
| PullRequest | Created PRs |
| ReviewedPR | Reviewed PRs |
| IssueComment | Commented Issues/PRs |
| PullRequestComment | Commented Issues/PRs |