CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

generate-slsa

Add a SLSA Generation step (YAML type: provenance) to an existing Harness pipeline to generate SLSA provenance and optionally attest with Cosign (keyless, key-based, or Vault). Supports container images (Docker, ECR, GCR, GAR, ACR, HAR) and Harness Local Stage artifacts. Place after image build/push; run sequentially after SBOM steps, not in parallel. Only works with existing pipelines. Use when asked to generate SLSA, add SLSA provenance, SLSA Generation step, attest SLSA, or configure SLSA Level 3 provenance in a pipeline. Trigger phrases: generate SLSA, SLSA generation, add SLSA step, SLSA provenance, attest SLSA, SlsaGeneration, provenance step, SLSA attestation, add provenance step.

Quality

97%

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

SKILL.md
Quality
Evals
Security

Quality

Content

92%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 strong, highly actionable skill body: concrete YAML and MCP tooling, an explicitly sequenced wizard with confirm-before-write and error-retry checkpoints, well-organized real references one level deep, and no conceptual padding. The one genuine inefficiency is that several critical constraints (the provenance/SlsaGeneration enum, SBOM sequencing, do-not-execute) are repeated across the Interaction model, Instructions, Performance Notes, and Troubleshooting sections.

Suggestions

Consolidate each critical constraint (provenance vs SlsaGeneration enum, SBOM sequencing, do-not-execute) into one authoritative statement — e.g. in the Interaction model or Performance Notes — and have Troubleshooting reference it in one line instead of restating the rule; this would trim roughly 10-15 lines with no loss of emphasis.

The 'Performance Notes' section overlaps heavily with the 'Interaction model (mandatory)' list (wizard UX mandatory, placement after build/push, sequential with SBOM, existing pipelines only) — merge the non-duplicated items (YAML field mappings, file-secret requirements, /manage-supply-chain boundary) into other sections and drop the rest.

DimensionReasoningScore

Conciseness

The body is dense with operational specifics and teaches no background concepts (no 'what is SLSA/Cosign' padding), but several critical rules are repeated three to five times: 'type: provenance... not SlsaGeneration' appears in the intro, Performance Notes, and Troubleshooting; SBOM-sequential placement and 'do not execute the pipeline' each recur in the interaction model, instructions, summary, Performance Notes, and Troubleshooting. That is more than the 'minor instances' of the score-5 anchor would allow, though clearly deliberate emphasis rather than the unnecessary explanation of the score-3 anchor — so it sits between, noticeably above the midpoint.

4 / 5

Actionability

Guidance is fully executable for the common cases: a complete Docker Registry step YAML block, concrete attestation/digest/ECR spec fragments that slot into it, an exact `harness_update` MCP call with parameters, a `harness_schema(..., path="steps")` validation command, and troubleshooting entries keyed to specific API error strings ('does not have a value in the enumeration', 'CONNECTOR_NOT_FOUND'). Matches the score-5 anchor ('copy-paste ready... specific examples cover the common cases').

5 / 5

Workflow Clarity

The 11-phase wizard table gives an explicit sequence, and validation checkpoints are present and explicit: 'Fetch before configure', 'Confirm before write — summary + harness_update only after user confirms', 'Stop after update', and a feedback loop for error recovery ('On validation errors, read the API message, fix fields... retry'), reinforced by a scenario-based Troubleshooting section. This matches the score-5 anchor (clear sequence, explicit validation, feedback loops, checklists); score 4 would require missing checkpoints, and none are.

5 / 5

Progressive Disclosure

Structure is exactly the intended pattern: the body keeps overview-level content and delegates depth via three clearly signaled, one-level-deep references — 'Full phase prompts: references/interactive-wizard-flow.md', 'Google GCR / GAR / Azure ACR / HAR / Local: see references/slsa-generation-step.md', and 'CD path... see CD reference' — all of which exist in the bundle, reference no deeper files, and are cited at the logical decision points. Content split is appropriate (registry-specific specs and CD internals live in references), matching the score-5 anchor.

5 / 5

Total

19

/

20

Passed

Description

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

An excellent description: fully concrete capabilities, explicit 'Use when' guidance with an exhaustive trigger-phrase list covering synonyms and both UI and API naming, third-person voice, and clear niche boundaries. The only flaw is mild redundancy — the 'Trigger phrases:' list substantially duplicates the 'Use when asked to...' clause, adding length without adding information.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions with comprehensive coverage: 'Add a SLSA Generation step (YAML type: provenance)... generate SLSA provenance and optionally attest with Cosign (keyless, key-based, or Vault)' plus enumerated registries '(Docker, ECR, GCR, GAR, ACR, HAR)' and 'Harness Local Stage artifacts'. This matches the score-5 anchor ('multiple specific concrete actions; comprehensive coverage') and exceeds score 4, which permits coverage gaps.

5 / 5

Completeness

Both 'what' and 'when' are explicit: the what is fully specified (add provenance step, generate SLSA provenance, attest with Cosign in three modes, placement 'after image build/push; run sequentially after SBOM steps'), and the when is concrete ('Use when asked to generate SLSA, add SLSA provenance, SLSA Generation step, attest SLSA, or configure SLSA Level 3 provenance in a pipeline') plus a dedicated trigger-phrase list. This is the score-5 anchor verbatim in structure; score 4 would require a less explicit 'when', which is not the case.

5 / 5

Trigger Term Quality

Trigger coverage is comprehensive with synonyms and variations users would naturally say: 'generate SLSA, SLSA generation, add SLSA step, SLSA provenance, attest SLSA, SlsaGeneration, provenance step, SLSA attestation, add provenance step', including both the UI label ('SLSA Generation step') and the technical enum ('SlsaGeneration'). Matches the score-5 anchor; no natural phrasing for this domain is plausibly missing.

5 / 5

Distinctiveness Conflict Risk

It carves out a clear niche — SLSA provenance generation in existing Harness pipelines — with distinct triggers and scope boundaries ('Only works with existing pipelines', placement after build/push, sequential after SBOM) that separate it from adjacent skills like SBOM generation or SLSA verification/enforcement. Minimal conflict risk, matching the score-5 anchor.

5 / 5

Total

20

/

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

harness/harness-ai

Path

plugins/claude/skills/generate-slsa/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.