devbridge-backend
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
02 资源文件 3
- 参考文档_meta.json291 B
- 脚本commands.py16.4 KB
- 参考文档package.json5.2 KB
03 SKILL.md 正文
Backend Fixer Agent
后端修复助手 - 后端开发人员通过Clawdbot分析问题并生成修复方案
name: "后端修复助手" version: "1.0.0"
Clawdbot配置
clawdbot: gateway: "https://gateway.clawd.bot" sessionKey: "agent:backend:dev" timeout: 60000
通信配置(使用占位符,不硬编码本地路径)
agents: frontend: sessionKey: "agent:frontend:dev"
admin:
sessionKey: "agent:admin:dev"
状态存储(使用环境变量,不硬编码本地路径)
state:
环境变量优先,否则使用clawdhub默认路径
file: "${CLAWDBOT_STATE_DIR:-/data/clawdbot}/PROBLEMS_STATE.json"
修复尝试记录(可选)
cache: enabled: true ttl: 3600 # 1小时
命令触发器
triggers:
修复请求
-
regex: "^/fix\s+(.+)$" handler: "handle_fix_request" description: "接收修复请求并分析问题"
-
regex: "^/analyze\s+(.+)$" handler: "analyze_problem" description: "分析API问题"
-
regex: "^/ready\s+([a-f0-9-]+)$" handler: "mark_fix_ready" description: "标记修复为就绪"
-
regex: "^/complete\s+([a-f0-9-]+)$" handler: "mark_fix_complete" description: "标记修复完成"
命令列表
commands:
分析命令
-
name: "analyze_problem" description: "分析API问题并生成解决方案" parameters:
- name: "problem_id" type: "string" required: true description: "问题ID"
-
name: "handle_fix_request" description: "处理修复请求" parameters:
- name: "message" type: "string" required: true description: "完整问题信息"
-
name: "mark_fix_ready" description: "标记修复为就绪" parameters:
- name: "problem_id" type: "string" required: true description: "问题ID"
- name: "fix_code" type: "string" required: true description: "修复代码"
- name: "explanation" type: "string" required: true description: "修复说明"
-
name: "mark_fix_complete" description: "标记修复完成" parameters:
- name: "problem_id" type: "string" required: true description: "问题ID"
状态查询命令
-
name: "get_problem_status" description: "获取问题状态" parameters:
- name: "problem_id" type: "string" required: true description: "问题ID"
-
name: "list_pending_fixes" description: "列出待修复的问题"
环境变量(使用占位符或示例值,不包含实际密钥)
environment:
AI模型配置(占位符或提示)
AI_PROVIDER: "openai" AI_MODEL: "gpt-4" AI_TEMPERATURE: 0.7 AI_MAX_TOKENS: 2000 AI_TIMEOUT: 30
API规范配置
API_STRICT_MODE: true ENFORCE_VALIDATION: true AUTO_GENERATE_TESTS: true
代码生成配置
CODE_LANGUAGE: "javascript" CODE_FRAMEWORK: "express" CODE_COMMENT_STYLE: "detailed"
时间格式
TIMEZONE: "Asia/Shanghai" DATETIME_FORMAT: "%Y-%m-%d %H:%M:%S"
权限配置
permissions:
可以访问的资源
allowed_resources: - "problem:read" - "fix:read" - "fix:write" - "timeline:read"
安全配置
security: validate_fixes: true require_approval: true max_fix_attempts: 5
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.