‹ 首页

developer-backend

@dragoscirjan · 收录于 1 周前 · 上游提交 1 个月前

Backend development standards — general backend architecture, security, and tooling. Load when writing backend code.

适合你,如果需要在编写后端代码时参考架构、安全和工具标准

/ 通过 npx 安装 校验哈希
npx oh-my-skill add dragoscirjan/opencode-config/developer-backend
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- dragoscirjan/opencode-config/developer-backend
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify dragoscirjan/opencode-config/developer-backend
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
0GitHub stars
~244上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 f561928 · 表述以原文为准
它做什么

Claude 会遵循后端开发标准,包括错误处理、依赖注入、结构化日志、安全配置、输入验证和自动化质量检查。

什么时候触发

当你在编写后端代码时,Claude 会自动加载此技能,并可能调用语言检测和环境变量工具来加载相关技能。

装好后可以这样说
Claude 会使用参数化查询并验证输入。
Claude 会检查是否显式返回错误并包含上下文。
技能原文 SKILL.md作者撰写 · MIT · f561928

Backend Development Standards

Always load clean-code alongside this skill. Use the detect-language tool to dynamically load the language-specific skill (e.g. lang-py, lang-go) for the code you are writing. Run the env-get tool for the DEVELOPER_SKILLS variable. If it returns a comma-separated list of skill names, load each of them.

Cross-Cutting Rules
  • Errors: Return explicitly. Never swallow, never throw for control flow. Include context (what failed, with what input).
  • DI: Accept interfaces, return concretes. Wire at entry point.
  • Logging: Structured (JSON). Correlation/request IDs. Never log secrets.
  • Security: Secrets from env or secret manager — never VCS. Parameterized queries. Validate inputs. Timeouts on HTTP clients.
  • Config: Env vars with safe defaults. Validate at startup, fail fast.
  • Testing: Test error paths. Table-driven/parameterized. Testcontainers for integration.
  • Automation: Use run-quality-checks to run validations, formatters, and tests before finalizing.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。