一键导入
implement-issue
Implements a GitHub issue end-to-end. Use when asked to implement, work on, or fix a specific issue number.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Implements a GitHub issue end-to-end. Use when asked to implement, work on, or fix a specific issue number.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Creates GitHub issues for the package repository. Use when asked to create, file, or open a GitHub issue, or when planning new features or functions that need to be tracked.
Document package functions. Use when asked to document functions.
GitHub workflows using the `gh` CLI, including viewing issues/PRs and commit message conventions. Use when interacting with GitHub in any way, such as viewing, creating, or editing issues and pull requests, making commits, or running any `gh` command.
Guide for writing R code. Use when writing new functions, designing APIs, or reviewing/modifying existing R code.
Search and rewrite R source code by syntax using astgrepr. Use when asked to find patterns in code, search for function calls, identify usage of specific arguments, locate structural patterns across R files, or perform find-and-replace on code structure.
Test-driven development workflow. Use when writing any R code (writing new features, fixing bugs, refactoring, or reviewing tests).
| name | implement-issue |
| trigger | implement issue / work on |
| description | Implements a GitHub issue end-to-end. Use when asked to implement, work on, or fix a specific issue number. |
| compatibility | Requires the `gh` CLI and an authenticated GitHub session. |
This skill wraps the Standard Workflow defined in AGENTS.md. Run the steps below before and after that workflow.
A. Read the issue in full:
gh issue view {number}
If gh is not authenticated, stop and ask the user to authenticate before continuing.
B. Check/create the branch:
main: usethis::pr_init("fix-{number}-{description}")fix-{number}-{description}
{description} uses snake_casefix-42-validate_inputSteps 1–9 of the Standard Workflow are the core development loop.
C. Commit and push:
main) — these are all part of the same PR and should inform the PR description:
git log main..HEAD --oneline
git add -A
git commit -m "{short imperative summary}"
gh pr create --fill
Use --title and --body explicitly if --fill produces an inadequate description.This step may be overridden — the user may ask you to stop before committing, handle the push themselves, or complete only part of the workflow. Always follow explicit user instructions over these defaults.