senior-backend
透過資深指導建構可擴展的後端系統
Également disponible depuis: davila7
設計並實作生產就緒的後端系統,配備用於 API 腳手架、資料庫優化和效能調校的自動化工具。此技能包含三個 CLI 工具以及針對 Node.js、Python、Go、PostgreSQL、GraphQL 和 REST API 的完整參考指南。
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "senior-backend". 為新的使用者管理服務建構 GraphQL API,使用 Python 和 PostgreSQL
Résultat attendu:
- 生成包含 GraphQL schema 和 resolvers 的 API 腳手架
- 為 User 建立包含身份驗證欄位的資料庫模型
- 新增輸入驗證和錯誤處理模式
- 配置支援非同步的 PostgreSQL 連線
- 包含 JWT 身份驗證中介軟體模板
Utilisation de "senior-backend". 分析我目前的資料庫查詢並建議優化方案
Résultat attendu:
- 在使用者檢索中識別出 3 個 N+1 查詢模式
- 針對經常查詢的欄位建議複合索引
- 建議使用 Redis 的查詢快取策略
- 提供用於建立新索引的遷移腳本
Utilisation de "senior-backend". 為我的身份驗證端點生成負載測試報告
Résultat attendu:
- 在 1000 RPS 負載下測試了 5 個身份驗證端點
- 發現登入端點在 500 RPS 時出現延遲峰值
- 識別出在 800 RPS 時資料庫連線池耗盡
- 建議增加連線池大小並新增速率限制
Audit de sécurité
Risque faibleThis is a documentation and tooling skill containing Python CLI scripts for API scaffolding, database migration, and load testing. The static scanner produced 115 false positive findings by misidentifying markdown code fences as shell backticks and YAML frontmatter as cryptographic algorithms. All detected patterns are benign documentation and standard Python file I/O operations for controlled output export.
Facteurs de risque
⚡ Contient des scripts (3)
📁 Accès au système de fichiers (3)
Score de qualité
Ce que vous pouvez construire
生成 API 樣板
快速建構新的 API 專案,包含針對 Node.js、Python 或 Go 的最佳實務結構和配置。
優化資料庫查詢
分析現有資料庫模式並獲得查詢優化和索引建立的建議。
驗證 API 效能
對現有 API 執行負載測試分析,以識別效能瓶頸和擴展問題。
Essayez ces prompts
使用 senior-backend skill 在 /path/to/project 建構一個新的 REST API 專案,使用 Node.js 和 Express,並包含身份驗證端點。
執行 senior-backend database migration tool 來分析 /path/to/project 並為 PostgreSQL 查詢提供優化建議。
使用 senior-backend api_load_tester 來分析位於 /path/to/api 的 API,並生成包含瓶頸識別的效能報告。
審查 backend_security_practices 參考指南,並將身份驗證和授權模式應用到我現有的 API 程式碼。
Bonnes pratiques
- 在提交到生產環境使用之前,務必審查生成的腳手架程式碼
- 在應用到生產環境之前,先在測試環境測試資料庫遷移
- 結合多個 senior-backend 工具來建立全面的 API 開發工作流程
Éviter
- 不要在未經安全審查的情況下直接將生成的程式碼應用到生產環境
- 避免在未備份的情況下對生產資料庫執行資料庫遷移工具
- 即使使用腳手架身份驗證程式碼,也不要跳過輸入驗證