بنقرة واحدة
backend
Implement backend functionality including APIs, business logic, database operations, and integrations
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Implement backend functionality including APIs, business logic, database operations, and integrations
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Design RESTful APIs with proper resource modeling, error handling, pagination, and documentation
Design system architecture, data models, API contracts, and create Architecture Decision Records (ADRs)
Comprehensive code review checking for security, performance, maintainability, and best practices
Prepare deployment configuration, environment setup, health checks, and rollback procedures
Implement frontend user interfaces with modern frameworks, responsive design, and accessibility standards
Perform comprehensive security audits checking for OWASP Top 10 vulnerabilities and security best practices
| name | backend |
| description | Implement backend functionality including APIs, business logic, database operations, and integrations |
| allowed-tools | Read, Write, Edit, Bash, Glob, Grep |
Implement robust, secure, and performant backend systems.
// Good - Explicit error handling
try {
const result = await riskyOperation();
return { success: true, data: result };
} catch (error) {
logger.error('Operation failed', { error, context });
throw new AppError('OPERATION_FAILED', error.message);
}
// Validate at boundaries
function createUser(input) {
const validated = validateUserInput(input);
if (!validated.success) {
throw new ValidationError(validated.errors);
}
return userRepository.create(validated.data);
}
// Use transactions for multiple operations
await db.transaction(async (tx) => {
await tx.users.create(userData);
await tx.accounts.create(accountData);
await tx.notifications.create(welcomeNotification);
});
class UserRepository {
async findById(id) { ... }
async findByEmail(email) { ... }
async create(data) { ... }
async update(id, data) { ... }
async delete(id) { ... }
}
class UserService {
constructor(userRepo, emailService) {
this.userRepo = userRepo;
this.emailService = emailService;
}
async registerUser(data) {
const user = await this.userRepo.create(data);
await this.emailService.sendWelcome(user);
return user;
}
}
async function createUserHandler(req, res) {
try {
const user = await userService.registerUser(req.body);
res.status(201).json({ data: user });
} catch (error) {
handleError(error, res);
}
}