frontend-from-backend

frontend-from-backend is a skill for Claude Code, Codex from DojoGenesis/mcp. It costs 31 tokens per session (1,421 once invoked), scanned A, original, MIT.

A method for writing frontend plans from the existing backend's APIs, data models, and architecture. The frontend is the part users see; the backend handles data and server-side operations.

In plain words
What is it for?
Use it to specify new screens, redesigns, or frontend work that depends on an existing backend.
Why use it?
It reduces plans that cannot connect cleanly to the backend, helping avoid integration bugs and rework.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to specify new screens, redesigns, or frontend work that depends on an existing backend.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dojogenesis/mcp/frontend-from-backend
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add DojoGenesis/mcp --skill frontend-from-backend
Clone the repo
git clone --depth 1 https://github.com/DojoGenesis/mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for frontend-from-backend

README.md
[![agentmods](https://agentmods.dev/badge/skills/dojogenesis/mcp/frontend-from-backend.svg)](https://agentmods.dev/skills/dojogenesis/mcp/frontend-from-backend)
Your own site
<a href="https://agentmods.dev/skills/dojogenesis/mcp/frontend-from-backend"><img src="https://agentmods.dev/badge/skills/dojogenesis/mcp/frontend-from-backend.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,421 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.01421
Opus 5 $0.00015 $0.00711
Sonnet 5 $0.00006 $0.00284
Haiku 4.5 $0.00003 $0.00142

Measured 7d ago against content hash 62a0515fb24a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

frontend-from-backend scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

internal/skills/bundled/specification-driven-development/frontend-from-backend/SKILL.md · 161 lines

How it starts

The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Frontend From Backend Skill

Version: 1.0 Author: Tres Pies Design Purpose: Write high-quality frontend specifications that are deeply integrated with an existing backend, ensuring seamless development and preventing integration friction.


I. The Philosophy: Grounding Before Building

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: grounding before building.

By deeply understanding the existing backend architecture, APIs, and data models before writing a single line of frontend specification, we prevent entire classes of integration problems. What we design is not just beautiful, but buildable.


II. When to Use This Skill

  • When planning a new frontend feature that interacts with an existing backend
  • When writing specifications for a UI redesign with a backend component
  • When commissioning frontend work to an autonomous implementation agent
  • When you feel a disconnect between the frontend vision and the backend reality
  • At the beginning of any major frontend development cycle

III. The 5-Step Workflow

Step 1: Deep Backend Analysis

Goal: Achieve comprehensive understanding of the existing backend architecture.

  1. Read key backend files: Entry point, route registration, handlers, middleware
  2. Document APIs: Map all relevant endpoints with methods, auth requirements, request bodies, success/error responses
  3. Identify data models: Understand the shapes of data the backend returns
  4. Map integration points: For each frontend feature area, identify the specific backend endpoint it will consume

Output: A Backend Integration Map (table format).

Backend Integration Map Template:

Feature Area Endpoint Method Auth Request Body Success Response Error Response
User List /api/v1/users GET Bearer - { users: User[] } { error: string }
Create User /api/v1/users POST Bearer { name: string } { id: string } { error: string, code: number }

Read the full file on GitHub · 161 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 161 lines · 31 tokens per session scan A 62a0515fb24a

Subscribe to this mod's changes

frontend-from-backend is a skill published in the GitHub repository DojoGenesis/mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 31 tokens to every session and 1,421 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.