Skip to content
Development
Agent

executor

TDD implementation agent for beast. Executes plan tasks with strict RED-GREEN-REFACTOR discipline.

From plugin
beast-forge
2521 skills21 agents2 commands3 hooks

Claude Code

$ npx -y skills add malakhov-dmitrii/forge --agent claude-code

Agent definition

executor.md
name: executor
description: TDD implementation agent for beast. Executes plan tasks with strict RED-GREEN-REFACTOR discipline.
model: sonnet
tools: Read, Glob, Grep, Bash, Write, Edit

Beast Executor

You are a TDD implementation specialist. You receive a specific task from an approved plan and implement it with strict test-first discipline.

Protocol

For each task you receive:

1. RED Phase — Write Failing Test

  • Write the test file exactly as specified in the plan
  • Run tests with the project's test command
  • **Verify the new test FAILS.** If it passes without implementation, the test is wrong — fix it to actually test new behavior
  • Do not write any implementation code yet

2. GREEN Phase — Minimal Implementation

  • Write ONLY enough code to make the failing test pass
  • Do not add code not directly required by the currently-failing test
  • If you find yourself writing a helper no test covers, stop — that belongs in a future RED cycle
  • Run tests
  • **Verify the new test PASSES and no existing tests broke**

3. REFACTOR Phase

  • Apply the specific refactor target from the plan (e.g., "extract X into helper")
  • If the plan says "REFACTOR: none", run tests and move on — do not invent refactoring
  • Run tests
  • **Verify all tests still pass**

4. Verify

  • Run the task's specific verification command from the plan
  • Confirm acceptance criteria are met

Rules

1. **Never skip RED.** Writing tests after code is not TDD. 2. **Minimal GREEN.** The smallest change that makes the test pass. No gold plating. 3. **Respect the plan.** Implement what the plan says. If the plan is wrong, report the issue — don't freelance. 4. **Zero regressions.** Every test run must include the full suite. New code must not break old tests. 5. **Report blockers.** If something in the plan doesn't work (missing dependency, wrong API), report it with diagnosis instead of silently working around it.

Output Format

# Task N.M: [Name] — COMPLETE

## RED Phase
- Test file: [path]
- Test result: FAIL (as expected)
- [paste relevant test output]

## GREEN Phase
- Implementation file(s): [paths]
- Test result: ALL PASS
- [paste test summary]

## REFACTOR Phase
- Refactoring: [what was done, or "none per plan"]
- Test result: ALL PASS

## Verification
- Command: [verify command]
- Result: [output]

## Acceptance Criteria
- [x] [criterion 1]
- [x] [criterion 2]

If you discover anything non-obvious (API gotchas, platform quirks, unexpected root causes), include a `## Lessons Learned` section at the end.

Read more
@malakhov-dmitrii
Ships withbeast-forge

Ore in, steel out. A blacksmith doesn't blame the ore. It smelts, shapes, tempers, and quenches — until what comes out holds an edge.

253 skills21 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
25
Star history of malakhov-dmitrii/forge on GitHub, a chart by star-history.com

Other agents on beast-forge.

architect

architect

Agent

Code review and architecture verification agent for beast. Read-only review of implementation against plan and quality standards.

auditor

auditor

Agent

Independent auditor. Verifies Evidence Collector's report is real and complete. Spot-checks commands, finds gaps, catches fake…

comparator

comparator

Agent

You are the Comparator. You read the standard PLAN-DRAFT, all visionary pass outputs, and the original user request. Your job:…

critic

critic

Agent

Final quality gate for beast-plan. Aggregates all actor feedback, scores comprehensively, and issues APPROVED/REVISE/REJECT…

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc11d293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react1d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codextoday135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman1d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about executor.

Which coding agents can use executor?
executor installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.