Skip to content
Prompt

documentdb-kubernetes-operator — Copilot Instructions

by documentdb

AI Summary

Copilot instructions for managing DocumentDB clusters on Kubernetes, providing developers with guidelines for code reviews, development standards, and operator patterns specific to this Go-based project.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "documentdb-kubernetes-operator — Copilot Instructions" prompt rules to my project.
Repository: https://github.com/documentdb/documentdb-kubernetes-operator

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

Run and manage DocumentDB clusters on Kubernetes

Project Overview

This is the DocumentDB Kubernetes Operator project, a Go-based Kubernetes operator built with Kubebuilder/controller-runtime for managing DocumentDB (MongoDB-compatible) deployments on Kubernetes.

Copilot Instructions for DocumentDB Kubernetes Operator

> Note: For comprehensive AI agent briefing including architecture, tech stack, build commands, and project boundaries, see AGENTS.md in the repository root.

Using the Code Review Agent

For thorough code reviews, leverage the dedicated code review agent: ` @code-review-agent Review this pull request ` The code review agent will: • Analyze code quality and Go best practices • Verify Kubernetes operator patterns are followed correctly • Check test coverage and run go test ./... • Identify security concerns • Evaluate performance implications • Ensure documentation is updated

What the Agent Checks

• Go Standards: Error handling, goroutines, resource cleanup, idiomatic patterns • Kubernetes Patterns: Idempotent reconciliation, proper status updates, RBAC, finalizers • Testing: Unit tests, edge cases, integration tests • Security: No hardcoded secrets, input validation, container security • Performance: Efficient algorithms, no unnecessary allocations • Documentation: README, API docs, CHANGELOG updates

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1mo ago
Active
AdoptionUnder 100 stars
36 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Stars36
Forks17
Issues84
Updated1mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more