AI SummaryEssex is a Rust-based CLI tool that generates Docker project templates and Dockerfiles, designed to streamline containerization workflows for developers using Windsurf. It provides a ready-to-use boilerplate with best practices for Docker projects, including Makefiles and OCI compliance.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "essex — Windsurf Rules" prompt rules to my project. Repository: https://github.com/utensils/essex 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
A Docker project template generator written in Rust
Commands
• Build: cargo build --release • Install: cargo install --path . • Test (all): cargo test • Test (single): cargo test -- test_name • Integration test: ./test_install.sh • Format: cargo fmt --all • Lint: RUSTFLAGS="-D warnings -D clippy::redundant-pattern-matching -D clippy::needless-borrows-for-generic-args" cargo clippy
Code Style
• Formatting: 100 char line width, 4 spaces indentation • Imports: Group by module (std → external → project) • Error handling: Custom Error enum with specific variants, uses thiserror/anyhow • Naming: snake_case for functions/variables, CamelCase for types/enums • Testing: TDD approach, unit tests with code, integration tests in tests/ • Types: Rust 2021 edition, strongly typed error handling Always run the formatter and linter before committing changes.
AI Agent Sync
When this file is modified, copy its contents to: • .cursorrules • .windsurfrules • .goosehints This ensures all AI coding assistants have the same information.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts