跳到正文
cccskills
免费在 GitHub 公开

senior-backend

Backend development with Node.js/Express/Fastify and PostgreSQL. Use when designing REST or GraphQL APIs, optimizing database queries, implementing authentication, building microservices, handling migrations, or reviewing backend code.

中文简介正在准备中。当前显示原文说明。

集成工具PostgreSQL
查看安装方法

包含的文件(9)

  • SKILL.md6.1 KB
  • references/api_design_patterns.md13.3 KB
  • references/backend_security_practices.md24.9 KB
  • references/database_optimization_guide.md13.6 KB
  • references/tools-reference.md10.9 KB
  • references/workflows-and-patterns.md7.8 KB
  • scripts/api_load_tester.py19.3 KB
  • scripts/api_scaffolder.py20.9 KB
  • scripts/database_migration_tool.py31.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Senior Backend Engineer

Scaffold and review backend services: API design and OpenAPI-driven code generation for Express/Fastify/Koa, PostgreSQL schema analysis and migration generation, HTTP load testing, and production security hardening. Outputs ready-to-run route handlers, Zod validators, TypeScript types, migrations with rollbacks, and load-test reports.

Core Capabilities

  • API scaffolding — generate route handlers, validation middleware, TypeScript types, and OpenAPI specs across Express, Fastify, and Koa.
  • Database optimization — schema analysis, missing-index detection, N+1 risk detection, and migration generation with paired rollback scripts.
  • Load testing — configurable concurrency with latency percentiles (P50/P90/P95/P99), throughput, error rates, and endpoint comparison.
  • Security hardening — JWT config, rate limiting, input validation (Zod), and security headers (helmet) for production readiness.
  • Standardized contracts — consistent data/error/meta response envelope and HTTP status conventions.

When to Use

  • Designing a new API or refactoring existing endpoints.
  • Slow queries or database performance needs improvement.
  • Preparing an API for production or after a security review.
  • Building regression/load-test baselines for backend endpoints.

Clarify First

Before scaffolding, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • Framework — Express / Fastify / Koa (--framework; changes the generated route handlers, validators, and types)
  • API contract source — the OpenAPI spec or endpoint list to scaffold from (the input the scaffolder reads)
  • Database intent — the schema file and whether you want analysis vs migration generation (drives database_migration_tool.py)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Tools

ToolPurposeCommand
api_scaffolder.pyGenerate route handlers, Zod validators, and TS types from an OpenAPI specpython scripts/api_scaffolder.py openapi.yaml --framework express --output src/routes/
database_migration_tool.pyAnalyze schemas, suggest indexes, and generate migrations with rollbackspython scripts/database_migration_tool.py schema.sql --analyze
api_load_tester.pyHTTP load test with latency percentiles, throughput, and comparisonpython scripts/api_load_tester.py https://api.example.com/users --concurrency 50 --duration 30

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

Scope & Limitations

What this skill covers:

  • REST API design, scaffolding, and OpenAPI-driven code generation for Express, Fastify, and Koa
  • PostgreSQL schema analysis, index optimization, migration generation with rollback support
  • HTTP load testing with latency percentile analysis, throughput measurement, and endpoint comparison
  • Backend security patterns including JWT configuration, rate limiting, input validation, and security headers

What this skill does NOT cover:

  • Frontend development, UI components, or client-side state management -- see senior-frontend
  • Infrastructure provisioning, container orchestration, or CI/CD pipeline setup -- see senior-devops
  • GraphQL schema design, resolvers, or subscriptions -- see senior-fullstack
  • Application performance monitoring (APM), distributed tracing, or log aggregation -- see senior-secops

Integration Points

SkillIntegrationData Flow
senior-fullstackAPI routes generated here feed into fullstack project scaffoldingOpenAPI spec → fullstack scaffolder consumes as API contract
senior-devopsMigration scripts output here are consumed by CI/CD deployment pipelinesmigrations/ directory → deployment workflow applies and verifies
senior-securityLoad test results and security hardening output feed into security reviewLoad test JSON → security audit validates rate limiting and error handling
senior-qaGenerated route handlers and validators provide test surface for QA automationRoute files + Zod schemas → QA generates integration test suites
senior-frontendTypeScript types generated by the scaffolder are shared with frontend consumerstypes.ts → frontend imports API types for type-safe client code
code-reviewerSchema analysis issues and migration diffs feed into code review checklistsAnalysis report → reviewer validates index coverage and naming conventions

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

This skill should be used when the user asks to "check accessibility", "audit WCAG compliance", "scan HTML for a11y issues", "check color contrast", or "find accessibility violations in web pages".

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

Design and run statistically rigorous A/B tests and experiments. Use when planning experiments, calculating sample sizes, designing test variants, selecting metrics, analyzing results, or when someone says "let's test that."

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

Design and analyze A/B tests: sample size, test duration, and statistical significance for conversion experiments. Use when setting up an A/B test, calculating sample size, designing an experiment, or analyzing results.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

Sales execution across pipeline, discovery, demos, negotiation, and closing. Use when qualifying opportunities, running MEDDIC discovery, building account plans, handling objections, structuring proposals, or forecasting pipeline.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

Design ad creative across Google, Meta, LinkedIn, Twitter/X, and TikTok with platform format specs, headline formulas, and A/B testing. Use when writing ad copy, generating headline variations, creating ad sets, or validating creative.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

aeo

免费

Answer Engine Optimization (AEO): optimize content to be cited by LLMs (ChatGPT, Claude, Perplexity, Gemini) in their answers. Use when designing content for LLM citation, auditing citability, or structuring Q&A schema.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

查看 borghei 的全部技能

报告此技能的问题