workflows

workflows is a cursor rule for Cursor from felipebarcelospro/igniter-js. It costs 5,135 tokens per session, scanned A, original, Apache-2.0.

A collection of step-by-step workflows for common development tasks, including investigating code, debugging TypeScript compilation errors, and working with project tools.

In plain words
What is it for?
Use it when analysing TypeScript errors, locating implementations, tracing dependencies, checking file health, and following structured debugging procedures.
Why use it?
It provides a repeatable way to trace errors from symptoms to their source instead of making isolated fixes. This can make investigations more consistent across a codebase.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when analysing TypeScript errors, locating implementations, tracing dependencies, checking file health, and following structured debugging procedures.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/felipebarcelospro/igniter-js/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/felipebarcelospro/igniter-js

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/felipebarcelospro/igniter-js/workflows/github.svg)](https://agentmods.dev/rules/felipebarcelospro/igniter-js/workflows)
Your own site
<a href="https://agentmods.dev/rules/felipebarcelospro/igniter-js/workflows"><img src="https://agentmods.dev/badge/rules/felipebarcelospro/igniter-js/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/felipebarcelospro/igniter-js/workflows"><img src="https://agentmods.dev/badge/rules/felipebarcelospro/igniter-js/workflows.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,135 This file is loaded in full into every session.
When invoked 5,135 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.05135 $0.05135
Opus 5.5 $0.02054 $0.02054
Sonnet 5.5 $0.01027 $0.01027
Haiku 4.5 $0.00513 $0.00513

Measured 3mo ago against content hash 8ca5bfe638d9, 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 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.

apps/starter-nextjs/.cursor/rules/workflows.mdc · 551 lines

How it starts

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

Workflow Patterns for Development Scenarios

This rule provides comprehensive workflow patterns that integrate with MCP tools to handle common development scenarios systematically. Use these patterns when you encounter specific situations not fully covered by the base rules, ensuring consistent and efficient approaches across different complexity levels.

1. Code Investigation & Debugging Workflows

1.1 TypeScript Compilation Errors Pattern

When to Use: When encountering TypeScript compilation errors that prevent build/deployment.

Workflow Sequence:

graph TD
    A[TS Compilation Error] --> B{analyze_file - health check}
    B --> C{Health status?}
    C -->|needs_attention| D[Fix immediate errors first]
    C -->|healthy/has_warnings| E[find_implementation - locate error source]
    E --> F{Implementation found?}
    F -->|No| G[grep search with error pattern]
    F -->|Yes| H[explore_source - examine implementation]
    H --> I{Type issues?}
    I -->|Yes| J[Trace import chain with trace_dependency_chain]
    I -->|No| K[Check file dependencies and imports]
    J --> L[Fix root cause in source file]
    K --> M[Update file imports/exports]
    L --> N[Re-analyze file health]
    M --> N
    N --> O{Health improved?}
    O -->|Yes| P[Proceed with development]
    O -->|No| Q[Store as bug_pattern memory]
    Q --> R[Escalate to human developer]

Tool Chain:

  • analyze_file (MANDATORY - first step)
  • find_implementation → explore_source → trace_dependency_chain
  • grep (for complex pattern searches)
  • store_memory (document solutions as bug_pattern)

Success Criteria:

  • File health status changes from needs_attention to healthy
  • No TypeScript compilation errors
  • Solution documented for future reference

1.2 Runtime Error Resolution Pattern

When to Use: When application crashes or behaves unexpectedly during execution.

Workflow Sequence:

graph TD
    A[Runtime Error Occurs] --> B[analyze_file - current state]
    B --> C{Error logs available?}
    C -->|Yes| D[grep for error messages]
    C -->|No| E[start dev server with debug logging]
    D --> F[search_github_issues for similar errors]
    E --> F
    F --> G{Solutions found?}
    G -->|Yes| H[Apply community solutions]
    G -->|No| I[find_implementation of problematic function]
    I --> J[explore_source of implementation]
    J --> K{Logic error found?}
    K -->|Yes| L[Fix logic and retest]
    K -->|No| M[make_api_request to test specific endpoints]
    L --> N[Run comprehensive tests]
    M --> O{API working?}
    O -->|Yes| P[Error is in UI layer]
    O -->|No| Q[Check database connections]
    P --> R[Update client-side error handling]
    Q --> S[Fix database issues]
    N --> T{Tests pass?}
    R --> T
    S --> T
    T -->|Yes| U[store_memory as bug_pattern]
    T -->|No| V[Escalate with detailed context]

Read the full file on GitHub · 551 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 · 551 lines · 5,135 tokens per session scan A 8ca5bfe638d9

Subscribe to this mod's changes

workflows is a cursor rule published in the GitHub repository felipebarcelospro/igniter-js (240 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 5,135 tokens to every session, about $0.0205 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-09-01.

Related

workflows compared with cursor rules from other repositories

workflows next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
workflowsfelipebarcelospro/igniter-jsCursor rule2401mo agoApache-2.0A5,135Cursor
design-standardsbernierllc/agents-environment-configCursor rule11todayMITA0Cursor
docssybrew/the-seo-frameworkCursor rule4894d agoGPL-3.0A0Cursor
local-filessybrew/the-seo-frameworkCursor rule4894d agoGPL-3.0A0Cursor
csssybrew/the-seo-frameworkCursor rule4894d agoGPL-3.0A0Cursor
express-rulesbeel-collab/presets.devCursor rule37d agoMITA0Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor