بنقرة واحدة
start-issue
Load a GitHub Issue, create a branch, and develop an implementation plan.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Load a GitHub Issue, create a branch, and develop an implementation plan.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Read hachimoku JSONL output and respond to review feedback.
Review and respond to PR review comments.
Create a new worktree for an Issue.
Commit changes, push to remote, and create a PR in a single workflow.
Wait for PR CI checks to complete, then execute merge.
Ensure complete compliance with code quality standards. Use before commit, before PR creation, or when quality issues are detected.
| name | start-issue |
| description | Load a GitHub Issue, create a branch, and develop an implementation plan. |
Load a GitHub Issue, create a branch, and develop an implementation plan.
/start-issue <issue-number> [--force] [--current-branch]
| Argument | Type | Required | Description |
|---|---|---|---|
issue-number | integer | Yes | GitHub Issue number |
--force | flag | No | Skip plan mode and all interactive confirmations (including TDD user approval). Full autonomous mode: Do not output any questions or confirmations as text. Execute all steps (including Issue reporting) without pausing. |
--current-branch | flag | No | Skip branch creation, use the current branch |
When the user invokes /start-issue <number>, follow these steps:
gh issue view <number> --json number,title,body,labels,state
Verify the issue exists and is open. If not open, warn the user.
If --current-branch is specified, skip this step entirely.
Based on the issue labels and content, determine the appropriate branch prefix:
| Label | Prefix |
|---|---|
enhancement, feature | feat/ |
bug | fix/ |
refactoring, refactor | refactor/ |
documentation, docs | docs/ |
test | test/ |
chore | chore/ |
If no matching label, check title/body for keywords. Default to feat/.
If --current-branch is specified, skip branch creation. Instead, display the current branch name:
git branch --show-current
If the result is empty (detached HEAD), display an error and abort.
Otherwise (default behavior):
Generate branch name: <prefix>/<issue-number>-<normalized-title>
Normalization rules:
git checkout -b <branch-name>
If branch exists, checkout instead of create.
Unless --force is specified, enter plan mode before proceeding. With --force, execute all phases directly without entering plan mode and without any interactive confirmations.
CRITICAL (--force mode): You are running in a non-interactive claude -p pipeline. There is no user to respond. You MUST NOT output any questions, confirmations, or prompts as text (e.g., "〜しますか?", "〜してよろしいですか?"). Execute every step autonomously and proceed to the next step immediately. This applies to ALL steps including Step 5 (Report to Issue).
Regardless of --force, execute the following phases to create an implementation plan.
First, read the workflow configuration:
cat .claude/workflow-config.json
Check documentation.ddd.enabled to determine if DDD workflow is active.
--force is not specified, clarify any ambiguous requirements with user. With --force, make reasonable assumptions and proceed.| Change Type | Documentation Impact |
|---|---|
| New CLI option | README, --help output |
| API endpoint added/changed | API documentation |
| Configuration option added | Config guide |
| Environment variable added | Setup guide |
| Feature added | Feature documentation |
Target documents are defined in documentation.paths from workflow config.
Skip this phase if documentation.ddd.enabled is false.
Before implementation, update documentation as specification using doc-updater skill:
Draft documentation changes
documentation.ddd.retcon_writing is true, write documentation as if the feature already exists
--format json" instead of "will allow users to..."Update target documents (from documentation.paths):
README.md - Usage and examplesdocs/ - Detailed documentation--help text (in code comments)CHANGELOG.md (from documentation.changelog) if applicableReview documentation with user (skip if --force — treat documentation as approved and proceed)
Based on the documented specification, design test cases using tdd-workflow skill:
If --force is specified:
Skip all TDD user confirmation steps and execute the Red-Green-Refactor cycle autonomously without user approval:
If --force is not specified (default):
Follow the standard TDD workflow with user confirmation:
With --force: Execute this step immediately without asking for confirmation. Do not output questions like "Issueに報告しますか?" — just do it.
Post the plan as a comment on the issue using issue-reporter skill:
## Implementation Plan
**Task**: [Issue title]
### Plan
1. [Step 1]
2. [Step 2]
...
### Expected Challenges
- [Challenge 1]
---
*Posted by Claude Code at YYYY-MM-DD HH:MM*
## Issue #<number>: <title>
### Requirements
[Requirements extracted from issue body]
### Documentation Updates (DDD)
- [ ] [Target document]: [Update description]
- [ ] [Target document]: [Update description]
### Test Plan
- [Test case 1]
- [Test case 2]
### Implementation Plan
1. [Step 1]
2. [Step 2]
...
### Verification
[Verification steps]
| Error | Action |
|---|---|
| Issue not found | Display error with gh issue view suggestion |
| Issue is closed | Warn user and ask for confirmation. With --force, warn in output but proceed without confirmation. |
| gh not authenticated | Display gh auth login instruction |
| Uncommitted changes | Ask user to commit or stash changes |
| Branch creation failed | Display error details |
Detached HEAD with --current-branch | Display error: not on a branch, checkout a branch first |
workflow-config.json not found | Display error: "Run /init to create configuration." |
documentation section missing | Treat as DDD disabled, inform user |
documentation.paths missing or empty | Display warning about no documentation targets |
| doc-updater/tdd-workflow skill not found | Display error with skill installation guidance |