Validate title provided
Description
if [ -z "$PLAN_TITLE" ]; then echo "❌ Error: Plan title required" echo "Usage: /sync-todos-to-github \"Plan Title\"" exit 1 fi DRY_RUN=false if [[ "$2" == "--dry-run" ]]; then DRY_RUN=true fi
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
Repository README
This is the README for alirezarezvani/claude-code-skill-factory, shared by 13 entries
in this directory. It describes the repository, not this entry specifically.
description: Convert TodoWrite task list to GitHub plan issue (triggers automation) argument-hint: ""
Purpose
Efficiently convert current TodoWrite tasks into a GitHub plan issue. Existing workflows handle task creation automatically.
Usage
/sync-todos-to-github "Sprint 5 - User Authentication"
/sync-todos-to-github "Feature: Payment Integration" --dry-run
Process
Step 1: Prepare Todo List
**From TodoWrite**: Copy your current task list and format as markdown checklist:
- [ ] Task 1: Implement authentication
- [ ] Task 2: Add password reset
- [ ] Task 3: Create login UI
- [ ] Task 4: Add JWT tokens
- [ ] Task 5: Write auth tests
**Requirements**:
- Minimum: 5 tasks
- Maximum: 10 tasks
- Format:
- [ ] Task description
Step 2: Set Plan Details
PLAN_TITLE="$1" # From command argument
REPO="alirezarezvani/claude-code-skill-factory"
# Validate title provided
if [ -z "$PLAN_TITLE" ]; then
echo "❌ Error: Plan title required"
echo "Usage: /sync-todos-to-github \"Plan Title\""
exit 1
fi
# Check if dry-run mode
DRY_RUN=false
if [[ "$2" == "--dry-run" ]]; then
DRY_RUN=true
fi
Step 3: Get Todo List (Interactive)
echo "📋 Paste your todo list (markdown checklist format):"
echo "Example:"
echo "- [ ] Task 1"
echo "- [ ] Task 2"
echo ""
echo "Enter checklist (Ctrl+D when done):"
# Read multiline input
TODO_LIST=$(cat)
# Validate format and count
TASK_COUNT=$(echo "$TODO_LIST" | grep -c "^- \[ \]" || echo "0")
if [ "$TASK_COUNT" -lt 5 ]; then
echo "❌ Error: Minimum 5 tasks required (found: $TASK_COUNT)"
echo "💡 Tip: Combine small tasks or add more scope"
exit 1
fi
if [ "$TASK_COUNT" -gt 10 ]; then
echo "❌ Error: Maximum 10 tasks allowed (found: $TASK_COUNT)"
echo "💡 Tip: Split into $(( ($TASK_COUNT + 9) / 10 )) separate plans"
echo ""
echo "Example:"
echo " Plan 1: Tasks 1-10"
echo " Plan 2: Tasks 11-$TASK_COUNT"
exit 1
fi
echo "✅ Validated: $TASK_COUNT tasks"
Step 4: Create Goal Description
echo ""
echo "📝 Enter goal/context (single line, Ctrl+D when done):"
GOAL=$(cat)
if [ -z "$GOAL" ]; then
GOAL="Complete the tasks listed below."
fi
Step 5: Preview (Always Show Before Creating)
echo ""
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo "📋 PLAN PREVIEW"
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo ""
echo "Title: Plan: $PLAN_TITLE"
echo "Tasks: $TASK_COUNT"
echo ""
echo "Goal:"
echo "$GOAL"
echo ""
echo "Tasks:"
echo "$TODO_LIST"
echo ""
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
if [ "$DRY_RUN" = true ]; then
echo ""
echo "🔍 DRY RUN MODE - No issue created"
echo "Command would create plan issue with $TASK_COUNT tasks"
exit 0
fi
echo ""
read -p "Create this plan issue? (y/N): " confirm
if [[ ! "$confirm" =~ ^[Yy]$ ]]; then
echo "❌ Cancelled"
exit 0
fi
Step 6: Create Plan Issue (Efficient REST API)
echo ""
echo "🚀 Creating plan issue..."
#
Related Skills
Epic Sync
Sync epic issue bodies, labels, and local coordination snapshots from GitHub.
Git 使用 Git Worktrees
创建孤立的 Git worktrees,带有智能目录选择与安全验证。
Git Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-ag
Git #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git