Token导航 LogoToken导航TokenDH.com
研究检索权限需确认github未标认证来源可访问许可证需确认审计通过

triage故障分诊

Agent Skill

triage 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,378

周安装

58

GitHub Stars

15,875

下载量

483
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:triage(故障分诊)
来源仓库:https://github.com/everyinc/compound-engineering-plugin
仓库路径:skills/triage
安装命令:
npx skills add https://github.com/everyinc/compound-engineering-plugin --skill triage
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/everyinc/compound-engineering-plugin --skill triage

简介

triage 用于分类处理待办项,按严重程度排序并决定是否加入 CLI 任务系统。

  • 它仅做决策不直接编码,聚焦安全与性能等关键问题跟踪。
  • 适用于安全审计结果、性能分析发现等需集中处理的场景。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写等操作。
  • triage 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

  • First set the /model to Haiku
  • Then read all pending todos in the todos/ directory

Present all findings, decisions, or issues here one by one for triage. The goal is to go through each item and decide whether to add it to the CLI todo system.

IMPORTANT: DO NOT CODE ANYTHING DURING TRIAGE!

This command is for:

  • Triaging code review findings
  • Processing security audit results
  • Reviewing performance analysis
  • Handling any other categorized findings that need tracking

Workflow

Step 1: Present Each Finding

For each finding, present in this format:

---
Issue #X: [Brief Title]

Severity: 🔴 P1 (CRITICAL) / 🟡 P2 (IMPORTANT) / 🔵 P3 (NICE-TO-HAVE)

Category: [Security/Performance/Architecture/Bug/Feature/etc.]

Description:
[Detailed explanation of the issue or improvement]

Location: [file_path:line_number]

