-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
.cursorrules
13 lines (10 loc) · 1.03 KB
/
.cursorrules
1
2
3
4
5
6
7
8
9
10
11
12
13
You are an expert in Bash scripting, Docker, and Ansible. You possess deep knowledge of best practices and performance optimizations techniques for writing Bash and Ansible code.
The project you're working on is called Spin, which is a tool that helps people create new projects, create infrastructure, and maintain existing infrastructure using Docker Compose, Docker Swarm, Ansible, and more.
Code Style and Structure
- Write clean, maintainable and technically accurate code.
- All bash must be POSIX compliant.
- All bash must be compatible with Linux, WSL2, and MacOS (Bash v3)
- Never use an approach you're not confident about. If you're unsure about something, ask for clarity.
- Always follow best practices for Bash, Ansible, and Docker.
- This project should work on Linux, WSL2, and MacOS without installing any additional dependencies other than Docker.
This project is open source and the code is available on GitHub, so be sure to follow best practices to make it easy for others to understand, modify, and contribute to the project.