From dev-skills
Guides through standardized development workflow from brainstorming to PR merge and cleanup. This skill should be used when starting new features, bug fixes, refactoring, documentation updates, or any development work that requires issue tracking and PR workflow. Use when the user wants to follow a systematic approach to problem-solving with proper version control and code review practices.
npx claudepluginhub aeghnnsw/cc-toolkit --plugin dev-skillsThis skill uses the workspace's default tool permissions.
This skill provides a comprehensive workflow for systematic problem-solving in software development. It guides through the complete development lifecycle from initial brainstorming to final PR merge and cleanup, ensuring proper issue tracking, branch management, testing, and code review at each step.
Implements structured self-debugging workflow for AI agent failures: capture errors, diagnose patterns like loops or context overflow, apply contained recoveries, and generate introspection reports.
Monitors deployed URLs for regressions in HTTP status, console errors, performance metrics, content, network, and APIs after deploys, merges, or upgrades.
Provides React and Next.js patterns for component composition, compound components, state management, data fetching, performance optimization, forms, routing, and accessible UIs.
This skill provides a comprehensive workflow for systematic problem-solving in software development. It guides through the complete development lifecycle from initial brainstorming to final PR merge and cleanup, ensuring proper issue tracking, branch management, testing, and code review at each step.
The workflow emphasizes:
Purpose: Understand the problem and formulate a solution before starting implementation.
Process:
Output: Clear understanding of what needs to be done and why.
Purpose: Document the problem and solution approach in a trackable format.
Process:
gh issue create) to create a new issueFormat:
gh issue create --title "Brief, descriptive title" --body "Problem description and solution approach"
Note the issue number for use in branch naming and PR linking.
Purpose: Create an isolated environment for development work.
Branch Naming Convention: Enforce one of these prefixes based on the type of work:
feat-<issue-number>-<short-description> - New featuresbugfix-<issue-number>-<short-description> - Bug fixesdoc-<issue-number>-<short-description> - Documentation updatesrefactor-<issue-number>-<short-description> - Code refactoringchore-<issue-number>-<short-description> - Maintenance taskstest-<issue-number>-<short-description> - Test additions/updatesProcess:
# Create worktree with appropriate branch name
git worktree add path/to/worktree <branch-name>
# Navigate to worktree
cd path/to/worktree
Example:
git worktree add ../trees/feat-42-user-auth feat-42-user-auth
Purpose: Implement the solution and verify it works correctly.
Process:
Testing Guidelines:
Important: Do not proceed to PR creation if tests are failing or the implementation is incomplete.
Purpose: Share the changes for review and integration.
Push Process:
# Push branch to remote with upstream tracking
git push -u origin <branch-name>
PR Creation Process:
gh pr create --title "Brief, descriptive title" --body "PR description"
PR Description Format:
Example:
gh pr create --title "Add user authentication system" --body "Implements JWT-based authentication with refresh tokens. Closes #42"
Purpose: Incorporate feedback and improve the implementation.
Process:
Communication:
Purpose: Integrate the changes into the main codebase.
Merge Process:
gh pr merge <pr-number> --merge
Result: The PR is merged and the associated issue is automatically closed (if properly referenced).
Purpose: Remove temporary worktrees and branches when no longer needed.
When to Clean Up:
Process:
# Return to main repository
cd /path/to/main/repo
# Remove worktree
git worktree remove path/to/worktree
# Optional: Delete local branch
git branch -d <branch-name>
Note: The remote branch is typically deleted automatically by GitHub after PR merge.
While this workflow provides a structured approach, adapt steps based on context:
The key is to maintain the core principles of issue tracking, isolation, testing, and review while adjusting the rigor to match the scope and complexity of the work.