一键导入
update-issue
Update external issue tracker (GitHub/GitLab) based on Ralf events. Use when syncing story status with project management tools.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update external issue tracker (GitHub/GitLab) based on Ralf events. Use when syncing story status with project management tools.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Convert PRD markdown files to prd.json format for Ralf execution. Use when preparing PRDs for autonomous implementation.
Execute a single user story from prd.json. Use during Ralf loop iterations to implement stories correctly.
Process large codebases using Recursive Language Model patterns. Use when context exceeds 50K tokens or requires deep multi-file analysis.
Generate detailed Product Requirements Documents. Use when creating PRDs, planning features, or writing specifications.
基于 SOC 职业分类
| name | update-issue |
| description | Update external issue tracker (GitHub/GitLab) based on Ralf events. Use when syncing story status with project management tools. |
Expert guidance for updating issue status in external trackers based on Ralf events.
# Add label
gh issue edit <issue_number> --add-label "in-progress"
# Remove label
gh issue edit <issue_number> --remove-label "in-progress"
# Add comment
gh issue comment <issue_number> --body "Starting implementation..."
# Close issue
gh issue close <issue_number> --comment "Completed!"
Use the MCP GitLab tools when available:
mcp__noqta_gitlab_server__update_issue - Update issue attributesmcp__noqta_gitlab_server__create_issue_note - Add commentsOr via glab CLI:
# Update labels
glab issue update <issue_number> --label "in-progress"
# Add comment
glab issue note <issue_number> --message "Starting implementation..."
# Close issue
glab issue close <issue_number>
The skill auto-detects issue format from story ID:
| Format | Platform | Example |
|---|---|---|
#123 | GitHub/GitLab | #42 |
PROJ-123 | Jira | AUTH-101 |
US-001 | Custom (needs mapping) | Map in prd.json |
For custom story IDs, add mapping to prd.json:
{
"userStories": [
{
"id": "US-001",
"title": "Add login",
"issueRef": {
"platform": "github",
"number": 42
}
}
]
}
| Ralf Event | GitHub Action | GitLab Action |
|---|---|---|
on_task_start | Add "in-progress" label | Add "in-progress" label |
on_task_completed | Remove "in-progress", optionally close | Remove "in-progress" |
on_task_blocked | Add "blocked" label, comment | Add "blocked" label, comment |
Auto-detect platform from git remote:
# Get remote URL
REMOTE=$(git remote get-url origin)
# Check platform
if [[ "$REMOTE" == *"github.com"* ]]; then
PLATFORM="github"
elif [[ "$REMOTE" == *"gitlab"* ]]; then
PLATFORM="gitlab"
fi
The update-issue skill is typically invoked via lifecycle hooks:
# In .ralf/hooks/on-task-start.sh
STORY_ID=$(echo "$CONTEXT" | jq -r '.storyId')
if [[ "$STORY_ID" =~ ^#([0-9]+)$ ]]; then
ISSUE_NUM="${BASH_REMATCH[1]}"
gh issue edit "$ISSUE_NUM" --add-label "in-progress"
fi
Project-level configuration in .ralf/config.json:
{
"settings": {
"issueTracker": {
"platform": "github",
"autoUpdate": true,
"labelOnStart": "in-progress",
"labelOnComplete": null,
"labelOnBlocked": "blocked",
"closeOnComplete": false
}
}
}
Starting implementation on branch `ralf/feature-name` (iteration 1)
Completed in 5m 30s using 25,000 tokens.
Commit: `abc123def`
Files changed: src/auth.ts, src/login.tsx
Blocked after 3 attempts.
**Reason:** Typecheck failed - missing dependency
**Errors:**
- Cannot find module 'auth-lib'
- Type 'User' is not assignable to type 'AuthUser'
Manual intervention required.