Ag

Agent-Rules – Opinionated Rules and Workflows for Claude Code

Hacker News

Agent-Rules – Opinionated Rules and Workflows for Claude Code

Last year I was skeptical about coding AI. Now, they can produce much better quality output, so I started using them more often, specifically claude code. During this transition, I felt unsatisfied with the prompting UX: - Outputs are either noisy, or lacking important details. - Trade-offs aren't fully listed when the agents provide options. - Limited context length, and the inability to share context between sessions means I often have to repeat the same info multiple times when iterating through a problem. So, I defined some custom workflows that make the agent persist the context to markdown files, where I can thoroughly review, answer inline, cross-reference, or delegate another agent for more analysis. The agent and I keep iterating the discussion until we resolve every blocker. This builds an auditable trail of discussions and decision making. I believe these problems and preferences aren't only mine. There are likely some existing tools or skills that provide similar mechanics (e.g. Entire.io). However, I avoided them due to security concerns with third-party plugins, and because I dislike the prompting UX. Skills, if relevant, would just add more slash commands. My customized workflows are about discussions-like UX. The repo contains: - Opinionated mechanics to group rules by layers: global + cross machine, global + machine specific, project + shared, and project + personal. - A layout to split language/tech specific rules into small files. Agents read only what's relevant to the current task, so they don't waste context. - Some general practices that I find useful. Consider this repo as a template or reference implementation which you can build upon. More details in the project readme. Enjoy.

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, agents, agent · Missing: macos, cursor, model
95%95% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: started · Missing: supports, reddit linkedin, podcasting
59%59% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: exist, existing, ide · Missing: https docs, excited, just released
48%48% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: personal · Missing: mobile apps, ios, entrepreneurs
40%40% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
33%33% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
18%18% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Cl
Claude Code's –/.claude/rules/ loads globally – I built around it30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Claude Code's –/.claude/rules/ loads globally – I built around it

Hacker News2
NG
NGRX Tslint Rules44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

NGRX Tslint Rules

Hacker News2
ES
ESLint rules for ChakraUI, such as reorder props to be semantical44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

ESLint rules for ChakraUI, such as reorder props to be semantical

Hacker News1
I
I made Scrabble with modified rules37%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I made Scrabble with modified rules

Hacker News3
Ca
Canonical – 1k ESLint rules to automate code conventions51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Canonical – 1k ESLint rules to automate code conventions

Hacker News2
Co
Coding Rules: Rules for writing robust, maintainable code44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Coding Rules: Rules for writing robust, maintainable code

Hacker News1
Trae Rules
Trae Rules19%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Find, share, and use Trae rules

Indie Hackerscommitment-side-project
On
Online chessboard without any rules49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Online chessboard without any rules

Hacker News16
Pr
Promode for Claude Code30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Promode for Claude Code

Hacker News1
Ru
RubyProctor, a website for developing Rubocop rules49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

RubyProctor, a website for developing Rubocop rules

Hacker News18