Skip to content
Agentmart
Submit a tool

explain-flow

Analyze and explain code flow in openstack-k8s-operators operators with automated parsing and visual diagrams

Skill by openstack-k8s-operators

IndexedMIT★ 9
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/openstack-k8s-operators-explain-flow

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Analyze and explain code flow in openstack-k8s-operators operators with automated parsing and visual diagrams

Use cases: devops

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/explain-flow

What's inside

Skill name
explain-flow
Description
Analyze and explain code flow in openstack-k8s-operators operators with automated parsing and visual diagrams
License
MIT
Instructions
100 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • allowed-tools: must be a space-separated string

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Explain Code Flow

This skill provides comprehensive code flow analysis for openstack-k8s-operators operators using automated parsing and visual representation.

## Automated Analysis

When explaining code flow, I will:

1. **Parse Operator Structure**: Automatically discover controllers, reconcilers, and webhooks
2. **Extract Flow Patterns**: Identify reconciliation loops, error handling, and state transitions
3. **Generate Diagrams**: Create visual representations of the code flow
4. **Document Decision Trees**: Map conditional logic and branching paths
5. **Trace Resource Lifecycle**: Show how CRDs move through different states

## Code Analysis Features

The skill analyzes:

- **Controllers**: Reconcile functions and SetupWithManager
- **Flow Steps**: Resource operations (Get, Create, Update, Delete)
- **Error Handling**: Error patterns and retry logic
- **Return Paths**: Different reconciliation outcomes
- **Custom Resources**: CRD definitions and schemas
- **Webhooks**: Validation and defaulting logic
- **Main Function**: Operator initialization and setup

## Analysis Types

### 1. **Reconciler Flow Analysis**

```bash
# Focus on reconcile functions
grep -r "func.*Reconcile" --include="*.go" .
```

### 2. **Resource Lifecycle Mapping**

- Resource creation and initialization
- Status condition updates
- Finalizer processing
- Deletion and cleanup

### 3. **Decision Tree Visualization**

- Conditional logic flow
- Error path handling
- Requeue strategies
- State transitions

### 4. **Interaction Patterns**

- Controller to controller communication
- Webhook integration points
- External API calls
- Event generation

## Visual Output

I will generate:

1. **Flow Diagrams**: Step-by-step execution flow
2. **State Charts**: Resource lifecycle states
3. **Sequence Diagrams**: Inter-component interactions
4. **Call Graphs**: Function relationship maps
5. **Error Flow Charts**: Exception handling paths

## Common Patterns Identified

### Controller Patterns

- `func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request)`
- `client.Get()`, `client.Create()`, `client.Update()`, `client.Delete()`
- `ctrl.Result{RequeueAfter: time.Duration}`
- Status condition management

### Error Handling Patterns

- `if err != nil` blocks
- `return ctrl.Result{}, err`
- Requeue strategies
- Log error patterns

### Resource Patterns

- Finalizer addition/removal
- Owner reference management
- Condition status updates
- Resource validation

## Usage

Invoke `/explain-flow` with:

1. **File/Directory Path**: Target operator code to analyze
2. **Specific Function**: Focus on particular reconciler
3. **Flow Type**: Choose analysis depth (overview, detailed, patterns)

The skill will automatically parse the code, extract flow patterns, and provide visual representations with actionable insights.

From openstack-k8s-operators/devskills, MIT.

More from openstack-k8s-operators/devskills

Signals

Stars
9
Forks
23
Open issues
0
Last commit (this folder)
May 4, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from openstack-k8s-operators

Cite this page

explain-flow skill. Agent Mart. https://agentmart.dev/skills/openstack-k8s-operators-explain-flow (last updated 2026-10-24)