Skip to content
Back to skills

1600 2026 02 05 Tech Debt Scanner Markdown Exclusion B04f33a3

ASecurity

Markdown documentation contained example TODO/FIXME/HACK markers, which the scanner counted as new debt and caused baseline checks to fail. We now exclude `.md` files from scanning and update the scheduled workflow to flag any debt and report the correct timestamp.

  • 9 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 31, 2026
documentationdocumentation

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 31, 2026

npx -y skills add tools-only/X-Skills --skill 1600-2026-02-05-tech-debt-scanner-markdown-exclusion_b04f33a3 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 1600 2026 02 05 Tech Debt Scanner Markdown Exclusion B04f33a3?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 1600 2026 02 05 Tech Debt Scanner Markdown Exclusion B04f33a3
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-1600-2026-02-05-tech-debt-scanner-markdown-exclusi/badge)](https://www.skillsdirectory.com/skills/tools-only-1600-2026-02-05-tech-debt-scanner-markdown-exclusi)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
title: Exclude Markdown from Tech Debt Scans
link: tech-debt-scanner-markdown-exclusion
type: delta
path: scripts/todo_scanner.py
depth: 0
seams: [M, D]
ontological_relations:
  - relates_to: [[tech-debt-tracking]]
  - affects: [[ci-tech-debt-workflow]]
  - fixes: [[docs-triggered-debt-scan]]
tags:
  - tech-debt
  - scanner
  - ci
  - markdown
created_at: 2026-02-05T03:49:20Z
updated_at: 2026-02-05T03:49:20Z
uuid: 1520a635-625d-4465-bce8-c130cf40e966
---

# Exclude Markdown from Tech Debt Scans

## Summary

Markdown documentation contained example TODO/FIXME/HACK markers, which the scanner counted as new debt and caused baseline checks to fail. We now exclude `.md` files from scanning and update the scheduled workflow to flag any debt and report the correct timestamp.

## Context

- File: `scripts/todo_scanner.py`
- Symptoms: PR scans failed with debt coming from documentation examples; weekly reports never opened issues because the scan did not fail.

## Root Cause

The scanner did not exclude documentation files, and the scheduled workflow checked the baseline without any failure mode, so debt presence never produced a failing exit status.

## Changes

- Excluded Markdown files from `EXCLUDE_PATTERNS`.
- Documented Markdown exclusion in `docs/agent-docs/tech-debt-tracking.md`.
- Updated the scheduled workflow to use `--fail-on-new`, renamed steps, and fixed the report timestamp field.

## Behavioral Impact

- Markdown files are no longer scanned for debt markers.
- Weekly reports now open/update issues when any debt exists.
- PR baseline checks remain unchanged for code files.

## Related Cards

- [[tech-debt-tracking]]

Files in this skill

  • README.md1.2 KB
  • skill.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.