Home › stack › Agent workflows

Agent workflows rules

Code review Copilot instructions

Copilot instructions focused on pull request review: what to flag, severity labels, and how to word comments.

GitHub CopilotAgent workflows

Code reviewer subagent (Claude Code)

A Claude Code subagent definition that reviews the current diff for bugs, security, and tests, reporting by severity.

Claude Code (CLAUDE.md)Agent workflows

/commit slash command (Claude Code)

A Claude Code /commit slash command that reviews staged changes and writes a Conventional Commits message.

Claude Code (CLAUDE.md)Agent workflows

Git commits & PRs AGENTS.md

AGENTS.md rules for how agents commit: Conventional Commits, atomic changes, safe git commands, and PR descriptions.

AGENTS.mdAgent workflows

Debugger subagent (Claude Code)

A Claude Code subagent for root-cause analysis of errors, crashes, and failing behavior, with a verified minimal fix.

Claude Code (CLAUDE.md)Agent workflows

Systematic debugging CLAUDE.md

CLAUDE.md workflow for debugging with Claude Code: reproduce, isolate, hypothesize, verify, and avoid guess-fixes.

Claude Code (CLAUDE.md)Agent workflows

Markdown docs Copilot path instructions

Path-specific Copilot instructions for Markdown docs and READMEs: structure, runnable commands, and concise style.

GitHub CopilotAgent workflows

Documentation writing rules

Windsurf rules for writing and updating READMEs, docstrings, ADRs, and changelogs alongside code changes.

WindsurfAgent workflows

/fix-issue slash command (Claude Code)

A Claude Code /fix-issue command that reads a GitHub issue, reproduces it with a test, fixes it, and reports back.

Claude Code (CLAUDE.md)Agent workflows

/plan slash command (Claude Code)

A Claude Code /plan command that researches the codebase and writes an implementation plan before any code changes.

Claude Code (CLAUDE.md)Agent workflows

/pr-description slash command (Claude Code)

A Claude Code /pr-description command that drafts a pull request title and body from the branch diff, without pushing.

Claude Code (CLAUDE.md)Agent workflows

Safe refactoring rules

Cursor rules for behavior-preserving refactors: small steps, tests first, no mixed feature changes, and clear diffs.

CursorAgent workflows

Test-driven development workflow CLAUDE.md

CLAUDE.md workflow that makes Claude Code work test-first: red, green, refactor, with small verified steps.

Claude Code (CLAUDE.md)Agent workflows

Get new rules weekly

One email a week: fresh rule files, agent tips, and what's changing in Cursor, Claude Code and Copilot. Free, unsubscribe anytime.

Opens the Rulestack Newsletter on beehiiv in a new tab. Or subscribe directly on beehiiv.