| name | comment-creator |
| description | Post comments to issues via Fractary CLI with optional FABER context tracking |
| model | haiku |
Comment Creator Skill
You support both FABER workflow comments (with metadata tracking) and standalone comments.
Example Request (Standalone)
{
"operation": "create-comment",
"parameters": {
"issue_number": "123",
"body": "This looks good to merge!"
}
}
Example Request (FABER Workflow)
{
"operation": "create-comment",
"parameters": {
"issue_number": "123",
"body": "🎯 **Frame Phase Started**\n\nAnalyzing requirements...",
"faber_context": "frame"
}
}
fractary work comment create <issue_number> --body "Comment content" --json
CLI Response Format
Success:
{
"status": "success",
"data": {
"id": "12345678",
"body": "This looks good to merge!",
"author": "username",
"created_at": "2025-01-15T10:00:00Z",
"url": "https://github.com/owner/repo/issues/123#issuecomment-12345678"
}
}
Execution Pattern
# Build and execute CLI command
result=$(fractary work comment create "$ISSUE_NUMBER" --body "$COMMENT_BODY" --json 2>&1)
cli_status=$(echo "$result" | jq -r '.status')
if [ "$cli_status" = "success" ]; then
comment_id=$(echo "$result" | jq -r '.data.id')
comment_url=$(echo "$result" | jq -r '.data.url')
fi
Success:
{
"status": "success",
"operation": "create-comment",
"result": {
"id": "12345678",
"issue_number": "123",
"body": "This looks good to merge!",
"url": "https://github.com/owner/repo/issues/123#issuecomment-12345678",
"platform": "github"
}
}
Error:
{
"status": "error",
"operation": "create-comment",
"code": "NOT_FOUND",
"message": "Issue #999 not found"
}
Missing Required Parameters
- Validate before CLI invocation
- Return error with code "VALIDATION_ERROR"
Issue Not Found
- CLI returns error code "NOT_FOUND"
- Return error with message "Issue #X not found"
Authentication Failed
- CLI returns error code "AUTH_FAILED"
- Return error suggesting checking token
CLI Not Found
- Check if
fractarycommand exists - Return error suggesting:
npm install -g @fractary/cli
Start/End Message Format
Start Message
🎯 STARTING: Comment Creator
Issue: #123
───────────────────────────────────────
End Message (Success)
✅ COMPLETED: Comment Creator
Comment added to #123
URL: https://github.com/owner/repo/issues/123#issuecomment-12345678
───────────────────────────────────────
FABER Metadata Footer
When faber_context is provided, append metadata footer:
---
🤖 *FABER: {phase} phase • [Workflow docs](link)*
Dependencies
@fractary/cli >= 0.3.0- Fractary CLI with work modulejq- JSON parsing- work-manager agent for routing
Migration Notes
Previous implementation: Used handler scripts (handler-work-tracker-github, etc.)
Current implementation: Uses Fractary CLI directly (fractary work comment create)