environments

environments is a cursor rule for Cursor from bernierllc/agents-environment-config. It costs 788 tokens per session, scanned A, original, MIT.

A set of rules for deployment, environment management, and releases. The description does not provide more detail about the specific steps.

In plain words
What is it for?
Following deployment, environment, and release procedures.
Why use it?
It may provide shared guidance for handling deployments and releases, but the available information is too limited to identify a particular problem it solves.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Following deployment, environment, and release procedures.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/bernierllc/agents-environment-config/environments
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/bernierllc/agents-environment-config

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for environments

README.md
[![agentmods](https://agentmods.dev/badge/rules/bernierllc/agents-environment-config/environments/github.svg)](https://agentmods.dev/rules/bernierllc/agents-environment-config/environments)
Your own site
<a href="https://agentmods.dev/rules/bernierllc/agents-environment-config/environments"><img src="https://agentmods.dev/badge/rules/bernierllc/agents-environment-config/environments/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for environments

Your own site · 80×15
<a href="https://agentmods.dev/rules/bernierllc/agents-environment-config/environments"><img src="https://agentmods.dev/badge/rules/bernierllc/agents-environment-config/environments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 788 This file is loaded in full into every session.
When invoked 788 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00788 $0.00788
Opus 5.5 $0.00315 $0.00315
Sonnet 5.5 $0.00158 $0.00158
Haiku 4.5 $0.00079 $0.00079

Measured 3mo ago against content hash 329de44beeed, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

environments scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/topics/deployment/environments.mdc · 133 lines

How it starts

The opening of the file, as written. The whole thing — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Deployment Standards

Environment Overview

Development Environment

  • Branch: development
  • Database: Local or development database
  • Server: Local development server
  • Purpose: Feature development and testing

Staging Environment

  • Branch: staging
  • Database: Dedicated staging database
  • Server: Dedicated staging deployment
  • Purpose: Pre-production testing and validation

Production Environment

  • Branch: main
  • Database: Dedicated production database
  • Server: Dedicated production deployment
  • Purpose: Live application serving real users

Deployment Workflow

Feature Development Flow

Feature Branch → Development → Staging → Main
  1. Feature Branch: Create from development
  2. Development: Merge feature after review and testing
  3. Staging: Promote from development after validation
  4. Main: Promote from staging after staging verification

Environment Protection

Branch Protection Rules

Development Branch
  • Required: Pull request reviews
  • Required: Status checks pass
  • Required: No merge conflicts
  • Forbidden: Direct pushes
Staging Branch
  • Required: Pull request reviews
  • Required: All tests pass
  • Required: Build successful
  • Required: Database migrations safe
  • Forbidden: Direct pushes
  • Forbidden: Merges from feature branches
Main Branch (Production)
  • Required: Pull request reviews (2 approvals)
  • Required: All staging tests pass
  • Required: Staging deployment verified
  • Required: Database backup completed
  • Forbidden: Direct pushes
  • Forbidden: Merges from development or feature branches

Database Management

Migration Safety

  • Development: Test migrations locally
  • Staging: Verify migrations in staging environment
  • Production: Backup database before applying migrations

Environment Variables

  • Separate databases for each environment
  • Different API keys for each environment
  • Proper access control for production

Read the full file on GitHub · 133 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 133 lines · 788 tokens per session scan A 329de44beeed

Subscribe to this mod's changes

environments is a cursor rule published in the GitHub repository bernierllc/agents-environment-config (11 stars, last pushed today), licensed MIT. It adds 788 tokens to every session, about $0.0032 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

environments compared with cursor rules from other repositories

environments next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
environmentsbernierllc/agents-environment-configCursor rule11todayMITA788Cursor
releasing-operatorjumpstarter-dev/jumpstarterCursor rule237todayApache-2.0A12Cursor
releaselouisbrulenaudet/monorepo-templateCursor rule197d agoApache-2.0A0Cursor
ci-cd-workflowsmondaycom/vibeCursor rule6954d agononeA0Cursor
cut-releaseahmadulhoq/agentskelCursor rule139d agoMITA27Cursor
dev-workflowgracefullight/stock-checkerCursor rule52todaynoneA18Cursor
dev-workflowgracefullight/krdsCursor rule47todaynoneA18Cursor