execute

Orchestrates task execution with QA gates, coder retries, and completion evidence.

Updated May 31, 2026
One-click install
npx skills add https://github.com/AlexanderNarbaev/agi --skill execute-alexandernarbaev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: execute
Source: https://github.com/AlexanderNarbaev/agi/tree/main/.opencode/skills/execute
Command: npx skills add https://github.com/AlexanderNarbaev/agi --skill execute-alexandernarbaev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Coordinating multi-agent coding work without a strict protocol leads to unreviewed code, skipped tests, and fabricated completion claims. This Skill enforces a deterministic execution pipeline where every task passes through automated gates and agent reviews before it can be marked complete. ## Core Features & Use Cases - Structured QA Gate Pipeline: Runs diff, syntax_check, placeholder_scan, imports, lint, build_check, and pre_check_batch (lint, secretscan, sast_scan, quality_budget) in a fixed order with mandatory printed verdicts. - Coder Retry Protocol: Returns structured rejections (gate name, reason, required fix) to the coder agent and resumes at the failed step instead of restarting, with scope re-declaration via declare_scope. - Review and Test Enforcement: Delegates to reviewer, security-reviewer, and test_engineer agents, runs regression sweeps and test-drift checks, and blocks commits until a pre-commit checklist is fully satisfied. - Use Case: An architect agent executing a multi-task implementation plan uses this protocol to ensure each task passes static analysis, security scanning, code review, and adversarial testing before a completion checkpoint is saved. ## Quick Start Activate the execute protocol to run the current task through the full QA gate pipeline and produce the completion evidence checklist.

Frequently Asked Questions about execute

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

FAQPage Schema
How do I enforce QA gates before committing AI-generated code?

Run each task through a fixed gate pipeline: diff, syntax_check, placeholder_scan, imports, lint, build_check, and pre_check_batch, followed by reviewer and test_engineer agent approval. A pre-commit rule blocks any commit until every gate has actually run and passed.

How should an orchestrator handle a failed quality gate?

Return a structured rejection to the coder agent with the gate name, failure reason, and required fix, then resume at the failed step rather than restarting. The orchestrator must never fix the code itself or skip the gate.

What does pre_check_batch cover and what does it not replace?

pre_check_batch runs four automated tools: lint:check, secretscan, sast_scan, and quality_budget. It does not replace human-style code review, security review, or functional and adversarial testing, which still require dedicated reviewer and test_engineer agents.

How does SAST baseline diffing reduce false positives in CI?

A phase-scoped baseline of pre-existing SAST findings is captured once per task via sast_scan with capture_baseline. Subsequent scans diff against it so only new findings fail the gate, while pre-existing findings go to the reviewer for triage.

When is the security-reviewer gate triggered?

The security-only review triggers when a change matches TIER 3 criteria, contains security keywords, or when secretscan or sast_scan report findings at or above threshold. Rejection before the retry limit sends the task back to the coder.

Why must a completion checklist be printed before marking a task done?

The checklist forces every gate value to come from actual tool or agent output in the session, preventing fabricated PASS claims. Any blank value means the gate never ran and the task is not complete.