Skip to main content

Developer Resources

Welcome to the Grok One-Shot developer hub. Here you'll find everything you need to build with, extend, and contribute to Grok One-Shot.

🛠️ Development Setup

🔧 Building with Grok One-Shot

📖 API Reference

Development Workflow

Local Development

  1. Clone the repository

    git clone https://github.com/x-cli-team/grok-one-shot.git
    cd grok-one-shot
  2. Install dependencies

    bun install
  3. Run in development mode

    bun run dev

Contributing Code

Testing

  • Run tests: bun test
  • Build locally: bun run build
  • Check types: bun run typecheck

Extension Points

MCP Servers

Extend Grok One-Shot capabilities by creating Model Context Protocol servers:

  • File system tools
  • API integrations
  • Database connections
  • Custom business logic

Configuration

Customize behavior through:

  • User settings (~/.grok/settings.json)
  • Project settings (.grok/settings.json)
  • Environment variables
  • Command-line flags

Resources

Documentation

Community

Support

Need help with development?