본문으로 건너뛰기
cccskills
무료GitHub에 공개

sisyphus-trigger

Activate when user expresses intent to start Sisyphus work (e.g., "okay then work like that", "let's execute this", "start working on this"). Extract ai-todolist.md content from GitHub comments/files, create branch, commit, and trigger GitHub Actions workflow. If no ai-todolist format found, load plan-writer skill instead.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구GitHub
설치 방법 보기

포함된 파일(3)

  • SKILL.md5.7 KB
  • references/example-ai-todolist.md14.3 KB
  • scripts/trigger_workflow.sh538 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Sisyphus Work Trigger

Automate the process of starting Sisyphus work from user's intent, either with existing ai-todolist.md content or by creating a new plan.

When to Use This Skill

Activate this skill when:

  1. User expresses intent to start work with phrases like:
    • "okay then work like that"
    • "let's execute this"
    • "start working on this"
    • Any phrase indicating readiness to begin work
  2. AND user mentions or references:
    • A GitHub issue/PR comment
    • An existing file path
    • Direct content that might contain ai-todolist.md format

Workflow Decision Tree

User Intent Detected
    |
    v
Search for ai-todolist.md format content
    |
    +-- Found? --> Extract & Trigger Workflow (Step A)
    |
    +-- Not Found? --> Load plan-writer Skill (Step B)

Step 0: Register All Steps in TodoWrite

Before proceeding, use the TodoWrite tool to register all upcoming steps as a todo list:

Use TodoWrite to create todos for the following:
1. Search for ai-todolist.md format content
2. Extract content from GitHub comments (if ai-todolist found)
3. Verify ai-todolist.md format
4. Generate branch name
5. Create branch and commit
6. Trigger GitHub Actions workflow
7. Inform user of success

Mark each step as 'pending' initially, then update to 'in_progress' and 'completed' as you work through them.

This ensures full visibility into the workflow execution and allows for proper task tracking.


Step A: ai-todolist.md Format Found

1. Extract Content from GitHub Comments

Use gh CLI to extract comments from issues or PRs:

# Get specific comment by comment ID
gh api /repos/{owner}/{repo}/issues/comments/{comment_id} --jq '.body'

# Get all comments from an issue
gh issue view {issue_number} --json comments --jq '.comments[].body'

# Get all comments from a PR
gh pr view {pr_number} --json comments --jq '.comments[].body'

# Search for comments containing specific text
gh issue view {issue_number} --json comments --jq '.comments[] | select(.body | contains("# TODOs")) | .body'

Example workflow:

# If user says "use that comment from PR #123"
gh pr view 123 --json comments --jq '.comments[] | select(.body | contains("# TODOs")) | .body' > ai-todolist.md

2. Verify ai-todolist.md Format

Check if the content has the required structure (see example-ai-todolist.md):

  • Contains # TODOs section
  • Has - [ ] checkbox items
  • Has is_execution_started = FALSE marker
  • Has is_all_goals_accomplished = FALSE marker

3. Generate Branch Name

Create a descriptive branch name from the task title:

# Extract task goal and slugify
# Example: "mode integration" -> "sisyphus-dev-ai/mode-integration"
BRANCH_NAME="sisyphus-dev-ai/$(echo '{task_summary}' | tr '[:upper:]' '[:lower:]' | tr -cs '[:alnum:]' '-' | sed 's/-$//')"

Pattern: sisyphus-dev-ai/{descriptive-name}

4. Create Branch and Commit

# Create and checkout new branch
git checkout -b "$BRANCH_NAME"

# Reset Sisyphus environment
sisyphus reset --include-task-specs
git add .
git commit -m "sisyphus reset"

# Save ai-todolist.md
# (Content should be saved to ./ai-todolist.md)
git add ai-todolist.md
git commit -m "sisyphus work init"

# Push to remote
git push -u origin "$BRANCH_NAME"

5. Trigger GitHub Actions Workflow

Use the bundled script:

bash scripts/trigger_workflow.sh "$BRANCH_NAME"

This will execute:

gh workflow run trigger-sisyphus-work.yml -f branch_name="$BRANCH_NAME"

6. Inform User

Report back with:

  • Branch name created
  • Commit SHAs
  • GitHub Actions workflow run URL

Example:

SUCCESS: Sisyphus work triggered!

* Branch: sisyphus-dev-ai/mode-integration
* Commits:
   - a1b2c3d: sisyphus reset
   - e4f5g6h: sisyphus work init
* Workflow: https://github.com/owner/repo/actions/runs/...

The workflow will:
1. Checkout the branch
2. Run sisyphus work --no-tui
3. Create PR when complete

Step B: No ai-todolist.md Format Found

If the referenced content does NOT match ai-todolist.md format:

1. Load plan-writer Skill

Load the plan-writer skill to create a new work plan.

The plan-writer skill will:

  • Analyze user requirements
  • Generate structured ai-todolist.md
  • Support --detail levels (minimal|balanced|detailed|extreme)
  • Get plan-reviewer validation

2. After Plan Created

Once plan-writer generates ai-todolist.md:

  • Return to Step A (Extract & Trigger Workflow)
  • Continue with branch creation and workflow trigger

Important Notes

Branch Naming Convention

Always use sisyphus-dev-ai/ prefix for automated work branches:

  • Pattern: sisyphus-dev-ai/{descriptive-kebab-case}
  • Keep names concise but descriptive
  • Use English words even if task is in Korean

Commit Message Convention

Use exactly these commit messages:

  1. First commit: "sisyphus reset"
  2. Second commit: "sisyphus work init"

Error Handling

If workflow trigger fails:

  • Check GitHub CLI authentication: gh auth status
  • Verify workflow file exists: gh workflow list
  • Ensure branch is pushed: git branch -r | grep sisyphus-dev-ai

Workflow Requirements

The trigger-sisyphus-work.yml workflow expects:

  • Branch name as input parameter
  • Existing ai-todolist.md in the branch
  • Will fail if ai-todolist.md is missing

Reference

See example-ai-todolist.md for the required format structure.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Common Playwright automation patterns for web testing and scraping via MCP

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

code-yeongyu/sisyphus-private182026년 10월 15일 업데이트

Commits changes in atomic units following dependency order. Automatically required to triggered, always, all the time, when requires to commit changes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

code-yeongyu/sisyphus-private182026년 10월 15일 업데이트

Patterns for controlling interactive debuggers (pdb, ipdb, gdb, lldb, node debug) via terminalcp

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

code-yeongyu/sisyphus-private182026년 10월 15일 업데이트

Specialized GitHub PR intelligence agent for automatically gathering comprehensive context from Pull Requests. Activate when users need CI failure analysis, review comment investigation, or PR status assessment. Triggers on requests like "CI 실패 원인 찾아줘", "gather review comments", "check PR status", "analyze PR".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

code-yeongyu/sisyphus-private182026년 10월 15일 업데이트

GitHub Pull Request creation specialist. Analyzes user requirements to create PRs with structured titles and bodies matching the user's query language. Handles git change analysis, PR draft creation, user confirmation, and final PR creation via gh CLI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

code-yeongyu/sisyphus-private182026년 10월 15일 업데이트

Patterns for managing and monitoring long-running processes (builds, tests, servers, etc.) via terminalcp

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

code-yeongyu/sisyphus-private182026년 10월 15일 업데이트

code-yeongyu의 스킬 모두 보기

이 스킬의 문제 신고