Claude Code
Start Claude Code
Section titled “Start Claude Code”claudeGenerate a CLAUDE.md project guide
Section titled “Generate a CLAUDE.md project guide”/initUnderstand unfamiliar code
Section titled “Understand unfamiliar code”- Understand unfamiliar code
- Automate Git operations
- Edit code intelligently
- Test And Debug Your Code
- Encourage deeper thinking
Understand new codebases
Section titled “Understand new codebases”give me an overview of this codebaseexplain the main architecture patterns used herewhat are the key data models?Find relevant code
Section titled “Find relevant code”how is authentication handled?find the files that handle user authenticationhow do these authentication files work together?trace the login process from front-end to databaseFix bugs efficiently
Section titled “Fix bugs efficiently”I'm seeing an error when I run npm testsuggest a few ways to fix the @ts-ignore in user.tsupdate user.ts to add the null check you suggestedRefactor code
Section titled “Refactor code”find deprecated API usage in our codebasesuggest how to refactor jquery-migrate.js to use modern JavaScript featuresrefactor jquery-migrate.js to use modern JavaScript features while maintaining the same behavior. Upgrading to Foundation 6 is not an option right now.run tests for the refactored codeWork with tests
Section titled “Work with tests”find functions in NotificationsService.swift that are not covered by testsadd tests for the notification serviceadd test cases for edge conditions in the notification servicerun the new tests and fix any failuresCreate pull requests
Section titled “Create pull requests”create a prenhance the PR description with more context about the security improvementsadd information about how these changes were testedHandle documentation
Section titled “Handle documentation”find functions without proper JSDoc comments in the auth moduleadd JSDoc comments to the undocumented functions in auth.jsimprove the generated documentation with more context and examplescheck if the documentation follows our project standardsWork with images
Section titled “Work with images”What does this image show?Describe the UI elements in this screenshotAre there any problematic elements in this diagram?Here's a screenshot of the error. What's causing it?This is our current database schema. How should we modify it for the new feature?Generate CSS to match this design mockupWhat HTML structure would recreate this component?Use extended thinking
Section titled “Use extended thinking”I need to implement a new authentication system using OAuth2 for our API. Think deeply about the best approach for implementing this in our codebase.think about potential security vulnerabilities in this approachthink harder about edge cases we should handleSet up project memory
Section titled “Set up project memory”/initSet up project memory
Section titled “Set up project memory”/init- Read about Claude Code on the web.