Skip to content
cccskills
FreePublished on GitHub

md-language-check

Use BEFORE saving any .md under .augment/, dist/agent-src*/, or agents/ — scans umlauts, German function words, and German phrases outside DE:/EN: anchor blocks. Hard gate per language-and-tone.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md5.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

md-language-check

When to use

Fire this skill before writing or saving any .md file under:

  • src/ (source of truth — skills, rules, commands, guidelines, templates, contexts)
  • dist/agent-src/ (condensed projection)
  • .augment/ (local agent projection)
  • agents/ (project-specific roadmaps, contexts, sessions)

Per language-and-tone § ".md files are ALWAYS English" and § Detection heuristic, every .md file in those trees must be English. Bilingual content lives only in labeled DE: … · EN: … anchor blocks.

Do NOT use when:

  • Editing project content outside the trees listed above (READMEs of consumer projects, application docs that follow a different policy)
  • Reviewing chat history files (agents/runtime/.agent-chat-history is JSONL, not .md)
  • Inspecting non-.md files — the checker rejects them with a warning

Procedure

1. Identify the file(s) about to be saved

Collect the absolute or repo-relative path of every .md file the agent is about to create or modify in this turn. Multiple files in one turn → pass them all to a single invocation.

2. Run the checker

./scripts-run src/scripts/check_md_language <path> [<path> …] [--format json]

Exit codes:

  • 0 → no German content detected, save proceeds
  • 1 → violations found, save is blocked until they are resolved or explicitly suppressed
  • 3 → internal error (unreadable file, decode failure)

3. Resolve findings

For every violation:

KindLikely causeFix
umlautGerman prose leaked into body textTranslate the sentence to English
de_wordGerman function word in unquoted proseTranslate; or move into a DE: … · EN: … block if intentional bilingual anchor

If the line is meta-documentation that must quote German tokens (e.g. the detection heuristic in language-and-tone.md itself), append <!-- md-language-check: ignore --> at the end of that single line — never as a wholesale silencer.

4. Re-run and confirm

After every fix, re-run the checker on the same paths. Save only proceeds on exit 0.

Allowed escape hatches

  • Labeled anchor block — lines starting with DE: / - DE: / * DE: (and the same for EN:) are skipped automatically. Use this for intent-based opt-in / opt-out anchors.
  • Fenced code blocks — \`` … ```` content is exempt, so shell snippets, JSON fixtures, and quoted user input in code blocks pass through untouched.
  • Inline code — backtick spans are stripped before scanning; identifiers like für_test inside backticks do not flag.
  • Per-line marker — append <!-- md-language-check: ignore --> to a line that genuinely needs to quote a German token in body prose (rare; reserved for the rules that document the heuristic).

Output format

  1. One-line summary: clean or N violation(s) found
  2. Per violation: file:line — kind \match`` plus the offending line
  3. Next action: translate, move into a DE:/EN: block, add the per-line ignore marker, or revert the change

Gotchas

  • The checker scans .md files only; passing a non-.md path emits a warning and skips it
  • The detection word list is intentionally short and conservative — a clean run is necessary but not sufficient; the agent still owns the final language judgement
  • Frontmatter (--- … --- at file head) is exempt; descriptions and YAML keys can use international characters where the schema allows

Do NOT

  • Do NOT silence the checker by deleting trigger words from src/scripts/check_md_language.ts; extend the allow-list (anchor blocks, ignore marker) instead
  • Do NOT add the ignore marker to body prose just to push a save through; the marker is for meta-documentation that quotes tokens, not a generic mute
  • Do NOT skip the gate "because the file is small" — language-and-tone § Detection heuristic applies to every save under the four trees

Cloud Behavior

On cloud surfaces (Claude.ai Web, Skills API) the checker script is not shipped, so this skill is inert — the agent applies the heuristic from language-and-tone manually before emitting the file.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.

The English summary is being prepared. Showing the original description.

event4u-app/agent-config13Updated Oct 22, 2026

Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.

The English summary is being prepared. Showing the original description.

event4u-app/agent-config13Updated Oct 22, 2026

Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.

The English summary is being prepared. Showing the original description.

event4u-app/agent-config13Updated Oct 22, 2026

Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.

The English summary is being prepared. Showing the original description.

event4u-app/agent-config13Updated Oct 22, 2026

Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.

The English summary is being prepared. Showing the original description.

event4u-app/agent-config13Updated Oct 22, 2026

Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.

The English summary is being prepared. Showing the original description.

event4u-app/agent-config13Updated Oct 22, 2026

See all skills by event4u-app

Report a problem with this skill