claude

diag

生产诊断 - 只读拉日志、AI 解析堆栈、关联代码、给修复建议,严禁写操作

1 on GitHubby Haiqingv0.4.3Apache-2.0updated 2 days agoops
/

Plugin diag from marketplace devflow in zhouhao4221/devflow-claude. Commands read from the repo's manifest — yesterday.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (1)

  • stack-analyzer

    生产报错堆栈识别助手。仅在执行 /diag:diagnose 命令期间触发。 根据日志片段识别多语言栈的异常格式(Java / Node / Python / Go / Ruby / PHP 等), 抽取异常类型、错误消息、堆栈帧(文件/行号/方法),为下一步本地代码关联提供结构化输入。

Slash commands (4)

  • /diag:audit

    查询 Diag 审计日志 - 按主机/服务/时间过滤

  • /diag:diag

    生产诊断插件 - 列出 init / diagnose / audit 子命令

  • /diag:diagnose

    生产报错定位 - SSH 拉日志 → AI 解析堆栈 → 本地代码关联 → 修复建议

  • /diag:init

    初始化 Diag 插件 - 创建 ~/.claude-diag/ 配置目录 + 服务清单模板 + 依赖检查

Subagents (1)

  • root-cause

    生产报错根因分析(只读):按调用方内联的异常信息、堆栈帧、日志片段与本地代码定位表,判断根本原因并给出具体到文件/函数的修复建议,不执行命令、不改文件;供 /diag:diagnose 把根因判断交给 Fable,失败时调用方用当前模型接手

Hooks (6)

  • UserPromptSubmit

    "${CLAUDE_PLUGIN_ROOT}/hooks/sensitive-input-guard.sh"

  • PreToolUse

    "${CLAUDE_PLUGIN_ROOT}/hooks/validate-hooks.sh"

  • PreToolUse

    "${CLAUDE_PLUGIN_ROOT}/hooks/host-whitelist.sh"

  • PreToolUse

    "${CLAUDE_PLUGIN_ROOT}/hooks/command-whitelist.sh"

  • PreToolUse

    "${CLAUDE_PLUGIN_ROOT}/hooks/write-guard.sh"

  • PostToolUse

    "${CLAUDE_PLUGIN_ROOT}/hooks/audit-log.sh"

View source on GitHub

More from zhouhao4221/devflow-claude

All 4 plugins →

rd

claude

rd(R&D 研发)工作流:需求分析→评审→开发→测试→归档 + 分支/PR/issue/版本;原 req 插件更名而来

10 skills · 34 commands · 7 agents · hooks

1

pm

claude

项目管理助手 - 从 PRD、需求文档和 Git 记录生成汇报、统计、方案等项目管理内容

1 skill · 13 commands

1

api

claude

前端 API 对接工具 - Swagger 解析、字段映射、代码生成

1 skill · 7 commands

1

Similar plugins

airtable

claudecodex

Airtable is the database and operations layer for your agents — whether running product, marketing, sales, ops, HR, or a custom business app. It combines structured data with multiplayer visual surfaces (grid, kanban, calendar, gallery, timeline) humans and agents share — plus sync integrations to Jira, Salesforce, Zendesk, Google Drive, Databricks, and the rest of your stack, all backed by enterprise governance. This plugin makes Claude fluent in Airtable: creating bases and schema, working with records, and sharing UI for collaboration. Bundles the official Airtable MCP server.

8 skills · 1 MCP server

anthropics/claude-plugins-official 47,076

Fund administration and finance ops: GL reconciliation, break tracing, accruals, roll-forwards, variance commentary, NAV tie-out

6 skills

anthropics/financial-services 41,259

airtable

claudecodex

Airtable is the database and operations layer for your agents — whether running product, marketing, sales, ops, HR, or a custom business app. It combines structured data with multiplayer visual surfaces (grid, kanban, calendar, gallery, timeline) humans and agents share — plus sync integrations to Jira, Salesforce, Zendesk, Google Drive, and Databricks. Makes Claude fluent in Airtable: bases and schema, records, and collaboration UI. Bundles the official Airtable MCP server.

8 skills · 1 MCP server

anthropics/knowledge-work-plugins 35,601

Internal BizOps domain. v2.8.0 ships 7 skills: orchestrator + process-mapper (BPMN/bottleneck/cycle-time, Lean+TOC) + vendor-management (scorecard+SLA+3rd-party risk, NIST SP 800-161/ISO 27036) + capacity-planner (Erlang-C queueing math for ops teams, NOT engineering) + internal-comms (ADKAR+Kotter 8-step, NOT marketing) + knowledge-ops (SOP+runbook+KB hygiene with 5W2H, context: fork) + procurement-optimizer (UNSPSC spend categorization + supplier consolidation). Orchestrator uses context: fork to route inquiries via Matt Pocock grill discipline (one question per turn, recommended answer, canon-cited challenge). Every SKILL.md ships a Forcing-question library section. 18 stdlib Python tools, 24+ reference docs. Distinct from business-growth (external sales) and c-level-advisor (strategic).

7 skills · 8 commands · 1 agent

alirezarezvani/claude-skills 29,725

Sets up the clinic, onboards students, runs structured intake, tracks deadlines with malpractice-aware caution, and hands off cases at semester end — built within ABA Formal Op. 512.

16 skills · 5 MCP servers

anthropics/claude-for-legal 9,991

Maintain diag?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins4 plugins