xiaohongshu
xiaohongshu
emacs-org
Use when working with Emacs org-mode - provides elisp patterns for headings, properties, tables, links, and org-mode manipulation
Full skill instructions
E-ink Monitor Compatibility: User uses an e-ink monitor that only supports black, white, and grey.
:foreground "red", :foreground "cyan", etc.):weight bold, :weight light, :slant italic, :underline t for differentiation(org-entry-get nil "PROPERTY_NAME" t) ; t enables inheritance
(org-entry-get nil "PROPERTY_NAME" nil)
(org-entry-put nil "PROPERTY_NAME" "value")
;; Wrap in ignore-errors when called from non-org-mode contexts
(ignore-errors
(org-entry-get nil "PROPERTY_NAME" t))
(org-back-to-heading t) ; t means error if not at heading
(while (org-up-heading-safe)
;; process each parent heading
)
(org-at-heading-p)
(org-current-level) ; returns integer
(org-get-tags nil t) ; returns list of strings
(member "my_tag" (org-get-tags nil t))
(save-excursion
(org-end-of-subtree t t)
(point))
(org-map-entries
(lambda ()
;; body executed at each matching heading
(org-entry-get nil "PROPERTY"))
"+my_tag")
(save-excursion
(goto-char (point-min))
(when (re-search-forward "^#\\+PROPERTY:\\s-+NAME\\s-+\\(.+\\)$" nil t)
(match-string 1)))
(org-table-goto-column 2) ; go to column 2
(org-table-next-row) ; go to next row
(org-table-get-field) ; current cell
(org-table-get-field 3) ; column 3 of current row
(org-element-context) ; returns element with :path, :type properties
(org-link-make-string "https://example.com" "description")
(defun my-get-session-id ()
"Get session ID safely from any context."
(ignore-errors
(save-excursion
(org-entry-get nil "SESSION_ID" t))))
(save-excursion
(goto-char (point-min))
(catch 'found
(while (re-search-forward "^\\*+ " nil t)
(when (equal "target" (org-entry-get nil "MY_PROP"))
(throw 'found (point))))
nil))
(org-back-to-heading t)
(forward-line 1)
(insert ":PROPERTIES:\n")
(insert ":MY_PROP: value\n")
(insert ":END:\n")
Functions called from header-line or mode-line should wrap org-* calls:
;; BAD - will error in non-org buffers
(defun my-header-line ()
(org-entry-get nil "PROP" t))
;; GOOD - safe in any buffer
(defun my-header-line ()
(ignore-errors
(org-entry-get nil "PROP" t)))
org-entry-get nil uses CURRENT cursor position!
In async callbacks (:on-complete, run-at-time, process filters), the cursor
may have moved. See /emacs-async skill for full patterns.
;; When called from async context with a marker:
(defun handle-async-result (session-key result)
(let ((marker (get-session-marker session-key)))
(when (marker-buffer marker)
(with-current-buffer (marker-buffer marker)
(save-excursion
(goto-char marker) ; Position cursor FIRST!
;; NOW org-entry-get works correctly
(org-entry-get nil "PROPERTY" t))))))
;; BUG: Called from async callback, cursor may be anywhere!
(defun bad-error-handler (error)
(let ((session-key (my-get-session-from-cursor))) ; WRONG!
(recover-session session-key)))
;; FIX: Pass session-key explicitly from the original call
(defun good-error-handler (session-key error)
(recover-session session-key))
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience