frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: CLI for validating, querying, and updating Markdown specs

https://github.com/anatoly-tenenev/spec-cli
1•anatoly-tenenev•1h ago
1) What this project is

This is a Go utility (spec-cli) for working structurally with a complex directory of markdown files (a specification), which is described at https://spec-schema.org. The utility has two main tasks:

- validation of a set of markdown files;

- interaction with markdown files (query, add, update, delete).

2) What problems this solves

- anxiety that the agent will break the structural integrity of the specification;

- the ability to maintain structurally complex specifications made up of markdown files;

- the fact that the agent has to load too much data into the context window (read the entire specification).

3) How it works (approximate usage scenario):

- you initialize the specification schema with a yaml file according to https://spec-schema.org/ This schema describes the structure of the directory with markdown files and the structure of the markdown files themselves. This stage, of course, can be done with an agent;

- in a new session with the agent, you simply tell it to run `spec-cli help`: with this command it gets an agent-friendly projection of the specification schema, which it then works with, and commands (query/add/update/) description;

- now the agent can use cli utility to validate, update, and query the specification;

- the specification remains convenient for the developer to read, because it is located next to the project and has the structure defined by the developer.

4) Future plans

Right now I am testing the utility on a real project. In particular, the utility needs to support concurrent work (for example, to avoid errors where markdown files added simultaneously get the same id) and batch operations.

Thank you for reading!

PersonaWars

https://personawars.com
1•colapsis•2m ago•0 comments

Memory crisis latest: What we learned from the top producers this week

https://www.cnbc.com/2026/03/20/memory-crisis-latest-dram-chips-micron-samsung-sk-hynix.html
1•1vuio0pswjnm7•2m ago•0 comments

Bernie vs. Claude [video]

https://www.youtube.com/watch?v=h3AtWdeu_G0
1•krtab•4m ago•0 comments

StitchSentry – preflight checks for embroidery files

https://stitchsentry.com
1•naifmhd•11m ago•0 comments

Flash-Moe: Running a 397B Parameter Model on a Mac with 48GB RAM

https://github.com/danveloper/flash-moe
2•mft_•12m ago•0 comments

EVs can make power grids more reliable (and earn owners money)

https://techxplore.com/news/2026-03-electric-cars-power-grids-reliable.html
1•geox•13m ago•0 comments

Open source infrastructure (built in Rust) for internal software and AI agents

https://github.com/RootCX/RootCX
1•seyz•21m ago•0 comments

Calendrical Calculations

https://en.wikipedia.org/wiki/Calendrical_Calculations
3•tosh•28m ago•1 comments

When machines pay machines, who bills the machine?

https://www.billingbird.io/p/when-machines-pay-machines-who-bills
3•the_reconciler•29m ago•1 comments

No existing dev tool fits perfectly, so I built my own

https://devleo.ch/blog/build-your-own-workflow
2•leonardcser•31m ago•1 comments

One Word Silenced the West [video]

https://www.youtube.com/watch?v=l6lbSU189AQ
2•joe_mamba•31m ago•0 comments

Reports of code's death are greatly exaggerated

https://stevekrouse.com/precision
5•stevekrouse•32m ago•1 comments

Only 9% of MSPs have strong email spoofing protection across lookalike domains

https://shieldmarc.com/blog/research/uk-msp-dmarc-audit-2026
2•AMuffinman•33m ago•1 comments

A little gap that will ensure the future of AI Agents being autonomous

3•utsav-develops•35m ago•0 comments

Non-trivial error in physics paper found via Lean

https://arxiv.org/abs/2603.08139
3•leanexplorer•39m ago•1 comments

Careless Whisper – personal local speech to text

https://github.com/YarivGilad/careless-whisper
2•harel•40m ago•0 comments

Amanda Peet on Getting Breast Cancer While Losing Her Parents

https://www.newyorker.com/culture/the-weekend-essay/my-season-of-ativan
2•Anon84•49m ago•0 comments

Decorative Patterns of the Ancient World (1930)

https://archive.org/details/in.gov.ignca.39205
1•bookofjoe•49m ago•0 comments

CryptoSlate is charging AI agents $0.09 per article via x402

https://proofivy.com/blog/cryptoslate_x402_pay_per_article_is_live
1•maarten3•50m ago•0 comments

Contrarian AI Investment Theses

https://investinginai.substack.com/p/the-great-ai-contraction-5-contrarian
2•robmay•58m ago•1 comments

Anthropic sent lawyers – no more Claude Max in OpenCode

https://twitter.com/thdxr/status/2034730036759339100
4•BaudouinVH•1h ago•2 comments

Ext-Markdown-mirror – now supports Pages Router and better image handling

https://github.com/JakubKontra/next-markdown-mirror
1•JakubKontra•1h ago•0 comments

Show HN: 20 years of Hacker News discussions, clustered and visualized

https://app.lenzy.ai/projects/prj_public_01KKKENH0W0JEFHETN74AYDD87/reports/rpt_01KKKENH0W0JEFHET...
3•BohdanPetryshyn•1h ago•1 comments

q and KDB-X

https://code.kx.com/kdb-x/learn/brief-introduction.html
2•tosh•1h ago•0 comments

'Miracle': Europe reconnects with lost spacecraft

https://phys.org/news/2026-03-miracle-europe-reconnects-lost-spacecraft.html
27•vrganj•1h ago•2 comments

Freestyle Linked Lists Tricks

https://nullprogram.com/blog/2025/12/31/
3•signa11•1h ago•0 comments

Looking for Contributors and Sponsors – SuggestPilot

https://github.com/Shantanugupta43/SuggestPilot
2•shaanuknow•1h ago•0 comments

Cooking with Functions

https://world.hey.com/ricardo.tavares/cooking-with-functions-4f3d04bf
1•rickdg•1h ago•0 comments

Sprite OS

https://en.wikipedia.org/wiki/Sprite_(operating_system)
3•0123456789ABCDE•1h ago•0 comments

An effect notation based on with-clauses and blocks

https://blog.yoshuawuyts.com/a-with-based-effect-notation/
1•r4um•1h ago•0 comments