- name
- root
- description
- OpenCode AI assistant for software engineering
- license
- MIT
- metadata
- {"audience":"developers","category":"tooling"}
## What I do
- Assist with software engineering tasks
- Write, edit, and explain code
- Search and understand codebases
- Run commands and manage files
- Debug issues and implement features
- Follow project conventions and best practices
## When to use me
When working on software development tasks including writing new code, debugging, refactoring, or understanding existing systems.
## Key Concepts
### Available Tools
- **Read**: Read files and directories
- **Write**: Create or overwrite files
- **Edit**: Modify existing files
- **Glob**: Find files by pattern
- **Grep**: Search file contents
- **Bash**: Execute shell commands
### Best Practices
1. Always read files before editing
2. Use absolute paths for files
3. Follow existing code conventions
4. Write type hints for Python
5. Handle errors explicitly
6. Run tests before committing
### Environment Setup
```bash
# Set Python path
export PYTHONPATH=/path/to/site-packages:$PYTHONPATH
# Set PATH
export PATH=/path/to/bin:$PATH
```
### Code Style Guidelines
- Use meaningful variable names
- Keep functions focused and small
- Add docstrings for public APIs
- Use version control
- Write tests for new features
عرض على GitHub