finalrun-test-and-fix

Orchestrate the FinalRun generate, run, and fix testing loop until green.

298|35|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/final-run/finalrun-agent --skill finalrun-test-and-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finalrun-test-and-fix
Source: https://github.com/final-run/finalrun-agent/tree/main/skills/finalrun-test-and-fix
Command: npx skills add https://github.com/final-run/finalrun-agent --skill finalrun-test-and-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Orchestrates the end-to-end FinalRun loop to explore a feature, author tests, run them via CLI, triage failures from artifacts, and fix app code or tests until the run is green.

Core Features & Use Cases

  • Orchestrates the generate-test → run → diagnose → fix cycle using FinalRun tooling to drive feature validation from exploration to green runs.
  • Helps distinguish whether failures originate in the application code or in tests, and applies narrow, focused fixes within the loop.
  • Ideal for end-to-end feature validation after UI changes or requirement updates, ensuring a green, auditable run before release.

Quick Start

Initiate the end-to-end FinalRun loop by planning acceptance criteria and triggering finalrun generate-test, then run and triage until the run is green.

Frequently Asked Questions about finalrun-test-and-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate end-to-end testing and triage failures automatically?

Automated end-to-end testing and triage is orchestrated by cycling through test generation, execution, and artifact-driven diagnosis to apply focused fixes until a green run is achieved. This loop distinguishes whether failures originate in the application code or in the tests themselves.

What is the best way to validate features after UI changes?

Feature validation after UI changes is best handled by orchestrating an end-to-end testing loop that explores the feature, authors tests, and iterates on fixes until a green, auditable run is achieved. This ensures all requirement updates are thoroughly validated before release.

How do I fix failing end-to-end tests without breaking existing app logic?

Fixing failing end-to-end tests safely involves triaging failure artifacts to pinpoint the root cause, then applying narrow, focused edits strictly limited to test or app code. The orchestration loop repeats these iterations until the run turns green.

Can I run end-to-end tests from the CLI and get artifact-driven diagnostics?

Yes, you can trigger end-to-end tests via CLI commands and receive artifact-driven diagnostics. The orchestration loop manages the entire generate, run, and fix cycle, reviewing these artifacts to determine if failures require test or application code adjustments.

How do I plan acceptance criteria for automated test generation?

Planning acceptance criteria for automated test generation involves defining the expected feature behaviors before triggering the generation phase. Once defined, the orchestration loop uses these criteria to author tests and validate the application against the planned outcomes.