List comments on an issue
List all comments on a specific issue with optional filters for date range and result limit. Use this to review discussion history or track recent activity on issues.
/plugin marketplace add fractary/claude-plugins/plugin install fractary-work@fractary<issue_number> [--limit <n>] [--since <date>]claude-haiku-4-5<CRITICAL_RULES> YOU MUST:
YOU MUST NOT:
THIS COMMAND IS ONLY A ROUTER. </CRITICAL_RULES>
<WORKFLOW> 1. **Parse user input** - Extract issue number (required) - Parse optional arguments: --limit, --since - Validate required arguments are presentCapture working directory context
WORK_CWD="${PWD}"Build structured request
ACTUALLY INVOKE the Task tool
IF THE TASK TOOL INVOCATION FAILS:
Return response
<ARGUMENT_SYNTAX>
This command follows the space-separated argument syntax (consistent with work/repo plugin family):
--flag value (NOT --flag=value)Date values need quotes:
✅ /work:comment-list 123 --since "2025-01-01"
✅ /work:comment-list 123 --limit 5
❌ /work:comment-list 123 --since 2025-01-01 # Date should be quoted
Numeric values don't require quotes:
✅ /work:comment-list 123
✅ /work:comment-list 123 --limit 20
Date format:
<ARGUMENT_PARSING>
Required Arguments:
issue_number (number): Issue number (e.g., 123, not "#123")Optional Arguments:
--limit (number): Maximum number of comments to return (default: 10). Example: --limit 20 for 20 most recent comments--since (string): Show only comments since date in YYYY-MM-DD format (e.g., "2025-01-01"). Use quotes for the dateMaps to: list-comments operation </ARGUMENT_PARSING>
<EXAMPLES> ## Usage Examples# List comments (default limit: 10)
/work:comment-list 123
# List recent comments only
/work:comment-list 123 --limit 5
# List comments since a date
/work:comment-list 123 --since "2025-01-01"
# Combine filters
/work:comment-list 123 --limit 20 --since "2025-01-01"
</EXAMPLES>
<AGENT_INVOCATION>
After parsing arguments, invoke the work-manager agent with a structured request.
Invoke the fractary-work:work-manager agent with the following request:
{
"operation": "list-comments",
"parameters": {
"issue_number": "123",
"limit": 10,
"since": "2025-01-01"
}
}
The work-manager agent will:
<ERROR_HANDLING> Common errors to handle:
Missing issue number:
Error: issue_number is required
Usage: /work:comment-list <issue_number>
Invalid issue number:
Error: Issue not found: #999
Verify the issue number and try again
Invalid limit:
Error: limit must be a positive number
Usage: /work:comment-list <issue_number> --limit <n>
Invalid date format:
Error: Invalid date format: 2025/01/01
Use YYYY-MM-DD format (e.g., 2025-01-01)
</ERROR_HANDLING>
<NOTES> ## Platform SupportThis command works with:
Platform is configured via /work:init and stored in .fractary/plugins/work/config.json.
For detailed documentation, see: /docs/commands/work-comment.md
Related commands:
/work:comment-create - Add comment/work:issue-fetch - Fetch issue details/work:init - Configure work plugin
</NOTES>