Skip to content

Commit c514845

Browse files
committed
docs: add agent skills installation section to README
1 parent 5bf0f62 commit c514845

2 files changed

Lines changed: 52 additions & 0 deletions

File tree

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,32 @@ flashduty incident list --json | jq '.[].title'
242242

243243
---
244244

245+
## Agent Skills
246+
247+
Flashduty CLI ships with 9 [Claude Code agent skills](https://docs.anthropic.com/en/docs/claude-code) that teach AI agents how to operate Flashduty through the CLI. Install them globally to enable AI-assisted incident management:
248+
249+
```bash
250+
npx skills add flashcatcloud/flashduty-cli -y -g
251+
```
252+
253+
After installation, Claude Code will automatically discover and invoke the appropriate skill based on your requests.
254+
255+
### Available Skills
256+
257+
| Skill | Scope |
258+
|-------|-------|
259+
| `flashduty-shared` | Foundation: authentication, 3-layer model, global flags, safety rules |
260+
| `flashduty-incident` | Incident lifecycle: triage, investigate, resolve, merge, snooze, reassign |
261+
| `flashduty-alert` | Alert and alert event investigation: drill down, trace, merge |
262+
| `flashduty-change` | Change event tracking and deployment frequency trends |
263+
| `flashduty-oncall` | On-call schedule queries: who is on call, shift details |
264+
| `flashduty-channel` | Channel and escalation rule lookups |
265+
| `flashduty-insight` | Analytics: MTTA/MTTR, noise reduction, notification trends |
266+
| `flashduty-admin` | Team/member lookups and audit log search |
267+
| `flashduty-template` | Notification template validation and preview |
268+
269+
---
270+
245271
## Development
246272

247273
### Prerequisites

README_zh.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,32 @@ flashduty incident list --json | jq '.[].title'
242242

243243
---
244244

245+
## Agent Skills(AI 代理技能)
246+
247+
Flashduty CLI 内置 9 个 [Claude Code 代理技能](https://docs.anthropic.com/en/docs/claude-code),让 AI 代理能够通过 CLI 操作 Flashduty 平台。全局安装技能:
248+
249+
```bash
250+
npx skills add flashcatcloud/flashduty-cli -y -g
251+
```
252+
253+
安装后,Claude Code 会根据你的请求自动发现并调用对应的技能。
254+
255+
### 可用技能
256+
257+
| 技能 | 范围 |
258+
|------|------|
259+
| `flashduty-shared` | 基础:认证、三层降噪模型、全局参数、安全规则 |
260+
| `flashduty-incident` | 故障生命周期:分诊、调查、解决、合并、暂停、转派 |
261+
| `flashduty-alert` | 告警与告警事件调查:下钻、追踪、合并 |
262+
| `flashduty-change` | 变更事件追踪与部署频率趋势 |
263+
| `flashduty-oncall` | 值班查询:当前值班人、排班详情 |
264+
| `flashduty-channel` | 协作空间与升级规则查询 |
265+
| `flashduty-insight` | 分析:MTTA/MTTR、降噪率、通知趋势 |
266+
| `flashduty-admin` | 团队/成员查询与审计日志搜索 |
267+
| `flashduty-template` | 通知模板验证与预览 |
268+
269+
---
270+
245271
## 开发
246272

247273
### 前置条件

0 commit comments

Comments
 (0)