snyk-ls: Skill for Cursor

.cursor/skills/implementation/SKILL.md

implementation is a skill for Cursor from snyk/snyk-ls. It costs 62 tokens per session (1,270 once invoked), scanned A, original, Apache-2.0.

A guided workflow for implementing a Jira issue or feature from planning through testing and hand-off. TDD, or test-driven development, means writing a failing test before writing the code that makes it pass.

In plain words
What is it for?
Use it when starting or resuming implementation work on a Jira issue or feature. It helps find or create a plan, write tests first, implement the change, run checks, and record progress.
Why use it?
It provides checkpoints for planning, test-first development, testing, formatting, and resuming work later. This reduces the chance of coding without a clear task or missing required checks.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is snyk/snyk-ls's own configuration. It tells Cursor how to work on snyk-ls itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything snyk-ls configures →

Reuse

Borrowing it

Nothing to install: this file belongs to snyk/snyk-ls. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/snyk/snyk-ls/main/.cursor/skills/implementation/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/snyk/snyk-ls

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for implementation

README.md
[![agentmods](https://agentmods.dev/badge/skills/snyk/snyk-ls/implementation/github.svg)](https://agentmods.dev/skills/snyk/snyk-ls/implementation)
Your own site
<a href="https://agentmods.dev/skills/snyk/snyk-ls/implementation"><img src="https://agentmods.dev/badge/skills/snyk/snyk-ls/implementation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for implementation

Your own site · 80×15
<a href="https://agentmods.dev/skills/snyk/snyk-ls/implementation"><img src="https://agentmods.dev/badge/skills/snyk/snyk-ls/implementation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,270 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.01270
Opus 5.5 $0.00025 $0.00508
Sonnet 5.5 $0.00012 $0.00254
Haiku 4.5 $0.00006 $0.00127

Measured 1mo ago against content hash c90f7444729e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

implementation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/implementation/SKILL.md · 242 lines

How it starts

The opening of the file, as written. The whole thing — 242 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Start Implementation Task

Workflow Overview

Check Plan → [Create if missing] → TEST FIRST → Implement → Test & Lint → Commit → Session Hand-off

TDD is NON-NEGOTIABLE: Every code change requires a failing test BEFORE implementation.

Phase 1: Initialize

1.1 Get Issue Context

# Extract issue ID from branch
git branch --show-current

The issueID follows format XXX-XXXX (e.g., IDE-1718).

1.2 Check for Implementation Plan

Look for: ${issueID}_implementation_plan/${issueID}_implementation_plan.md

If plan exists: Read it, note current progress, continue from last checkpoint.

If no plan: use skill create-implementation-plan to create one


Phase 1: Planning

Analysis

  • Files to modify: [list files]
  • Files to create: [list files]
  • Packages affected: [list packages]

Flow Diagrams

See: docs/diagrams/${issueID}_*.png


Phase 2: Implementation (TDD)

** read and use testing skill for TDD instructions **

Steps

  • Step 1: [description]
  • Step 2: [description]
  • Step 3: [description]

Phase 3: Review

  • All tests pass (make test)
  • Smoke tests pass (SMOKE_TESTS=1 make test)
  • Linting clean (make format)
  • Security scan clean (snyk_code_scan, snyk_sca_scan)
  • Documentation updated

Progress Tracking

Step Status Notes
Step 1 pending

Session Log

Session 1 - [DATE]

Started: [time] Completed: [list of completed items] Next: [next steps for hand-off]


### Create Diagrams

1. Create mermaid files in `docs/diagrams/${issueID}_*.mmd`
2. Run: `make generate-diagrams`
3. Reference PNGs in implementation plan

### Get Confirmation

**Stop here.** Present the plan and wait for user confirmation before proceeding.

## Phase 3: Implementation (Outside-In TDD)

### CRITICAL: TDD is MANDATORY

**NEVER write production code before writing a failing test.**


This applies to:
- New features
- Bug fixes
- Security fixes
- Refactoring
- ANY code change

### TDD Gate Check

** ALWAYS use the testing skill. **

Before writing ANY production code, verify:

- [ ] **Test exists?** Have I written a test for this change?
- [ ] **Test fails?** Does the test fail without my change?
- [ ] **Test is specific?** Does the test target the exact behavior I'm changing?

**If ANY answer is NO → STOP and write the test first.**

### TDD Cycle

For each feature/change:

1. **STOP** - Do not touch production code yet
2. **READ and USE testing skill.**
2. **Write failing test first** (outside-in: ensure smoke tests. also write unit tests)
3. **Run test** - confirm it fails for the right reason
4. **Write minimal code** to make test pass
5. **Run test** - confirm it passes
6. **Refactor** if needed (tests must still pass)

### Commands

```bash

Read the full file on GitHub · 242 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 242 lines · 62 tokens per session scan A c90f7444729e

Subscribe to this mod's changes

implementation is a skill published in the GitHub repository snyk/snyk-ls (82 stars, last pushed yesterday), licensed Apache-2.0. It adds 62 tokens to every session and 1,270 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ui-animation

A test-first development method that requires a failing test before production code is written. TDD, or test-driven development, repeats a cycle of writing a test, making it pass, and then improving the code.

sutchan/Agent-Skills-Hub · 15 tokens

test-driven-development

A strict test-first method for implementing software changes: write a failing test, confirm that it fails, add the smallest code that passes, and then improve the code. TDD means test-driven development.

sutchan/Agent-Skills-Hub · 23 tokens

writing-plans

A guide for writing detailed implementation plans before changing code. It breaks a specification into small tasks, files to inspect or edit, and ways to test the result; TDD means writing tests before or alongside the code they check.

sutchan/Agent-Skills-Hub · 22 tokens

mirrord-prev-env

Help users create and manage mirrord preview environments — running a modified service as an isolated pod in a shared Kubernetes cluster, scoped by an environment key and HTTP/queue traffic filtering, so teams can validate and review changes against real traffic without affecting live services. Use when a developer…

metalbear-co/mirrord · 122 tokens

engram-testing-coverage

TDD and coverage standards for Engram. Trigger: When implementing behavior changes in any package.

Gentleman-Programming/engram · 25 tokens

principle-test-behavior-not-implementation

Apply when you write, change, or keep a test. Assert what the code's users can observe, so that the test fails when that behavior breaks and keeps passing when only the internals change.

michael-denyer/pstack-claude · 50 tokens