terfyn: Skill for Cursor

.cursor/skills/bugfix/SKILL.md

bugfix is a skill for Cursor from LAA-Software-Engineering/terfyn. It costs 38 tokens per session (322 once invoked), scanned A, original, Apache-2.0.

Instructions for diagnosing and fixing bugs or regressions, meaning behavior that is broken or has become incorrect after a change. The workflow includes reproducing the problem, finding its cause, applying a focused fix, and verifying it.

In plain words
What is it for?
Reproducing failures, reading the responsible code, adding regression tests, running the project's checks, updating the changelog when needed, and preparing pull requests in the project's required format.
Why use it?
It keeps debugging tied to the original failure and reduces the risk of fixing only the symptom or introducing another problem.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is LAA-Software-Engineering/terfyn's own configuration. It tells Cursor how to work on terfyn itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything terfyn configures →

Reuse

Borrowing it

Nothing to install: this file belongs to LAA-Software-Engineering/terfyn. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/LAA-Software-Engineering/terfyn/main/.cursor/skills/bugfix/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/LAA-Software-Engineering/terfyn

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 bugfix

README.md
[![agentmods](https://agentmods.dev/badge/skills/laa-software-engineering/terfyn/bugfix/github.svg)](https://agentmods.dev/skills/laa-software-engineering/terfyn/bugfix)
Your own site
<a href="https://agentmods.dev/skills/laa-software-engineering/terfyn/bugfix"><img src="https://agentmods.dev/badge/skills/laa-software-engineering/terfyn/bugfix/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 bugfix

Your own site · 80×15
<a href="https://agentmods.dev/skills/laa-software-engineering/terfyn/bugfix"><img src="https://agentmods.dev/badge/skills/laa-software-engineering/terfyn/bugfix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 322 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.00038 $0.00322
Opus 5.5 $0.00015 $0.00129
Sonnet 5.5 $0.00008 $0.00064
Haiku 4.5 $0.00004 $0.00032

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

Security

Grade A, and why

bugfix 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/skills/bugfix/SKILL.md · 23 lines

What it actually says

Bugfix

Workflow

  1. Reproduce — Capture the failing command, test, or CLI path. Prefer a failing test over manual-only repro.
  2. Root cause — Read the failing code path; identify the real cause before patching symptoms.
  3. Minimal fix — Change only what is required. Match nearby error-handling and style.
  4. Regression test — Add or extend a test that fails without the fix. Update goldens only when intentional: GO_UPDATE_GOLDEN=1 go test ./internal/cli/... -run TestGolden_
  5. Verify — Run make ci. Confirm the original failure is gone.
  6. Changelog — If user-visible, note under Unreleased in CHANGELOG.md.
  7. Pull request — When opening a PR, read .github/PULL_REQUEST_TEMPLATE.md and use that exact structure for the body (HEREDOC with gh pr create). Fill Summary, Test plan, and Checklist. Do not invent a different format.

Tips

  • Policy/safety gates and exit codes matter — check docs/DESIGN_DOC.md and existing CLI exit handling before changing behavior.
  • Prefer fixing at the package boundary that owns the bug (internal/cli, internal/engine, internal/policy, etc.).
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 · 23 lines · 38 tokens per session scan A b169f74f4a6c

Subscribe to this mod's changes

bugfix is a skill published in the GitHub repository LAA-Software-Engineering/terfyn (4 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 38 tokens to every session and 322 once invoked, about $0.0002 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

Other skills, from other repositories

amq-cli

Coordinate coding agents through AMQ. Use for agent messages, inboxes, receipts, sessions, wake delivery, cross-project routing, managed launches, or AMQ diagnostics. Use amq-spec for collaborative design; do not use this for general message queues or single-agent work.

avivsinai/agent-message-queue · 59 tokens

shadow-verify

Dispatch a parallel adversarial verifier wave after any high-stakes sub-agent investigation (code reviews, audits, findings reports, large refactors, gap analyses) — or whenever a sub-agent asserts a claim with high-confidence language, since confidence is a trigger, not a verdict. Use when sub-agent output will drive…

griffinwork40/agent-afk · 78 tokens

systematic-debugging

Root-causing defects instead of guessing: reproduce, isolate, instrument component boundaries, kill hypotheses, and recognise when to question the design. Use on any bug, flaky test, or unexplained behaviour.

damianvtran/local-operator · 45 tokens

diagnose

Parallel root-cause analysis for bugs and failing tests. Use when a test fails, a bug is reported, or behavior is unexplained — dispatches sub-agents to form and validate hypotheses in isolated worktrees.

griffinwork40/agent-afk · 46 tokens

hatch3r-incident-response

Handles production incidents with structured triage, mitigation, and post-mortem. Use when responding to production issues, outages, or security incidents.

hatch3r/hatch3r · 37 tokens

hatch3r-bug-fix

Step-by-step bug fix workflow. Diagnose root cause, implement minimal fix, write regression test. Use when fixing bugs, working on bug report issues, or when the user mentions a bug.

hatch3r/hatch3r · 47 tokens