CtrlK
BlogDocsLog inGet started
Tessl Logo

cli-commands

Use when adding or modifying CLI command (`but` commands) under `crates/but/src`.

65

Quality

77%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/cli-commands/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

85%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The content is a tight, highly actionable recipe for adding but CLI commands with copy-paste code and clear sectioning. It is strong on actionability and conciseness, with only minor gaps in explicit validation checkpoints and in pushing example code out to referenced files.

Suggestions

Add an explicit validation checkpoint, e.g. 'After implementing, run cargo check -p but and verify the command appears in but --help before considering it done'.

Move the longer reference implementations into a referenced examples file and keep only the minimal pattern inline, to improve progressive disclosure.

DimensionReasoningScore

Conciseness

The body is largely lean and assumes Claude's competence (e.g. 'Commands follow a resolve then run structure'), with minimal padded explanation; a few 'Things to note' bullets state rationale Claude could infer, keeping it just short of a 5.

4 / 5

Actionability

It provides copy-paste-ready Rust code for args, lib.rs dispatch, and the command implementation, plus specific, executable guidance (e.g. 'Use CliIdArg', 'Use IntermediateChannel', 'resolve returns CliResult'), covering the common cases.

5 / 5

Workflow Clarity

The process is clearly sequenced (Arguments -> Handling -> Implementing) with concrete steps and notes, but it lacks explicit validation checkpoints for verifying the command compiles or behaves correctly before proceeding.

4 / 5

Progressive Disclosure

Content is well organized into themed sections and points to real example files (commit.rs, move.rs, squash.rs, diff.rs) as one-level references; however the body inlines substantial code rather than splitting examples into reference files, leaving minor organization gaps.

4 / 5

Total

17

/

20

Passed

Description

70%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is concise, third-person, and clearly pairs a 'what' with an explicit 'Use when...' trigger scoped to a specific crate path. It is strong on completeness and distinctiveness but slightly thin on enumerated concrete actions and natural keyword variations.

Suggestions

Add a couple of natural trigger phrases a user might say, e.g. 'Use when adding a new but subcommand, wiring up CLI flags, or registering a command in crates/but/src'.

Name a few concrete actions (e.g. 'define argument structs, register subcommand variants, implement resolve/run handlers') to lift specificity from 3 to 4-5.

DimensionReasoningScore

Specificity

It names the domain (adding/modifying CLI commands) and concrete actions are implied by 'adding or modifying', but it does not enumerate several distinct concrete capabilities, matching the 'domain and 1-2 concrete actions' anchor.

3 / 5

Completeness

It explicitly states what the skill does ('adding or modifying CLI command') and when to use it ('Use when... adding or modifying CLI command under crates/but/src'), answering both what and when with a concrete trigger phrase.

5 / 5

Trigger Term Quality

'CLI command' and 'but commands' are relevant keywords but it lacks common natural variations a user might say (e.g. 'subcommand', 'flag', 'argument'), matching 'some relevant keywords but missing common variations'.

3 / 5

Distinctiveness Conflict Risk

The narrow scope ('but commands under crates/but/src') gives it a clear niche with distinct triggers and minimal conflict risk with other skills.

5 / 5

Total

16

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
gitbutlerapp/gitbutler
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.