CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

pre-commit-checks

Pre-commit validation checks for azure-sdk-for-net. Use this before committing or pushing changes to SDK packages. Runs dotnet format, exports public API listings, updates snippets, and regenerates code as needed.

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

—

The risk profile of this skill

SKILL.md
Quality
Evals
Security

Quality

Content

82%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.

A well-structured, highly actionable procedural skill: every step has a real command, explicit trigger conditions, correct ordering, and a final verification gate. The main improvement opportunities are trimming the duplicated execution-order notes, adding error-recovery guidance when a step fails, and offloading the reference-like checklists into a bundled reference file.

Suggestions

Trim the redundancy between the per-step scope notes (e.g., "operates at the ServiceDirectory level" in steps 4-5) and the Execution order section by keeping the ordering rationale in one place only.

Add brief error-recovery guidance for failed steps (e.g., what to inspect or rerun before deciding the commit must be blocked), turning the stop-only rule into a fix-and-retry feedback loop appropriate for batch regeneration operations.

Move reference-like material such as the CodeGen attribute list and the public-API-surface-change checklist into a references/ file linked from the relevant steps, keeping SKILL.md as a lean overview.

DimensionReasoningScore

Conciseness

The body is almost entirely repo-specific procedure with no padding or concept explanations, but the "Execution order" section (~10 lines) restates per-step scope notes already given in steps 2-5, and step 2's csproj-identification paragraph overlaps step 1. This is minor trimmable duplication rather than the unnecessary explanation of anchor 3.

4 / 5

Actionability

Every step gives fully executable commands (dotnet format, dotnet build /t:GenerateCode, eng\scripts\Export-API.ps1, eng\scripts\Update-Snippets.ps1, concrete git commands in step 1) plus explicit, checkable trigger conditions and an explicit exclusion (provisioning), covering the common cases.

5 / 5

Workflow Clarity

Steps 1-6 are clearly numbered with an explicit execution-order section, conditional triggers, and a final verification checkpoint ("check for new/modified files with git status", "Do NOT commit if any of the above steps failed"). It falls short of anchor 5 because failure handling is a stop rather than a fix-and-retry feedback loop for these batch regeneration operations.

4 / 5

Progressive Disclosure

Sections are well organized with clear headers and all content is genuinely needed at run time, but the skill exceeds 50 lines with no bundle files, and reference-like material (the CodeGen attribute list, the public-API-surface-change checklist) is inlined in SKILL.md rather than split out.

4 / 5

Total

17

/

20

Passed

Description

92%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.

A strong description that clearly and concisely states both the concrete actions performed and the exact triggering context (before committing or pushing SDK package changes). Trigger-term coverage is good but could add a few natural synonyms such as "pull request" or "check-in".

DimensionReasoningScore

Specificity

"Runs dotnet format, exports public API listings, updates snippets, and regenerates code" lists four concrete actions that comprehensively mirror the skill's procedure, and it uses correct third-person voice ("Runs").

5 / 5

Completeness

It explicitly answers what it does ("Runs dotnet format, exports public API listings, updates snippets, and regenerates code") and when to use it ("Use this before committing or pushing changes to SDK packages") with a concrete trigger phrase.

5 / 5

Trigger Term Quality

Natural trigger phrases like "before committing or pushing" and "pre-commit" are present alongside tool terms (dotnet format, public API listings, snippets), but common variations such as "pull request", "PR", or "check-in" are missing.

4 / 5

Distinctiveness Conflict Risk

It is scoped to a named repository ("azure-sdk-for-net") and a narrow commit/push validation workflow, giving it a clear niche with minimal risk of triggering for unrelated skills.

5 / 5

Total

19

/

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.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

Azure/azure-sdk-for-net

Path

.github/skills/pre-commit-checks/SKILL.md

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.