frontend-to-backend-requirements — Claude Code skill: API needs
A skill that helps a frontend developer tell backend what data a screen needs, without dictating the API shape.
npx claude-code-templates@latest --skill enterprise-communication/frontend-to-backend-requirementsWhat frontend-to-backend-requirements does
The skill turns the backend conversation into a request. You describe what appears on screen, what actions the user can take, and which states need handling. Implementation stays with backend: endpoints, field names and types are not your call.
It runs in steps. First you describe the feature — screen, flow or component, who uses it, what success looks like. Then you list the data to display, the user actions, and the states: empty, loading, error, success. Uncertainties and open questions for backend get their own section.
Everything lands in .claude/docs/ai/<feature-name>/backend-requirements.md. Nothing is printed in chat, so if you expect an answer in the conversation, you won't get one. Later you add backend replies to the Discussion Log and the doc becomes the agreed source of truth.
What it helps with
- describe data needs for a new screen without naming endpoints
- collect loading, empty and error states in one document
- raise business rules that change what the UI shows
- record open questions for backend before work starts
- keep backend replies and decisions next to the requirements
Example prompts for the agent
- Write backend requirements for the contracts list screen
- What data do I need for the recent contracts dashboard?
- Draft backend requirements for the checkout form
How to install frontend-to-backend-requirements
1claude-code-templates
npx claude-code-templates@latest --skill enterprise-communication/frontend-to-backend-requirements2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill frontend-to-backend-requirements -a claude-code3Manually: put the files in place
~/.claude/skills/frontend-to-backend-requirements/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/frontend-to-backend-requirements/
Manually: put the files in place
.agents/skills/frontend-to-backend-requirements/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/frontend-to-backend-requirements/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates frontend-to-backend-requirements2Manually: put the files in place
.github/skills/frontend-to-backend-requirements/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/enterprise-communication/frontend-to-backend-requirementsManually: put the files in place
.devin/skills/frontend-to-backend-requirements/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about frontend-to-backend-requirements
How do I install frontend-to-backend-requirements in Claude?
Through the templates: npx claude-code-templates@latest --skill enterprise-communication/frontend-to-backend-requirements. Or use npx skills add davila7/claude-code-templates --skill frontend-to-backend-requirements -a claude-code.
What does frontend-to-backend-requirements do?
It helps a frontend developer spell out which data a screen needs, what actions exist and which states to handle. The output goes to .claude/docs/ai/<feature-name>/backend-requirements.md.
Where does the skill write its output?
To .claude/docs/ai/<feature-name>/backend-requirements.md. Nothing is printed in chat, so you open the file separately.