ci-cd-philosophy

ci-cd-philosophy is a cursor rule for Cursor from prassanna-ravishankar/clearml-mcp. It costs 0 tokens per session (703 once invoked), scanned A, original, MIT.

A set of project rules for continuous integration and continuous delivery, the automated checks that test and prepare code before it is merged or released. It defines checks for style, tests, coverage, builds, and installation across operating systems and Python versions.

In plain words
What is it for?
Use it to require linting, formatting, type checks, tests, pre-commit checks, package builds, and cross-platform installation tests.
Why use it?
It gives every change the same quality checks and catches problems before code is merged or shipped.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to require linting, formatting, type checks, tests, pre-commit checks, package builds, and cross-platform installation tests.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/prassanna-ravishankar/clearml-mcp/ci-cd-philosophy
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/prassanna-ravishankar/clearml-mcp

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 ci-cd-philosophy

README.md
[![agentmods](https://agentmods.dev/badge/rules/prassanna-ravishankar/clearml-mcp/ci-cd-philosophy/github.svg)](https://agentmods.dev/rules/prassanna-ravishankar/clearml-mcp/ci-cd-philosophy)
Your own site
<a href="https://agentmods.dev/rules/prassanna-ravishankar/clearml-mcp/ci-cd-philosophy"><img src="https://agentmods.dev/badge/rules/prassanna-ravishankar/clearml-mcp/ci-cd-philosophy/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 ci-cd-philosophy

Your own site · 80×15
<a href="https://agentmods.dev/rules/prassanna-ravishankar/clearml-mcp/ci-cd-philosophy"><img src="https://agentmods.dev/badge/rules/prassanna-ravishankar/clearml-mcp/ci-cd-philosophy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 703 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.00703
Opus 5 $0.00000 $0.00351
Sonnet 5 $0.00000 $0.00141
Haiku 4.5 $0.00000 $0.00070

Measured 11d ago against content hash 65e12789c9d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

ci-cd-philosophy 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 11d 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/ci-cd-philosophy.mdc · 75 lines

How it starts

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

CI/CD Philosophy: Comprehensive Quality Gates

Core Principle

Every change must pass all quality gates before merge. Use UV for fast, reliable builds and comprehensive testing across platforms and Python versions.

Pipeline Structure

Main CI workflow: .github/workflows/ci.yml

Quality Gates (All Required)

1. Lint Job (lint)
  • Ruff check with GitHub format for PR annotations
  • Ruff format check to ensure consistent formatting
  • Ty type checking (non-blocking warnings, informational)
2. Test Job (test)
  • Matrix testing: Ubuntu/macOS/Windows × Python 3.10-3.13
  • pytest with verbose output and color
  • Coverage reporting with 65% minimum threshold
  • Parallel execution across all combinations
3. Pre-commit Job (pre-commit)
  • All pre-commit hooks including basic checks, YAML/TOML/JSON validation
  • Ruff integration for consistent linting and formatting
  • End-of-file fixing and trailing whitespace removal
4. Build Job (build)
  • UV build for wheel and source distribution
  • Twine check for package validation
  • Artifact upload for deployment readiness
5. Install-test Job (install-test)
  • Cross-platform wheel installation testing
  • CLI entry point verification across all platforms
  • Import testing to ensure package integrity

Key Configuration Files

UV-First Approach

This project uses UV exclusively for:

  • ✅ Dependency management and virtual environments
  • ✅ Build and publish workflows
  • ✅ Fast, reliable Python environment setup
  • NOT Smithery (per project memory: uses uvx only for ClearML integration)

Quality Standards

  • Test Coverage: 65% minimum (currently 69%)
  • Platform Support: Ubuntu, macOS, Windows
  • Python Support: 3.10, 3.11, 3.12, 3.13
  • Code Quality: Ruff with file-level ignores for appropriate flexibility
  • Type Safety: Ty checking with informational warnings

Read the full file on GitHub · 75 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. 11d ago First seen · 75 lines · 0 tokens per session scan A 65e12789c9d3

Subscribe to this mod's changes

ci-cd-philosophy is a cursor rule published in the GitHub repository prassanna-ravishankar/clearml-mcp (16 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 703 tokens. 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-30.