# Kaos Pr Summary

> Generate a structured PR summary for KAOS platform changes with PRD alignment and knowledge capture. Use when creating or reviewing pull requests.

- **Type:** Skill
- **Install:** `agentstack add skill-kaos-io-agent-skills-kaos-pr-summary`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [kaos-io](https://agentstack.voostack.com/s/kaos-io)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [kaos-io](https://github.com/kaos-io)
- **Source:** https://github.com/kaos-io/agent-skills/tree/main/plugins/kaos-prd-skills/skills/kaos-pr-summary

## Install

```sh
agentstack add skill-kaos-io-agent-skills-kaos-pr-summary
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# KAOS PR Summary

Generate a structured pull request summary that captures what changed, why, and what knowledge was created or consumed.

## Process

### Step 1: Gather Context

Identify:
- What files changed (read the diff or `git diff`)
- What resource types are affected (KubeOrg, KubePool, KubeProject, KubeApp)
- Whether there is an active PRD (check branch name for `prd-[N]` or commit messages for `Refs #N`)

If resource types are affected, fetch the schema:
```
kaos:schema(resource_type="[affected resource]")
```

If an active PRD exists, read the PRD file to map changes to acceptance criteria.

### Step 2: Generate Summary

Produce the following structured PR summary:

```markdown
## Summary
[2-3 bullet points. What was done and why. Lead with the business value.]

## Resource Impact

| Resource | Change Type | Fields Affected |
|---|---|---|
| [KubeOrg/KubePool/etc.] | [schema/composition/operator/mcp] | [field names] |

## PRD Alignment
[If PRD referenced: which ACs this advances, which decisions it implements]
[If no PRD: "No PRD linked — standalone change"]

## Decisions Made During Implementation
[Bullet list of any architectural choices made that are NOT already in a PRD.
These are candidates for `/kaos-prd-update-decisions` if a PRD exists.]

## Knowledge Captured
[What did we learn during this work that future agents should know?
Reference any patterns, gotchas, or conventions discovered.]

## Test Plan
[How to verify this change works. Include MCP tool calls if applicable:]
- [ ] `kaos:list(resource_type="[affected resource]")` shows expected state
- [ ] `kaos:validate(resource_type="[resource]", field="[field]", value="[value]")` passes
```

### Step 3: Knowledge Flywheel Check

Before finishing, ask:

> Are there any decisions or patterns from this work that should be captured in the PRD?
> If yes, suggest running `/kaos-prd-update-decisions [prd-id]`.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [kaos-io](https://github.com/kaos-io)
- **Source:** [kaos-io/agent-skills](https://github.com/kaos-io/agent-skills)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-kaos-io-agent-skills-kaos-pr-summary
- Seller: https://agentstack.voostack.com/s/kaos-io
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
