Learn how to set up and optimize your development environment for maximum productivity with Gammacode.
Setting up your environment
Install Gammacode
Get Gammacode installed and ready for development:Install Gammacode
Verify installation
Authenticate if needed
Development environment integration
IDE setup and extensions
Optimize your editor for the best Gammacode experience: VS Code recommendations:- Install language-specific extensions for syntax highlighting
- Configure auto-save for seamless Gammacode file monitoring
- Set up integrated terminal for easy Gammacode access
Project initialization workflow
Set up new projects with Gammacode:Navigate to your project
Initialize Gammacode context
Set up project-specific configuration
/init
analyzes your codebase and creates a project-specific AGENTS.md
file containing build commands, code style guidelines, and project conventions that Gammacode will follow throughout your development workflow.Common workflows
Learn about common workflows with Gammacode.Each task in this document includes clear instructions, example commands, and best practices to help you get the most from Gammacode.
Understand new codebases
Get a quick codebase overview
Suppose you’ve just joined a new project and need to understand its structure quickly.Navigate to the project root directory
Start Gammacode
Ask for a high-level overview
Dive deeper into specific components
- Start with broad questions, then narrow down to specific areas
- Ask about coding conventions and patterns used in the project
- Request explanations of project-specific terminology
Find relevant code
Suppose you need to locate code related to a specific feature or functionality.Ask Gammacode to find relevant files
Get context on how components interact
Understand the execution flow
- Be specific about what you’re looking for
- Use domain language from the project
Fix bugs efficiently
Suppose you’ve encountered an error message and need to find and fix its source.Share the error with Gammacode
Ask for fix recommendations
Apply the fix
- Tell Gammacode the command to reproduce the issue and get a stack trace
- Mention any steps to reproduce the error
- Let Gammacode know if the error is intermittent or consistent
Refactor code
Suppose you need to update old code to use modern patterns and practices.Identify legacy code for refactoring
Get refactoring recommendations
Apply the changes safely
Verify the refactoring
- Ask Gammacode to explain the benefits of the modern approach
- Request that changes maintain backward compatibility when needed
- Do refactoring in small, testable increments
Work with tests
Suppose you need to add tests for uncovered code.Identify untested code
Generate test scaffolding
Add meaningful test cases
Run and verify tests
- Ask for tests that cover edge cases and error conditions
- Request both unit and integration tests when appropriate
- Have Gammacode explain the testing strategy
Create pull requests
Suppose you need to create a well-documented pull request for your changes.Summarize your changes
Generate a PR with Gammacode
Review and refine
Add testing details
- Ask Gammacode directly to make a PR for you
- Review Gammacode’s generated PR before submitting
- Ask Gammacode to highlight potential risks or considerations
Handle documentation
Suppose you need to add or update documentation for your code.Identify undocumented code
Generate documentation
Review and enhance
Verify documentation
- Specify the documentation style you want (JSDoc, docstrings, etc.)
- Ask for examples in the documentation
- Request documentation for public APIs, interfaces, and complex logic
Work with images
Suppose you need to work with images in your codebase, and you want Gammacode’s help analyzing image content.Add an image to the conversation
- Drag and drop an image into the Gammacode window
- Copy an image and paste it into the CLI with ctrl+v (Do not use cmd+v)
- Provide an image path to Gammacode. E.g., “Analyze this image: /path/to/your/image.png”
Ask Gammacode to analyze the image
Use images for context
Get code suggestions from visual content
- Use images when text descriptions would be unclear or cumbersome
- Include screenshots of errors, UI designs, or diagrams for better context
- You can work with multiple images in a conversation
- Image analysis works with diagrams, screenshots, mockups, and more
Reference files and directories
Use @ to quickly include files or directories without waiting for Gammacode to read them.Reference a single file
Reference a directory
- File paths can be relative or absolute
- @ file references add AGENTS.md in the file’s directory and parent directories to context
- Directory references show file listings, not contents
- You can reference multiple files in a single message (e.g., “@file1.js and @file2.js”)
Use specialized agents
Suppose you want to use specialized AI agents to handle specific tasks more effectively.Create a custom agent
- Choose location (Current project or Global)
- Enter a description (e.g., “security analysis”)
- Select which tools the agent can access
- The agent is created as
.gammacode/agent/agent_name.md
Use agents automatically
Explicitly request specific agents
- Create project-specific agents in
.gammacode/agent/
for team sharing - Use descriptive descriptions to enable automatic delegation
- Limit tool access to what each agent actually needs
- Agents help maintain focused expertise for specialized tasks
Ask Gammacode about its capabilities
Gammacode has built-in access to its documentation and can answer questions about its own features and limitations.Example questions
- Gammacode always has access to the latest documentation, regardless of the version you’re using
- Ask specific questions to get detailed answers
- Gammacode can explain complex features and advanced workflows