backend-dev-guidelines
Skill by benjaminasterA
Sets out backend coding standards for Node.js, Express and TypeScript microservices. It is for teams that want layered architecture, Prisma repositories, Zod validation and Sentry error tracking enforced in their code.
Install backend-dev-guidelines
Built from the published package, never by AI.
git clone --depth 1 https://github.com/benjaminasterA/antigravity-awesome-skills /tmp/antigravity-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/antigravity-awesome-skills/skills/backend-dev-guidelines ~/.claude/skills/backend-dev-guidelinesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/benjaminasterA/antigravity-awesome-skills /tmp/antigravity-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/antigravity-awesome-skills/skills/backend-dev-guidelines ~/.gemini/antigravity-cli/skills/backend-dev-guidelinesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install backend-dev-guidelines in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
backend-dev-guidelines is a SKILL.md file that defines how backend code should be written for Node.js, Express and TypeScript microservices. It sets a layered architecture of routes, controllers, services and repositories, with a BaseController pattern, dependency injection, Prisma repositories and Zod validation. It also covers error handling through Sentry, configuration through unifiedConfig, and testing rules.
The skill includes a feasibility score called BFRI, a canonical directory structure, naming conventions and a list of anti-patterns to reject. It is written for senior backend engineers working on long-lived services with real traffic and risk. It also points to related skills for frontend API contracts, error tracking and database verification.
Written from the project's SKILL.md and checked against it.
What it can do
- Layered architecture rulesRequires routes, controllers, services and repositories to stay in separate layers with no layer skipping.
- BaseController patternRequires controllers to extend BaseController and use its success and error helpers.
- Dependency injectionHas services receive their dependencies through the constructor so they can be mocked in tests.
- Prisma repositoriesKeeps Prisma queries and transactions inside repository classes, not in controllers.
- Zod validationRequires validating request bodies, query params, route params and webhook payloads with Zod.
- Sentry error trackingRequires errors to be sent to Sentry and critical paths to have performance tracing.
- BFRI risk scoringScores a backend feature on five dimensions before implementation to decide whether to proceed.
- Naming and directory conventionsDefines file naming per layer and a canonical src directory structure.
- Testing disciplineRequires unit tests for services, integration tests for routes and repository tests for complex queries.
What you need
- Node.js
- Express
- TypeScript
- Prisma
- Zod
- Sentry
Try asking
- Review this Express controller against the backend layering rules.
- Add Zod validation to this webhook handler in our Express service.
- Score this billing service change using the BFRI formula before I code it.
Good to know
- The metadata lists the risk level as unknown.
- The standards are opinionated and described as non-negotiable, so they may not fit every project.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/backend-dev-guidelines/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
resources/architecture-overview.md13 KB -
resources/async-and-errors.md7 KB -
resources/complete-examples.md16 KB -
resources/configuration.md6 KB
Show all 12 files
-
resources/database-patterns.md5 KB -
resources/middleware-guide.md5 KB -
resources/routing-and-controllers.md19 KB -
resources/sentry-and-monitoring.md8 KB -
resources/services-and-repositories.md22 KB -
resources/testing-guide.md5 KB -
resources/validation-patterns.md18 KB
Alternatives to backend-dev-guidelines
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-dev-guidelines: common questions
Who is backend-dev-guidelines for?
The source says it is for long-lived Node.js microservices with real traffic and real risk, written for senior backend engineers.
What stack does this skill assume?
It assumes Node.js, Express and TypeScript microservices, using Prisma for data access, Zod for validation and Sentry for error tracking.
What is BFRI?
BFRI is a Backend Feasibility and Risk Index. It scores five dimensions on a range from -10 to +10 to decide whether a change should proceed, get tests and monitoring, be refactored, or be redesigned.
How do I install backend-dev-guidelines?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is backend-dev-guidelines free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is backend-dev-guidelines safe to use?
It scores 85 of 100. Grades: maintenance A, licence A, 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-dev-guidelines?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
