Skip to content

armgit / chops

Public Imported from GitHub
0

Your AI agent skills, finally organized. A macOS app to browse, edit, and manage skills across Claude Code, Cursor, Codex, Windsurf, and Amp.

353 B
Raw Blame
import Foundation

/// Parser for Cursor .mdc rule files.
/// MDC files use a frontmatter-like format with YAML between --- delimiters,
/// followed by markdown content.
enum MDCParser {
    static func parse(_ text: String) -> ParsedSkill {
        // MDC files use the same frontmatter format as SKILL.md
        FrontmatterParser.parse(text)
    }
}