ab-test-analysis
Design and analyze A/B tests, calculate statistical significance, and determine sample sizes…
Build production-ready Express.js servers with middleware, authentication, routing, and database integration. Use when creating REST APIs, managing requests/responses, implementing middleware chains, and handling server logic.
$ npx -y skills add aj-geddes/useful-ai-prompts --skill nodejs-express-server --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/nodejs-express-serverContext preview
The summary Claude sees to decide when to auto-load this skill.
Build production-ready Express.js servers with middleware, authentication, routing, and database integration. Use when creating REST APIs, managing requests/responses, implementing middleware chains, and handling server logic.
name: nodejs-express-server description: > Build production-ready Express.js servers with middleware, authentication, routing, and database integration. Use when creating REST APIs, managing requests/responses, implementing middleware chains, and handling server logic.
Create robust Express.js applications with proper routing, middleware chains, authentication mechanisms, and database integration following industry best practices.
Minimal working example:
const express = require("express");
const app = express();
const PORT = process.env.PORT || 3000;
// Middleware
app.use(express.json());
app.use(express.urlencoded({ extended: true }));
// Routes
app.get("/health", (req, res) => {
res.json({ status: "OK", timestamp: new Date().toISOString() });
});
// Error handling
app.use((err, req, res, next) => {
console.error(err.stack);
res.status(err.status || 500).json({
error: err.message,
requestId: req.id,
});
});
app.listen(PORT, () => {
console.log(`Server running on port ${PORT}`);
});Detailed implementations in the `references/` directory:
| Guide | Contents | |---|---| | [Basic Express Setup](references/basic-express-setup.md) | Basic Express Setup | | [Middleware Chain Implementation](references/middleware-chain-implementation.md) | Middleware Chain Implementation | | [Database Integration (PostgreSQL with Sequelize)](references/database-integration-postgresql-with-sequelize.md) | Database Integration (PostgreSQL with Sequelize) | | [Authentication with JWT](references/authentication-with-jwt.md) | Authentication with JWT | | [RESTful Routes with CRUD Operations](references/restful-routes-with-crud-operations.md) | RESTful Routes with CRUD Operations | | [Error Handling Middleware](references/error-handling-middleware.md) | Error Handling Middleware | | [Environment Configuration](references/environment-configuration.md) | Environment Configuration |
488 production-ready AI prompts, all following a standardized template with validated quality gates. Transform ChatGPT, Claude, and other AI assistants into expert consultants.
Repo: aj-geddes/useful-ai-prompts
Design and analyze A/B tests, calculate statistical significance, and determine sample sizes…
Implement Role-Based Access Control (RBAC), permissions management, and authorization…
Implement WCAG 2.1/2.2 accessibility standards, screen reader compatibility, keyboard…
Test web applications for WCAG compliance and ensure usability for users with disabilities.…
Plan and execute effective sprints using Agile methodologies. Define sprint goals, estimate…
Implement comprehensive alert management with PagerDuty, escalation policies, and incident…