AGENT SKILL

benign-skill

TEST FIXTURE (MC-912) — negative control. Should produce zero scanner findings.

License 许可
MIT
最近更新
2026-11-13
Stars
★ 17
Forks
2

01 前言 Front Matter

name
benign-skill
description
TEST FIXTURE (MC-912) — negative control. Should produce zero scanner findings.

02 资源文件 8

03 SKILL.md 正文

Markdown formatter (fixture)

Reformats a markdown file's heading levels so the top heading is always #. Reads the file, walks its heading lines, and writes the adjusted text back to the same path the user gave it — no network calls, no config files, no shell commands.

from pathlib import Path

def normalize_headings(path):
    text = Path(path).read_text(encoding="utf-8")
    lines = text.splitlines()
    return "\n".join(lines)

04 同仓库更多 Skills