do-it-code-quality

do-it-code-quality is a skill for Cursor from tdwhere123/do-it. It costs 24 tokens per session (300 once invoked), scanned A, original, MIT.

A set of code-writing practices for understanding a change before editing, keeping related logic together, and checking it with tests. TDD means writing a failing test before the code that should make it pass.

In plain words
What is it for?
Use it to plan code changes, trace how data moves from producers to consumers, find the right edit location, design module boundaries, and verify changes.
Why use it?
It reduces the risk of patching the wrong part of a codebase or breaking callers, stored data, tests, or user-facing behavior.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Part of the do-it-cursor plugin — 11 skills, 10 agents shipped together

Good fit Use it to plan code changes, trace how data moves from producers to consumers, find the right edit location, design module boundaries, and verify changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tdwhere123/do-it/do-it-code-quality
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.

Any agent
npx skills add tdwhere123/do-it --skill do-it-code-quality
Clone the repo
git clone --depth 1 https://github.com/tdwhere123/do-it

Made for: Cursor.

Or install do-it-cursor, the plugin that ships this one along with the rest of its 11 skills, 10 agents.

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 do-it-code-quality

README.md
[![agentmods](https://agentmods.dev/badge/skills/tdwhere123/do-it/do-it-code-quality/github.svg)](https://agentmods.dev/skills/tdwhere123/do-it/do-it-code-quality)
Your own site
<a href="https://agentmods.dev/skills/tdwhere123/do-it/do-it-code-quality"><img src="https://agentmods.dev/badge/skills/tdwhere123/do-it/do-it-code-quality/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 do-it-code-quality

Your own site · 80×15
<a href="https://agentmods.dev/skills/tdwhere123/do-it/do-it-code-quality"><img src="https://agentmods.dev/badge/skills/tdwhere123/do-it/do-it-code-quality.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 300 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00024 $0.00300
Opus 5.5 $0.00010 $0.00120
Sonnet 5.5 $0.00005 $0.00060
Haiku 4.5 $0.00002 $0.00030

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

Security

Grade A, and why

do-it-code-quality 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 3d 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.

plugins/do-it-cursor/skills/do-it-code-quality/SKILL.md · 30 lines

What it actually says

Code Quality

Trace the live behavior far enough to find the earliest divergence and the owner of its meaning. A symptom at the UI, cache, or adapter does not establish that layer as the right place for policy.

Useful questions include whether a legitimate mutation can bypass a check, and whether a rule would survive replacement of the layer that currently implements it. Map both producers and consumers when changing an API, schema, or boundary.

Prefer a direct durable change. Before adding a mechanism, look for an existing one, including near-copies left by earlier sessions. Prepare structure only when the current shape blocks the change or its verification. Include required contract fallout; nearby cleanup earns its place through the problem being solved.

For stateful work, consider applicable identity, interleaving, commit, retry, and copied-state failures. The stateful scan and causal change notes offer deeper prompts. A regression should observe the changed contract with an expectation independent of the implementation; use a focused probe when that is more informative.

An independent mapper or specialist can expose a mistaken causal model. Pass source facts and label your interpretation as a hypothesis. See delegation.

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. 3d ago Changed · +1 lines ab5773573dbb
  2. 1mo ago Changed · -60 lines · -17 tokens per session 131bceb3b8a7
  3. 1mo ago Changed · -20 lines · -1 tokens per session a1e4ba516e01
  4. 1mo ago First seen · 109 lines · 42 tokens per session scan A e4dda099d9ed

Subscribe to this mod's changes

do-it-code-quality is a skill published in the GitHub repository tdwhere123/do-it (28 stars, last pushed 3d ago), licensed MIT. It adds 24 tokens to every session and 300 once invoked, about $0.0001 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-30.