Skip to main content
Glama

style_sniffer

Analyze code samples to infer project style and generate PROJECT_RULES.md content, optionally saving it to a directory.

Instructions

Sniff project code style from samples → PROJECT_RULES.md content (returns text; output dir optional).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoOverwrite existing PROJECT_RULES.md when output is set (default: false)
scopeNoScan scope: directory relative to workspace_dir (default: ".")
outputNoDirectory to write PROJECT_RULES.md into (default: none, returns content only). Will NOT overwrite an existing file unless force=true
workspace_dirYesREQUIRED: absolute path of the project root to sniff style in

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wulun811/LiuHe'

If you have feedback or need assistance with the MCP directory API, please join our Discord server