Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计未展示

senior-backend高级后端

Agent Skill

senior-backend 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

630

周安装

26

GitHub Stars

公开资料未说明

下载量

206
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:senior-backend(高级后端)
来源仓库:https://github.com/rickydwilson-dcs/claude-skills
仓库路径:skills/senior-backend
安装命令:
npx skills add rickydwilson-dcs/claude-skills --skill "senior-backend"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add rickydwilson-dcs/claude-skills --skill "senior-backend"

简介

senior-backend 用于查找、检索和筛选相关信息,支持后端开发工作。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中根据关键词定位 API 文档或数据库 schema。
  • 通过 npx 命令从 rickydwilson-dcs/claude-skills 仓库安装并使用该技能。
  • 安装前需确认仓库路径正确性及是否涉及敏感代码库访问。
  • 建议参考原始 README 了解技术栈支持和调用限制后再实际使用。

SKILL.md

name
senior-backend
title
Senior Backend Skill Package
description
Comprehensive backend development skill for building scalable backend systems using Node.js, Express, Go, Python, PostgreSQL, GraphQL, REST APIs. Includes API scaffolding, database optimization, security implementation, and performance tuning. Use when designing APIs, optimizing database queries, implementing business logic, handling authentication/authorization, or reviewing backend code.
domain
engineering
subdomain
backend-development
difficulty
advanced
time-saved
TODO: Quantify time savings
frequency
TODO: Estimate usage frequency
use-cases
related-agents
[]
related-skills
[]
related-commands
[]
orchestrated-by
[]
dependencies
scripts
[]
references
[]
assets
[]
compatibility
python-version
3.8+
platforms
[macos, linux, windows]
tech-stack
examples
title
Example Usage
input
TODO: Add example input for senior-backend
output
TODO: Add expected output
stats
downloads
0
stars
0
rating
0.0
reviews
0
version
v1.0.0
author
Claude Skills Team
contributors
[]
created
2025-10-19
updated
2025-11-08
license
MIT
tags
featured
false
verified
true

Senior Backend

Core Capabilities

  • [Capability 1] - [Description]
  • [Capability 2] - [Description]
  • [Capability 3] - [Description]
  • [Capability 4] - [Description]

Key Workflows

Workflow 1: [Workflow Name]

Time: [Duration estimate]

Steps:

  1. [Step 1]
  2. [Step 2]
  3. [Step 3]

Expected Output: [What success looks like]

Workflow 2: [Workflow Name]

Time: [Duration estimate]

Steps:

  1. [Step 1]
  2. [Step 2]
  3. [Step 3]

Expected Output: [What success looks like]

Expert backend development skill with comprehensive tools for building scalable, secure, and performant backend systems using modern tech stacks and architectural patterns.

Overview

This skill provides production-ready backend development capabilities through three Python automation tools and extensive reference documentation. Whether building REST APIs, implementing GraphQL servers, designing database schemas, or optimizing performance, this skill ensures best practices and scalable architecture.

What This Skill Provides:

  • API scaffolding for REST and GraphQL projects
  • Database migration management and optimization
  • Load testing and performance benchmarking
  • Architecture patterns (layered, microservices, CQRS)
  • Security best practices and authentication
  • Comprehensive code templates and examples

Use this skill when:

  • Designing and building backend APIs
  • Implementing authentication and authorization
  • Optimizing database queries and schemas
  • Setting up microservices architecture
  • Performance tuning and load testing
  • Reviewing backend code for quality and security

Quick Start

API Scaffolding

# Create REST API with Express + TypeScript + PostgreSQL
python scripts/api_scaffolder.py my-api --type rest --stack express-typescript

# Create GraphQL API with Apollo Server
python scripts/api_scaffolder.py graphql-api --type graphql --stack apollo-typescript

# Start development
cd my-api
npm install
docker-compose up -d
npm run migrate
npm run dev

Database Migrations

# Create new migration
python scripts/database_migration_tool.py create "add_user_table"

# Run pending migrations
python scripts/database_migration_tool.py migrate

# Rollback last migration
python scripts/database_migration_tool.py rollback

# Check migration status
python scripts/database_migration_tool.py status

Load Testing

# Test API endpoint
python scripts/api_load_tester.py http://localhost:3000/api/users --users 50 --requests 1000

# Generate HTML report
python scripts/api_load_tester.py http://localhost:3000/api/users --users 100 --requests 1000 --output html --save report.html

Core Workflows

1. New Backend Project Setup

Steps:

  1. Scaffold project structure with api_scaffolder.py

- Choose REST or GraphQL - Select tech stack (Express, Fastify, NestJS) - Enable authentication, Docker, CI/CD

  1. Configure environment variables (.env)
  2. Start services with Docker Compose
  3. Run database migrations
  4. Implement business logic in service layer
  5. Add tests (unit and integration)

