.trae/skills/using-obsidian-api/SKILL.md
This rule provides instruction for interacting with the Obsidian API
npx skillsauth add aitorllj93/obsidian-lovely-bases using-obsidian-apiInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
BasesEntry: Represents a note/entry with propertiesBasesViewConfig: View configuration (user options)BasesPropertyId: Property identifier (string)App: Obsidian application instanceTFile: Obsidian file// Get property value
const value = entry.getValue(propertyId);
// Get property display name
const displayName = config.getDisplayName(propertyId);
// Get image (resolves internal and external paths)
import { getResourcePath } from "@/lib/obsidian/link";
const imageSrc = getResourcePath(app, imageUrl, entry.file.path);
The Obsidian context exposes shared Obsidian variables.
const { app, component, containerEl, isEmbedded } = useObsidian();
Define and use reusable hooks to wrap Obsidian features in src/hooks to simplify the workflow and increase reusability
// Get config value with default
const layout = useConfigValue<"vertical" | "horizontal">("layout", "vertical");
// Get entry data
const entry = useEntry(entryId);
// Get entry property
const property = useEntryProperty(entryId, propertyId);
// Get entry title
const title = useEntryTitle(entryId);
// Handler to open entry
const handleOpen = useEntryOpen(entryId);
// Handler for hover with preview
const handleHover = useEntryHover(entryId, linkRef);
documentation
Interactive skill for creating new Bases Views. Guides through adaptive questioning, then generates all necessary files.
development
This rule provides instruction for interacting with the Obsidian API
documentation
Interactive skill for creating new Bases Views. Guides through adaptive questioning, then generates all necessary files.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.