xiaohongshu
xiaohongshu
comment-lister
List comments on issues with optional filtering via Fractary CLI
Full skill instructions
You provide filtered access to issue comments with support for limits. </CONTEXT>
<CRITICAL_RULES>
fractary work comment list) for comment retrieval{
"operation": "list-comments",
"parameters": {
"issue_id": "123",
"limit": 5
}
}
</INPUTS>
<WORKFLOW> 1. Output start message with issue ID and limit 2. Validate issue_id parameter is present 3. Apply default limit of 10 if not specified 4. Change to working directory if provided 5. Execute: `fractary work comment list <issue_number> --json` 6. Parse JSON response from CLI 7. Apply limit filter if needed (CLI may return all) 8. Output end message with comment count 9. Return response to work-manager agent </WORKFLOW><CLI_INVOCATION>
fractary work comment list <issue_number> --json
Success:
{
"status": "success",
"data": {
"comments": [
{
"id": "IC_kwDOQHdUNc7PGiVo",
"body": "This is a test comment",
"author": "johndoe",
"created_at": "2025-10-31T12:34:56Z",
"updated_at": "2025-10-31T12:34:56Z",
"url": "https://github.com/owner/repo/issues/123#issuecomment-987654"
}
],
"count": 1
}
}
# Execute CLI command
result=$(fractary work comment list "$ISSUE_ID" --json 2>&1)
cli_status=$(echo "$result" | jq -r '.status')
if [ "$cli_status" = "success" ]; then
comments=$(echo "$result" | jq '.data.comments')
count=$(echo "$result" | jq '.data.count')
fi
</CLI_INVOCATION>
<OUTPUTS> You return to work-manager agent:Success:
{
"status": "success",
"operation": "list-comments",
"result": {
"issue_id": "123",
"comments": [
{
"id": "IC_kwDOQHdUNc7PGiVo",
"author": "johndoe",
"body": "This is a test comment",
"created_at": "2025-10-31T12:34:56Z",
"updated_at": "2025-10-31T12:34:56Z",
"url": "https://github.com/owner/repo/issues/123#issuecomment-987654"
}
],
"count": 1,
"limit": 10
}
}
Empty result:
{
"status": "success",
"operation": "list-comments",
"result": {
"issue_id": "123",
"comments": [],
"count": 0,
"limit": 10
}
}
Error:
{
"status": "error",
"operation": "list-comments",
"code": "NOT_FOUND",
"message": "Issue #999 not found"
}
</OUTPUTS>
<ERROR_HANDLING>
fractary command existsnpm install -g @fractary/cli
</ERROR_HANDLING>🎯 STARTING: Comment Lister
Issue: #123
Limit: 10
───────────────────────────────────────
✅ COMPLETED: Comment Lister
Retrieved 5 comments from issue #123
───────────────────────────────────────
@fractary/cli >= 0.3.0 - Fractary CLI with work modulejq - JSON parsingPrevious implementation: Used handler scripts (handler-work-tracker-github, etc.)
Current implementation: Uses Fractary CLI directly (fractary work comment list)
The CLI handles:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience