.do
Development

repo

Manage repositories with semantic commits, AI-powered code review, and autonomous merge strategies. Analyze codebases, track dependencies, and automate workflows at scale.

repo

Repo.do

Overview

The repo primitive is part of the .do platform's semantic API system. It follows the $.Subject.verb.Object pattern for consistent, intuitive interactions across SDK, CLI, API, and MCP interfaces.

Semantic Pattern

All repo operations follow the semantic $.Repo.verb.Object pattern:

import { $, repo } from 'sdk.do'

// Create resources
await $.Repo.create.Resource({ /* config */ })

// Query data
await $.Repo.get.Data({ /* params */ })

// Update state
await $.Repo.update.Status({ /* changes */ })

Quick Start

import { repo } from 'sdk.do'

// Initialize and use the primitive
const result = await repo.operation({
  // configuration parameters
})

Access Methods

The repo primitive is accessible through multiple interfaces:

SDK

TypeScript/JavaScript library for programmatic access:

import { repo } from 'sdk.do'
await repo.method({ /* ... */ })

SDK Documentation

CLI

Command-line interface for terminal operations:

do repo <command> [options]

CLI Documentation

API

REST/RPC endpoints for HTTP integration:

curl -X POST https://api.do/v1/repo \
  -H "Content-Type: application/json" \
  -d '{"key":"value"}'

API Documentation

MCP

Model Context Protocol for AI assistant integration:

Use repo primitives with AI assistants via MCP

MCP Documentation

See other primitives in the development category.