Ask-First: Mandatory Pre-Implementation Workflow

Enforce a three-phase interrogate, test-first, implement workflow for development tasks.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/Totes-MickGOATs/r8eo-x-unity --skill ask-first-mandatory-pre-implementation-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Ask-First: Mandatory Pre-Implementation Workflow
Source: https://github.com/Totes-MickGOATs/r8eo-x-unity/tree/main/.agents/skills/ask-first
Command: npx skills add https://github.com/Totes-MickGOATs/r8eo-x-unity --skill ask-first-mandatory-pre-implementation-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enforces a rigorous three-phase development process (Interrogate, Test-First, Implement) to prevent misunderstandings, reduce bugs, and ensure code quality before any implementation begins.

Core Features & Use Cases

  • Phase 1: Interrogate: Guides developers through a deep understanding of requirements, potential issues, and system contracts before coding.
  • Phase 2: Test-First: Mandates the creation of comprehensive, black-box tests by a separate agent to ensure test integrity and uncover hidden assumptions.
  • Phase 3: Implement: Guides the TDD cycle to make tests pass, ensuring the implementation directly addresses the validated requirements.
  • Use Case: When starting a new feature to improve car suspension physics, this Skill ensures the developer first asks clarifying questions, then dispatches an agent to write failing tests for suspension behavior under various conditions, before finally writing the code to make those tests pass.

Quick Start

Use the Ask-First skill to begin a new development task by following the three-phase interrogate-test-implement cycle.

Frequently Asked Questions about Ask-First: Mandatory Pre-Implementation Workflow

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

FAQPage Schema
How do I enforce a test-driven development workflow before writing feature code?

A pre-implementation workflow guides you through interrogating requirements, generating black-box tests first via a separate agent, and then implementing code to make those tests pass. This ensures clarity and correctness before any feature code is written.

What is the best way to prevent requirement misunderstandings during software refactoring?

The best way to prevent misunderstandings during refactoring is a deep requirement interrogation phase that clarifies system contracts and potential issues. This precedes test generation and implementation to ensure all stakeholder expectations are aligned.

How does black-box test generation work in a TDD workflow?

Black-box test generation in TDD works by dispatching a separate agent to write failing tests based solely on requirement interrogations, without viewing the underlying implementation. This ensures test integrity and uncovers hidden assumptions before development starts.

Can I use a pre-implementation workflow for RC racing simulation physics?

Yes, this pre-implementation workflow specifically covers domain-specific considerations for RC racing simulation physics and behavior. It guides you through clarifying suspension physics requirements and generating tests for vehicle behavior under various conditions.

Why should a separate agent write tests instead of the developer?

A separate agent should write tests to preserve black-box test integrity and uncover hidden assumptions. By not having the implementer write the tests, you reduce bias and ensure the tests accurately reflect interrogated requirements rather than implementation constraints.

What are the limitations of enforcing mandatory pre-implementation testing?

The mandatory pre-implementation testing requires completing requirement interrogation and full black-box test generation before any implementation code is written. This strict three-phase process may introduce overhead for trivial bug fixes or rapid prototyping scenarios where immediate code changes are preferred.