See: templates.md for complete project templates and configuration examples.

2. API Design and Implementation

REST API Design:

  • Resource-based URL structure
  • Proper HTTP methods and status codes
  • Request/response validation with Zod
  • Error handling with custom error classes
  • Rate limiting and authentication middleware

GraphQL API Design:

  • Type-safe schema definitions
  • Efficient resolver implementation
  • DataLoader for N+1 query prevention
  • Error handling and validation
  • Field-level authorization

See: frameworks.md for complete API design patterns, GraphQL schemas, and resolver examples.

3. Database Schema Design and Optimization

Schema Design:

  1. Design entities and relationships (Prisma schema)
  2. Create migration: python scripts/database_migration_tool.py create "schema_name"
  3. Define indexes for query optimization
  4. Add constraints and triggers
  5. Run migration: python scripts/database_migration_tool.py migrate

Query Optimization:

  • N+1 query prevention
  • Proper indexing strategies
  • Connection pooling
  • Cursor-based pagination
  • Caching with Redis

See: frameworks.md for database optimization patterns and templates.md for Prisma schema examples.

4. Authentication and Authorization

Implementation:

  1. JWT-based authentication with bcrypt password hashing
  2. Login/register endpoints
  3. Authentication middleware for protected routes
  4. Role-based authorization (RBAC)
  5. Token refresh mechanism
  6. Password reset flow with email

See: templates.md for complete authentication service implementation and middleware examples.

5. Performance Testing and Optimization

Load Testing Workflow:

  1. Establish baseline: python scripts/api_load_tester.py <endpoint> --users 10 --requests 100
  2. Test under load: Increase concurrent users gradually
  3. Identify bottlenecks (response times, error rates)
  4. Optimize (caching, query optimization, connection pooling)
  5. Re-test and compare results
  6. Document capacity limits

Optimization Techniques:

  • Redis caching (cache-aside pattern)
  • Database query optimization
  • Connection pooling
  • Response compression
  • API rate limiting

See: frameworks.md for caching strategies and performance patterns.

Python Tools

api_scaffolder.py

Production-ready API project generator with complete infrastructure.

Key Features:

  • REST and GraphQL API scaffolding
  • Multiple tech stacks (Express, Fastify, NestJS, Apollo)
  • Authentication setup (JWT + bcrypt)
  • Database integration (Prisma ORM)
  • Docker and docker-compose configuration
  • Testing infrastructure (Jest + Supertest)
  • CI/CD pipelines (GitHub Actions)
  • Middleware (auth, validation, rate limiting, logging)

Usage:

# Express + TypeScript + PostgreSQL
python scripts/api_scaffolder.py my-api --type rest --stack express-typescript

# GraphQL with Apollo Server
python scripts/api_scaffolder.py gql-api --type graphql --auth

# Minimal setup without optional features
python scripts/api_scaffolder.py simple-api --minimal

Generated Structure: Controllers, services, repositories, middleware, routes, error handling, testing setup, Docker configuration.

See: tools.md for complete documentation, options, and generated project structure.

database_migration_tool.py

Comprehensive database migration management for schema versioning and rollbacks.

Key Features:

  • Create, run, and rollback migrations
  • Version tracking and migration history
  • Transaction support for atomic operations
  • Dry-run mode for testing changes
  • Multi-database support (PostgreSQL, MySQL, MongoDB)
  • Migration status reporting

Usage:

# Create migration
python scripts/database_migration_tool.py create "add_user_table"

# Run migrations
python scripts/database_migration_tool.py migrate

# Rollback
python scripts/database_migration_tool.py rollback --steps 2

# Check status
python scripts/database_migration_tool.py status

Features: UP/DOWN migrations, checksum validation, confirmation prompts, detailed logging.

See: tools.md for migration file format, safety features, and workflow examples.

api_load_tester.py

Advanced load testing tool for API performance benchmarking.

Key Features:

  • Concurrent user simulation
  • Customizable request scenarios
  • Performance metrics (response times, RPS, throughput)
  • Success/failure rates and error categorization
  • Multiple output formats (text, JSON, HTML)
  • Authentication and custom headers support

Usage:

# Simple load test
python scripts/api_load_tester.py http://localhost:3000/api/users --users 50 --requests 1000

# POST request test
python scripts/api_load_tester.py http://localhost:3000/api/users --method POST --data user.json

# Generate HTML report
python scripts/api_load_tester.py http://localhost:3000/api/users --users 100 --requests 1000 --output html --save report.html

Metrics: Min/max/avg/median/p95/p99 response times, requests per second, error rates, throughput.

See: tools.md for testing scenarios, output examples, and capacity planning workflows.

Reference Documentation

Architecture Frameworks (frameworks.md)

