technical-debt-awareness

technical-debt-awareness is a cursor rule for Cursor from SeanLF/weather-mcp. It costs 906 tokens per session, scanned A, original, MIT.

A rule that records technical compromises made during urgent coding work. Technical debt means a shortcut or temporary design choice that may create extra work later.

In plain words
What is it for?
Use it during code implementation or review when terms such as workaround, hack, temporary, TODO, or FIXME indicate that a debt register may be needed.
Why use it?
It makes those compromises visible instead of letting temporary fixes become undocumented maintenance problems. It also asks for impact, remediation, priority, and a ticket or explanation.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it during code implementation or review when terms such as workaround, hack, temporary, TODO, or FIXME indicate that a debt register may be needed.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/seanlf/weather-mcp/technical-debt-awareness
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/SeanLF/weather-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 technical-debt-awareness

README.md
[![agentmods](https://agentmods.dev/badge/rules/seanlf/weather-mcp/technical-debt-awareness.svg)](https://agentmods.dev/rules/seanlf/weather-mcp/technical-debt-awareness)
Your own site
<a href="https://agentmods.dev/rules/seanlf/weather-mcp/technical-debt-awareness"><img src="https://agentmods.dev/badge/rules/seanlf/weather-mcp/technical-debt-awareness.svg" alt="Measured on agentmods" height="20"></a>
Per session 906 This file is loaded in full into every session.
When invoked 906 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.00906 $0.00906
Opus 5 $0.00453 $0.00453
Sonnet 5 $0.00181 $0.00181
Haiku 4.5 $0.00091 $0.00091

Measured 7d ago against content hash 9cf9563baae7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

technical-debt-awareness 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 7d 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/technical-debt-awareness.mdc · 124 lines

How it starts

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

filters:

  • type: event pattern: "code_implementation|code_review"
  • type: content pattern: "(?i)(temporary|workaround|hack|todo|fixme|quick|urgent)"

actions:

  • type: transform pattern: "^.*$" replacement: |

    Implementation with Technical Debt Tracking

    {original_content}

    Technical Debt Register

    Item Impact Remediation Plan Priority Ticket
    {technical_debt_table}

    Acceptable vs. Concerning Debt

    Acceptable Technical Debt

    {acceptable_debt_list}

    Concerning Technical Debt

    {concerning_debt_list}

  • type: validate conditions:

    • pattern: "(?i)(hack|temporary|todo|fixme)" validationScript: | // Check if technical debt is documented const technicalDebtMarkers = [ /hack/i, /temporary/i, /workaround/i, /todo/i, /fixme/i, /technical debt/i ];

      // Find all technical debt markers in the code const foundMarkers = technicalDebtMarkers.filter(marker => marker.test(code) );

      // Check if there's a ticket reference or explanation const hasDocumentation = /TICKET|ISSUE|JIRA|explanation:/i.test(code);

      if (foundMarkers.length > 0 && !hasDocumentation) { return { valid: false, message: "Technical debt found without ticket reference or explanation" }; }

      return { valid: true };

  • type: suggest message: | When introducing technical debt:

    1. Document it explicitly as technical debt
    2. Explain why it was necessary (business context)
    3. Describe the impact and risks
    4. Create a ticket for future remediation
    5. Assign a priority and timeline for fixing it

examples:

  • input: | // TODO: This is a temporary solution until we refactor the auth system function quickAuthFix() { // Just check if the token exists for now return !!localStorage.getItem('auth_token'); } output: |

    Implementation with Technical Debt Tracking

    /**
     * Temporary authentication validation
     * 
     * TECHNICAL DEBT: This is a minimal implementation to unblock the release
     * TICKET: AUTH-127 - Implement proper token validation
     * EXPIRES: 2023-06-30 (must be replaced before security audit)
     */
    function quickAuthFix() {
      // Just check if the token exists for now
      // Does not validate token integrity or expiration
      return !!localStorage.getItem('auth_token');
    }
    

    Technical Debt Register

    Item Impact Remediation Plan Priority Ticket
    Token validation bypass Security risk - No validation of token integrity or expiration Implement proper JWT validation with signature checking HIGH AUTH-127
    Local storage for auth token Security risk - Vulnerable to XSS attacks Move token to HTTP-only cookies HIGH AUTH-128
    No permission checking Feature limitation - All authenticated users have same permissions Implement role-based permissions MEDIUM AUTH-129

    Acceptable vs. Concerning Debt

    Acceptable Technical Debt

    • Using existing user table structure temporarily (low risk, planned DB migration next quarter)
    • Simplified error messages (UX impact only, will improve in next iteration)

    Concerning Technical Debt

    • Missing token validation (security risk, must be fixed before production)
    • Local storage for sensitive data (security risk, must be fixed before production)
    • No CSRF protection (security risk, must be addressed before public release)

Read the full file on GitHub · 124 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. 7d ago First seen · 124 lines · 906 tokens per session scan A 9cf9563baae7

Subscribe to this mod's changes

technical-debt-awareness is a cursor rule published in the GitHub repository SeanLF/weather-mcp (2 stars, last pushed 1y ago), licensed MIT. It adds 906 tokens to every session, about $0.0045 per session on Opus 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.