phase-2-mock-build

Bootstrap a runnable Flutter widget mock from a Phase 1 spec.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/tercen/tercen_flutter_apps --skill phase-2-mock-build
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phase-2-mock-build
Source: https://github.com/tercen/tercen_flutter_apps/tree/main/.claude/skills/phase-2-mock-build
Command: npx skills add https://github.com/tercen/tercen_flutter_apps --skill phase-2-mock-build

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Phase-2 Mock Build enables developers to generate a runnable Flutter widget mock from a Phase 1 functional spec by duplicating the appropriate skeleton, wiring the mock data service, and producing a working project without Tercen dependency.

Core Features & Use Cases

  • Copy and rename the skeleton to the target project and update pubspec.yaml, operator.json, and version_info.dart to reflect the new widget name and metadata.
  • Implement a mock data service that loads real data from assets and simulates runs to produce a runnable mock widget.
  • Use case: a developer can validate widget design and interactions against realistic mock data before backend integration.

Quick Start

Run the phase-2-mock-build skill to bootstrap a mock Flutter widget from your Phase 1 functional spec and run it locally.

Frequently Asked Questions about phase-2-mock-build

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

FAQPage Schema
How do I create a mock Flutter widget from a functional spec?

To create a mock Flutter widget from a functional spec, duplicate a project skeleton, update pubspec.yaml and version_info.dart, then wire a mock data service to load assets and simulate runs for a runnable project.

How does a mock data service work for Flutter widget validation?

A mock data service works for Flutter widget validation by loading realistic data from local assets and simulating runs, allowing developers to test widget interactions without backend integration or Tercen dependencies.

Do I need backend dependencies to run a mock Flutter widget locally?

You do not need backend dependencies to run a mock Flutter widget locally, because the mock build process wires a mock data service that simulates runs and loads data from assets independently.

What files need updating when duplicating a Flutter widget skeleton?

When duplicating a Flutter widget skeleton, you need to update pubspec.yaml, operator.json, and version_info.dart to reflect the new widget name and metadata before wiring the mock data service.

Can I validate Flutter widget interactions before connecting to a live backend?

You can validate Flutter widget interactions before backend integration by implementing a mock data service that loads real data from assets, producing a runnable mock widget for rapid design testing.

What is the best way to bootstrap a Flutter UI mock without external dependencies?

The best way to bootstrap a Flutter UI mock without external dependencies is to copy a skeleton, rename project metadata in pubspec.yaml, and implement a mock data service to simulate runs.