0
Generate linear worklog
Son git taahhütlerine dayalı olarak Doğrusal bir sorun için teknik bir çalışma günlüğü yorumu oluşturmakla görevlendirildiniz.
yazan kuscubasiece·8 Eylül 2026
Kaynak: davepoon/claude-code-subagents-collection · MIT
Son git taahhütlerine dayalı olarak Doğrusal bir sorun için teknik bir çalışma günlüğü yorumu oluşturmakla görevlendirildiniz.
Kaynak: davepoon/claude-code-subagents-collection · MIT
mkdir -p .claude/commands && curl -sL https://www.antrophiclove.com/api/kaynak/generate-linear-worklog/raw -o .claude/commands/generate-linear-worklog.mdHedef dosya: .claude/commands/generate-linear-worklog.md
You are tasked with generating a technical work log comment for a Linear issue based on recent git commits.
Check Linear MCP Availability
Check for Existing Work Log
Extract Git Information
Generate Work Log Content
Handle Existing Work Log
Format Structure
## Work Completed [TODAY'S DATE]
### Branch: [current-branch-name]
**Commit [short-hash]: [Commit Title]**
- [Technical detail 1]
- [Technical detail 2]
- [Line count] lines of code across [file count] files
[Additional commits in chronological order]
### [Status Section]
- [Current infrastructure/testing status]
- [What is now available/ready]
Post to Linear
git branch --show-current - Get current branchgit log --oneline -10 - Get recent commitsgit log main..HEAD --oneline - Get branch-specific commitsgit show --stat [commit-hash] - Get detailed commit infogit log --since="[today's date]" --pretty=format:"%h %ad %s" --date=short - Get today's commitsLinear MCP client is not installed. To install it:
1. Install the Linear MCP server:
npm install -g @modelcontextprotocol/server-linear
2. Add Linear MCP to your Claude configuration:
Add the following to your Claude MCP settings:
{
"mcpServers": {
"linear": {
"command": "npx",
"args": ["@modelcontextprotocol/server-linear"],
"env": {
"LINEAR_API_KEY": "your_linear_api_key_here"
}
}
}
}
3. Restart Claude Code
4. Get your Linear API key from: https://linear.app/settings/api
When invoked with /generate-linear-worklog BLA2-2, the command should: