HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cleverhoods

9 karmajoined 7 ปีที่แล้ว

Submissions

[untitled]

1 points·by cleverhoods·3 ชั่วโมงที่ผ่านมา·0 comments

[untitled]

1 points·by cleverhoods·18 ชั่วโมงที่ผ่านมา·0 comments

[untitled]

1 points·by cleverhoods·4 วันที่ผ่านมา·0 comments

Prompt Engineering, Context Engineering, Loop Engineering: What Changed

reporails.com
1 points·by cleverhoods·6 วันที่ผ่านมา·0 comments

[untitled]

1 points·by cleverhoods·13 วันที่ผ่านมา·0 comments

[untitled]

1 points·by cleverhoods·3 เดือนที่ผ่านมา·0 comments

[untitled]

1 points·by cleverhoods·3 เดือนที่ผ่านมา·0 comments

[untitled]

1 points·by cleverhoods·3 เดือนที่ผ่านมา·0 comments

[untitled]

1 points·by cleverhoods·3 เดือนที่ผ่านมา·0 comments

[untitled]

1 points·by cleverhoods·4 เดือนที่ผ่านมา·0 comments

[untitled]

1 points·by cleverhoods·4 เดือนที่ผ่านมา·0 comments

[untitled]

1 points·by cleverhoods·5 เดือนที่ผ่านมา·0 comments

[untitled]

1 points·by cleverhoods·5 เดือนที่ผ่านมา·0 comments

[untitled]

1 points·by cleverhoods·5 เดือนที่ผ่านมา·0 comments

Show HN: Reporails – Linter for AI coding agent instruction files

1 points·by cleverhoods·6 เดือนที่ผ่านมา·1 comments

Show HN: LangGraph architecture that scales (hexagonal pattern, 110 tests)

github.com
12 points·by cleverhoods·6 เดือนที่ผ่านมา·2 comments

comments

cleverhoods
·4 วันที่ผ่านมา·discuss
[flagged]
cleverhoods
·6 วันที่ผ่านมา·discuss
[flagged]
cleverhoods
·13 วันที่ผ่านมา·discuss
[flagged]
cleverhoods
·13 วันที่ผ่านมา·discuss
[flagged]
cleverhoods
·3 เดือนที่ผ่านมา·discuss
I second to that.

with some small caveat: reporails can help with the drifting detection a lot.
cleverhoods
·3 เดือนที่ผ่านมา·discuss
you mean inside the markdown file?

(empty line) [comment]: # (Awesome comment)
cleverhoods
·3 เดือนที่ผ่านมา·discuss
TL;DR: Start your instructions with Directives instead of Constraints/Restrictions. The most compliant ratio is below:

Directive — what to do. This goes first. It establishes the pattern you want in the generation path before the prohibited concept appears.

Context — why. Reasoning that reinforces the directive without mentioning the prohibited concept. “Real integration tests catch deployment failures” adds signal strength to the positive pattern. Be wary! Reasoning that mentions the prohibited concept doubles the violation rate.

Restriction — what not to do. This goes last. Negation provides weak suppression — but weak suppression is enough when the positive pattern is already dominant.
cleverhoods
·4 เดือนที่ผ่านมา·discuss
TL;DR

1. Include rationale — the "why" turns a single rule into a class of behaviors; the agent generalizes from the reason, not just the prohibition 2. Keep heading hierarchy shallow — 3 levels max (h1, h2, h3); deep nesting creates ambiguity about which level governs; if you need h4, you need a separate file 3. Name files descriptively — file name is the first filter before content; api-authentication.md tells the agent relevance instantly, guide.md forces a round trip 4. Use headers — agents scan headers as a table of contents; one topic per header prevents instructions from competing for attention 5. Put commands in code blocks — a command in a code fence is a command, a command in a sentence is a suggestion 6. Use standard section names — ## Testing carries built-in context from millions of READMEs; creative names are noise 7. Make instructions actionable — if the agent can't execute it right now without a clarifying question, it's a wish, not an instruction
cleverhoods
·5 เดือนที่ผ่านมา·discuss
I've been writing workflow instructions for Claude Code and kept hitting the same problem: prose workflows with branching become unreadable past 4-5 steps, both for me and for the agent.

FlowBench (EMNLP 2024) turned out to have tested exactly this. Curious whether others have experimented with different instruction formats for coding agents, or if most people stick with prose.
cleverhoods
·5 เดือนที่ผ่านมา·discuss
gonna run this trough instruction qa this weekend
cleverhoods
·6 เดือนที่ผ่านมา·discuss
Built this after too many hours debugging why Claude kept ignoring my instructions.

36 universal rules, 6 Claude-specific. OpenGrep handles the deterministic checks, LLM fills in the semantic gaps.

Adding rules is easy - slash commands walk you through it.

What breaks your instruction files?
cleverhoods
·6 เดือนที่ผ่านมา·discuss
Not yet, that goal is further down the line as I’m progressing through the development.