backend
Skill by redis
Guides NestJS backend development for the RedisInsight API, covering modules, services, controllers, DTOs, dependency injection and error handling. Intended for developers editing files under redisinsight/api.
Install backend
Built from the published package, never by AI.
git clone --depth 1 https://github.com/redis/RedisInsight /tmp/RedisInsight && mkdir -p ~/.claude/skills && cp -r /tmp/RedisInsight/.ai/skills/backend ~/.claude/skills/backendRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/redis/RedisInsight /tmp/RedisInsight && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/RedisInsight/.ai/skills/backend ~/.gemini/antigravity-cli/skills/backendAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The backend skill is a set of coding guidelines for the NestJS backend of the RedisInsight API. It describes a feature-based module layout under api/src, with folders for services, controllers, DTOs, entities and exceptions, plus file naming rules and an import order. It also covers dependency injection through constructors, thin controllers that delegate to services, and class-validator and Swagger decorators.
Error handling favors NestJS exceptions and custom exceptions that carry consistent error codes for the frontend. The skill also sets rules for logging, Redis integration through RedisClient, transactions for related database operations, ConfigService for configuration, guards, and a cognitive complexity limit of 15. It is meant for developers and AI assistants working on files under redisinsight/api, or when the user mentions the backend, API, or NestJS.
Written from the project's SKILL.md and checked against it.
What it can do
- Module structureSets a feature-based folder layout and file naming rules under api/src.
- Service layer patternsCovers constructor dependency injection, TypeORM repositories and Logger use.
- Controller patternsDescribes thin controllers, HTTP decorators, route inputs and guard use.
- DTO validationLists class-validator decorators and Swagger property decorators for DTOs.
- Error handlingExplains NestJS exception types and custom exceptions with consistent error codes.
- Redis integrationDescribes using RedisClient from src/modules/redis with try-catch and logging.
- Swagger documentationLists the decorators to document tags, operations, responses, params and auth.
- Code quality checksSets a cognitive complexity limit of 15 and avoids duplicate strings.
What you need
- Access to the RedisInsight repository with the redisinsight/api directory
Try asking
- Create a new NestJS feature module with service and controller for the RedisInsight API
- Add a DTO with class-validator rules and Swagger docs for a create request
- Write a custom exception with an error code for an invalid feature in redisinsight/api
Good to know
- Applies to files under redisinsight/api/** and NestJS code in that project
- Describes coding patterns and conventions rather than running any code
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .ai/skills/backend/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to backend
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
backend: common questions
Which files does the RedisInsight backend skill apply to?
It applies when editing any file under redisinsight/api/**, or when writing NestJS modules, controllers, services, DTOs or providers. It also applies when the user mentions the backend, API, or NestJS.
How should errors be handled in the RedisInsight API?
Use NestJS exception types such as NotFoundException and BadRequestException. Prefer custom exceptions when consistent error codes are needed for frontend handling.
Does the skill set a complexity limit for backend code?
Yes. The checklist sets cognitive complexity at 15 or lower, and suggests early returns and extracted functions to meet it.
How do I install backend?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is backend free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is backend safe to use?
It scores 80 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to backend?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
