> ## Documentation Index
> Fetch the complete documentation index at: https://docs.remind.tools/llms.txt
> Use this file to discover all available pages before exploring further.

# Tooling & DevOps

> Development tools, CI/CD, and automation documentation

# Tooling & DevOps

Comprehensive documentation for development tools, continuous integration, and deployment processes.

## Overview

Remind Tools leverages modern tooling and automation to ensure code quality, streamline development, and enable reliable deployments.

## Documentation Structure

<CardGroup cols={2}>
  <Card title="Claude Code" icon="robot" href="/tooling/claude-code">
    AI-powered development assistant configuration
  </Card>

  <Card title="Memory Integration" icon="brain" href="/tooling/memory-integration">
    Intelligent context persistence system
  </Card>

  <Card title="Sequential Thinking" icon="diagram-project" href="/tooling/sequential-thinking-integration">
    Advanced problem-solving integration
  </Card>

  <Card title="CI/CD Pipeline" icon="infinity" href="/tooling/cicd">
    Continuous integration and deployment
  </Card>

  <Card title="Codemagic" icon="rocket" href="/tooling/codemagic">
    Multi-platform build automation
  </Card>
</CardGroup>

## Development Tools

### Claude Code Integration

Our AI-powered development assistant provides:

<Tabs>
  <Tab title="Custom Commands">
    * `/create-prd` - Generate product requirements
    * `/implement-task` - Implement features from issues
    * `/debug-issue` - Systematic debugging
    * `/dev-workflow` - Complete dev workflow
  </Tab>

  <Tab title="MCP Servers">
    * **Supabase**: Database management
    * **GitHub**: Issue and PR management
    * **Dart/Flutter**: Code analysis
    * **Memory**: Context persistence
  </Tab>

  <Tab title="Intelligent Features">
    * Sequential thinking for complex problems
    * Memory-driven development
    * Automated code generation
    * Smart refactoring suggestions
  </Tab>
</Tabs>

### Local Development

<Steps>
  <Step title="Environment Setup">
    ```bash theme={null}
    # Run complete setup
    ./scripts/dev_setup.sh

    # Or use Makefile
    make setup
    ```
  </Step>

  <Step title="Install Dependencies">
    ```bash theme={null}
    # Using Melos
    melos bootstrap

    # Using bun for packages
    bun install
    ```
  </Step>

  <Step title="Development Server">
    ```bash theme={null}
    # Run with hot reload
    melos run trips:dev
    melos run money:dev
    ```
  </Step>
</Steps>

## CI/CD Pipeline

### GitHub Actions Workflow

```yaml theme={null}
name: CI/CD Pipeline
on:
  push:
    branches: [main, develop]
  pull_request:
    branches: [main, develop]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: subosito/flutter-action@v2
      - run: melos bootstrap
      - run: melos run analyze
      - run: melos test
```

### Codemagic Configuration

<Info>
  Codemagic handles multi-platform builds for iOS, Android, and Web deployments.
</Info>

**Build Triggers**:

* Push to `main` → Production build
* Push to `develop` → Staging build
* Pull requests → Test builds

**Platforms**:

* iOS: TestFlight distribution
* Android: Google Play Console
* Web: Firebase Hosting

## Quality Assurance

### Automated Testing

| Test Type | Coverage Target | Command |
| - | - | - |
| Unit Tests | 80%+ | `melos test` |
| Widget Tests | 70%+ | `melos run test:widget` |
| Integration Tests | Critical paths | `melos run test:integration` |
| Golden Tests | UI consistency | `melos run test:golden` |

### Code Quality Tools

<CardGroup cols={3}>
  <Card title="Dart Analyzer" icon="magnifying-glass">
    Static analysis for Dart code

    ```bash theme={null}
    melos run analyze
    ```
  </Card>

  <Card title="Formatter" icon="align-left">
    Consistent code formatting

    ```bash theme={null}
    melos run format:fix
    ```
  </Card>

  <Card title="Dependency Audit" icon="shield">
    Security vulnerability scanning

    ```bash theme={null}
    melos run audit
    ```
  </Card>
</CardGroup>

## Monitoring & Analytics

### Application Monitoring

* **Crash Reporting**: Sentry integration
* **Performance Monitoring**: Custom metrics
* **User Analytics**: Privacy-focused tracking
* **Error Logging**: Structured logging

### Infrastructure Monitoring

* **Supabase Metrics**: Database performance
* **API Monitoring**: Endpoint health checks
* **Cost Tracking**: Resource usage alerts

## Deployment Process

### Version Management

```bash theme={null}
# Interactive version bump
melos version

# Create release branch
git checkout -b release/v1.2.0

# Tag release
git tag v1.2.0
git push origin v1.2.0
```

### Environment Management

<Tabs>
  <Tab title="Development">
    ```bash theme={null}
    make env-dev
    # Uses .env.development
    ```
  </Tab>

  <Tab title="Staging">
    ```bash theme={null}
    make env-staging
    # Uses .env.staging
    ```
  </Tab>

  <Tab title="Production">
    ```bash theme={null}
    make env-prod
    # Uses .env.production
    ```
  </Tab>
</Tabs>

## Best Practices

1. **Pre-commit Hooks**
   * Format checking
   * Lint validation
   * Test execution

2. **Branch Protection**
   * Required reviews
   * Status checks
   * Linear history

3. **Documentation**
   * Update with changes
   * Version compatibility
   * Migration guides

4. **Security**
   * Secret management
   * Dependency updates
   * Security scanning


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.