Files
Wiki/Compare coding agents.md
T

1.4 KiB

title, kind, lang, author, section
title kind lang author section
Compare coding agents explain en Janik von Rotz dev

Comparing LLM agents is difficult. I wanted to build a simple feature this Obsidian Wiki. Obsidian features bases, these are basically queries for the entire markdown file structure. There is no other output format, except for the bases view of Obsidian. The coding agent should build a simple js script that renders the bases view definitions to markdown tables.

Prompt

This is the prompt.

I would like to process the view definition files in the `./bases` folder and output them as markdown table.
The input data for the views are the markdown files and their frontmatter data.
Have a look at `./Prozesse.base.md` to see an example output.
Can you complete the `./generate-base-views.js` file?
Use `js-yaml` to read the bases file.
Use `gray-matter` to read the frontmatter of the markdown files.
Note that the filters are strings and can be run as js code.
To process the markdown file