Remix.run Logo
▲ zdc1 3 hours ago

I didn't know we were still fussing over this stuff enough to need a dedicated tool for it.

I recently had to get into the weeds for a customer-facing document, but day-to-day I just prompt "use terse and information-dense prose with a bit of a narrative flow" and call it a day. For me the docs are basically just a representation of the code, and as long as it's structured and direct, I'm not going to pick at sentence phrasing.

▲rane 44 minutes ago | parent | next [-]

You can help it with prompting and model choice, but in my experience LLMs don't yet have a good sense of what is relevant to the reader in the context. If you don't proof read and refine, there will be parts that stand out as fluff and give bad impression for the reader, IMHO

▲skeeter2020 3 hours ago | parent | prev | next [-]

>> I just prompt "use terse and information-dense prose with a bit of a narrative flow" and call it a day.

Why pre-generate documentation from the code if it's just a English summary of the flow? We could do this on-demand and not carry around a bunch of crud, but more importantly we've known since forever that this documentation is low value; explain the why not the how.

▲thunky an hour ago | parent [-]

Think of the pre-generated docs as a (prompt) cache.

▲msluyter 2 hours ago | parent | prev | next [-]

For most code related writing (code comments, ticket descriptions, pr descriptions, etc...) I use an `/ste-writing` skill. There are a few out there. IIRC, I use https://github.com/1fc0nfig/ste-writing. It uses a simplified/standardized dictionary originating in the aerospace industry.

IMHO, the resulting output is clearer & easier to comprehend.

▲annowiki 2 hours ago | parent | prev | next [-]

For public facing text it is rough as hell. Claude writes the most wrenched syntax, I've resorted to using Neon and Deepseek for copy rewrites.

▲conrs 44 minutes ago | parent | prev | next [-]

I agree. Written language, somewhat, but I've stopped caring about what the code looks like. I'm not the primary reader or writer so my taste preferences are irrelevant.

On the written language side, I've just fed it things it wrote and I edited to be in my voice, and over time it is better at writing in my voice. But actually the habit of typing rather than copying is still good there because of how poor the platforms are at detecting slop and how aggressive they are with shadowbans/false positives.

▲nixpulvis 2 hours ago | parent | prev [-]

Sounds like a slippery slope to not even reading it before sending it.

▲samudrijan an hour ago | parent [-]

Who reads the agents.md file? That thing is an abomination.

(Ok, I read one yesterday and it was useful.)

▲dofm a minute ago | parent [-]

I still write them by hand? I know people now don't.

OK so I get the agent to suggest, because you have to know what broad pattern sets it off in various directions.

If it was confused by something on the way to a solution, you can ask it to explain its confusion (especially if you can still see the thinking traces), and you can then work out if it's worth heading off that confusion in AGENTS.md.

But that only gets you what would work in the context of that single session, because that's really all it knows; it doesn't get you wording that is particularly guaranteed to help that specific agent again, let alone another agent.

So you have to fine-tune; AGENTS.md is for agents but unless you are in the loop of writing it, it just encourages rabbit holes.

Fine tune, test without making the model aware you might be testing (because that could bias it to consider the instructions more deeply than otherwise), and repeat.

At the end should be something terse and complete that you can also understand, because if you can't understand it, you've lost control of the agent.