agentleFS
rubenmarcusrubenmarcus/ralph-starter/AGENTS.md

ralph-starter

AGENTS.md108 starsChanged 8 months agoMITView on GitHub

Configuration for AI coding agents working on ralph-starter. ralph-starter is a CLI tool for running autonomous AI coding loops. It connects to external sources (GitHub, Linear, Notion, Figma) and orchestrates AI coding agents to build software autonomously. Tech Stack: TypeScript, Node.js 20+, pnpm Run after each change: ralph-starter works with these coding agents: - Claude Code (recommended) - Cursor - OpenCode - OpenAI Codex - GitHub Copilot - Gemini CLI - Amp - Openclaw For internal features (task analysis, completion…

  • Reads credentials
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository11 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run after each change:

    line 13
  2. Very specific:

    Use chalk for colored output

    line 86
  3. Very specific:

    Use ora for spinners

    line 87
  4. Very specific:

    Use inquirer for interactive prompts

    line 88
  5. Very specific:

    Use commander for CLI parsing

    line 89
  6. Distinctive:

    Prefer async/await over callbacks

    line 90
  7. Distinctive:

    Add types/interfaces first

    line 94
  8. Distinctive:

    Update README.md if user-facing

    line 97
  9. Distinctive:

    Add tests if applicable

    line 98

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md

Configuration for AI coding agents working on ralph-starter.

Project Overview

ralph-starter is a CLI tool for running autonomous AI coding loops. It connects to external sources (GitHub, Linear, Notion, Figma) and orchestrates AI coding agents to build software autonomously.

Tech Stack: TypeScript, Node.js 20+, pnpm

Validation Commands

Run after each change:

pnpm build        # TypeScript compilation
pnpm lint         # ESLint checks
pnpm test         # Run tests
pnpm typecheck    # Type checking only

Project Structure

src/
├── cli.ts              # CLI entry point
├── commands/           # Command implementations
│   ├── run.ts          # Main run command
│   ├── init.ts         # Project initialization
│   ├── plan.ts         # Implementation planning
│   └── ...
├── integrations/       # Source integrations
│   ├── base.ts         # Base integration interface
│   ├── github/         # GitHub issues, PRs
│   ├── linear/         # Linear tickets
│   ├── notion/         # Notion pages
│   └── figma/          # Figma designs
├── loop/               # Core loop execution
│   ├── executor.ts     # Main loop runner (900+ lines)
│   ├── agents.ts       # Agent detection/invocation
│   ├── validation.ts   # Backpressure validation
│   ├── circuit-breaker.ts
│   ├── cost-tracker.ts
│   └── ...
├── llm/                # LLM provider abstraction
│   ├── providers.ts    # Anthropic, OpenAI, OpenRouter
│   └── api.ts          # Unified LLM API
├── automation/         # Git operations
│   └── git.ts          # Branch, commit, PR
├── config/             # Configuration
│   └── manager.ts      # Config file handling
└── mcp/                # MCP server

Supported Agents

ralph-starter works with these coding agents:

  • Claude Code (recommended)
  • Cursor
  • OpenCode
  • OpenAI Codex
  • GitHub Copilot
  • Gemini CLI
  • Amp
  • Openclaw

Supported Integrations

  • GitHub (gh CLI or API token)
  • Linear (API key)
  • Notion (API token)
  • Figma (API token)
  • URLs (public)
  • Local files

LLM Providers

For internal features (task analysis, completion detection):

  • Anthropic (ANTHROPIC_API_KEY)
  • OpenAI (OPENAI_API_KEY)
  • OpenRouter (OPENROUTER_API_KEY)

Code Conventions

  • ESM imports with .js extensions
  • Use chalk for colored output
  • Use ora for spinners
  • Use inquirer for interactive prompts
  • Use commander for CLI parsing
  • Prefer async/await over callbacks

Adding Features

  1. Add types/interfaces first
  2. Implement in appropriate module
  3. Wire to CLI in src/cli.ts
  4. Update README.md if user-facing
  5. Add tests if applicable

Task Completion Criteria

A task is complete when:

  1. pnpm build passes
  2. pnpm lint passes (or only pre-existing errors)
  3. Code follows existing patterns
  4. README.md updated (if user-facing)
  5. No unresolved TODOs

Key Files

  • src/loop/executor.ts - Main loop logic
  • src/loop/agents.ts - Agent detection and invocation
  • src/commands/run.ts - Run command
  • src/integrations/base.ts - Integration interface
  • src/llm/providers.ts - LLM provider definitions

Documentation

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.