Skip to content

Commit f646fbc

Browse files
committed
fix: align skill id guidance
1 parent 3babdda commit f646fbc

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

internal/cli/incident.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ func newIncidentCreateCmd() *cobra.Command {
361361
cmd.Flags().Int64Var(&channelID, "channel", 0, "Channel ID")
362362
registerEnumFlag(cmd, "severity", severityEnum...)
363363
cmd.Flags().StringVar(&description, "description", "", "Description (max 6144 chars)")
364-
cmd.Flags().IntSliceVar(&assign, "assign", nil, "Person IDs to assign (use 'flashduty member list' to look up IDs)")
364+
cmd.Flags().IntSliceVar(&assign, "assign", nil, "Member IDs to assign directly (use 'flashduty member list' to look up member IDs)")
365365

366366
return cmd
367367
}

skills/flashduty/reference/incident.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ If you fetch the pieces by hand instead, run **all six** — they are cheap read
8282

8383
```bash
8484
ID=<incident-id> # 24-char id from `incident list`
85-
fduty incident detail "$ID" --output-format toon # ① 详情 + AI summary + alert counts + channel_id
86-
fduty incident alerts "$ID" --output-format toon # ② contributing alerts (detail's embedded alerts are empty here)
87-
fduty incident timeline "$ID" --output-format toon # ④ timeline (or `incident feed "$ID"` for the paginated view)
88-
fduty incident similar "$ID" --limit 5 --output-format toon # ⑤ similar past incidents (channel-backed; see Gotchas)
89-
fduty incident post-mortem-list --channel-ids <channel-id> --output-format toon # ⑥ post-mortems for this incident's channel
90-
fduty change list --since 24h --output-format toon # ③ correlated changes — by shared labels + time; see reference/change.md
85+
fduty incident detail "$ID" # ① 详情 + AI summary + alert counts + channel_id
86+
fduty incident alerts "$ID" # ② contributing alerts (detail's embedded alerts are empty here)
87+
fduty incident timeline "$ID" # ④ timeline (or `incident feed "$ID"` for the paginated view)
88+
fduty incident similar "$ID" --limit 5 # ⑤ similar past incidents (channel-backed; see Gotchas)
89+
fduty incident post-mortem-list --channel-ids <channel-id> # ⑥ post-mortems for this incident's channel
90+
fduty change list --since 24h # ③ correlated changes — by shared labels + time; see reference/change.md
9191
```
9292

9393
> **Never report a result you didn't fetch.** Do not write "返回空" / "无" / a count for any aspect whose command is **absent from your tool-call history this turn** — write `未查询 — 可运行 <command>` instead. "Empty" is a claim only a command you actually ran can make; inventing it is the worst failure mode of a fault summary.

skills/flashduty/reference/team.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Prereq: `SKILL.md` read. **SKILL.md + this card = full competence on teams — n
66

77
"团队 / 成员管理 / 创建团队 / 查找团队 / HR同步 / team ID / person ID归属" → **team**. Key IDs:
88
- **`team_id` (int64)** — from `fduty team list` or `team get --name`.
9-
- **`person_id` (int64)** — look up via `fduty member list --query <name-or-email>` (member card, not here).
9+
- **`--person-ids` inputs are member IDs** — look up via `fduty member list --query <name-or-email>` (member card, not here). The API field is named `person_ids`, but team membership expects member IDs.
1010

1111
NOT this card: on-call schedules (oncall), incidents (incident), channels (channel).
1212

@@ -28,7 +28,7 @@ NOT this card: on-call schedules (oncall), incidents (incident), channels (chann
2828
```bash
2929
# 1. Check name doesn't already exist
3030
fduty team list --name "SRE Platform" --output-format toon
31-
# 2. Create with initial members (person IDs from member list)
31+
# 2. Create with initial members (member IDs from member list)
3232
fduty team create --name "SRE Platform" --description "Site Reliability" \
3333
--person-ids 1001,1002,1003
3434
# 3. Verify — note the returned team_id

0 commit comments

Comments
 (0)