textmate-grammar

3 stars
16
A

Use when authoring TextMate grammars for syntax highlighting - covers scopes, patterns, and language injection

Also in: security

Third-Party Agent Skill: Review the code before installing. Agent skills execute in your AI assistant's environment and can access your files. Learn more about security

Installation for Agentic Skill

View all platforms →
skilz install mcclowes/lea/textmate-grammar
skilz install mcclowes/lea/textmate-grammar --agent opencode
skilz install mcclowes/lea/textmate-grammar --agent codex
skilz install mcclowes/lea/textmate-grammar --agent gemini

First time? Install Skilz: pip install skilz

Works with 22+ AI coding assistants

Cursor, Aider, Copilot, Windsurf, Qwen, Kimi, and more...

View All Agents
Download Agent Skill ZIP

Extract and copy to ~/.claude/skills/ then restart Claude Desktop

1. Clone the repository:
git clone https://github.com/mcclowes/lea
2. Copy the agent skill directory:
cp -r lea/.claude/skills/textmate-grammar ~/.claude/skills/

Need detailed installation help? Check our platform-specific guides:

Related Agentic Skills

Agentic Skill Details

Repository
lea
Stars
3
Type
Non-Technical
Meta-Domain
development
Primary Domain
github
Market Score
16

Agent Skill Grade

A
Score: 91/100 Click to see breakdown

Score Breakdown

Spec Compliance
12/15
PDA Architecture
26/30
Ease of Use
23/25
Writing Style
9/10
Utility
18/20
Modifiers: +3

Areas to Improve

  • Missing TOC in references
  • Testing section lacks step-by-step
  • Description could include more triggers

Recommendations

  • Add trigger phrases to description for discoverability
  • Add table of contents for files over 100 lines

Graded: 2026-01-24

Developer Feedback

I found your textmate-grammar skill while evaluating the latest batch, and I'm impressed by how thoroughly you've documented the grammar system—the way you break down scope rules and pattern matching is something most people gloss over. With a solid 91/100, there's just a handful of things that could push this to that next level.

Links:

The TL;DR

You're at 91/100, A territory—this is production-ready work. The evaluation is based on Anthropic's best practices for agent skills. Your strongest area is Ease of Use (23/25) with crystal-clear metadata and workflow progression, but you're leaving a few points on the table in Progressive Disclosure Architecture (26/30) where the reference structure could be tighter.

What's Working Well

  • Reference architecture is solid. You've got scopes.md and regex.md as clean one-level-deep references—exactly what the PDA pattern calls for. Users don't have to dig through nested references.
  • Examples are practical and dense. The JSON patterns in your Quick Start aren't bloated; they show real input/output pairs that someone can actually use immediately.
  • Terminology is consistent throughout. You use "patterns," "scopes," "captures," and "repository" the same way across all files—no confusion about what you mean.
  • Testing section gives real validation. The "Developer: Inspect Editor Tokens and Scopes" command is solid feedback loop material; users know exactly how to verify their work.

The Big One

Your reference files (scopes.md especially at 145 lines) are missing a table of contents. This is a straightforward fix that nets you +1 point. Add a TOC section right after the header:

# TextMate Scope Naming

## Table of Contents
- [Standard Scope Categories](#stan...

Report Security Issue

Found a security vulnerability in this agent skill?