michaelshimeles/rstack

1,587 stars · Last commit 2026-11-24

Agent skills and an AGENTS.md workflow template — isolate in worktrees, build to a service layer, prove with evidence, ship with before/after proof and Greptile review loops. For Claude Code, Cursor, and Codex.

README preview

# rstack

rstack is [@michaelshimeles](https://github.com/michaelshimeles)'s agent development stack: seven [agent skills](https://code.claude.com/docs/en/skills) and an [`AGENTS.md`](AGENTS.md) workflow that tells a coding agent how to take a change from a clean branch to a reviewed pull request. It is written for Claude Code, Cursor, Codex, and other agents that load `SKILL.md` folders.

[![skills.sh](https://skills.sh/b/michaelshimeles/rstack)](https://skills.sh/michaelshimeles/rstack)

Use it if you want an agent to work in its own worktree, follow your project's architecture, prove each change with evidence, and stop only when Greptile rates the PR 5/5. Copy `AGENTS.md` into another repo and swap in that repo's checks.

## The workflow

![rstack workflow diagram: a task request goes through Isolate (/new-feature), Build (/code-structure), Prove (/evidence-driven-testing), and Ship, where /greploop re-runs Greptile until the PR scores 5/5 or hits a stop condition](docs/assets/workflow.png)

To edit the diagram, open [`docs/assets/workflow.excalidraw`](docs/assets/workflow.excalidraw) on [excalidraw.com](https://excalidraw.com).

[`AGENTS.md`](AGENTS.md) picks the steps that fit each task. Read-only reviews and investigations skip all of them. Small documentation edits get an isolated branch and content checks, with no runtime evidence or bot review.

1. **Isolate.** `/new-feature` puts the edit in its own Git worktree and branch from `origin/main`, after checking open PRs for overlap. Nothing gets built on `main`.
2. **Build.** `/code-structure` applies when extracting shared operations or choosing boundaries. The project's existing architecture wins. The service layer pattern is the default only when there is none.
3. **Prove.** Run the relevant checks. `/evidence-driven-testing` records the failure before the fix and the success after it, for any change in runtime behavior.
4. **Ship.** Open the PR with evidence that fits the change. `/before-and-after` adds a screenshot table when visuals help. `/greploop` runs Greptile review cycles for code and executable workflow changes until the current commit scores 5/5 with no unresolved actionable findings, or until it hits the iteration cap, a timeout, or a missing integration. It then reports the real score.

View full repository on GitHub →