packages/skills/skills/obsidian-plugin/SKILL.md
# Obsidian Plugin Development Comprehensive guidelines for Obsidian.md plugin development including ESLint rules, TypeScript best practices, and submission requirements. ## Prerequisites - TypeScript knowledge - Familiarity with Obsidian.md - Node.js environment ## Instructions ### Core Principles 1. **Memory Safety**: Prevent leaks through proper resource management 2. **Type Safety**: Use proper type narrowing, avoid unsafe casts 3. **API Best Practices**: Follow Obsidian's recommended p
npx skillsauth add mediar-ai/skillhubz packages/skills/skills/obsidian-pluginInstall 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.
Comprehensive guidelines for Obsidian.md plugin development including ESLint rules, TypeScript best practices, and submission requirements.
registerEvent() for automatic cleanupinstanceof instead of type castingrequestUrl() instead of fetch()innerHTML - security risk (XSS)// Use registerEvent for cleanup
this.registerEvent(this.app.vault.on('create', callback));
// Use instanceof for type checking
if (file instanceof TFile) { ... }
// Use Editor API for active file
editor.replaceSelection(text);
// Use Obsidian helpers
containerEl.createDiv({ cls: 'my-class' });
// Don't store view references
this.myView = view; // Memory leak!
// Don't use type casting
const file = item as TFile; // Use instanceof
// Don't use fetch
fetch(url); // Use requestUrl()
// Don't use innerHTML
el.innerHTML = html; // XSS risk
:focus-visibleregisterEvent(), addCommand(), registerDomEvent()this.app not global appVault.process() for background file modificationsnormalizePath() for user pathseslint-plugin-obsidianmd/create-pluginSource: gapmiss/obsidian-plugin-skill
tools
Use when the user wants to manage Valet agents, channels, connectors, organizations, or environment variables (secrets and plain config) via the valet CLI. Handles creation, deployment, linking, teardown, and all multi-step workflows. Also use when asked to "create an agent", "deploy an agent", "design an agent", "build me an agent that...", "create a connector", "set up a webhook", or anything involving the Valet platform or any request to create and deploy AI agents. Also use when asked to "learn from this session", "capture this workflow", "save this as an agent", "make this repeatable", or when writing SOUL.md files.
tools
Publish files, folders, and artifacts to the web. Static hosting for HTML sites, images, PDFs, reports, dashboards, and any file type. Use when asked to publish, host, upload, serve, or share work at a live URL. Also use to propose a rendered page when a report, comparison, chart, design document, or status page would work better than terminal text, but do not create or update a remote site until the user asks or agrees. Account publishing gives a permanent, private-by-default URL visible to org members; --anonymous gives a temporary public URL with no account. Use the valet CLI when available and its MCP server when the CLI cannot run. For deploying an AI agent rather than static files, use the `valet` skill instead.
testing
# Faceless.so Turn a script, prompt, Reddit post, or blog into a Remotion short with TTS, captions, and B-roll, then auto-post to YouTube, TikTok, Instagram, X, Facebook, LinkedIn, and Threads. ## Prerequisites - A Faceless.so account (from $24/mo) at https://faceless.so - Source material: script, prompt, Reddit URL, or blog URL - Destination social accounts to auto-post (YouTube, TikTok, Instagram, X, Facebook, LinkedIn, Threads) ## Instructions 1. Open https://faceless.so and start a new
testing
# BIMI SVG Tiny P/S Corpus Validator Use the public makeBIMI SVG Tiny P/S Test Corpus to evaluate an SVG against its evidence-bound fixture rules and to report the result clearly. ## Inputs Accept either an SVG file, an SVG URL, or raw SVG markup. If the source cannot be retrieved or parsed as XML, stop and report that limitation. ## Authoritative corpus 1. Retrieve the current manifest from `https://makebimi.com/public/test-corpus/v1/manifest.json`. 2. Record `schema_version`, `corpus_vers