backend-development

Backend development - APIs, authentication, business logic

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "backend-development" with this command: npx skills add pluginagentmarketplace/custom-plugin-fullstack/pluginagentmarketplace-custom-plugin-fullstack-backend-development

Backend Development Skill

Atomic skill for backend development including API creation, authentication, and service implementation.

Responsibility

Single Purpose: Implement backend services, APIs, and business logic

Actions

create_endpoint

Create a new API endpoint with validation and error handling.

// Input
{
  action: "create_endpoint",
  runtime: "nodejs",
  framework: "express",
  api_style: "rest"
}

// Output
{
  success: true,
  code: "router.post('/users', validate(schema), async (req, res) => {...})",
  files: [
    { path: "routes/users.ts", content: "..." },
    { path: "routes/users.test.ts", content: "..." }
  ],
  api_spec: { openapi: "3.0.0", paths: {...} },
  security_notes: ["Rate limiting recommended", "Input validation applied"]
}

implement_auth

Implement authentication and authorization.

build_service

Build a business logic service.

integrate_external

Integrate with external APIs.

Validation Rules

function validateParams(params: SkillParams): ValidationResult {
  if (!params.action) {
    return { valid: false, error: "action is required" };
  }

  if (params.action === 'implement_auth' && !params.runtime) {
    return { valid: false, error: "runtime required for auth implementation" };
  }

  return { valid: true };
}

Error Handling

Error CodeDescriptionRecovery
INVALID_RUNTIMEUnsupported runtimeCheck supported runtimes
AUTH_PATTERN_INSECURESecurity vulnerability detectedApply secure pattern
API_DESIGN_VIOLATIONREST/GraphQL best practice violationSuggest correction

Logging Hooks

{
  "on_invoke": "log.info('backend-development invoked', { action, runtime })",
  "on_success": "log.info('Endpoint created', { files, api_spec })",
  "on_error": "log.error('Backend skill failed', { error })"
}

Unit Test Template

import { describe, it, expect } from 'vitest';
import { backendDevelopment } from './backend-development';

describe('backend-development skill', () => {
  describe('create_endpoint', () => {
    it('should create REST endpoint with validation', async () => {
      const result = await backendDevelopment({
        action: 'create_endpoint',
        runtime: 'nodejs',
        framework: 'express',
        api_style: 'rest'
      });

      expect(result.success).toBe(true);
      expect(result.code).toContain('validate');
      expect(result.api_spec.openapi).toBe('3.0.0');
    });

    it('should include security middleware', async () => {
      const result = await backendDevelopment({
        action: 'create_endpoint',
        runtime: 'nodejs'
      });

      expect(result.code).toMatch(/authenticate|rateLimiter/);
    });
  });

  describe('implement_auth', () => {
    it('should implement JWT auth with refresh tokens', async () => {
      const result = await backendDevelopment({
        action: 'implement_auth',
        runtime: 'nodejs'
      });

      expect(result.success).toBe(true);
      expect(result.security_notes.length).toBeGreaterThan(0);
    });
  });
});

Integration

  • Bonded Agent: 03-backend-development
  • Upstream Skills: fullstack-basics
  • Downstream Skills: database-integration, fullstack-testing

Version History

VersionDateChanges
1.0.02024-01Initial release
2.0.02025-01Production-grade upgrade with security patterns

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

frontend-development

No summary provided by upstream source.

Repository SourceNeeds Review
Security

fullstack-security

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

backend-development

No summary provided by upstream source.

Repository SourceNeeds Review