Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:46:16 +08:00
commit c556a2eace
30 changed files with 8957 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
---
description: Analyze Kubernetes resource lifecycle in Prow job artifacts
argument-hint: prowjob-url resource-name
---
## Name
/prow-job:analyze-resource
## Synopsis
Generate a report showing the lifecycle of a single resource:
```
/prow-job:analyze-resource <prowjob-url> [namespace:][kind/][resource-name]
```
Generate a report showing multiple resource lifecycles:
```
/prow-job:analyze-resource <prowjob-url> [namespace:][kind/][resource-name],[namespace:][kind/][resource-name],...
```
## Description
Analyze the lifecycle of Kubernetes resource(s) in a Prow CI job by invoking the "Prow Job Analyze Resource" skill.
## Implementation
Pass the user's request to the skill, which will:
- Download Prow job artifacts from Google Cloud Storage
- Parse audit logs and pod logs
- Generate an interactive HTML report with timeline visualization
The skill handles all the implementation details including URL parsing, artifact downloading, log parsing, and HTML report generation.