EEF / rules
Cursor rule21 starsChanged 2 months agoMITView on GitHub
Container setup, docker-compose design, multi-stage build optimization, and debugging guidance. Security-specific container concerns live in security-review-edho-ferdian instead. Trigger phrases: \"setup Docker untuk project ini\", \"docker-compose untuk dev environment\", \"container ini lambat/besar\", \"debug container yang crash\".
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,533 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository115 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/api-design-edho-ferdian.mdcCursor rule
- .cursor/rules/backend-engineering-edho-ferdian.mdcCursor rule
- .cursor/rules/billing-ops-edho-ferdian.mdcCursor rule
- .cursor/rules/build-fix-edho-ferdian.mdcCursor rule
- .cursor/rules/click-path-audit-edho-ferdian.mdcCursor rule
- .cursor/rules/code-quality-tooling-edho-ferdian.mdcCursor rule
- .cursor/rules/code-review-edho-ferdian.mdcCursor rule
- .cursor/rules/code-simplification-edho-ferdian.mdcCursor rule
- .cursor/rules/communications-triage-edho-ferdian.mdcCursor rule
- .cursor/rules/config-hygiene-edho-ferdian.mdcCursor rule
- .cursor/rules/counterparty-comms-edho-ferdian.mdcCursor rule
- .cursor/rules/data-layer-patterns-edho-ferdian.mdcCursor rule
- .cursor/rules/dead-code-cleanup-edho-ferdian.mdcCursor rule
- .cursor/rules/deployment-ops-edho-ferdian.mdcCursor rule
- .cursor/rules/desktop-e2e-edho-ferdian.mdcCursor rule
- .cursor/rules/dev-kickoff-edho-ferdian.mdcCursor rule
- .cursor/rules/docs-sync-edho-ferdian.mdcCursor rule
- .cursor/rules/e2e-testing-edho-ferdian.mdcCursor rule
- .cursor/rules/frontend-engineering-edho-ferdian.mdcCursor rule
- .cursor/rules/gan-harness-edho-ferdian.mdcCursor rule
- .cursor/rules/git-and-release-ops-edho-ferdian.mdcCursor rule
- .cursor/rules/language-code-review-edho-ferdian.mdcCursor rule
- .cursor/rules/legal-ops-edho-ferdian.mdcCursor rule
- .cursor/rules/marketing-edho-ferdian.mdcCursor rule
- .cursor/rules/networking-ops-edho-ferdian.mdcCursor rule
- .cursor/rules/opensource-release-edho-ferdian.mdcCursor rule
- .cursor/rules/performance-audit-edho-ferdian.mdcCursor rule
- .cursor/rules/research-ops-edho-ferdian.mdcCursor rule
- .cursor/rules/safe-execution-edho-ferdian.mdcCursor rule
- .cursor/rules/security-review-edho-ferdian.mdcCursor rule
- .cursor/rules/seo-audit-edho-ferdian.mdcCursor rule
- .cursor/rules/skill-audit-edho-ferdian.mdcCursor rule
- .cursor/rules/skill-authoring-edho-ferdian.mdcCursor rule
- .cursor/rules/spec-mining-edho-ferdian.mdcCursor rule
- .cursor/rules/system-design-edho-ferdian.mdcCursor rule
- .cursor/rules/test-authoring-edho-ferdian.mdcCursor rule
- .cursor/rules/video-style-edho-ferdian.mdcCursor rule
- api-design-edho-ferdianSkill
- backend-engineering-edho-ferdianSkill
- billing-ops-edho-ferdianSkill
- build-fix-edho-ferdianSkill
- click-path-audit-edho-ferdianSkill
- code-quality-tooling-edho-ferdianSkill
- code-review-edho-ferdianSkill
- code-simplification-edho-ferdianSkill
- communications-triage-edho-ferdianSkill
- config-hygiene-edho-ferdianSkill
- container-ops-edho-ferdianSkill
- counterparty-comms-edho-ferdianSkill
- data-layer-patterns-edho-ferdianSkill
- dead-code-cleanup-edho-ferdianSkill
- deployment-ops-edho-ferdianSkill
- desktop-e2e-edho-ferdianSkill
- dev-kickoff-edho-ferdianSkill
- docs-sync-edho-ferdianSkill
- e2e-testing-edho-ferdianSkill
- frontend-engineering-edho-ferdianSkill
- gan-harness-edho-ferdianSkill
- The first 60 shown.
The file
We split this container-ops-edho-ferdian.mdc into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
If a task mixes both halves (e.g.
- Very specific: line 88
Evidence before guessing: when debugging a live container — logs, exec, inspect first.
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
---
description: "Container setup, docker-compose design, multi-stage build optimization, and debugging guidance. Security-specific container concerns live in security-review-edho-ferdian instead. Trigger phrases: \"setup Docker untuk project ini\", \"docker-compose untuk dev environment\", \"container ini lambat/besar\", \"debug container yang crash\"."
globs:
alwaysApply: false
---
# Container Ops — Edho Ferdian Mode (Skill Edition)
You help set up, structure, and debug containers and docker-compose
environments. You think about build speed (layer caching), image size,
dev/prod parity, and "why did this container die" — not about the
security posture of the container, which is a different skill's job.
## Boundary — read this before doing anything else
**Security-specific container concerns are out of scope here — they live in
`security-review-edho-ferdian`.** A parallel effort in this ecosystem
extracts the security-specific items into
`security-review-edho-ferdian/references/domain-specific.md`:
non-root user, `cap_drop`, `read_only`, pinned image digests, secrets never
landing in image layers, and `.dockerignore` as a secret-exposure control.
This skill deliberately does **not** duplicate any of those. If a question
is "should this container run as root" or "how do I stop a secret from
leaking into a layer," point to `security-review-edho-ferdian` instead of
answering it here. This skill covers everything else about containers:
- Multi-stage build **design** (structuring stages for caching and size,
not the non-root/hardening half of a Dockerfile).
- docker-compose service/network/volume **design**.
- Debugging a running or crashed container.
- Image size optimization **for build speed and size**, not the
`.dockerignore`-as-security-control angle (that's the security skill's;
this skill covers `.dockerignore` for keeping the build context small,
and multi-stage builds for dropping build-only dependencies).
- Local dev-environment parity with production.
If a task mixes both halves (e.g. "set up Docker for this project" touches
both structure and hardening), do the structural half here and hand the
hardening half to `security-review-edho-ferdian` — say so explicitly rather
than silently covering both from memory, since the security skill is the
single source of truth for those criteria and duplicating them here risks
drift.
## Scope map
| Topic | Reference file |
|---|---|
| Multi-stage build design, layer-cache ordering, compose service/network/volume patterns | `references/build-and-compose.md` |
| Debugging a failing/crashed container, image-size reduction (non-security) | `references/debugging-and-sizing.md` |
## Workflow
1. **Identify the ask.** New setup ("setup Docker for this project") →
`build-and-compose.md`. Something's slow/big/broken → check whether it's
"slow to build" (layer caching, `build-and-compose.md`) vs. "large final
image" or "crashing/misbehaving" (`debugging-and-sizing.md`).
2. **Design for dev/prod parity by default.** A dev-only Compose setup that
diverges heavily from how the image runs in production (different base
image, different entrypoint, no health checks) defeats the purpose of
containerizing at all — the whole point is that what runs locally is
close to what ships. Flag divergence rather than silently accepting it.
3. **Prefer multi-stage builds as the default answer to "this image is
big"** before reaching for a smaller base image — dropping build-only
dependencies from the final stage usually wins more than swapping
Debian for Alpine, and doesn't carry Alpine's musl-libc compatibility
trade-offs. See `references/debugging-and-sizing.md`.
4. **When debugging a crash, gather evidence before guessing.** `docker
compose logs`, `docker compose exec ... sh`, and `docker inspect` before
proposing a Dockerfile change — the same "verify, don't assert" instinct
as the rest of this skill ecosystem's review skills, applied to
containers instead of code.
## Language routing (fixed — see skill-authoring-edho-ferdian's canonical contract)
Communication to the user in Bahasa Indonesia; Dockerfile/compose content,
comments, and command output in English — fixed, never ask. Full contract:
`skill-authoring-edho-ferdian` §7.
## Global rules
1. **No security content here.** Non-root users, capability drops,
read-only filesystems, pinned digests, secret handling, and
`.dockerignore`-as-security all belong to `security-review-edho-ferdian`
— point there rather than answering from memory.
2. **Structural and debugging content only** — build design, compose
design, caching, size, and live debugging.
3. **Evidence before guessing** when debugging a live container — logs,
`exec`, `inspect` first.
4. **Flag dev/prod divergence** rather than treating it as normal.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

