Our recent team discussion Black Flag Design on AI-assisted development, particularly using Cursor, provided interesting insights into optimizing workflows, efficiency, and costs.
Here's what me, Bobby N. , Ryan St. Pierre , Keith Pattison , and Matías Barrios discussed based on what we're seeing in the ways of working:
Different AI Interaction Modes and Their Impact:
Our team members exhibit diverse AI interaction styles: some heavily utilize agent-based completions for broader coding tasks, while others primarily rely on tab completions for predictable patterns.
Tab completions are more obvious as extremely efficient and cost-effective, especially beneficial in repetitive coding scenarios following established patterns.
Efficiency and Cost Balance:
Heavy reliance on AI agents, while boosting productivity significantly (up to 50,000 suggested changes in one day), incurs higher costs.
Recognizing when and how to strategically leverage agents versus simpler interactions (like chat or tab completions) is essential.
Intentional AI Usage:
We identified the importance of deliberate AI usage. Chat interactions are ideal for initial planning, exploration, and detailed problem-solving discussions.
In larger codebases such as our enterprise systems, Agent interactions should be primarily for executing well-defined tasks or code generation.
Shared Context and Documentation:
Creating shared context, such as comprehensive PRDs or documentation, significantly improves the efficiency of subsequent AI-assisted interactions.
Structured documentation aids the AI in better understanding and contextualizing tasks, reducing redundant or unnecessary code generations.
Actionable Steps & Recommendations:
- Clearly define scenarios suited for agent tasks versus those better handled via chat or manual coding supported by tab completions.
- Establish and communicate guidelines or best practices clearly delineating optimal AI interaction modes based on task complexity and type.
- Enhance transparency and consistency in documenting AI-driven processes to ensure clarity and alignment among team members.
- Regularly share successful strategies and insights from individual workflows to foster continuous improvement and collective learning.
Points of Debate:
- Cost versus creativity: Some team members prefer expansive, agent-driven approaches for broader creativity, despite higher costs, while others prioritize cost-effective simplicity.
- Structured planning (e.g., formal PRDs) has supporters who argue it enhances clarity and productivity, while others feel it can inhibit creative coding processes.
Overall, we concluded that a strategic, intentional approach to AI use, paired with open communication and shared best practices, will best serve productivity and cost-efficiency.