AgentSkillsCN

Issues Show

显示问题

SKILL.md

issues-show

Show the full details of a specific issue.

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. Read the issue file using the Read tool.
  5. Display all fields in a nicely formatted output:
code
Issue {id}: {title}
─────────────────────────
Status:      {status}
Priority:    {priority}
Assigned to: {assigned_to}
Labels:      {labels}
Created:     {created_at}

{description}

Comments:
──────────
[2026-02-15] user@example.com:
  Comment text here...

If description is empty, omit the description section. If labels is empty, show "none". If assigned_to is empty, show "unassigned". If the issue has [[comments]] entries, render them at the bottom under a "Comments:" header. Each comment shows [{date}] {author}: followed by the message text indented with two spaces. If there are no comments, omit the Comments section entirely.

Allowed tools

  • Bash(git *) - for git commands
  • Read - for reading the issue file
  • Glob - for verifying the issue file exists