workflows

workflows is a cursor rule for Cursor from Pranav-Karra-3301/tuck. It costs 0 tokens per session (552 once invoked), scanned A, original, MIT.

Rules for GitHub Actions, the service that automatically runs checks and deployment tasks when code changes.

In plain words
What is it for?
Use them when changing CI or release workflows, including linting, TypeScript checks, tests, builds, dependency audits, semantic releases, and cross-platform binaries.
Why use it?
They make the project's automated checks and releases follow consistent commands, supported versions, operating systems, time limits, and secret requirements.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use them when changing CI or release workflows, including linting, TypeScript checks, tests, builds, dependency audits, semantic releases, and cross-platform binaries.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/pranav-karra-3301/tuck/workflows
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/Pranav-Karra-3301/tuck

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 workflows

README.md
[![agentmods](https://agentmods.dev/badge/rules/pranav-karra-3301/tuck/workflows/github.svg)](https://agentmods.dev/rules/pranav-karra-3301/tuck/workflows)
Your own site
<a href="https://agentmods.dev/rules/pranav-karra-3301/tuck/workflows"><img src="https://agentmods.dev/badge/rules/pranav-karra-3301/tuck/workflows/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 workflows

Your own site · 80×15
<a href="https://agentmods.dev/rules/pranav-karra-3301/tuck/workflows"><img src="https://agentmods.dev/badge/rules/pranav-karra-3301/tuck/workflows.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 552 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.00552
Opus 5.5 $0.00000 $0.00221
Sonnet 5.5 $0.00000 $0.00110
Haiku 4.5 $0.00000 $0.00055

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

Security

Grade A, and why

workflows 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 1mo 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/workflows.mdc · 104 lines

What it actually says

Workflow Rules

CI Workflow (ci.yml)

Runs on:

  • Push to main
  • Pull requests to main

Jobs:

  1. lint - ESLint + TypeScript checking
  2. test - Run on Ubuntu + macOS, Node 18/20/22
  3. build - Build and verify CLI works
  4. security - Dependency audit

Release Workflow (release.yml)

Runs on:

  • Push to main (when CI passes)
  • Manual trigger (workflow_dispatch)

Jobs:

  1. check - Verify releasable changes exist
  2. release - Run semantic-release
  3. build-binaries - Build for all platforms

Workflow Conventions

Always Use

  • pnpm/action-setup@v4 for pnpm
  • actions/setup-node@v4 for Node.js
  • actions/checkout@v4 for checkout
  • pnpm install --frozen-lockfile for deps

Version Matrix

Test on:

  • Node.js: 18, 20, 22
  • OS: ubuntu-latest, macos-latest

Timeouts

Set reasonable timeouts:

  • lint: 10 minutes
  • test: 15 minutes
  • build: 10 minutes
  • release: 20 minutes

Concurrency

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true  # For PRs
  cancel-in-progress: false # For releases

Secrets Required

  • GITHUB_TOKEN - Auto-provided
  • NPM_TOKEN - For npm publish
  • CODECOV_TOKEN - For coverage upload

Binary Builds

Build standalone binaries using pkg:

  • linux-x64, linux-arm64
  • darwin-x64, darwin-arm64
  • win32-x64

Binaries are attached to GitHub releases.

Semantic Release

Configuration in package.json:

{
  "release": {
    "branches": ["main"],
    "plugins": [
      "@semantic-release/commit-analyzer",
      "@semantic-release/release-notes-generator",
      "@semantic-release/changelog",
      "@semantic-release/npm",
      "@semantic-release/github",
      "@semantic-release/git"
    ]
  }
}

NEVER Do

  • Skip CI with [skip ci] in production
  • Hardcode secrets in workflows
  • Use latest tags for actions (pin versions)
  • Skip tests in release workflow
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. 1mo ago First seen · 104 lines · 0 tokens per session scan A cf476e830435

Subscribe to this mod's changes

workflows is a cursor rule published in the GitHub repository Pranav-Karra-3301/tuck (15 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 552 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.