Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Red Hat Developer 8 min read How-to mediumAdept

tongs: Unified code review for GitHub & GitLab in your terminal

tongs is a Python terminal UI that builds a single code review inbox across GitHub, GitLab and their self-hosted variants by scanning locally cloned repos and reading their Git remotes, reusing existing gh and glab logins instead of storing tokens. A full review walkthrough covers syntax-highlighted diffs with word-level change marking, inline comments, forge-native suggested changes via $EDITOR, crash-safe review drafts stored in SQLite and pinned to the reviewed revision, CI log browsing, and double-press confirmation for approve and merge. A local SQLite cache (60s lists, 300s diffs, 100 MB LRU cap) keeps the inbox fast. An optional MCP server exposes six read, comment and approve tools to AI assistants while deliberately omitting merge and close.

Assumes: Git remotespull request workflows

Related posts

  • Building Ghostwriter Chat

    Replit easyNovice

    Ghostwriter Chat embeds an LLM-powered assistant directly in the Replit IDE, using file context, chat history and program output so users never copy-paste into a separate tool. Streaming generated tokens keeps time-to-first-token under 500 ms and lets users abort unhelpful answers. A generic prompt-construction layer gathers context from varied sources and renders it for different model APIs. To fit token limits, it drops older chat messages, caps user messages at 500 characters, and favors recently edited source files over noise like .venv, linter and CI configs.

  • Build Your Own AI-Driven Code Analysis Chatbot for Developers with the GenAI Stack

    Docker mediumAdept

    Code Explorer, a winning Docker AI/ML Hackathon project, is a RAG chatbot that answers questions about a local codebase by parsing source files, chunking them with LangChain's RecursiveCharacterTextSplitter (5000 characters with 500 overlap), and storing embeddings in a Neo4j vector store. LangChain builds two chains: a QnA RAG chain for detailed answers and an agent chain that wraps it as a tool and tends to return more concise summaries. The app falls back to the plain LLM when no codebase has been processed. The walkthrough runs the stack with Docker Compose: a Streamlit UI, Ollama serving codellama:7b-instruct, a one-shot model-pull container, and Neo4j, configured through a .env file.

  • How AI Assistants Can Decode GitHub Repos for UI Writers

    Docker mediumAdept

    An LLM agent can reliably flag user-facing copy changes in a branch when it is given narrow tools and expert hints about what "user-facing" means. GitHub Copilot's repo chat could not even count open PRs. A first prompt that gave the model bash and raw git diff also failed: diffs were huge, important files were buried and extra tools invited hallucination. The working two-step flow first lists only likely UI files (using --files-only and --no-pager with an alpine/git container) and saves the list. It then diffs just those files against main with --no-color --minimal, guided by frontend-engineer hints about JSX text nodes, notifications, toasts and Error constructors. This produced an accurate list of copy changes on a real Docker PR.

  • A practical guide to shipping with Claude Code

    claude.dev mediumAdept

    Claude Code's /ship command commits pending changes, opens a PR, runs /code-review and fixes valid findings, then watches the PR for up to seven days. While watching it fixes failing checks, resolves conflicts and addresses review comments, and it escalates design-level questions after at most three attempts on an issue. The guide covers the /code-review effort levels and flags, /steward for existing PRs, and the security caveats of the local watch. Merging the base branch runs code under your credentials, and git hooks are bypassed. Recurring feedback should be encoded in CLAUDE.md, REVIEW.md, and verify and steward skill files before asking admins to pilot Claude Ship team-wide with protected branches.

  • AI Agent Code Execution API

    Replit mediumAdept

    Replit offers sandboxed code execution so LLM agents can run untrusted generated code, contrasting a stateless model (like Bard's implicit code execution for math) with a stateful, session-long project environment (like ChatGPT). The stateless option is a forkable API server on Replit Autoscale Deployments, using the omegajail unprivileged container sandbox with a customizable Docker image, handling requests in as little as 100ms and integrating with OpenAI function calling via the replit-code-exec package. A stateful prototype using a full Repl as sandbox was tried and then discontinued, with code-exec recommended for most use cases.

The quest for software engineering knowledge.

Look:
Layout: