frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Workflow to build context for coding agents

2•wek•1h ago
Here’s the workflow my team and I have found works best with coding agents:

- Plan: Write a plan in markdown. Edit this. Iterate. The plan isn’t a throwaway note. It tracks status as work progresses (draft -> in-development -> in-review -> completed), versions with git alongside the code, and serves as the single source of truth. When the agent later implements, it reads this document. When we review the work, we compare against it.

- Diagram: Have the agent enrich the plan with architecture diagrams and data models. Edit this. Iterate. These artifacts live alongside the plan and the code. When the agent later implements, it doesn’t need us to re-explain the architecture or the schema. It reads them directly.

- Mockup: For anything with a UI, we create mockups before touching code. We generate interactive html/javascript most of the time. This replaces the Figma-to-engineering handoff entirely. When the agent implements the UI, it already knows what it should look like. No exporting, no describing screenshots in words, no “make it look like the design.”

- Tests: We have the agent write tests based on the plan, diagrams, and mockup. We review them, add edge cases, and now we have an executable definition of “done.”

- Implement: Now we tell the agent: “Implement the notification system. Run tests after each major change. Keep going until all tests pass.” The agent works iteratively. Implements the database migration from the data model. Runs tests — schema tests pass. Builds the WebSocket server. Implements the frontend. Runs Playwright and catches a CSS issue from the screenshot, fixes it, reruns. Eventually: all green.

- Review the work. When the agent finishes, we review. We click through the changes, see exactly what was added, modified, or removed, and compare it against the plan and mockup.

- Commit

- Update the Plan: After committing, we close the loop. We ask the agent to update the plan: status moves from in-development to completed, acceptance criteria get checked off, and any implementation notes get added. If anything doesn't match, either the plan gets updated or we rework the code.

- Update Docs and Website: The agent updates our documentation and our website, keeping everything in sync and up-to-date

What I like about this and why it works is that each step produces context that the next step consumes. By the time the agent starts writing code, it has the spec, the architecture diagram, the database schema, the mockup, and the test suite. Once its done coding, we update everything giving us clean context to build on.

Where Some See Strings, She Sees a Space-Time Made of Fractals

https://www.quantamagazine.org/where-some-see-strings-she-sees-a-space-time-made-of-fractals-2026...
1•tzury•36s ago•0 comments

TruthLayer – Real-time AI hallucination firewall on AWS

https://builder.aws.com
1•Prakhar2025•48s ago•0 comments

Karpathy is searching for the Agentic IDE

https://xcancel.com/karpathy/status/2031616709560610993
1•bigwheels•54s ago•1 comments

The path to room-temperature superconductivity: A programmatic approach

https://www.pnas.org/doi/10.1073/pnas.2520324123
1•tzury•5m ago•0 comments

A look inside Dialector, filmmaker Chris Marker's chatbot from 1988

https://kubicki.org/letters/the-festival-of-the-machines/
4•kosmavision•6m ago•0 comments

U+237C ⍼ Right Angle with Downwards Zigzag Arrow Is a Symbol for Azimuth

https://ionathan.ch/2022/04/09/angzarr.html
1•fanf2•7m ago•0 comments

GitLab Active Incident

https://status.gitlab.com/
2•auslegung•7m ago•1 comments

Strait of Hormuz closure can become tipping point for global economy

https://www.cnbc.com/2026/03/11/strait-of-hormuz-closure-shipping-economy-oil.html
2•speckx•7m ago•0 comments

UK Lords Back Facial Recognition Overreach, Protest Crackdown Powers

https://reclaimthenet.org/uk-face-surveillance-dvla-protest-law
1•robtherobber•7m ago•0 comments

RCE in Your Test Suite: How AI Agent Skills Bypass Every Skill Security Scanner

https://www.gecko.security/blog/rce-in-your-test-suite-ai-agent-skills-bypass-skill-scanners
1•jjjutla•8m ago•1 comments

Some Simple Economics of AGI

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6298838
1•simonebrunozzi•9m ago•0 comments

Show HN: Ink – Deploy full-stack apps from AI agents via MCP or Skills

https://ml.ink/
1•august-•10m ago•0 comments

Do animals have a future on Hollywood sets?

https://theconversation.com/do-animals-have-a-future-on-hollywood-sets-273877
1•PaulHoule•11m ago•0 comments

Education research: How students use AI-powered hints in programming courses

https://blog.jetbrains.com/research/2026/02/how-ai-powered-hints-used/
1•fraserkatie•12m ago•0 comments

Temporal: The 9-Year Journey to Fix Time in JavaScript

https://bloomberg.github.io/js-blog/post/temporal/
8•robpalmer•13m ago•2 comments

I quit Rails core 4 years ago, here's what I've been up to

https://kaspth.com/posts/i-quit-rails-core-4-years-ago-heres-what-ive-been-up-to
1•kaspth•13m ago•0 comments

The T1 Trust – Building a new PRR T1 locomotive from the original plans

https://prrt1steamlocomotivetrust.org/
1•LorenDB•14m ago•0 comments

Turn Any Excel, CSV or Data File into an Interactive Dashboard in 5 Seconds

https://dashira.tech
1•pallaxa•15m ago•0 comments

Show HN: Run 100 RAG experiments in parallel, even on a single GPU

1•kbigdelysh•15m ago•1 comments

I believe in SOTA models over custom ones

https://danielmiessler.com/blog/sota-models-over-custom-ones
1•vinhnx•15m ago•1 comments

Modern wealth is a parlour game played by the well fed

https://www.chrbutler.com/modern-wealth-parlour-game
5•speckx•15m ago•2 comments

Show HN: GladeKit – AI agent for Unity game development

https://www.gladekit.com/
1•danielfang7•15m ago•0 comments

Show HN: Another SQLite editor in browser powered by WASM and AI

https://sql.computelite.com/
1•akhil977•16m ago•0 comments

Why are languages spoken at different speeds?

https://www.popsci.com/science/why-are-languages-spoken-at-different-speeds/
1•Brajeshwar•16m ago•0 comments

NASA's next X-ray mission, AXIS, has been killed

https://bigthink.com/starts-with-a-bang/nasa-x-ray-axis-killed/
2•Brajeshwar•16m ago•0 comments

"If it sounds literary, it isn't": deceptively simple rules behind good writing

https://bigthink.com/books/good-writing/
1•Brajeshwar•16m ago•0 comments

OpenAI's Race to Catch Up to Claude Code

https://www.wired.com/story/openai-codex-race-claude-code/
1•samizdis•16m ago•0 comments

QORA-LLM-2B – Pure Rust ternary inference, no multiplication needed

https://huggingface.co/qoranet/QORA-LLM-2B
1•blockmandev•17m ago•1 comments

Ayar Labs, Wiwynn to cram 1,024 GPUs into photonic system

https://www.theregister.com/2026/03/11/ayar_labs_wiwynn_photonics/
2•LorenDB•18m ago•0 comments

It's weird to have a skull full of poison

https://www.experimental-history.com/p/its-very-weird-to-have-a-skull-full
2•theamk•18m ago•0 comments