Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 简体中文

hermes-ralph-dev

A generic-agent skill for orchestrating development through Ralph + Claude Code. The agent collects requirements, prepares the project files Ralph needs, starts ralph, tracks progress, and reports results. If the executor is Claude Code, it acts as an auditor and task splitter only, creating sub-agents for implementation. All business-code writing is delegated to those sub-agents. It works with Codex, Claude Code, Cursor, and similar agents.

Supported agent styles: Codex, Claude Code, Cursor, and other agents that can follow structured instructions and run terminal commands.

Goals

  • Standardize the workflow from requirement intake to Ralph configuration to Claude Code execution to status reporting
  • Keep the responsibility boundary between the current agent and Ralph explicit
  • Provide reusable templates and complete examples for open-source distribution or internal team reuse

What The Agent Does

  • Collect feature requests or bug reports
  • Check whether ralph is installed and whether the target project is initialized
  • Create or update CLAUDE.md
  • Create or update .ralph/fix_plan.md
  • Append completion-signal rules to .ralph/PROMPT.md in an idempotent way
  • Start ralph --monitor
  • Watch for completion, timeout, or crashes and notify the user

What The Agent Does Not Do

  • Write business code
  • Modify application source files directly
  • Diagnose the root cause of bugs or design the implementation plan on Ralph's behalf

Repository layout

.
├── SKILL.zh-CN.md                # Chinese generic-agent skill
├── SKILL.md                      # English generic-agent skill
├── templates/                    # Reusable project templates
├── examples/
│   ├── basic-web-app/            # Chinese example project
│   └── basic-web-app-en/         # English example project
├── README.md                     # English README
├── README.zh-CN.md               # Chinese README
└── LICENSE

Quick start

  1. Install ralph-claude-code and its dependencies.
  2. Import SKILL.md into your agent as a skill, rules file, or system prompt.
  3. Send your agent a request like this:
Add a task management module to /Users/me/projects/todo-api:
- Node.js + Express + PostgreSQL
- Need task CRUD
- Need JWT login
  1. The agent checks the environment, prepares the docs and .ralph/ files, then starts ralph.
  2. Ralph invokes Claude Code to audit, split tasks, and coordinate sub-agents while the agent reports progress and outcomes.

Recommended setup

  • Keep CLAUDE.md short and use it only for project summary, stack, conventions, and doc pointers
  • Put module details, schema notes, and API contracts under docs/
  • Keep fix_plan.md concrete and executable, not vague
  • Add explicit completion rules to PROMPT.md so the agent can reliably detect when Ralph is done
  • If the executor is Claude Code, it should only audit, split tasks, create sub-agents, and verify results. It should not edit business code directly
  • Before starting Ralph, make sure the target project's .ralphrc contains ALLOWED_TOOLS="*" and CLAUDE_ALLOWED_TOOLS="*". Otherwise Claude Code can be interrupted by permission restrictions
  • The skill should check .ralphrc before each run. If either value is missing, the agent should warn the user and ask whether it should be changed to *

Language variants

Example projects

The example projects show what an agent-initialized Ralph workspace looks like, including:

  • CLAUDE.md
  • .ralph/fix_plan.md
  • .ralph/PROMPT.md
  • docs/project.md
  • docs/modules/*.md
  • docs/database/*.md
  • docs/api/*.md
  • docs/skills/*.md

They are intended as reference output, not as directly runnable applications.

Why this repository is open-source friendly

  • Clear behavioral boundary for the skill
  • Complete examples that make the output structure easy to understand
  • Templates and examples are separated, so users can both copy and inspect them
  • MIT license for easy reuse

Possible next enhancements

  • Add bilingual templates
  • Add multi-stack examples for Node, Python, and Go
  • Add .github issue and PR templates
  • Add a bootstrap script that copies templates/ into a target project

License

MIT

About

A Hermes skill that automates development workflows using ralph-claude-code — describe a feature or bug, and ralph writes the code while you wait.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors