AI viboors
Those of you who ask how I use AI. This repo has every prompt I used to build the repo committed and easy to read and unlike other repos is mostly AI generated
1. I prepare a base prompt in a .claude command that has context I want always included at start of prompt
2. Base prompt + my messy brain dump of requirements generate the plans in prompts/ folder
3. I skim the plan to make sure it makes sense ask for changes potentially
4. I deploy fresh agents with fresh context windows over and over again to make progress on the plan
5. I validate tests pass and API looks good at end
Base prompt. The base prompt serves two purposes
1. Getting context into MY head
2. Getting context into the LLM

Generate a large plan. I commit the plan so it's easy to update and regenerate code
Important: I generate tests and APIs before implementing anything. This creates yet another easy to review point if I choose to review

Before I would only run plans serially but now I utilize subagents with a dispatcher agent whose job it is to figure out what tasks can be done in parallel which greatly speeds up how fast I get back code results
The goal of the workflow is pretty simple
1. Make it fast and easy to review what the AI is doing
2. Force the AI to gather context seperately from executing so the executing context window is clean
3. Make it easy to flag a plan, api, or execution as not good enough, update the plan, and retry again
These three concepts we can condense to
1. Optimize review bottleneck
2. Manage context
3. Fail fast and iterate
986
0
本页面内容由第三方提供。除非另有说明,欧易不是所引用文章的作者,也不对此类材料主张任何版权。该内容仅供参考,并不代表欧易观点,不作为任何形式的认可,也不应被视为投资建议或购买或出售数字资产的招揽。在使用生成式人工智能提供摘要或其他信息的情况下,此类人工智能生成的内容可能不准确或不一致。请阅读链接文章,了解更多详情和信息。欧易不对第三方网站上的内容负责。包含稳定币、NFTs 等在内的数字资产涉及较高程度的风险,其价值可能会产生较大波动。请根据自身财务状况,仔细考虑交易或持有数字资产是否适合您。



