Write production-ready frontend specifications deeply grounded in existing backend architecture to prevent integration issues. Use when building frontend features on a working backend or redesigning UI for an existing API. Trigger phrases: 'spec the frontend', 'write frontend spec from backend', 'ground the UI in this API', 'integrate this frontend', 'frontend implementation guide'.
OpenClaw Integration: This skill is invoked by the Dojo Genesis plugin via
/dojo run frontend-from-backend. The agent receives project context automatically via thebefore_agent_starthook. Usedojo_get_contextfor full state,dojo_save_artifactto persist outputs, anddojo_update_stateto record phase transitions and decisions.
Version: 1.0 Created: 2026-02-07 Author: Manus AI Purpose: To provide a structured, repeatable process for writing high-quality frontend specifications that are deeply integrated with an existing backend, ensuring seamless development and reducing integration friction.
Frontend development in a full-stack application does not happen in a vacuum. The most common source of bugs, delays, and rework is a disconnect between the frontend implementation and the backend reality. This skill is built on a simple but powerful principle: .
By deeply understanding the existing backend architecture, APIs, and data models before writing a single line of frontend specification, we can prevent entire classes of integration problems. This process transforms specification writing from a creative exercise into a disciplined engineering practice, ensuring that what we design is not just beautiful, but buildable.
This workflow is a 5-step process that takes you from a high-level feature idea to a production-ready, backend-grounded specification.
Goal: Achieve a comprehensive understanding of the existing backend architecture.
/repo-context-sync: Generate a comprehensive context map of the repository.main.go (or equivalent): Understand route registration and server setup.handlers/: Read the handlers for the relevant feature areas.middleware/: Understand the authentication and request lifecycle.Goal: Write a production-ready specification for the new feature that leverages the existing backend.
Goal: Create a practical guide for developers on how to wire the new frontend to the backend.
Goal: Update all development prompts (e.g., for implementation agents like Zenflow or Claude Code) with backend grounding.
Goal: Ensure all documentation is complete, consistent, and ready for commissioning.
docs/vX.X.X/).Before commissioning the work, ensure you can answer "yes" to all of the following questions:
When running inside the Dojo Genesis plugin:
dojo_get_context to retrieve full project state, history, and artifactsdojo_save_artifact with the artifacts output directorydojo_update_state to record skill completion and any phase transitions