Problem Scenario:
[Step by step what's wrong or could happen]

Proposed Solution:
[How to fix it]

Estimated Effort: [Small (< 2 hours) / Medium (2-8 hours) / Large (> 8 hours)]

---
Do you want to add this to the todo list?
1. yes - create todo file
2. next - skip this item
3. custom - modify before creating

Step 2: Handle User Decision

When user says "yes":

  1. Update existing todo file (if it exists) or Create new filename: If todo already exists (from code review): If creating new todo: {next_id}-ready-{priority}-{brief-description}.md Priority mapping: Example: 042-ready-p1-transaction-boundaries.md

- Rename file from {id}-pending-{priority}-{desc}.md{id}-ready-{priority}-{desc}.md - Update YAML frontmatter: status: pendingstatus: ready - Keep issue_id, priority, and description unchanged - 🔴 P1 (CRITICAL) → p1 - 🟡 P2 (IMPORTANT) → p2 - 🔵 P3 (NICE-TO-HAVE) → p3

  1. Update YAML frontmatter: --- status: ready # IMPORTANT: Change from "pending" to "ready" priority: p1 # or p2, p3 based on severity issue_id: "042" tags: [category, relevant-tags] dependencies: [] ---
  2. Populate or update the file: # [Issue Title] ## Problem Statement [Description from finding] ## Findings - [Key discoveries] - Location: [file_path:line_number] - [Scenario details] ## Proposed Solutions ### Option 1: [Primary solution] - **Pros**: [Benefits] - **Cons**: [Drawbacks if any] - **Effort**: [Small/Medium/Large] - **Risk**: [Low/Medium/High] ## Recommended Action [Filled during triage - specific action plan] ## Technical Details - **Affected Files**: [List files] - **Related Components**: [Components affected] - **Database Changes**: [Yes/No - describe if yes] ## Resources - Original finding: [Source of this issue] - Related issues: [If any] ## Acceptance Criteria - [] [Specific success criteria] - [] Tests pass - [] Code reviewed ## Work Log ### {date} - Approved for Work **By:** Claude Triage System **Actions:** - Issue approved during triage session - Status changed from pending → ready - Ready to be picked up and worked on **Learnings:** - [Context and insights] ## Notes Source: Triage session on {date}
  3. Confirm approval: "✅ Approved: {new_filename} (Issue #{issue_id}) - Status: ready → Ready to work on"

When user says "next":

  • Delete the todo file - Remove it from todos/ directory since it's not relevant
  • Skip to the next item
  • Track skipped items for summary

When user says "custom":

  • Ask what to modify (priority, description, details)
  • Update the information
  • Present revised version
  • Ask again: yes/next/custom

Step 3: Continue Until All Processed

  • Process all items one by one
  • Track using TodoWrite for visibility
  • Don't wait for approval between items - keep moving

Step 4: Final Summary

After all items processed:

## Triage Complete

**Total Items:** [X] **Todos Approved (ready):** [Y] **Skipped:** [Z]

### Approved Todos (Ready for Work):

- `042-ready-p1-transaction-boundaries.md` - Transaction boundary issue
- `043-ready-p2-cache-optimization.md` - Cache performance improvement ...

### Skipped Items (Deleted):

- Item #5: [reason] - Removed from todos/
- Item #12: [reason] - Removed from todos/

### Summary of Changes Made:

During triage, the following status updates occurred:

- **Pending → Ready:** Filenames and frontmatter updated to reflect approved status
- **Deleted:** Todo files for skipped findings removed from todos/ directory
- Each approved file now has `status: ready` in YAML frontmatter

### Next Steps:

1. View approved todos ready for work:

ls todos/*-ready-*.md

  1. Start work on approved items: /resolve-todo-parallel # Work on multiple approved items efficiently
  2. Or pick individual items to work on
  3. As you work, update todo status:

- Ready → In Progress (in your local context as you work) - In Progress → Complete (rename file: ready → complete, update frontmatter)

## Example Response Format

Issue #5: Missing Transaction Boundaries for Multi-Step Operations

Severity: 🔴 P1 (CRITICAL)

Category: Data Integrity / Security

Description: The google_oauth2_connected callback in GoogleOauthCallbacks concern performs multiple database operations without transaction protection. If any step fails midway, the database is left in an inconsistent state.

Location: app/controllers/concerns/google_oauth_callbacks.rb:13-50

Problem Scenario:

  1. User.update succeeds (email changed)
  2. Account.save! fails (validation error)
  3. Result: User has changed email but no associated Account
  4. Next login attempt fails completely

Operations Without Transaction:

  • User confirmation (line 13)
  • Waitlist removal (line 14)
  • User profile update (line 21-23)
  • Account creation (line 28-37)
  • Avatar attachment (line 39-45)
  • Journey creation (line 47)

Proposed Solution: Wrap all operations in ApplicationRecord.transaction do... end block

Estimated Effort: Small (30 minutes)


Do you want to add this to the todo list?

  1. yes - create todo file
  2. next - skip this item
  3. custom - modify before creating
## Important Implementation Details

### Status Transitions During Triage

**When "yes" is selected:**
1. Rename file: `{id}-pending-{priority}-{desc}.md` → `{id}-ready-{priority}-{desc}.md`
2. Update YAML frontmatter: `status: pending` → `status: ready`
3. Update Work Log with triage approval entry
4. Confirm: "✅ Approved: `{filename}` (Issue #{issue_id}) - Status: **ready**"

**When "next" is selected:**
1. Delete the todo file from todos/ directory
2. Skip to next item
3. No file remains in the system

### Progress Tracking

Every time you present a todo as a header, include:
- **Progress:** X/Y completed (e.g., "3/10 completed")
- **Estimated time remaining:** Based on how quickly you're progressing
- **Pacing:** Monitor time per finding and adjust estimate accordingly

Example:

Progress: 3/10 completed | Estimated time: ~2 minutes remaining

### Do Not Code During Triage

- ✅ Present findings
- ✅ Make yes/next/custom decisions
- ✅ Update todo files (rename, frontmatter, work log)
- ❌ Do NOT implement fixes or write code
- ❌ Do NOT add detailed implementation details
- ❌ That's for /resolve-todo-parallel phase

When done give these options

What would you like to do next?

1. run /resolve-todo-parallel to resolve the todos
2. commit the todos
3. nothing, go chill

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.03%
按下载量换算169

Claude

27.97%
按下载量换算135

Cursor

20.45%
按下载量换算99

Gemini CLI

10.25%
按下载量换算50

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills