Intelligent Code Assistant for Your Codebase
Installation • Usage • Commands • Architecture • Development
GuideDAO Code is an intelligent CLI assistant for working with your codebase, designed to simplify development and maintenance processes. Using powerful LLM models, GuideDAO Code helps you analyze, modify, and understand code by responding to your natural language requests.
- 🔍 Code Analysis - explanation of complex parts of your codebase
- ✏️ File Modification - editing, creating, and deleting files based on requests
- 🔄 File Management - moving and renaming files
- 🐛 Error Fixing - analyzing and fixing browser errors
- 📚 Documentation - generating explanations and documentation
npm install -g guidedao-code
npm install guidedao-code
guidedao-code
This will launch an interactive CLI interface in your current project directory.
After launching the CLI, you can enter natural language requests:
guidedao-code> Explain the project structure
guidedao-code> Create a new utils/helpers.ts file with date utility functions
guidedao-code> Fix browser errors
GuideDAO Code supports the following commands:
Command | Description | Example Usage |
---|---|---|
READ_FILE |
Read file content | Show me the content of src/index.ts |
EDIT_FILE |
Edit a file | Add logging to the login function in auth.js |
CREATE_FILE |
Create a new file | Create a Button component in src/components/Button.tsx |
DELETE_FILE |
Delete a file | Delete the unused old-utils.js file |
MOVE_FILE |
Move/rename a file | Move auth.js to the services folder |
EXPLAIN_FILE |
Explain a file | Explain what webpack.config.js does |
FIX_BROWSER_ERRORS |
Fix browser errors | Fix errors in the browser console |
GuideDAO Code uses the following architecture:
- CLI Interface - user interaction
- LLM Model - natural language processing and code generation
- Codebase Manager - scanning and managing project files
- Action Handlers - performing operations on files
GuideDAO Code integrates with:
- 🌐 MCP Browser Client - for analyzing browser errors
- 🤖 Anthropic Claude - for natural language processing
- 🗄️ SQLite - for local data storage
- Node.js 20+
- pnpm 9+
This package uses native modules (better-sqlite3) that require compilation during installation:
- macOS: Make sure you have Xcode or Command Line Tools installed
xcode-select --install
- Linux: Ensure you have build tools and SQLite development libraries
# Ubuntu/Debian sudo apt-get install build-essential python3 libsqlite3-dev # RHEL/Fedora sudo dnf install gcc-c++ make python3 sqlite-devel
- Windows: Install Visual Studio Build Tools and Python
npm install --global --production windows-build-tools
pnpm install
pnpm run build
pnpm run dev
To work with different LLM models, create a .env
file in the project root:
ANTHROPIC_API_KEY=your-api-key
Contributions are welcome! To contribute:
- Fork the repository
- Create a branch for your changes
- Make changes and create a PR
ISC