Comprehensive architectural patterns and best practices:

  • API Design Patterns: REST principles, GraphQL schemas, HTTP status codes, error responses
  • Architecture Patterns: Layered architecture, dependency injection, repository pattern, CQRS
  • Microservices Patterns: Service communication (sync/async), circuit breaker, API gateway
  • Performance Patterns: Caching strategies (Redis), query optimization, connection pooling
  • Error Handling: Custom error classes, global error handler, validation errors
  • Testing Strategies: Unit testing with Jest, integration testing with Supertest
  • Documentation Standards: Swagger/OpenAPI specification

Implementation Templates (templates.md)

Production-ready code templates and examples:

  • Project Setup: Express + TypeScript + Prisma starter, package.json, Dockerfile, docker-compose
  • Database Schema: Prisma schema templates, migration files, indexes and constraints
  • Middleware: Authentication, validation (Zod), rate limiting, logging (Winston)
  • Service Implementation: Auth service (JWT + bcrypt), email service, CRUD services
  • Testing Templates: Unit test examples, integration test setup, API testing patterns
  • API Routes: RESTful route definitions, GraphQL resolvers, authentication integration
  • Environment Configuration: .env.example with all required variables

Python Tools Guide (tools.md)

Complete tool documentation:

  • api_scaffolder.py: All options, supported stacks, generated structure, workflow examples
  • database_migration_tool.py: Migration commands, file format, version tracking, rollback procedures
  • api_load_tester.py: Testing scenarios, performance metrics, output formats, best practices

Tech Stack

Languages: TypeScript, JavaScript, Python, Go Runtime: Node.js 18+ Frameworks: Express, Fastify, NestJS, Apollo Server Database: PostgreSQL, MySQL, MongoDB ORM: Prisma, TypeORM, Sequelize Caching: Redis Authentication: JWT, bcrypt Testing: Jest, Supertest Validation: Zod API Docs: Swagger/OpenAPI DevOps: Docker, docker-compose, GitHub Actions Monitoring: Winston (logging), Prometheus, Grafana

Best Practices Summary

Code Organization

  • Use layered architecture (controllers → services → repositories)
  • Implement dependency injection for testability
  • Separate business logic from HTTP layer
  • Use DTOs for request/response validation

Security

  • Hash passwords with bcrypt (10+ rounds)
  • Implement JWT with proper expiration
  • Validate all inputs with Zod schemas
  • Use parameterized queries (Prisma prevents SQL injection)
  • Rate limit authentication endpoints
  • Use Helmet.js for security headers
  • Never expose sensitive data in error messages

Performance

  • Cache frequently accessed data with Redis
  • Optimize database queries (avoid N+1 problems)
  • Use connection pooling
  • Implement pagination (cursor-based for large datasets)
  • Add database indexes on frequently queried fields
  • Use compression middleware

Testing

  • Write unit tests for business logic
  • Write integration tests for API endpoints
  • Aim for 80%+ code coverage
  • Mock external dependencies
  • Test error scenarios
  • Use factories for test data

Database

  • Use migrations for all schema changes
  • Never modify migrations after deployment
  • Always write DOWN migrations for rollback
  • Use transactions for multi-step operations
  • Add indexes on foreign keys
  • Use appropriate data types (UUID vs integer IDs)

Common Commands

# Development
npm run dev          # Start development server
npm run build        # Build for production
npm run start        # Start production server

# Database
npm run migrate      # Run migrations
npm run migrate:rollback  # Rollback last migration
npm run db:seed      # Seed database

# Testing
npm test             # Run all tests
npm run test:watch   # Run tests in watch mode
npm run test:coverage  # Generate coverage report

# Quality
npm run lint         # Run ESLint
npm run format       # Format code with Prettier
npm run type-check   # TypeScript type checking

# Docker
docker-compose up -d     # Start services
docker-compose down      # Stop services
docker-compose logs -f   # View logs

Integration Points

This skill integrates with:

  • Frontend Skills: REST/GraphQL API consumption
  • DevOps Skills: Docker deployment, CI/CD pipelines
  • QA Skills: API testing, integration testing
  • Security Skills: Authentication, authorization, vulnerability scanning
  • Database Skills: Schema design, query optimization

Getting Help

  1. Architecture patterns: See frameworks.md
  2. Code templates: See templates.md
  3. Tool usage: See tools.md or run tools with --help flag
  4. Project setup: Use api_scaffolder.py to generate boilerplate

Version: 1.0.0 Last Updated: 2025-11-08 Documentation Structure: Progressive disclosure with references/

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

30.99%
按下载量换算64

OpenCode

25.21%
按下载量换算52

windsurf

18.75%
按下载量换算39

trae

12.85%
按下载量换算26

Cursor

7.29%
按下载量换算15

Codex

3.67%
按下载量换算8

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills