Skip to main content

AI Coding

Analysis | Diagrams | Innovators

What is the best architecture for AI Coding and Agent Development?

Clarity of intents and purpose is now the most important capability for driving valuable outcomes. Code is only as good as it remains, understandable, maintainable and free of technical debt.

Principles

Software development is now about guiding the intentions of intelligent systems through prompts. Those unwilling to adapt will fall far behind.

Flow of thought to meaningful action is the ultimate goal. Three key principles to mastering intent-driven software engineering.

  • Precision Prompting
  • Control Context
  • Leverage Compute Power

Prompt Precision

Prompting is now programming, enabling multi-step workflows and dynamic problem-solving.

Balance prompt detail, with just enough context and the right LLM for the task at hand.

  1. Keep things simple, particularly when starting out
  2. Choose the right tools to constrain agent behavior
  3. Aim to only use prompts over writing code
  4. Plan out specs with prompts
  5. Factor out a library of reusable prompts

Vibe Coding Definition

Optimize Context

Manage context to achieve results. Clarity of intentions is even more important with AI tools to communicate context, processes and desired outcomes to ensure solutions have a clean architecture and avoid wasting compute time and tokens.

tip

Needless context switching is the enemy of progress

Leverage Compute Power

Choose the right model for the job to be done.

Investing in advanced AI models yields significant productivity improvements compared to cost-saving approaches using lower-grade models.

Model Benchmarks

Use benchmarking tools to evaluate best bang for buck when choosing the best model for the job in hand.

Planning

The meta of the matter, matters most.

  • Deep Wiki: Analyse github projects to understand how they work.
  • Understand the Domain: Map the Data Footprint and Flow between entities that Transform Information and Potential into Meaningful Actions.
  • Plan before you code: Identify the hardest problem to solve, clarify vision, architecture, and constraints in writing.
  • Track tasks separately: Keep actionable work distinct from high-level planning.
  • Document everything: Modular, persistent documentation helps maintain context and continuity.
  • Enforce standards: Use configuration files to guide both human and automated contributors.
  • Iterate and update: Continuously refine your plans and tasks as the project evolves.

Data Flow

At it's core software is all about the movement and transformation of data.

Data Flow: Understand how data flows through your system, how it created, stored, what impacts it's change of state, and who/what needs to know about that. Use flow diagrams to map the transformation of intent into valuable actions.

  • Flow of Information: For information to be valuable it must be timely and actionable.
  • Flow of Progress: The smooth, uninterrupted advancement of a project. Principles include clear process logic, synchronization, and minimizing waste. Practical steps to achieve this include defining clear steps and responsibilities and coordinating tasks and timelines.
  • Flow of Value: The flow of value focuses on delivering maximum value to the customer with minimal waste. This involves value stream mapping, lean principles, and continuous improvement. Strategies include implementing lean methodologies and regularly assessing and improving processes.

What does the Optimum Toolkit for your Business Model look like?

Algorithms

What do you need your data for? What is the most complicated/valuable bit?

Routing Algorithm

Trading Algorithm

Make it work, make it right, make it fast. Use a spreadsheet to prove logic to get desired outcomes and document data flows.

Priorities

Functions and Features in order of delivery.

  • Purpose: Tracks current tasks, backlog, and sub-tasks.
  • Includes: Bullet list of active work, milestones, and anything discovered mid-process.
  • Prompt to AI: “Update TASK.md to mark XYZ as done and add ABC as a new task.”
  • Can prompt the LLM to automatically update and create tasks as well (through global rules).

AI Coding Tools

What are the best tools and practices for evolving solutions with a clean architecture?

IDENotes
VS CodeCopilot
AiderMost innovative? Python
Bolt NewWeb Green Fields
ClineVS Plugin
Convex ChefIntegrated Backend
CursorAll Purpose
Google FirebaseGoogle Code Assist
ReplitWeb Green Fields
v0Vercel, UI/UX Design
WindsurfOpen AI
coderabbit.aiDev Ops

AI Agent Config

Prime your agents with purpose and rules.

File/DirectoryPurposeImportance
.ide-project-rulesIDE and Project-specific standards & rulesEnsures consistency and compliance
PurposeHigh-level vision & architectureGuides all decisions, prevents drift
PrioritiesTrack tasks, backlog, and milestonesMaintains focus and progress
docs/plans/Modular planning documentsSupports detailed, persistent context
logs/tasks/Task history and rationaleEnables continuity and learning
README.mdOverview and instructionsEssential for onboarding and clarity

MCP Config

What security checks need to be in place before using a MCP Service?

How do you find the perfect mix of MCP Servers for the task at hand?

See MCP Server Config Instructions.

Use Cases

Use JTBD Analysis to build software to expand potential to deepen insights to build closer connections.

Control your own Destiny

  • Save money on software with features you don't use or need
  • Maximize Advantage of Trade Secrets and IP
  • Take control of your data footprint
  • Optimize integration and data flows
  • Custom Deep Research

Prototyping Ideas

  • Quickly building proof-of-concept applications
  • Iterating on designs through conversation with AI

Automating Tasks

  • Writing exploratory code to try out structures
  • Simplifying and trimming down large codebases
  • Automating monotonous tasks and one-off scripts
  • Converting programs to more efficient languages for performance improvements
  • Building entire web applications with unfamiliar technologies

Code Optimization and Refactoring

  • Identifying opportunities to improve code efficiency
  • Suggesting refactoring to simplify complex codebases

Documentation and Logic Explanations

  • Generating code documentation
  • Explaining complex code or algorithms

Context

Related principles and ideas.