Skip to content
Agentmart
Submit a tool

debug-operator

Debug and develop openstack-k8s-operators operators with comprehensive workflows including make targets, tests, and deployments

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-debug-operator

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

Debug and develop openstack-k8s-operators operators with comprehensive workflows including make targets, tests, and deployments

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/debug-operator

What's inside

Skill name
debug-operator
Description
Debug and develop openstack-k8s-operators operators with comprehensive workflows including make targets, tests, and deployments
License
MIT
Instructions
158 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)

# Debug openstack-k8s-operators Operator

This skill provides comprehensive debugging and development workflows for openstack-k8s-operators operators, following openstack-k8s-operators best practices.

## Development Workflow

When debugging or developing an operator, I will:

1. **Development Checks**: Run full development workflow with make targets
2. **Code Quality**: Pre-commit hooks, linting, and syntax validation
3. **Build Verification**: Test compilation and manifest generation
4. **Test Execution**: Run complete test suites or focused tests
5. **Deployment Analysis**: Check running operator pods and resources
6. **Runtime Debugging**: Analyze logs, events, and runtime issues

## Development Commands

### Complete Workflow

- Pre-commit checks, syntax and style validation
- Run `make manifests && make generate`
- Verify operator compilation (`make build`)

### Testing

- Execute `make test`
- Run specific tests with Ginkgo focus
- Generate test coverage reports

### Quality Assurance

- Code style and quality checks (`make golangci`)
- Validate dependencies with `go mod tidy`
- Validate Custom Resource Definitions

## Runtime Debugging

For deployed operators, I will also:

1. **Environment Check**: Verify KUBECONFIG and cluster access
2. **Operator Discovery**: Find operator pods in standard namespaces
3. **Status Analysis**: Check deployment, pod, and replica set status
4. **Log Analysis**: Parse logs for errors, warnings, and patterns
5. **Resource Inspection**: Examine custom resources and their conditions
6. **Event Review**: Check Kubernetes events for issues
7. **RBAC Verification**: Ensure proper permissions are in place

When debugging deployed operators:

```bash
# Debug specific operator
/debug-operator glance-operator openstack-operators

# General cluster debugging
/debug-operator cluster-check
```

## Automated Analysis

I will automatically:

- Detect if we're in an operator development directory
- Run appropriate development workflow based on context
- Search for operators in standard namespaces (openstack, openstack-operators, openstack-k8s-operators)
- Identify error patterns in logs using regex matching
- Check custom resource status and conditions
- Review recent events for warnings and errors
- Verify RBAC configuration

## Usage Examples

### Development Mode

When in an operator directory (with Makefile and go.mod):

```bash
# Run complete development workflow
/debug-operator

# Focus on specific test
/debug-operator focus-test "Checks the Topology"

# Run only tests
/debug-operator test-only
```

## Workflow Detection

I will automatically:

1. **Detect Context**: Check if we're in development or runtime mode
2. **Run Appropriate Workflow**: Development checks vs. runtime debugging
3. **Provide Specific Guidance**: Targeted recommendations based on findings
4. **Create Action Items**: Use TodoWrite for tracking fixes and improvements

## Integration with openstack-k8s-operators Ecosystem

The skill integrates with:

- **openstack-k8s-operators** development practices
- **lib-common** patterns and conventions
- **Ginkgo** testing framework workflows
- **Controller-runtime** debugging patterns

## Log Analysis

This skill includes advanced log pattern matching. When given a log file or oc output, analyze it for:

### Error Patterns

- **API Connectivity**: Connection refused, dial failures
- **RBAC Issues**: Permission denied, forbidden access
- **Resource Problems**: Not found, validation failures
- **Runtime Errors**: Panics, nil pointer exceptions
- **Image Issues**: Pull failures, registry access
- **Webhook Failures**: Admission controller errors

### Performance Patterns

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 6, 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

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