원클릭으로
github-issue-solve
Resolve a GitHub issue locally, covering context setup, branching, planning, implementation, verification, and PR creation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Resolve a GitHub issue locally, covering context setup, branching, planning, implementation, verification, and PR creation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Standardize the verification of implemented GitHub issues on the development environment.
Perform performance testing and review of specific pages, identifying and fixing bottlenecks.
Parse downloaded Figma design JSON files and CSS layer data to generate Tailwind CSS layout classes, fonts, borders, and colors, with component-to-layer mapping and Storybook validation.
Compare a live component implementation with its original Figma design frame, validating rendering and alignment in Storybook iteratively until pixel-perfect results are achieved.
End-to-end automation for the full GitHub issue lifecycle. Use this when the user provides a feature request or bug report and wants to go from zero to a reviewed and refined Pull Request in one autonomous process.
Create a detailed GitHub issue using the mandatory template for new features or complex changes.
| name | github-issue-solve |
| description | Resolve a GitHub issue locally, covering context setup, branching, planning, implementation, verification, and PR creation. |
This workflow guides you through resolving a GitHub issue locally. It is based on a robust, CLI-agnostic automation framework.
You are an expert software engineer and autonomous agent.
Use this workflow whenever the user asks to "handle," "solve," "resolve," or "work on" a GitHub issue.
$ISSUE_NUMBER) is known, run:
gh issue view $ISSUE_NUMBER
gh issue comment $ISSUE_NUMBER --body "..." asking for the missing Goal, Success Criteria, or Context.gh issue edit $ISSUE_NUMBER --add-assignee "@me".gh issue comment $ISSUE_NUMBER --body "..." stating the start of work and what branch is being used.figma-implement skill using activate_skill to get instructions on how to handle Figma to code conversion.git checkout maingit pull origin mainfeat/$ISSUE_NUMBER-by-cli-agent-<short-description>.
<short-description> with a brief, kebab-case summary of the issue (e.g., feat/811-by-cli-agent-improve-x-and-y).git branch --list "*$ISSUE_NUMBER*"git checkout [matching-branch-name]git checkout -b feat/$ISSUE_NUMBER-by-cli-agent-<short-description>.tmp/tasks/issue-$ISSUE_NUMBER.md.
## Costs section at the end of the file.## Costs section in .tmp/tasks/issue-$ISSUE_NUMBER.md with the initialization cost (e.g., - Initialization: $0.05).**Total Costs** field that sums up all costs in the section.gh issue comment $ISSUE_NUMBER --body "Plan initialized on branch feat/123-by-cli-agent-fix-login-bug... [Plan]... Estimated cost: $0.05 (Total: $0.05)"For each atomic step in your plan:
figma-implement skill's script to parse the JSON. This script translates Figma styles into Tailwind CSS utility classes using the local Tailwind configuration and variables. Example usage: node .agents/skills/figma-implement/scripts/parse-figma-vars.mjs .tmp/figma-xxxx.json.npm run lint -- --cache and npm run compile (if applicable).npm run dev:up (as a background process) before starting a local test. This ensures the cache is cleared, old builds are removed, and the latest local code is being served correctly. Always use http://localhost:6767 for local verification. You MUST use the chrome-devtools MCP tools (e.g., mcp_chrome-devtools_navigate_page, mcp_chrome-devtools_take_snapshot) to actually open the affected page(s) and wait for the page to load, then take a snapshot to verify the component rendered correctly. Do NOT use browser_eval or any playwright-based tools from next-devtools.npm run log:view after the browser test has concluded and before closing the browser tab/window. This is critical to identify implementation problems, server-side rendering errors, missing translations, hydration mismatches, or backend errors that might not be caught by linting or visual browser checks.npm run log:view output contains runtime errors, you MUST fix the code, restart the server if necessary, and repeat the Browser Check and Log Check until the page renders cleanly with no errors. Do not proceed to commit until the implementation is fully functional.mcp_chrome-devtools_list_pages and mcp_chrome-devtools_close_page to close your active session and prevent orphaned browser tabs.any types. You must NOT simply disable linter rules for any. Furthermore, if you encounter any rogue any types or generic Record assignments (e.g., Record<string, any>) that were used to avoid passing concrete type interfaces, you must try to replace them with specific interfaces. Start by inspecting the project configuration for paths.types (e.g., src/types or types/). Search that configured types folder for an applicable existing project type. If no suitable type exists, you MUST create a new, strongly-typed definition in the configured types directory and use it. Strong typing is mandatory. If lookup or paths fail multiple times, dynamically update the configuration with the correct types folder path.docs/rules/general.md. If JSDoc is missing or incomplete, add it.git add .git commit -m "#IssueNumber type(scope): subject" as defined in docs/rules/commit.mdgit push (Verify the push is successful).main branch:
git fetch origingit merge origin/mainnpm run test and fix any failures before starting the internal review.generalist subagent to perform the code review.docs/rules directory to get a firm grasp of the project rules.review-code skill.npm run compile to ensure the build is successful after the merge and any review fixes.gh pr create --title "feat: Resolve issue #$ISSUE_NUMBER" --body "Resolves #$ISSUE_NUMBER. [Summary of changes]"
origin/main as described in step 1 to ensure integration.## Costs section in .tmp/tasks/issue-$ISSUE_NUMBER.md with the final session costs (e.g., - Finalization: $0.15).**Total Costs** field to reflect the sum of all costs.package.json under "agents" key, or fallback docs/project.json) for environments.prPreview.
environments.prPreview is configured and not empty, use that template as the base URL, replacing the [PR-SLOT] placeholder with the actual pull request number (e.g., if https://[PR-SLOT].your-domain.com/ is configured and the PR is #12, use https://pr-12.your-domain.com/).environments.prPreview is NOT configured or is empty, fallback to the configured environments.development URL. If that is also not configured, use environments.production.http://localhost:6767 or any custom local ports) in the final report on the GitHub issue, as these are not accessible externally..tmp/tasks/ is updated to reflect completion.gh pr view --web.