- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add Ar9av/obsidian-wiki --skill obsidian-layout-adjustment -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add Ar9av/obsidian-wiki --skill obsidian-layout-adjustment -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add Ar9av/obsidian-wiki --skill obsidian-layout-adjustment -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add Ar9av/obsidian-wiki --skill obsidian-layout-adjustment -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/Ar9av/obsidian-wiki/tree/HEAD/skills/obsidian-layout-adjustment來自發布者
This skill is for changing how Obsidian looks with CSS files while working with the user's visual language.
Obsidian is always the same kind of environment: app frame, tab headers, side docks, view headers, pane shells, note surface, properties, file explorer, backlinks, graph, rendered markdown, and status bar. The vault, theme, snippets, plugins, and desired taste direction change, but the canvas stays Obsidian.
The core behavior is translation:
the user names a visible Obsidian object. Translate that phrase into the stable Obsidian layer/backend object, edit the active snippets safely, screenshot the result, and keep iterating without losing good states.
This is not a general CSS workflow and not a fixed-theme generator.
This skill should make live styling work faster, not turn every small request into a report.
In normal use:
Good normal update:
"I’m treating 'tabs above the note' as workspace tab headers, not the arrows/book/dots view header. I’ll checkpoint active snippets, patch that selector family only, and screenshot the tab strip."
Do not write a long workflow report unless:
The value is in preventing bad CSS loops while still moving quickly.
Read references/workflow-reference.md when:
The reference is Obsidian-specific. Use it before treating the UI as an unknown web page.
<vault>/.obsidian/appearance.json.enabledCssSnippets as the active styling source of truth..obsidian/snippet-archive/, never into .obsidian/snippets, so the snippet picker stays clean.The user will usually name what they see, not the selector:
Before editing, map the phrase:
user phrase -> visible object -> Obsidian layer -> likely selector/settings surface -> change type -> owning layer
Say the mapping back when it could be ambiguous:
"When you say the tabs above the note, I am treating that as the workspace tab headers, not the arrows/book/dots row inside the note pane."
This is the main mistake-prevention step. Most frustrating failures came from changing a plausible element that was not the object the user meant, or changing a child when the wrapper/header/stage owned the visible shape.
Use this compact map first, then verify exact selectors in the live vault:
The visible object and backend layer should be treated as stable across Obsidian work. Exact class names can vary by theme/plugin/app version, so verify in the live vault before patching.
The same object needs different work depending on the request:
box-shadow.If a target needs two change types, do two passes. For example, make side-dock icons readable first, then tune the selected-state color.
Start with:
appearance.jsonAvoid changing first:
Ask for explicit confirmation before:
.obsidian/snippets or Obsidian settingsCSS validity is not visual success. The screenshot is product truth.
For every meaningful visual pass:
If another window covers Obsidian, retake the screenshot. Verify the verifier: confirm Obsidian is actually frontmost before trusting a capture (AppleScript can check the frontmost process). If the issue is tiny, capture just that region — screencapture -R<x,y,w,h> out.png — around the edge, icon, tab, row, or pane.
If the screenshot disproves the fix, keep working, restore, or say it failed. Do not close as if formatting proved success.
the user's corrections are selector evidence:
If a direction fails twice, restore the last good checkpoint and change the ownership model.
Do not refactor during taste exploration.
When the user likes the look:
.obsidian/snippets.CSS size is usually less dangerous than cascade confusion and a messy active snippet picker.
When done, keep the closeout short. Report:
Avoid explaining the whole workflow after every small pass. The workflow should be visible in the actions: checkpoint, scoped edit, screenshot, and evidence-based next step.
>
---name: obsidian-layout-adjustmentdescription: >---# skills/obsidian-layout-adjustment/SKILL.md常見問題
從發布者下載 skills/obsidian-layout-adjustment/SKILL.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/Ar9av/obsidian-wiki。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。