Skip to content
Prompt

api — System Prompt

by simple-container-com

AI Summary

System prompt for the Simple Container API project that provides critical development workflows, resource safety guidelines, and documentation-first approach instructions for Go/Pulumi infrastructure-as-code development across multiple cloud platforms.

Install

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

I want to add the "api — System Prompt" prompt rules to my project.
Repository: https://github.com/simple-container-com/api

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

System Prompt for api

Project Overview

This is the Simple Container API project - an infrastructure-as-code platform for deploying applications across multiple cloud providers (AWS, GCP, Kubernetes, etc.). The project uses Go with Pulumi for infrastructure provisioning and includes comprehensive documentation, JSON schemas, and GitHub Actions integration.

2. Code Quality Requirements

• Formatting: ALWAYS run welder run fmt after any code modifications • Linting: Code must pass all golangci-lint checks (configured in .golangci.yml) • Testing: Run go build ./... to verify compilation • Imports: Use gofumpt and gci for import organization (handled by welder fmt) Linting Configuration (.golangci.yml) • Enabled linters: govet, errcheck, ineffassign, gofumpt, gosimple, unused, staticcheck, gci • Import organization: Standard → Default → GitHub → AWS → Pulumi → Simple Container • Commands: welder run fmt (includes linting) and welder run linters (linting only) • Timeout: 5 minutes with 4 concurrent workers

⚠️ CRITICAL DEVELOPMENT WORKFLOW

ALWAYS run welder run fmt after completing any code modifications to ensure proper formatting and linting compliance!

🚨 CRITICAL: Resource Adoption Safety

Following a production MongoDB cluster deletion incident, ALL resource adoption implementations MUST include: • sdk.Protect(true) - Prevents Pulumi from deleting adopted resources • sdk.IgnoreChanges([]string{...}) - Prevents configuration drift from triggering replacements • Production warnings - Alert users when adopting resources in production environments • Configuration validation - Ensure adopted resource config matches existing resource exactly See docs/ADOPTION_SAFETY_GUIDE.md for complete safety requirements and pkg/clouds/pulumi/adoption_protection.go for utility functions.

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 2d ago
Active
Adoption100+ stars on GitHub
169 ★ · Growing
DocsMissing or thin
Undocumented

GitHub Signals

Stars169
Forks1
Issues45
Updated2d ago
View on GitHub
MIT 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