Skip to content
Skill

Backend agent

Guides an AI agent to build API servers, business logic and data layers from contracts

Backend agent is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
12
Last commit
License
MIT
Listing updated

Similar skills

About Backend agent

This skill sets up a backend role for an agent working inside a contract-first, multi-agent build. The agent reads the authored API and data contracts and shared types before writing code, then implements endpoints, storage functions and error handling so they match those contracts exactly.

The workflow covers scaffolding the project around the tech stack, creating the database schema, implementing routes in a set order (health check, create, read, update, delete, then streaming), and enforcing a standard error envelope. It also calls for CORS configuration checked with OPTIONS requests, and for configuration read only from environment variables. Each endpoint is expected to be exercised with real requests before it counts as done.

The skill is written to run either under an orchestrator that dispatches a role packet or when a user asks for solo backend work with their own scope and stack. It expects a project with contract files and access to shell tools such as curl and test runners, and it notes that independent review by a separate QA step is still required.

When your agent uses it

Build API servers, business logic and data layers against authored contracts. Use in native orchestrator dispatch or explicitly requested solo backend implementation; load it when the orchestrator assigns this role or the user asks for it.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (19 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the skill-madness plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ivy00johns/Skill-Madness
/plugin install skill-madness@skill-madness

Or copy only this skill to ~/.claude/skills/backend-agent:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/backend-agent &&
cp -R "$tmp/skills/roles/backend-agent" ~/.claude/skills/backend-agent &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/backend-agent inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/backend-agent to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/backend-agent &&
cp -R "$tmp/skills/roles/backend-agent" ~/.agents/skills/backend-agent &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/backend-agent inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/backend-agent to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/backend-agent &&
cp -R "$tmp/skills/roles/backend-agent" ~/.cursor/skills/backend-agent &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/backend-agent inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ivy00johns/Skill-Madness.git --path skills/roles/backend-agent

Or copy the folder to ~/.gemini/skills/backend-agent yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/backend-agent:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/backend-agent &&
cp -R "$tmp/skills/roles/backend-agent" ~/.copilot/skills/backend-agent &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/backend-agent inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git

Then copy Skill-Madness/skills/roles/backend-agent into your agent's skills folder as backend-agent. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Contract-first endpoint implementation
Routes are built to match the API contract's paths, methods, status codes and response shapes exactly.
Database schema and data layer
Covers schema setup, function signatures from the data contract, storage semantics and connection config from env vars.
Standard error handling
Global handling returns the contracted error envelope for validation, not-found and server failures without leaking stack traces.
CORS setup and verification
Configures allowed origins, methods and headers and checks them with OPTIONS requests.
Streaming responses
Guidance for server-sent events using the contracted event types and accumulating streamed output into one stored record.
Ownership and coordination rules
Defines which directories the agent may edit and when shared files or contract changes must go through the lead.

Good for

  • Implement REST endpoints from an approved API contract in a Flask or Express project
  • Set up a SQLite or PostgreSQL data layer that matches a data contract
  • Add a global error handler that returns a consistent error format
  • Fix CORS errors blocking a frontend from calling the backend
  • Add server-sent event streaming to an existing API

Backend agent FAQ

Which directories does Backend agent let the agent edit?

By default it owns src/api/, src/services/, src/models/, src/middleware/ and src/utils/, with contracts, shared and src/types/ read-only. The orchestrator's prompt can change these boundaries.

Does Backend agent need a multi-agent setup?

No. It can run when dispatched by an orchestrator or when a user explicitly requests solo backend work and supplies the scope, stack and approved paths.

Does Backend agent create tests or the env example file?

No. The skill says tests belong to another agent and that the committed .env.example file is handled by the infrastructure role.

How do I install Backend agent in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/backend-agent to use it in all your projects, or to .claude/skills/backend-agent in one project. Or install the skill-madness plugin, which includes it: /plugin marketplace add ivy00johns/Skill-Madness, then /plugin install skill-madness@skill-madness.

Does Backend agent run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Backend agent?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Backend agent?

The closest alternatives to Backend agent are Frontend agent, Backend engineering edho ferdian, Backend patterns, API integration and Backend patterns.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ivy00johns/Skill-Madness

  1. Finds merged and stale git branches, then deletes them only after your confirmation

    • Open source
    • 12 GitHub stars
    • Developer tools
  2. Finds and removes git worktrees whose changes are already merged into main

    • Open source
    • 12 GitHub stars
    • Developer tools
  3. Bulk-scans a skill ecosystem for consistency, quality gaps and ownership conflicts

    • Open source
    • 12 GitHub stars
    • Developer tools
  4. Runs a single-skill quality review covering structure, triggering and output checks

    • Open source
    • 12 GitHub stars
    • Developer tools
  5. Turns skill review or audit reports into a prioritized list of concrete SKILL.md fixes

    • Open source
    • 12 GitHub stars
    • Developer tools
  6. Applies planned edits to SKILL.md files, validates them, and offers to sync

    • Open source
    • 12 GitHub stars
    • Developer tools