Skip to main content
Glama

generate_skills

Analyze a repository from a Git URL or local path to generate skills.sh and rules.md, capturing engineering culture and conventions for AI coding agents.

Instructions

Generate skills.sh and rules.md for a repository into a directory.

Args:
    repo_url: Git URL or local path of the repository to analyze.
    output_dir: Directory to write skills.sh and rules.md into.
    history_depth: Number of commits to fetch for git history analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_urlYes
output_dirYes
history_depthNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It does disclose the core write operation — that it writes skills.sh and rules.md into an output directory — and names the history_depth parameter's behavioral effect (fetching commits for analysis). However, it does not disclose whether existing files are overwritten, whether the repo must be cloned (network dependency), or any side effects or failure modes for a tool that mutates the filesystem.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is tight and well-organized: a single front-loaded purpose sentence followed by a compact Args list. Every line earns its place, with no filler or redundant restatement of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value documentation is not the description's job. The description adequately covers the tool's purpose and all three parameters. The remaining gaps are usage routing versus siblings and behavioral edge cases (overwrite, network), which prevents a perfect score but leaves the tool callable correctly in the common case.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must fully compensate, and it does: each of the three parameters (repo_url, output_dir, history_depth) gets a meaningful one-line explanation in the Args block that goes beyond the bare schema titles, including the commit-count purpose of history_depth and the directory-write semantics of output_dir.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Generate') with concrete outputs ('skills.sh and rules.md') and a target resource (a repository), which clearly differentiates it from the analysis-oriented siblings (analyze_repository, analyze_dimension, list_dimensions). However, the semantic meaning of what 'skills' and 'rules' contain is never explained, leaving some ambiguity about what the tool actually produces.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The purpose implies usage context — you call this when you want to produce skills/rules files for a repository — and the sibling names suggest these are analysis tools while this is a generation tool. But the description gives no explicit when-to-use or when-not-to-use guidance, no prerequisites (e.g., network access for remote repos), and never names an alternative or exclusion.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.