A collection of reusable Claude Code commands for the Comfy-Org team to streamline development workflows.
đź’ˇ Looking for more commands? Check out Awesome Claude Code - a community collection of general-purpose Claude Code commands!
Commands are stored in .claude/commands/
and can be invoked using /project:command-name
or /user:command-name
.
/user:AGENT-create-command
- Create a command by providing a task description and automatically generate an optimal prompt file/user:AGENT-improve-command
- Improve an existing command by referencing Claude/Anthropic documentation materials/user:AGENT-playbook-to-automated-agent-workflow
- Convert playbooks/workflows to automated agent workflows using local files and MCP tools/user:AGENT-summarize-and-log-current-session
- Create ultra-compact summaries of conversations and save them with timestamp-based filenames/user:AGENT-memory-search
- Search through past conversations using semantic memory system/user:AGENT-learn-claude-code-best-practices
- Study and synthesize Claude Code best practices from comprehensive knowledge base/user:summarize-book
- Create comprehensive summaries of books with structured analysis
/user:PR-submit-local-as-new-pr
- Make a PR based on local changes, whether you've committed, made a branch, etc. or not/user:GH-PR-implement-review-comments
- Fetch the PR associated with local branch, read reviews and comments, implement the requested changes with one commit for each change/user:SOLVEBUG-solve-issue-tdd
- Fetch an issue at the provided link. Solve the bug using test-driven development (write tests first, verify they fail, keep trying to fix until tests pass)/user:GH-create-github-issue
- Create a GitHub issue or feature request. Reference the repo name at least once in the argument/user:GH-ISSUE-enhance-issue-description
- Enhance GitHub issue descriptions with better formatting and clarity/user:GH-PR-add-review-comments-to-pr
- Add review comments to a pull request/user:GH-PR-summarize-my-open-prs
- Summarize the status of all open pull requests for the current user/user:GH-summarize-my-recent-prs
- Summarize your recent pull requests across repositories/user:GH-daily-report
- Create a daily summary of GitHub issues and PRs for comfy-org repos/user:GH-rebase-onto
- Rebase the current branch onto the target branch, handling conflicts safely human-in-the-loop style
/user:STUDY-comfy-api-architecture
- Load pre-generated architecture overview for Comfy-Org/comfy-api/user:STUDY-comfyui-custom-nodes-ecosystem
- Analyze ComfyUI custom nodes ecosystem patterns and trends using comprehensive dataset/user:STUDY-current-repo
- Study and analyze current repository structure and architecture/user:STUDY-microservices-architecture
- Reference guide for microservices architecture patterns/user:STUDY-node-editor-performance-optimizations
- Absorb performance optimization research for modern graph/canvas libraries/user:research-with-auto-mcp
- Automatically select and use the best MCP tool for research tasks/user:STUDY-knowledge-folder
- Study all markdown files in a knowledge folder for comprehensive understanding
/user:ANALYZE-repo-for-claude
- Analyze repository to provide Claude with necessary context and understanding
/user:NOTION-TASKS-audit-task-view
- Audit and update team task views in Notion/user:NOTION-convert-to-bounty-task
- Convert Notion tasks to bounty format for external contributors
/user:TEAM-team-standup-analysis
- Analyze team standup notes and provide insights
/user:frontend/FE-generate-primevue-reference
- Generate a list of all available PrimeVue components and their properties, for help with building frontend UIs/user:frontend/FE-manually-publish-to-pypi
- Publish the ComfyUI frontend package to PyPI with specified version
/user:estimate-context-window
- Estimate token usage and context window requirements for large-scale analysis tasks/user:run-gemini-headless
- Execute long-running Gemini tasks in background for large context analysis
/user:scan-accessibility
- Scan for WCAG 2.1 AA compliance and accessibility issues/user:scan-api-contracts
- Scan API contracts for consistency and breaking changes/user:scan-bundle-size
- Analyze bundle sizes and identify optimization opportunities/user:scan-circular-dependencies
- Detect circular dependencies in the codebase/user:scan-configuration
- Validate configuration files for errors and best practices/user:scan-dead-code
- Identify unused code, imports, and dependencies/user:scan-error-handling
- Analyze error handling patterns and coverage/user:scan-index
- Index of all validation commands with descriptions/user:scan-memory-leaks
- Detect potential memory leaks and resource management issues/user:scan-performance
- Identify performance bottlenecks and optimization opportunities/user:scan-test-coverage
- Analyze test coverage metrics and identify gaps/user:scan-type-safety
- Check TypeScript type safety and strict mode compliance/user:validate-basic-security
- Basic security validation for common vulnerabilities/user:validate-code-quality
- Comprehensive code quality metrics and analysis/user:validate-dependencies
- Audit dependencies for security, licensing, and updates
/user:create-feature-task
- Create structured feature development tasks with comprehensive tracking/user:use-command-template
- Generate new commands using standardized templates
/user:analyze-test-failures
- Analyze test failures with balanced approach to identify test bugs vs implementation bugs/user:comprehensive-test-review
- Perform thorough review of test suite quality and coverage/user:create-test-plan
- Generate comprehensive test plans for features or changes/user:test-failure-mindset
- Set proper investigative mindset for analyzing test failures
/user:memory-health-check
- Check semantic memory system health and perform maintenance/user:semantic-memory-search
- Search through semantic memory for past conversations and context
/user:add-idea
- Add new blog post ideas to the backlog/user:generate-outline
- Generate structured outlines for blog posts/user:list-ideas
- List and prioritize blog post ideas from backlog/user:prepare-publish
- Prepare blog posts for publication with final checks/user:research-topic
- Research topics for technical blog posts/user:review-readability
- Review blog posts for readability and clarity/user:review-seo
- Review blog posts for SEO optimization/user:review-style
- Review blog posts for style and consistency/user:review-technical
- Review technical accuracy of blog posts/user:write-draft
- Write first drafts of blog posts
/user:scan-comfy-conventions
- Check ComfyUI-specific patterns and PrimeVue usage/user:scan-performance-reactivity
- Validate Vue performance and reactivity patterns/user:scan-vue-patterns
- Check Vue 3 best practices and anti-patterns
/user:careful-of-refactor-between-msgs
- Reminder to be careful about refactoring between messages
- Clone this repository
- Commands are automatically available in your Claude Code session when working in this project
- To make commands globally available, copy desired command files to
~/.claude/commands/
- Install Gemini CLI (required for large context analysis tasks):
- Install from google-gemini/gemini-cli
- Used automatically for tasks exceeding Claude's context window
- Set up filepath mapping (required for repository analysis commands):
See project-summaries-for-agents/README.md for details.
cd project-summaries-for-agents cp filepath-mapping.json.template filepath-mapping.json # Edit filepath-mapping.json with your local repository paths
- Install claude-code-vector-memory (required for memory integration and search):
- The semantic memory system is required for searching through past conversations
- Install from: claude-code-vector-memory repository
- After cloning the repository, navigate to the semantic-memory-system directory and run the setup script:
cd claude-code-vector-memory/semantic-memory-system ./setup.sh
- The setup script will create a virtual environment, install dependencies, build the initial index, and run a health check
- Install Context7 MCP (optional but recommended):
- Provides official documentation for many libraries via the
/research-with-auto-mcp
command - Install the Context7 MCP server or CLI from its repository and ensure it is running locally when using research commands
- Provides official documentation for many libraries via the
Use the /user:AGENT-create-command
command to generate new commands based on your requirements.
See CONTRIBUTING.md for guidelines on adding new commands.
- Commands can include the
$ARGUMENTS
placeholder to accept parameters - Use descriptive filenames with prefixes (e.g.,
GH-
,NOTION-
,AGENT-
) for better organization - Test commands thoroughly before sharing with the team