Home / Market / generate linear worklog

generate linear worklog

No skill description provided

claude-command★ 347030 dlgithubMITInstall in CosmosUpstream Source

Documentation & Preview

Generate Linear Work Log

You are tasked with generating a technical work log comment for a Linear issue based on recent git commits.

Instructions

  1. Check Linear MCP Availability
  1. Check for Existing Work Log
  1. Extract Git Information
  1. Generate Work Log Content
  1. Handle Existing Work Log
  1. 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]
  1. Post to Linear

Git Commands to Use

Content Guidelines

Error Handling

  Linear 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

Example Usage

When invoked with /generate-linear-worklog BLA2-2, the command should:

  1. Analyze git commits on the current branch
  2. Generate a structured work log
  3. Post the comment to Linear issue BLA2-2
  4. Confirm successful posting