| name | team-log |
| description | Create a team-facing work log from a development task and push it directly to a shared GitHub repository via gh CLI. Collects git context automatically and asks 2โ3 focused questions for weekly team review. Use when the user wants to share what they worked on with their team. |
Team Log Skill
Turn a completed task into a team-facing work log and push it to the team's shared GitHub repository using gh CLI. Designed for weekly review โ concise, factual, and easy to scan.
Configuration
TEAM_REPO = the-swing/fe-work-logs
TEAM_REPO: GitHub repository in org/repo format
- File path inside the repo is automatically set to
{git user.name}/{YYYY-MM-DD}-{task-name}.md
Prerequisites
gh CLI must be installed and authenticated (gh auth status)
Workflow
Step 0 โ Check configuration
Check if TEAM_REPO is still set to the placeholder value the-swing/fe-work-logs.
If it is:
- Ask the user: "ํ ๋ก๊ทธ๋ฅผ ์ฌ๋ฆด GitHub ๋ ํฌ๋ฅผ ์ค์ ํด์ฃผ์ธ์. (์: your-org/work-logs)"
- Once the user provides the repo, update this SKILL.md file โ replace the placeholder with the actual value
- Confirm the repo is set and proceed
If TEAM_REPO is already configured, skip this step silently.
Step 1 โ Receive task input
The user provides:
- Task name: a short label for the task
If missing, ask for it before proceeding.
Step 2 โ Collect context automatically
Without asking the user, run:
git config user.name
git config user.email
git log --oneline -10
git diff HEAD~1 HEAD --stat
git status
gh pr view
Extract:
- ์์
์: from
git config user.name
- ๋ณ๊ฒฝ ํ์ผ ๋ฐ ์ปค๋ฐ: from git log/diff
- PR ๋งํฌ: from
gh pr view if available
Do not ask the user about things you can derive from git.
Step 3 โ Interview the user
Ask exactly 3 questions, all at once:
- ์ ์ด ๋ฐฉ์์ ์ ํํ๋์? (ํต์ฌ ๊ฒฐ์ ํ๋ ์ค๋ก)
- ์ด๋ ค์ ๋ ์ ์ด๋ ์์ ๋ฐ์ด์๋ ๊ฒ์ด ์์๋์?
- ํ์์ด ์์์ผ ํ ๊ฒ์ด ์๋์? (์ํฅ ๋ฒ์, ์ฃผ์์ฌํญ, ์์กด์ฑ ๋ฑ)
Step 4 โ Write and upload the log
Use the obsidian-markdown skill for structure โ frontmatter and headings.
Use the human-writer skill for all prose content within each section. Apply its vocabulary, structural, and voice rules to every sentence written. The text should sound like the user wrote it, not like an AI summarized it.
Generate the markdown file and upload to the team repo via gh CLI:
cat > /tmp/team-log-output.md << 'EOF'
{file content}
EOF
AUTHOR=$(git config user.name)
FILE_PATH="$AUTHOR/{YYYY-MM-DD}-{task-name}.md"
SHA=$(gh api repos/{TEAM_REPO}/contents/$FILE_PATH --jq '.sha' 2>/dev/null)
gh api repos/{TEAM_REPO}/contents/$FILE_PATH \
--method PUT \
-f message="team-log: {task-name}" \
-f content="$(base64 -i /tmp/team-log-output.md)" \
${SHA:+-f sha="$SHA"}
rm /tmp/team-log-output.md
Output Structure
---
title: {Task Name}
date: {YYYY-MM-DD}
author: {git user.name}
tags:
- team-log
status: done
---
# {Task Name}
| ํญ๋ชฉ | ๋ด์ฉ |
|------|------|
| ์์
์ | {git user.name} |
| ๋ ์ง | {YYYY-MM-DD} |
| PR | {PR link or ์์} |
## ์์
๋ด์ฉ
{๋ณ๊ฒฝ๋ ํ์ผ๊ณผ ์ปค๋ฐ ์์ฝ. ์งง์ bullet list.}
## ๊ณ ๋ฏผํ ํ์
{ํต์ฌ ๊ฒฐ์ ์ด์ ์ ์ด๋ ค์ ๋ ์ . 1์ธ์นญ์ผ๋ก, 2~4๋ฌธ์ฅ.}
## ์ํฅ ๋ฒ์ ๋ฐ ํ ๊ณต์
{ํ์์ด ์์์ผ ํ ๊ฒ. ์์ผ๋ฉด "์์".}
## ๋ค์ ์ก์
{์ด์ด์ง ์์
์ด๋ ๋ธ๋ก์ปค. ์์ผ๋ฉด ์๋ต.}
You MUST write the entire log in Korean, regardless of the language the user used. Keep it concise โ this is a team scan document, not a personal retrospective.