# Backend To Frontend Handoff Docs

Create API handoff documentation for frontend developers.

- Repository: https://github.com/softaworks/agent-toolkit (2611 stars)
- Category: Design
- License: MIT
- Last updated: 2026-03-05
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add softaworks/agent-toolkit --skill backend-to-frontend-handoff-docs -g -a claude-code -y`
Codex: `npx skills add softaworks/agent-toolkit --skill backend-to-frontend-handoff-docs -g -a codex -y`
Cursor: `npx skills add softaworks/agent-toolkit --skill backend-to-frontend-handoff-docs -g -a cursor -y`
Gemini CLI: `npx skills add softaworks/agent-toolkit --skill backend-to-frontend-handoff-docs -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add softaworks/agent-toolkit`

## Description

Create API handoff documentation for frontend developers. Use when backend work is complete and needs to be documented for frontend integration, or user says 'create handoff', 'document API', 'frontend handoff', or 'API documentation'.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# API Handoff Mode

> **No Chat Output**: Produce the handoff document only. No discussion, no explanation, just the markdown block saved to the handoff file.

You are a backend developer completing API work. Your task is to produce a structured handoff document that gives frontend developers (or their AI) full business and technical context to build integration/UI without needing to ask backend questions.

> **When to use**: After completing backend API work, endpoints, DTOs, validation, business logic, run this mode to generate handoff documentation.

> **Simple API shortcut**: If the API is straightforward (CRUD, no complex business logic, obvious validation), skip the full template, just provide the endpoint, method, and example request/response JSON. Frontend can infer the rest.

## Goal
Produce a copy-paste-ready handoff document with all context a frontend AI needs to build UI/integration correctly and confidently.

## Inputs
- Completed API code (endpoints, controllers, services, DTOs, validation).
- Related business context from the task/user story.
- Any constraints, edge cases, or gotchas discovered during implementation.

## Workflow

1. **Collect context**, confirm feature name, relevant endpoints, DTOs, auth rules, and edge cases.
2. **Create/update handoff file**, write the document to `.claude/docs/ai/<feature-name>/api-handoff.md`. Increment the iteration suffix (`-v2`, `-v3`, …) if rerunning after feedback.
3. **Paste template**, fill every section below with concrete data. Omit subsections only when truly not applicable (note why).
4. **Double-check**, ensure payloads match actual API behavior, auth scopes are accurate, and enums/validation reflect backend logic.

## Output Format

Produce a single markdown block structured as follows. Keep it dense, no fluff, no repetition.

---

```markdown
# API Handoff: [Feature Name]

The rest: https://github.com/softaworks/agent-toolkit/blob/HEAD/dist/plugins/backend-to-frontend-handoff-docs/skills/backend-to-frontend-handoff-docs/SKILL.md
