Community编程与开发github.com

codacy-automation

通过Rube MCP(Composio)自动化Codacy任务。始终优先搜索工具以获取当前模式。

codacy-automation 是什么?

该技能通过Rube MCP和Composio的Codacy工具包自动化Codacy操作。它允许AI代理(如Claude Code、Cursor或Codex)直接与Codacy交互,执行代码质量检查、管理设置等工作。主要优势在于无需硬编码工具模式或参数——代理始终通过`RUBE_SEARCH_TOOLS`发现当前工具,确保与Codacy API的最新兼容性。支持的平台包括任何兼容MCP的AI客户端,仅需将`https://rube.app/mcp`添加为MCP服务器即可。设置过程包括验证Rube MCP可用性、通过`RUBE_MANAGE_CONNECTIONS`管理Codacy连接,以及使用`RUBE_MULTI_EXECUTE_TOOL`按发现模式执行工具。关键工作流模式遵循三步流程:发现工具、检查连接、执行操作,并包含已知陷阱的指导,如会话复用和分页处理。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComposioHQ/awesome-claude-skills/tree/master/composio-skills/codacy-automation

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

通过Rube MCP实现Codacy自动化

通过Composio的Codacy工具包,借助Rube MCP自动化Codacy操作。

工具包文档:composio.dev/toolkits/codacy

前提条件

  • 必须连接Rube MCP(RUBE_SEARCH_TOOLS可用)
  • 通过RUBE_MANAGE_CONNECTIONS激活Codacy连接,工具包为codacy
  • 始终先调用RUBE_SEARCH_TOOLS以获取当前工具模式

设置

获取Rube MCP:在客户端配置中将https://rube.app/mcp添加为MCP服务器。无需API密钥——只需添加端点即可工作。

  1. 通过确认RUBE_SEARCH_TOOLS响应来验证Rube MCP是否可用
  2. 使用工具包codacy调用RUBE_MANAGE_CONNECTIONS
  3. 如果连接不是ACTIVE状态,请按照返回的认证链接完成设置
  4. 在运行任何工作流之前,确认连接状态显示为ACTIVE

工具发现

在执行工作流之前始终发现可用工具:

RUBE_SEARCH_TOOLS
queries: [{use_case: "Codacy operations", known_fields: ""}]
session: {generate_id: true}

这将返回可用的工具slug、输入模式、推荐执行计划和已知陷阱。

核心工作流模式

步骤1:发现可用工具

RUBE_SEARCH_TOOLS
queries: [{use_case: "your specific Codacy task"}]
session: {id: "existing_session_id"}

步骤2:检查连接

RUBE_MANAGE_CONNECTIONS
toolkits: ["codacy"]
session_id: "your_session_id"

步骤3:执行工具

RUBE_MULTI_EXECUTE_TOOL
tools: [{
  tool_slug: "TOOL_SLUG_FROM_SEARCH",
  arguments: {/* 符合搜索结果的参数 */}
}]
memory: {}
session_id: "your_session_id"

已知陷阱

  • 始终先搜索:工具模式会变化。切勿在未调用RUBE_SEARCH_TOOLS的情况下硬编码工具slug或参数
  • 检查连接:在执行工具前,确认RUBE_MANAGE_CONNECTIONS显示ACTIVE状态
  • 模式合规:使用搜索结果中的精确字段名称和类型
  • Memory参数:在RUBE_MULTI_EXECUTE_TOOL调用中始终包含memory,即使为空({})
  • 会话复用:在同一工作流中重用会话ID。为新工作流生成新的ID
  • 分页:检查响应中的分页令牌,并持续获取直到完成

快速参考

操作方法
查找工具使用Codacy特定用例的RUBE_SEARCH_TOOLS
连接使用工具包codacy的RUBE_MANAGE_CONNECTIONS
执行使用发现工具slug的RUBE_MULTI_EXECUTE_TOOL
批量操作使用run_composio_tool()的RUBE_REMOTE_WORKBENCH
完整模式对带有schemaRef的工具使用RUBE_GET_TOOL_SCHEMAS

由Composio提供支持

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ably-automation

Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.

abstract-automation

Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.

abuselpdb-automation

Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.

abyssale-automation

Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.

accelo-automation

Automate Accelo tasks via Rube MCP (Composio). Always search tools first for current schemas.

accredible-certificates-automation

Automate Accredible Certificates tasks via Rube MCP (Composio). Always search tools first for current schemas.

acculynx-automation

Automate Acculynx tasks via Rube MCP (Composio). Always search tools first for current schemas.

active-campaign-automation

Automate ActiveCampaign tasks via Rube MCP (Composio). Always search tools first for current schemas.

addresszen-automation

Automate Addresszen tasks via Rube MCP (Composio). Always search tools first for current schemas.

adobe-automation

Automate Adobe tasks via Rube MCP (Composio). Always search tools first for current schemas.

adrapid-automation

Automate Adrapid tasks via Rube MCP (Composio). Always search tools first for current schemas.

adyntel-automation

Automate Adyntel tasks via Rube MCP (Composio). Always search tools first for current schemas.

aeroleads-automation

Automate Aeroleads tasks via Rube MCP (Composio). Always search tools first for current schemas.

aero-workflow-automation

Automate Aero Workflow tasks via Rube MCP (Composio). Always search tools first for current schemas.

affinda-automation

Automate Affinda tasks via Rube MCP (Composio). Always search tools first for current schemas.

affinity-automation

Automate Affinity tasks via Rube MCP (Composio). Always search tools first for current schemas.

agencyzoom-automation

Automate Agencyzoom tasks via Rube MCP (Composio). Always search tools first for current schemas.

agent-mail-automation

Automate Agent Mail tasks via Rube MCP (Composio). Always search tools first for current schemas.

agentql-automation

Automate Agentql tasks via Rube MCP (Composio). Always search tools first for current schemas.

agenty-automation

Automate Agenty tasks via Rube MCP (Composio). Always search tools first for current schemas.

相关技能