markdown-ticket: Skill for Claude Code

.agents/skills/mdt-frontend/SKILL.md

mdt-frontend is a skill for Claude Code, Codex from andkirby/markdown-ticket. It costs 60 tokens per session (2,840 once invoked), scanned A, original, MIT.

Project-specific instructions for building and changing React user-interface components in the MDT codebase, including CSS, modals, tabs, and other screens.

In plain words
What is it for?
Use it when creating or refactoring components, writing CSS, or changing modal and tab interfaces in the project’s src directory.
Why use it?
It reduces build failures and inconsistent styling by requiring the project’s existing design rules, shared classes, and Tailwind 3 constraints to be followed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is andkirby/markdown-ticket's own configuration. It tells Claude Code and Codex how to work on markdown-ticket 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 markdown-ticket configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is CONTRACT_ONLY=1 node .git/info/lefthook-remotes/agent-commit-hooks/scripts/enforce-semantic-classes.mjs <file>.

Reuse

Borrowing it

Nothing to install: this file belongs to andkirby/markdown-ticket. 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/andkirby/markdown-ticket/main/.agents/skills/mdt-frontend/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/andkirby/markdown-ticket

Made for: Claude Code, Codex.

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 mdt-frontend

README.md
[![agentmods](https://agentmods.dev/badge/skills/andkirby/markdown-ticket/mdt-frontend/github.svg)](https://agentmods.dev/skills/andkirby/markdown-ticket/mdt-frontend)
Your own site
<a href="https://agentmods.dev/skills/andkirby/markdown-ticket/mdt-frontend"><img src="https://agentmods.dev/badge/skills/andkirby/markdown-ticket/mdt-frontend/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 mdt-frontend

Your own site · 80×15
<a href="https://agentmods.dev/skills/andkirby/markdown-ticket/mdt-frontend"><img src="https://agentmods.dev/badge/skills/andkirby/markdown-ticket/mdt-frontend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,840 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.00060 $0.02840
Opus 5.5 $0.00024 $0.01136
Sonnet 5.5 $0.00012 $0.00568
Haiku 4.5 $0.00006 $0.00284

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

Security

Grade A, and why

mdt-frontend 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.

.agents/skills/mdt-frontend/SKILL.md · 222 lines

How it starts

The opening of the file, as written. The whole thing — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MDT Frontend Developer

Project-specific conventions for writing frontend code in frontend/src/. Generic React/TypeScript knowledge is assumed — this skill only covers MDT-specific rules that break builds or create inconsistency.

Mandatory reads

Before touching CSS or a modal component, read these files:

  1. frontend/src/STYLING.md — CSS rules: BEM naming, inline-vs-extract decision tree, surface contract
  2. frontend/src/THEME.md — token reference (colors, spacing, radius, gap, typography, z-index)
  3. frontend/src/PRIMITIVES.md — shared CSS class inventory (what already exists; check before inventing)
  4. frontend/src/ITCSS.md — ITCSS layer architecture, nesting contract, token-gap registry
  5. frontend/src/MODALS.md — three modal patterns, spacing standard, close button rules

Critical rules

1. Tailwind 3 @apply cannot chain custom classes

This is the #1 build breaker. Tailwind 3 cannot resolve custom classes (defined in @layer components) inside @apply within the same layer.

/* ❌ BREAKS BUILD — .btn is a custom class in @layer components */
.btn-primary {
  @apply btn bg-primary text-primary-foreground;
}

/* ✅ CORRECT — inline the base utilities */
.btn-primary {
  @apply inline-flex items-center justify-center rounded-md text-sm font-medium
    bg-primary text-primary-foreground;
  border: 1px solid oklch(var(--border));
}

Only Tailwind utility classes work in @apply. If you need to "extend" a base class, copy the utilities and add your own.

2. Use tokens — never invent sizes, colors, spacing, or radii

Tokens are the single source of truth. Before writing any hardcoded value (8px, 0.5rem, #hex, oklch(0.5 …)), check frontend/src/THEME.md for an existing token. If a token exists, use it. If you need a value that doesn't exist as a token, add the token to frontend/src/styles/design-tokens.css (both :root and .dark) — don't hardcode it where you need it.

Concern Token scale (consume via bare var()) Examples
Spacing / gap --gap-xs (4px), --gap-sm (8px), --gap-md (16px default), --gap-lg (24px) gap: var(--gap-md); between header elements
Border radius --radius-input (8px), --radius-card (8px), --radius-xs (4px), --radius-pill (999px) border-radius: var(--radius-input);
Card density --pad-y, --pad-x, --fs-xs, --fs-md (driven by CardDensity pref) driven by useCardDensity — don't hardcode card padding
Icon / control sizing --sz-icon (16px glyph), --sz-control (32px hit target) glyph beside ticket key
Colors --bg-subtle/muted/elevated, --text-muted/subtle, --primary-text, --border-strong, status/priority/type tokens background: var(--bg-elevated);
Border oklch(var(--border)) (shadcn channel set) border-color: oklch(var(--border));

Read the full file on GitHub · 222 lines

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 Changed · +1 tokens per session 5196b24d0b41
  2. 2mo ago First seen · 222 lines · 59 tokens per session scan A 5cf2755dc199

Subscribe to this mod's changes

mdt-frontend is a skill published in the GitHub repository andkirby/markdown-ticket (7 stars, last pushed 5d ago), licensed MIT. It adds 60 tokens to every session and 2,840 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

mdt-frontend compared with skills from other repositories

mdt-frontend next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mdt-frontendandkirby/markdown-ticketSkill75d agoMITA60Claude Code, Codex
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
ui-checkstyleopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A122Claude Code
tamagui-v6-configtamagui/tamaguiSkill14ktodayMITA0Claude Code, Codex
tamagui-theme-generatortamagui/tamaguiSkill14ktodayMITA48Claude Code, Codex
frontend-ui-dark-tsmicrosoft/skillsSkill3.2kyesterdayMITA48Claude Code
building-landing-homelobehub/lobe-iconsSkill2.7k3d agoMITA121Claude Code, Codex