Assign Issue to Current Git User

VerifiedSafe

Assigns an issue to the current Git user by updating the `assigned_to` field and appending a log comment. Helpful for task management in Git-based projects.

Sby Skills Guide Bot
DevelopmentBeginner
706/2/2026
Claude CodeCursor
#issue-tracking#git#automation#project-management

Recommended for

Our review

Assigns a project issue to the current Git user by updating the issue file and logging a comment.

Strengths

  • Automates issue assignment
  • Uses Git user email for assignment
  • Logs the assignment action in the issue file

Limitations

  • Requires specific file format (.issues/{id}.toml)
  • Only assigns to the user configured in Git
  • No conflict resolution mechanism
When to use it

When you need to quickly claim an issue in a local project management workflow.

When not to use it

When issues are managed externally or multiple users need to collaborate on assignments.

Security analysis

Safe
Quality score90/100

The skill only uses Bash for git config and git add, and Read/Edit/Glob to modify local issue files. There are no destructive commands, network calls, or data exfiltration.

No concerns found

Examples

Assign issue 0001 to yourself
Assign issue 0001 to myself
Claim issue 42
Claim issue 42

name: issues-assign description: Assign an issue to the current git user. disable-model-invocation: true argument-hint: "[issue-id]" allowed-tools: Bash(git *), Read, Edit, Glob

Arguments

The argument is the issue ID, e.g. 0001 or 1. If the ID is not zero-padded, pad it to 4 digits (e.g. 1 becomes 0001).

Steps

  1. Parse the argument as an issue ID. Zero-pad it to 4 digits.
  2. Use the Glob tool to verify .issues/{id}.toml exists.
  3. If the file does not exist, inform the user and stop.
  4. Run git config user.email using the Bash tool to get the current user's email.
  5. Read the issue file using the Read tool.
  6. Update the assigned_to field in the TOML content to the git user's email. Use the Edit tool to replace the existing assigned_to line.
  7. Append a [[comments]] entry to the end of the issue file using the Edit tool to log the assignment. Use the current date in YYYY-MM-DD format. Format:

[[comments]]
author = "{email}"
date = "{today}"
message = "Assigned to {email}"
  1. Run git add .issues/{id}.toml using the Bash tool.
  2. Display the updated issue to the user, confirming the assignment.

Allowed tools

  • Bash(git *) - for git config and git add
  • Read - for reading the issue file
  • Write - for writing the updated issue file
  • Glob - for verifying the issue file exists
Related skills