Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问clear审计通过

backend-development后端开发

Agent Skill

backend-development 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

576

周安装

24

GitHub Stars

公开资料未说明

下载量

192
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:backend-development(后端开发)
来源仓库:https://github.com/carvalab/k-skills
仓库路径:skills/backend-development
安装命令:
npx skills add https://github.com/carvalab/k-skills --skill backend-development
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/carvalab/k-skills --skill backend-development

简介

backend-development 提供 Node.js/TypeScript 与 Go 后端开发指导。

  • 覆盖从功能添加到微服务设计的全流程建议。
  • 集成 Kavak 内部文档查询与 MCP 工具支持。
  • 需配置 kavak-platform 搜索工具以访问企业知识库。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Backend Development

Backend engineering guidance for Node.js/TypeScript and Go projects. Covers everything from adding a small feature to designing a new microservice — including vague tasks where you need to figure out the right approach from context.

Related Skills: - kavak-documentation — for Kavak-specific patterns (kbroker, STS, GitLab CI, Docker) - test-driven-development — use for new features and bug fixes (Red-Green-Refactor) - Check .claude/CLAUDE.md or .cursor/rules/* for project-specific conventions MCP: Use kavak-platform/platform_docs_search to query Kavak internal docs and kavak-platform/search_resource for workload/infrastructure info before implementing.

First: Understand the Codebase

Before writing any code, explore the project to understand its structure, patterns, and existing implementations. This matters because the biggest source of wasted effort is reimplementing something that already exists — or writing code that clashes with the project's established patterns.

  1. Read the project structure — identify the architecture, naming conventions, and patterns in use
  2. Search for similar code — extract keywords from your task (verbs, nouns, domain concepts) and search. You're looking for code you can reuse, extend, or extract shared logic from
  3. Document your reuse decision — REUSE (>70% similar), EXTEND (50-70%), EXTRACT (shared helper), or NEW (<30% similar)

Full process, search templates, and decision matrix: references/code-reuse-analysis.md

Core Principles

Architecture: Clean Architecture (4-layer) for new projects → references/architecture.md

  • SOLID — each module does one thing, depends on abstractions not implementations
  • DRY — every piece of business logic has ONE source of truth → references/dry-detection.md
  • YAGNI — only build what the task requires right now, not hypothetical future needs
  • KISS — the simplest solution that works is the right one

Code should be self-documenting. Comments explain "why", not "what". See references/code-quality.md for examples.

Existing Projects Rule

Follow the project's established patterns — if it uses flat structure, keep flat structure. If it uses callbacks, use callbacks. Don't force Clean Architecture on a codebase that doesn't use it. Apply good practices to new code you write, but match the project's conventions.

Clean Architecture applies to: new greenfield projects, new modules (when it fits), or explicit refactoring requests.

Quick Start

LanguageTestLint
Node/TSnpm testnpm run lint
Gogo test./...golangci-lint run

Technology Selection

NeedChoose
TypeScript APINestJS
High concurrencyGo + Chi
Go databasepgx/v5 + sqlc
Node databaseDrizzle (new), keep existing
Go Redisrueidis (new), keep existing
Go job queueRiver (PostgreSQL-backed)
Node job queuepg-boss (PostgreSQL-backed)
Events (Kavak)kbroker (Kafka-by-REST)
Rate limitingpg-boss throttle / River snooze
TestingVitest (new Node), Jest (existing)
TracingOpenTelemetry + dd-trace
Note: Use kbroker for events between services. Use pg-boss (Node) or River (Go) for job queues.

Common Workflows

New API Endpoint (TDD Approach)

Use test-driven-development skill for Red-Green-Refactor cycle
  1. Write failing test firsttest-driven-development skill
  2. Design endpoint → references/api-design.md
  3. Set up handler → references/go/http-handlers.md or references/node/frameworks.md
  4. Add database access → references/go/database.md or references/node/database.md
  5. Implement auth → references/authentication.md
  6. Refactor with tests passing → references/code-quality.md

Add Similar Feature (DRY-First)

When the task says "do X like Y" or "add similar to existing":

  1. Find the existing implementation first — search for the feature mentioned
  2. >70% similar: inject existing service, call its method (5-10 lines)
  3. 50-70% similar: extract shared helper, refactor both old and new to use it
  4. <50% similar: OK to create new, keep it minimal
  5. Test both old and new paths — ensure refactoring didn't break existing

If your new code exceeds 50 lines, you likely missed a reuse opportunity.

Fix Slow Query

  1. Profile query → references/debugging.md (EXPLAIN ANALYZE)
  2. Add indexes → references/performance.md
  3. Add caching → references/go/redis-queues.md or references/node/database.md

Deploy New Service

  1. Write Dockerfile → references/devops/docker.md
  2. Set up CI/CD → references/devops/ci-cd.md

Debug Production Issue

  1. Check logs/traces → references/debugging.md
  2. Profile if slow → references/debugging.md (pprof/clinic.js)
  3. Check DB queries → references/debugging.md (pg_stat_statements)

References

ReferenceWhen to Use
Go
references/go/http-handlers.mdSet up Chi routes, handlers, middleware
references/go/database.mdImplement pgx/v5, sqlc queries
references/go/patterns.mdApply error handling, validation, testing
references/go/redis-queues.mdAdd rueidis caching, River job queue
Node.js
references/node/frameworks.mdSet up NestJS, Express, Fastify
references/node/database.mdImplement Drizzle, Prisma, caching
references/node/patterns.mdApply validation, errors, testing
DevOps
references/devops/docker.mdWrite Dockerfiles, compose, health checks, DataDog metrics
references/devops/ci-cd.mdConfigure GitLab CI pipelines
Cross-Cutting
references/architecture.mdClean Architecture (4-layer), microservices, events
references/code-quality.mdSOLID, DRY, YAGNI, KISS, design patterns
references/code-reuse-analysis.mdMANDATORY - Code reuse gate, decision matrix
references/dry-detection.mdMANDATORY - DRY detection, code reuse patterns
references/api-design.mdDesign REST endpoints, versioning
references/authentication.mdImplement OAuth 2.1, JWT, RBAC
references/security.mdApply OWASP Top 10, input validation
references/performance.mdOptimize caching, queries, pooling
references/testing.mdWrite unit, integration, E2E tests
references/debugging.mdDebug with logs, profilers, tracing
Kavak
references/kavak/kbroker.mdPublish/subscribe events between services
references/kavak/queues-ratelimit.mdJob queues, rate limiting with River/pg-boss
references/kavak/microservice-auth.mdAuthenticate between services (STS)
references/kavak/gitlab-ci.mdSet up kavak-it/ci-jobs v3 pipelines
references/kavak/docker-images.mdBuild with docker-debian base
references/kavak/workload-config.mdConfigure .kavak/ dir, cron jobs
references/kavak/logging-metrics.mdUse kvklog, kvkmetric SDKs

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.17%
按下载量换算54

trae

21.79%
按下载量换算42

Antigravity

16.84%
按下载量换算32

Codex

11.77%
按下载量换算23

windsurf

8.3%
按下载量换算16

Gemini CLI

3.58%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills