Language: Always interact with the user in 日本語.
impl-en
Prerequisites
- Claude Code environment
git, gh CLI
Arguments
- Issue number (e.g.,
/impl-en #123): Fetch requirements from GitHub Issue
- Issue URL (e.g.,
/impl-en https://github.com/owner/repo/issues/123): Same as above
- Text (e.g.,
/impl-en Add user authentication): Use text as requirements
- No arguments: Interview the user for requirements
Forbidden Actions (Critical)
If any of the following occurs, redo that phase. Skipping for "context savings" or "small change" is not accepted.
- Skipping any sub-step (2-1 to 2-6) with "later", "leave as TODO", or "separate PR"
- Silently skipping a phase or sub-step without declaring it to the user
- Committing with unimplemented tests or dummy assertions (e.g.,
expect(true).toBe(true))
- Self-reviewing instead of calling the
review agent
- Skipping lint/format without attempting to run (skipping is allowed only after running and confirming no settings exist)
If scope reduction is needed, redo Phase 1 scope splitting and confirm with the user instead of skipping phases.
Phase 1: Requirements Analysis and Scope Splitting
- Retrieve requirements from arguments
- Issue: Read body and comments via
gh issue view
- Text: Use as-is
- No arguments: Interview the user
- Check for spec documents
- If CLAUDE.md specifies the spec location, follow it
- Otherwise, search broadly with Glob (
**/SPEC.md, **/spec/**, docs/**, etc.)
- Read any documents linked in the Issue body
- Cross-reference spec contents with requirements and use as implementation input
- If no spec found, proceed as-is
- Record the current branch as the base branch (PR merge target)
- Run
git branch --show-current and display to user: "Base branch: "
- Retain this name until PR creation in Phase 3
- Determine the working branch (see
references/branch-naming.md)
- Split requirements into independently implementable and testable units
- Sort by dependencies and determine implementation order
- Create tasks with TaskCreate
- Explore and understand the codebase to grasp requirements accurately
- Confirm unclear specs with the user
- Confirm backward compatibility with the user if breaking changes exist
Phase 2: Implementation Cycle (repeat per scope)
Set the current scope task to in_progress via TaskUpdate at the start of each scope.
2-1: Plan
- Create an implementation plan with the
Plan agent
- Clarify change locations, impact scope, and test requirements
2-2: Develop
- Implement (including tests) with the
develop agent
- Satisfy requirements with minimal changes
- Write production-ready code. The following do NOT count as complete implementation:
- Tests containing only mocks/stubs with no real code
- Functions filled with
TODO, NotImplementedError, pass, or throw new Error("not implemented")
- Interface/type definitions only with no actual implementation
2-3: Review
- Code review with the
review agent
- Evaluate requirement conformance, code quality, and test sufficiency
- Incomplete implementation check: Verify no mock/stub-only code, TODO/NotImplementedError placeholders, or empty function bodies
2-4: Improvement Cycle
- If review issues found -> fix with
develop -> re-review -> repeat until no issues
2-5: Format & Lint
- Run format/lint on changed files per project settings
- Skip if no settings found
2-6: Commit (mandatory)
- Commit at each scope completion. Never skip.
- Follow commit message conventions in CLAUDE.md
- After committing, set the task to
completed via TaskUpdate
Phase 3: Final Verification and PR Creation
- Confirm all scopes are implemented
- Run full test suite
- Create PR with
gh pr create --base <base-branch>
- Use the base branch recorded in Phase 1. Never fall back to
main or master.
- If unclear, check fork point with
git log --oneline --graph HEAD...main
- With Issue: Include Issue number in title, then link via
gh pr edit <PR#> --add-issue <Issue URL> after creation (do not use Closes keyword)
- PR body: Change summary + manual checklist (see
templates/pr-checklist.md)
- Report implementation summary to user
Rules
- Each scope must be independently implementable and testable
- Commit at each scope completion. Never proceed without committing
- Fix review issues at all severity levels
- Track progress with TaskCreate/TaskUpdate
- Phase declaration: At the start of each sub-step (2-1 to 2-6) display
▶ 2-X start: <name>, and on completion display ✓ 2-X done. This prevents silent skipping.
- Self-check: Before completing each phase, re-read the corresponding section of this SKILL.md and verify no steps were skipped before moving to the next phase.
- On compaction (context compression), check current progress with
TaskList before resuming work
1---2name: impl-en3description: Iterative implementation cycle with scope splitting, develop, review, commit, and PR creation.4user-invocable: true5---67**Language: Always interact with the user in 日本語.**89# impl-en1011## Prerequisites1213- Claude Code environment14- `git`, `gh` CLI1516## Arguments1718- **Issue number** (e.g., `/impl-en #123`): Fetch requirements from GitHub Issue19- **Issue URL** (e.g., `/impl-en https://github.com/owner/repo/issues/123`): Same as above20- **Text** (e.g., `/impl-en Add user authentication`): Use text as requirements21- **No arguments**: Interview the user for requirements2223## Forbidden Actions (Critical)2425If any of the following occurs, redo that phase. Skipping for "context savings" or "small change" is not accepted.2627- Skipping any sub-step (2-1 to 2-6) with "later", "leave as TODO", or "separate PR"28- Silently skipping a phase or sub-step without declaring it to the user29- Committing with unimplemented tests or dummy assertions (e.g., `expect(true).toBe(true)`)30- Self-reviewing instead of calling the `review` agent31- Skipping lint/format without attempting to run (skipping is allowed only after running and confirming no settings exist)3233If scope reduction is needed, redo Phase 1 scope splitting and confirm with the user instead of skipping phases.3435## Phase 1: Requirements Analysis and Scope Splitting36371. Retrieve requirements from arguments38 - Issue: Read body and comments via `gh issue view`39 - Text: Use as-is40 - No arguments: Interview the user412. Check for spec documents42 - If CLAUDE.md specifies the spec location, follow it43 - Otherwise, search broadly with Glob (`**/SPEC.md`, `**/spec/**`, `docs/**`, etc.)44 - Read any documents linked in the Issue body45 - Cross-reference spec contents with requirements and use as implementation input46 - If no spec found, proceed as-is473. Record the current branch as the base branch (PR merge target)48 - Run `git branch --show-current` and display to user: "Base branch: <branch-name>"49 - Retain this name until PR creation in Phase 3504. Determine the working branch (see `references/branch-naming.md`)515. Split requirements into independently implementable and testable units526. Sort by dependencies and determine implementation order537. Create tasks with TaskCreate5455- Explore and understand the codebase to grasp requirements accurately56- Confirm unclear specs with the user57- Confirm backward compatibility with the user if breaking changes exist5859## Phase 2: Implementation Cycle (repeat per scope)6061**Set the current scope task to `in_progress` via `TaskUpdate` at the start of each scope.**6263#### 2-1: Plan64- Create an implementation plan with the `Plan` agent65- Clarify change locations, impact scope, and test requirements6667#### 2-2: Develop68- Implement (including tests) with the `develop` agent69- Satisfy requirements with minimal changes70- **Write production-ready code. The following do NOT count as complete implementation:**71 - Tests containing only mocks/stubs with no real code72 - Functions filled with `TODO`, `NotImplementedError`, `pass`, or `throw new Error("not implemented")`73 - Interface/type definitions only with no actual implementation7475#### 2-3: Review76- Code review with the `review` agent77- Evaluate requirement conformance, code quality, and test sufficiency78- **Incomplete implementation check**: Verify no mock/stub-only code, TODO/NotImplementedError placeholders, or empty function bodies7980#### 2-4: Improvement Cycle81- If review issues found -> fix with `develop` -> re-review -> repeat until no issues8283#### 2-5: Format & Lint84- Run format/lint on changed files per project settings85- Skip if no settings found8687#### 2-6: Commit (mandatory)88- **Commit at each scope completion. Never skip.**89- Follow commit message conventions in CLAUDE.md90- **After committing, set the task to `completed` via `TaskUpdate`**9192## Phase 3: Final Verification and PR Creation93941. Confirm all scopes are implemented952. Run full test suite963. Create PR with `gh pr create --base <base-branch>`97 - **Use the base branch recorded in Phase 1. Never fall back to `main` or `master`.**98 - If unclear, check fork point with `git log --oneline --graph HEAD...main`99 - With Issue: Include Issue number in title, then link via `gh pr edit <PR#> --add-issue <Issue URL>` after creation (do not use Closes keyword)100 - PR body: Change summary + manual checklist (see `templates/pr-checklist.md`)1014. Report implementation summary to user102103## Rules104105- Each scope must be independently implementable and testable106- **Commit at each scope completion.** Never proceed without committing107- Fix review issues at all severity levels108- Track progress with TaskCreate/TaskUpdate109- **Phase declaration**: At the start of each sub-step (2-1 to 2-6) display `▶ 2-X start: <name>`, and on completion display `✓ 2-X done`. This prevents silent skipping.110- **Self-check**: Before completing each phase, re-read the corresponding section of this SKILL.md and verify no steps were skipped before moving to the next phase.111- On compaction (context compression), check current progress with `TaskList` before resuming work