Backend development - APIs, authentication, business logic
Implements backend services, APIs, and business logic for Node.js applications. Triggers when creating REST endpoints, authentication systems, or integrating external APIs with validation and security patterns.
/plugin marketplace add pluginagentmarketplace/custom-plugin-fullstack/plugin install fullstack-assistant@pluginagentmarketplace-fullstackThis skill inherits all available tools. When active, it can use any tool Claude has access to.
assets/config.yamlassets/schema.jsonreferences/GUIDE.mdreferences/PATTERNS.mdscripts/validate.pyAtomic skill for backend development including API creation, authentication, and service implementation.
Single Purpose: Implement backend services, APIs, and business logic
create_endpointCreate 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_authImplement authentication and authorization.
build_serviceBuild a business logic service.
integrate_externalIntegrate with external APIs.
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 Code | Description | Recovery |
|---|---|---|
| INVALID_RUNTIME | Unsupported runtime | Check supported runtimes |
| AUTH_PATTERN_INSECURE | Security vulnerability detected | Apply secure pattern |
| API_DESIGN_VIOLATION | REST/GraphQL best practice violation | Suggest correction |
{
"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 })"
}
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);
});
});
});
| Version | Date | Changes |
|---|---|---|
| 1.0.0 | 2024-01 | Initial release |
| 2.0.0 | 2025-01 | Production-grade upgrade with security patterns |
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.