commit
CommandCreate well-formatted conventional commits with atomic-commit analysis
Resolve a GitHub issue end-to-end following GitHub Flow
$ npx -y skills add awattar/claude-code-best-practices --agent claude-code
description: Resolve a GitHub issue end-to-end following GitHub Flow argument-hint: <issue-number>
This command helps you analyze and fix GitHub issues specified in $ARGUMENTS following GitHub flow best practices.
To analyze and fix the GitHub issue, just type:
/issue <issue-number>
1. Analyzes the GitHub issue specified in $ARGUMENTS using GitHub CLI (`gh`). 2. Researches prior work and creates a development plan in a scratchpad. 3. Selects appropriate workflow based on issue type (standard, exploration, test-first, or rapid prototyping). 4. Creates a feature branch and implements the solution with incremental commits. 5. Tests the changes and opens a PR for review.
This command leverages specialized agents based on issue type and complexity:
The appropriate agent is selected based on the issue requirements and project architecture. Each agent contributes specialized expertise to ensure thorough project analysis and high-quality documentation generation.
Follow these steps:
Follow these best practices and tools throughout the process:
While the standard workflow is: PLAN ➡️ CREATE ➡️ TEST ➡️ DEPLOY, adapt your approach based on the issue type:
Choose the workflow that best fits the issue requirements and adjust as needed.
Follow these steps to understand and plan your approach:
1. Use `gh issue view` to get the issue details. 2. Understand the problem described in the issue. 3. Ask clarifying questions if necessary. 4. Understand the prior art for this issue:
5. Think harder about how to break the issue down into a series of small, manageable tasks. 6. Document your plan in a new scratchpad:
Implement the solution following these steps:
1. Create a new branch for the issue. 2. Solve the issue in small, manageable steps, according to your plan. 3. Use the /commit command to create well-formatted commits after each step.
When implementing changes for GitHub issues, use the `/commit` command to maintain consistency and follow conventional commit standards:
Verify your changes work correctly:
1. Test UI changes using available browser automation tools via MCP if you have made changes to the UX. 2. Write automated tests to describe the expected behavior of your code. 3. Run the full test suite to ensure you haven't broken anything. 4. If the tests are failing, fix them. 5. Ensure that all tests are passing before moving on to the next step.
IMPORTANT: When creating pull requests, always follow these guidelines:
A practical guide to using Claude Code, Anthropic’s agentic coding assistant, effectively in real-world development workflows. This repo distills best practices, patterns, and examples for integrating Claude Code into your terminal-based coding environment.
Create well-formatted conventional commits with atomic-commit analysis
Generate a comprehensive CLAUDE.md by analyzing the current project
Thoroughly review a GitHub pull request and submit structured feedback
Compare two or more options side by side, recommend one, and let the reader pick in the page
Explain code in detail - what it does, how it works, and why
Create smart commit with quality checks and conventional format