frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: How are you structuring Markdown-based context for AI coding agents?

2•lepuski•10h ago
I’ve recently transitioned from using LLMs in-browser to a local agentic workflow in VS Code (Gemini Code Assist). I can approve/disapprove changes which is nice, but I’ve hit a wall regarding context management. Initially, I provided all the whole repo as context to the non-agentic version of Gemini code assist and it performed well.

I read the agentic mode is "better" so to keep the agent aligned with my project's architecture, I’ve manually built 7 dense Markdown files that serve as the system instructions for the project. I require Gemini to update these files as we implement features.

gemini.md (instructs gemini to read the other md files and handle updating) project_overview.md, architecture.md, features.md, database.md, api.md, security.md

Each file is between 500–1,500 words so I’m concerned if f this is the right way to go. There seems to be no consensus on context file best practices. I’m seeing strong arguments for both minimalist, lean instructions and dense, project-wide specs. Honestly, the proper usage/prompting patterns of LLM's seems to be comparable to reading horoscopes, everyone goes by gut-feeling with the most cited source of truth being the confirmation bias.

How are you using .md context files in your workflow?

Facebook Appears to Be Down

13•Molitor5901•1h ago•14 comments

Ask HN: Who wants to be hired? (March 2026)

117•whoishiring•1d ago•316 comments

Ask HN: What prompt do you use to get Claude to consistently render LaTeX?

3•TobyTheCamel•2h ago•4 comments

Ask HN: What's your experience self-hosting in 2026?

15•rustcore•2h ago•0 comments

Ask HN: Who is hiring? (March 2026)

231•whoishiring•1d ago•308 comments

Ask HN: Best use / examples of agents / OpenClaw that you saw recently?

3•simonebrunozzi•2h ago•0 comments

Ask HN: How is Claude agent experience in Xcode 26.3?

6•malshe•6h ago•0 comments

Google violates its 14-day deprecation policy for Gemini 3 Pro Preview

4•goolulusaurs•5h ago•1 comments

Ask HN: What will OpenAI employees do now who have signed notdividedorg petition

10•Imustaskforhelp•10h ago•15 comments

I have $10k+ in cloud credits and want to turn them into a real business

3•Palominocoq•6h ago•3 comments

Ask HN: How are you all staying sane?

135•throwaway53463•1d ago•133 comments

Ask HN: What Online LLM / Chat do you use?

11•ddxv•20h ago•15 comments

Tell HN: MitID, Denmark's digital ID, was down

141•mousepad12•4d ago•181 comments

Whats Up with Claude Lately?

17•mech422•19h ago•14 comments

Ask HN: What sources like HN do you consume?

50•DavidHaerer•1d ago•33 comments

Ask HN: How are you structuring Markdown-based context for AI coding agents?

2•lepuski•10h ago•0 comments

Ask HN: Would engineers be interested in a technical prep consultant?

7•TechPrepper•1d ago•8 comments

Ask HN: How Do Emergency Alerts on Phone Work?

5•rishikeshs•16h ago•4 comments

Ask HN: Who still works async and has a 'no meetings' work policy in 2026?

6•RaulOnRails•12h ago•4 comments

Ask HN: Codex CLI error reveals "GPT-5.4-ab-arm2" string

7•quantisan•21h ago•1 comments

Aura-State: Formally Verified LLM State Machine Compiler

4•rohanmunshi08•2d ago•2 comments

A timeline of cyber attacks:home users, contractors, and SMBs are now targets

4•EricAUS•21h ago•2 comments

BlackTape – open-source music discovery built on MusicBrainz and Discogs

7•Blacktape•22h ago•2 comments

Ask HN: How did you figure out what research field you were passionate about?

7•aabiji•23h ago•6 comments

Ask HN: How to approach new people in 2026?

10•tavro•2d ago•17 comments

Tell HN: My daily game won a Players Choice Award

20•paulhebert•3d ago•4 comments

I used 2D Base64 to bypass Gemini and expose Google's moderation flaws

7•MissMajordazure•2d ago•1 comments

Ask HN: Billions of dollars in funding, but what's changed for robotics?

9•ajax33•1d ago•3 comments

Ask HN: How do we solve the bot flooding problem without destroying anonymity?

14•txrx0000•2d ago•20 comments

AWS ME-CENTRAL-1 Region Down (Due to additional loss of mec1-az3)

11•nixgeek•1d ago•2 comments