Nodejs Backend Patterns
ever-works/ever-works
Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices.
Backend API design, database architecture, microservices patterns, and test-driven development.
$ npx skills add MoizIbnYousaf/ai-agent-skills --skill backend-development -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install MoizIbnYousaf/ai-agent-skills backend-development --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/MoizIbnYousaf/ai-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/backend-development .claude/skills/backend-development && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "backend-development" agent skill from https://github.com/MoizIbnYousaf/ai-agent-skills/tree/main/skills/backend-development into .claude/skills/backend-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-development", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/MoizIbnYousaf/ai-agent-skills/tree/main/skills/backend-developmentType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add MoizIbnYousaf/ai-agent-skills --skill backend-development -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install MoizIbnYousaf/ai-agent-skills backend-development --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MoizIbnYousaf/ai-agent-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/backend-development .agents/skills/backend-development && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "backend-development" agent skill from https://github.com/MoizIbnYousaf/ai-agent-skills/tree/main/skills/backend-development into .agents/skills/backend-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-development", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MoizIbnYousaf/ai-agent-skills --skill backend-development -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install MoizIbnYousaf/ai-agent-skills backend-development --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MoizIbnYousaf/ai-agent-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/backend-development .cursor/skills/backend-development && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "backend-development" agent skill from https://github.com/MoizIbnYousaf/ai-agent-skills/tree/main/skills/backend-development into .cursor/skills/backend-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-development", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/MoizIbnYousaf/ai-agent-skills.git --path skills/backend-development--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add MoizIbnYousaf/ai-agent-skills --skill backend-development -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install MoizIbnYousaf/ai-agent-skills backend-development --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MoizIbnYousaf/ai-agent-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/backend-development .gemini/skills/backend-development && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "backend-development" agent skill from https://github.com/MoizIbnYousaf/ai-agent-skills/tree/main/skills/backend-development into .gemini/skills/backend-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-development", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install MoizIbnYousaf/ai-agent-skills backend-developmentInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add MoizIbnYousaf/ai-agent-skills --skill backend-development -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/MoizIbnYousaf/ai-agent-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/backend-development .github/skills/backend-development && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "backend-development" agent skill from https://github.com/MoizIbnYousaf/ai-agent-skills/tree/main/skills/backend-development into .github/skills/backend-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-development", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MoizIbnYousaf/ai-agent-skills --skill backend-development -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install MoizIbnYousaf/ai-agent-skills backend-development --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MoizIbnYousaf/ai-agent-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/backend-development .opencode/skills/backend-development && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "backend-development" agent skill from https://github.com/MoizIbnYousaf/ai-agent-skills/tree/main/skills/backend-development into .opencode/skills/backend-development/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "backend-development", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
backend-developmentBackend API design, database architecture, microservices patterns, and test-driven development.
Backend Development is an agent skill from MoizIbnYousaf/ai-agent-skills. Backend API design, database architecture, microservices patterns, and test-driven development. Use for designing APIs, database schemas, or backend system architecture.
Its SKILL.md is about 850 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs, covering Backend development, API design and Database schema design. The repository describes itself as: Universal skill installer and package manager for AI coding agents. One command, 12+ runtimes. npx ai-agent-skills. The licence is MIT.
Read from SKILL.md and the folder at commit 6d95c78. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript, json and sql).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Backend Development loads about 853 tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 51 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from MoizIbnYousaf/ai-agent-skills at commit 6d95c78, republished under its MIT licence (© MoizIbnYousaf). 51 words, ~853 tokens.
.claude/skills/backend-development/SKILL.md (or your agent's skills folder).GET /users # List users
POST /users # Create user
GET /users/:id # Get user
PUT /users/:id # Update user (full)
PATCH /users/:id # Update user (partial)
DELETE /users/:id # Delete user
GET /users/:id/posts # List user's posts
POST /users/:id/posts # Create post for user{
"data": { ... },
"meta": {
"page": 1,
"per_page": 20,
"total": 100
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid input",
"details": [
{ "field": "email", "message": "Invalid format" }
]
}
}-- Use UUIDs for public IDs
CREATE TABLE users (
id SERIAL PRIMARY KEY,
public_id UUID DEFAULT gen_random_uuid() UNIQUE,
email VARCHAR(255) UNIQUE NOT NULL,
created_at TIMESTAMPTZ DEFAULT NOW(),
updated_at TIMESTAMPTZ DEFAULT NOW()
);
-- Soft deletes
ALTER TABLE users ADD COLUMN deleted_at TIMESTAMPTZ;
-- Indexes
CREATE INDEX idx_users_email ON users(email);
CREATE INDEX idx_users_created ON users(created_at DESC);-- Pagination with cursor
SELECT * FROM posts
WHERE created_at < $cursor
ORDER BY created_at DESC
LIMIT 20;
-- Efficient counting
SELECT reltuples::bigint AS estimate
FROM pg_class WHERE relname = 'users';interface TokenPayload {
sub: string; // User ID
iat: number; // Issued at
exp: number; // Expiration
scope: string[]; // Permissions
}
function verifyToken(token: string): TokenPayload {
return jwt.verify(token, SECRET) as TokenPayload;
}async function authenticate(req: Request, res: Response, next: Next) {
const token = req.headers.authorization?.replace('Bearer ', '');
if (!token) {
return res.status(401).json({ error: 'Unauthorized' });
}
try {
req.user = verifyToken(token);
next();
} catch {
res.status(401).json({ error: 'Invalid token' });
}
}// Cache-aside pattern
async function getUser(id: string): Promise<User> {
const cached = await redis.get(`user:${id}`);
if (cached) return JSON.parse(cached);
const user = await db.users.findById(id);
await redis.setex(`user:${id}`, 3600, JSON.stringify(user));
return user;
}
// Cache invalidation
async function updateUser(id: string, data: Partial<User>) {
await db.users.update(id, data);
await redis.del(`user:${id}`);
}const limiter = rateLimit({
windowMs: 60 * 1000, // 1 minute
max: 100, // 100 requests per window
keyGenerator: (req) => req.ip,
handler: (req, res) => {
res.status(429).json({ error: 'Too many requests' });
}
});/health and /ready endpoints© MoizIbnYousaf, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/backend-development of MoizIbnYousaf/ai-agent-skills.
Open the folder on GitHubat commit 6d95c78
Backend Development next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Backend Development this skillMoizIbnYousaf/ai-agent-skills | 1.1k | — | ~853 | Automated safety check: Pass | MIT | |
| Nodejs Backend Patternsever-works/ever-works | 158 | 17 repos | ~4k | Automated safety check: Pass | AGPL-3.0 | |
| System Designopenxlings/xlings | 615 | 1 repos | ~328 | Automated safety check: Pass | Apache-2.0 | |
| Moai Domain Backendmodu-ai/moai-adk | 1.2k | — | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| Backend Designitseffi/agentic-os | 115 | — | ~474 | Automated safety check: Pass | Custom licence | |
| Nestjsgiuseppe-trisciuoglio/developer-kit | 355 | — | ~1.4k | Automated safety check: Notes | MIT |
ever-works/ever-works
Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices.
openxlings/xlings
Design systems, services, and architectures. An agent skill from openxlings/xlings.
modu-ai/moai-adk
Backend development specialist covering API design, database integration, microservices architecture, and modern backend patterns.
itseffi/agentic-os
Design backend architecture for implementation with API contracts, data model changes, service boundaries, security, and observability.
giuseppe-trisciuoglio/developer-kit
Provides comprehensive NestJS framework patterns with Drizzle ORM integration for building scalable server-side applications.
theneoai/awesome-skills
Elite Backend Developer skill with expertise in API design (REST, GraphQL, gRPC), microservices architecture, database optimization (PostgreSQL, MongoDB, Redis), and distributed systems.
MoizIbnYousaf/ai-agent-skills
Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration.
MoizIbnYousaf/ai-agent-skills
Database schema design, optimization, and migration patterns for PostgreSQL, MySQL, and NoSQL databases.
MoizIbnYousaf/ai-agent-skills
A skill your agent uses when checking the overall health of a skills library.
MoizIbnYousaf/ai-agent-skills
A skill your agent uses when exploring the ai-agent-skills catalog to find, compare, and evaluate skills before installing.
MoizIbnYousaf/ai-agent-skills
Writing effective code documentation - API docs, README files, inline comments, and technical guides.
MoizIbnYousaf/ai-agent-skills
A skill your agent uses when building a managed team skills library for a real stack.
Categories
Backend API design, database architecture, microservices patterns, and test-driven development. Backend Development is an agent skill from MoizIbnYousaf/ai-agent-skills. Backend API design, database architecture, microservices patterns, and test-driven development.
Backend Development fits situations like: database schemas; backend system architecture.
Run `npx skills add MoizIbnYousaf/ai-agent-skills --skill backend-development -a claude-code`. Or copy the skill folder (skills/backend-development in MoizIbnYousaf/ai-agent-skills) into .claude/skills/backend-development in your project. Claude Code loads it when a task matches its description.
Run `npx skills add MoizIbnYousaf/ai-agent-skills --skill backend-development -a codex`. Or copy the skill folder (skills/backend-development in MoizIbnYousaf/ai-agent-skills) into .agents/skills/backend-development in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MoizIbnYousaf/ai-agent-skills --skill backend-development -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/backend-development, .gemini/skills/backend-development, .github/skills/backend-development and .opencode/skills/backend-development in your project.
SKILL.md names no scripts, command-line tools or credentials: Backend Development is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Backend Development is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 853 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Backend Development: Nodejs Backend Patterns (ever-works/ever-works, 158 stars), System Design (openxlings/xlings, 615 stars), Moai Domain Backend (modu-ai/moai-adk, 1.2k stars) and Backend Design (itseffi/agentic-os, 115 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
MoizIbnYousaf (a GitHub user) maintains it in MoizIbnYousaf/ai-agent-skills, which has 1,148 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on September 21, 2026.
Source: MoizIbnYousaf/ai-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.