skills/cursor-deeplinks/SKILL.md
Generate Cursor deeplinks (prompt/command/rule and MCP install links) using the repo generator and the project output contract. Use when the user asks for a Cursor deeplink, cursor:// links, cursor.com/link links, or wants to create prompts/commands/rules via deeplinks.
npx skillsauth add janjaszczak/cursor cursor-deeplinksInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill standardizes how to create Cursor deeplinks (per this repo’s conventions), including:
.cursor/commands/*.md in the current project after approval).cursor/rules/*.mdc in the current project after approval)Primary reference in this repo: doc/cursor-deeplinks.md
Preferred generator: scripts/cursor-deeplink-gen.py
Use the generator script to avoid encoding mistakes and to verify the 8,000 char URL limit (post-encoding):
python3 scripts/cursor-deeplink-gen.py prompt --text "Create a README for this repo" --md
python3 scripts/cursor-deeplink-gen.py command --name "run-all-tests" --text "Run the full test suite and fix failures" --md
python3 scripts/cursor-deeplink-gen.py rule --name "python-style" --text "Prefer ruff/black; avoid implicit Any." --md
python3 scripts/cursor-deeplink-gen.py mcp-install --name postgres --config-file mcp.json --md
When asked to produce a deeplink, return:
https://cursor.com/link/...cursor://anysphere.cursor-deeplink/...Cursor supports two equivalent bases:
https://cursor.com/linkcursor://anysphere.cursor-deeplinkSupported paths and params:
/prompttext=<promptText>/commandname=<commandName>, text=<commandContent>.cursor/commands/ in the current project after approval./rulename=<ruleName>, text=<ruleContent>.cursor/rules/ in the current project after approval./mcp/installname=<serverName>, config=<base64(JSON.stringify(transportConfig))>transportConfig is the per-server object (e.g. {"command":"npx","args":[...]}), not the whole mcp.json mapping.Notes:
config must be base64 of the stringified JSON. Base64 output must be safe for query params (must be URL-encoded; + becomes %2B).python3 scripts/cursor-deeplink-gen.py prompt --text "Write a short changelog entry for the last commit" --md
python3 scripts/cursor-deeplink-gen.py command --name "audit-config" --text "Review mcp.json for risky settings and propose fixes." --md
python3 scripts/cursor-deeplink-gen.py rule --name "cursor-deeplinks" --text "When asked for a deeplink, output WEB+APP links + expected result + safety note." --md
python3 scripts/cursor-deeplink-gen.py mcp-install --name "github" --config-file mcp.json --md
doc/cursor-deeplinks.mdhttps://cursor.com/docs/integrations/deeplinks.mdhttps://cursor.com/docs/context/mcp/install-links.mddata-ai
KeePassXC cursor.kdbx — natywny keyring per OS, keepass-db.path bez fallbacków, agent instaluje brakujące narzędzia.
development
Build or modify plain HTML/CSS/JavaScript (no framework) using modular ES modules (ESM), SRP, minimal global state, and shippable runnable files with lightweight verification. Use for static pages, small UI widgets, vanilla JS refactors, and quick prototypes without React/Vue/Angular.
testing
Perform root-cause analysis for bugs/errors/regressions using logs, repro steps, and hypothesis testing. Use when the user reports “nie działa”, stack traces, failing tests, or regressions.
tools
Plan, split, and track multi-step work using Shrimp Task Manager MCP (or equivalent). Use for multi-file refactors, migrations, or any work that benefits from task tracking.