mdsmith
Esc
    v0.52.0 GitHub

    mdsmith help

    Show built-in documentation for rules, metrics, and concept pages.

    Pulls every page from the embedded docs bundle — no network call, no extra install. Useful for piping into AGENTS.md, CLAUDE.md, .cursor/rules, or any LLM context.

    mdsmith help <topic>

    # Topics

    TopicDescription
    rule [id|name]Show rule documentation
    metrics [id|name]Show metric documentation
    kindsShow concept page for file kinds
    kinds-cliSummarize the kinds subcommand surface
    placeholder-grammarShow placeholder vocabulary reference
    patternsList maintainability patterns by rule

    mdsmith help rule with no argument lists every rule with its ID, name, status, and one-line description.

    # Examples

    mdsmith help rule line-length
    mdsmith help rule MDS001
    mdsmith help metrics token-estimate
    mdsmith help kinds > AGENTS-context.md
    mdsmith help patterns
    mdsmith help patterns -f json

    # Exit codes

    CodeMeaning
    0Topic printed
    2Unknown topic / lookup error