CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

auth

This skill defines when to activate authentication expertise and requires application auth flows to use `AuthResolver`. It documents Azure DevOps credential fallback, failure classification, helper reporting safeguards, and diagnostic messages, with the authentication diagram designated as the source of truth. It also gives specific command examples and guidance for updating that diagram when behavior changes.

Quality

68%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./.apm/skills/auth/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

75%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 body is a dense, highly actionable rulebook for this codebase's auth system with concrete commands, paths, and a complete diagnostic catalog. Its main weakness is token weight: the verbatim error-message catalog and the run-on chain-ownership paragraph would be tighter (or better placed in a reference file) in the SKILL.md body.

Suggestions

Move the 7-case diagnostic message catalog and the verbatim fallback/verbose output blocks into a references/ file (e.g. references/ado-diagnostics.md), keeping a one-line summary and link in the body.

Break the run-on paragraph on chain ownership/report_helper_outcome rules into a short bullet list for the same token cost but far better scannability.

Add a brief validation checkpoint for changes, e.g. 'After touching auth_chain.py or auth.py, run the auth test suite before considering the change done.'

DimensionReasoningScore

Conciseness

Every fact is project-specific with no padding or explanation of concepts Claude already knows, but roughly a third of the body is verbatim error-message copy (the 7-case diagnostic catalog, stale-PAT fallback output, verbose source lines) plus one dense run-on paragraph of chain-ownership rules, which could be tightened or split out. This fits 'mostly efficient but includes some ... that could be tightened' rather than level 4's 'minor instances'.

3 / 5

Actionability

Fully actionable: exact commands ('az account get-access-token --resource 499b84ac-1321-427f-aa17-267ca6975798', 'az login --tenant <correct-tenant>'), specific file paths and entry points ('AuthResolver.try_with_fallback is the only chain entry'), unambiguous rules ('No direct os.getenv() for token variables'), and a complete 7-case diagnostic catalog with concrete remediations covering the common cases.

5 / 5

Workflow Clarity

The ADO chain is a clearly numbered 1-4 sequence with explicit advance conditions (HTTP 401/403, redirect to sign-in, HTML sign-in page, Git auth error via classify_auth_outcome) and error-recovery guidance per case. Minor gap: no explicit validation step for Claude's own changes (e.g. running the auth tests after modifying the chain), so it sits at 'clear sequence with most checkpoints' rather than level 5.

4 / 5

Progressive Disclosure

Well-organized sections (When to activate, Key rule, Canonical reference, ADO chain, Diagnostics) with a clearly signaled one-level-deep canonical reference and no nested references. The minor gap is the inlined error-message catalog that could live in a reference file, fitting 'good structure; most content appropriately placed; minor organization gaps' rather than the level 5 split.

4 / 5

Total

16

/

20

Passed

Description

47%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 has excellent and explicit activation triggers with highly distinctive project-specific identifiers, but it is missing any statement of what the skill does. Adding a concise capability clause would raise both completeness and specificity.

Suggestions

Add a 'what' clause stating what the skill provides, e.g. 'Provides the APM CLI auth resolution rules: all credential chains must route through AuthResolver; covers GitHub and Azure DevOps token resolution, fallback order, and error diagnostics.'

Include common natural trigger variations users would say, such as 'login', 'unauthorized', '401/403', or 'credential helper'.

Tighten the broad catch-all 'any remote host authentication' by anchoring it to the named hosts/services (e.g. 'GitHub or Azure DevOps remote host authentication') to reduce overlap with generic auth skills.

DimensionReasoningScore

Specificity

The description names concrete domains and identifiers ("token management, credential resolution, git auth flows, GITHUB_APM_PAT, ADO_APM_PAT, AuthResolver") but never states any action the skill performs. It matches the anchor 'names the domain but actions are minimal or generic' rather than level 3, which requires 1-2 concrete actions.

2 / 5

Completeness

The 'when' is explicit and thorough ("Activate when code touches token management ... even if 'auth' isn't mentioned explicitly"), but the 'what' — what the skill actually provides or does — is entirely absent. This matches the anchor 'only when is present without what'; level 3 would require a clear 'what'.

2 / 5

Trigger Term Quality

Good keyword coverage including natural terms (auth, authentication, credentials, tokens) plus specific identifiers (GITHUB_APM_PAT, ADO_APM_PAT, AuthResolver, HostInfo, AuthContext) and git auth flows. Common variations such as 'login', 'unauthorized', '401', or 'API key' are missing, keeping it below the comprehensive level 5 anchor.

4 / 5

Distinctiveness Conflict Risk

Project-specific identifiers (ADO_APM_PAT, AuthResolver, HostInfo, AuthContext) give it a clear niche with distinct triggers, but the broad catch-all "any remote host authentication" creates minor overlap risk with a generic git-credential or auth skill, so it fits 'mostly distinct; minor overlap risk' rather than level 5.

4 / 5

Total

12

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 2 suspicious

Warning

Total

15

/

16

Passed

Repository

microsoft/apm

Path

.apm/skills/auth/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.