const brainAIAnalogy = Human Brain System as AI Learning System Analogy | |-- Central Nervous System | • Coordinates(AllProcesses) ∧ ¬Compute(DirectCalculations) | |-- Brain | • Manage(OverallFunction) ∧ ¬Store(Data) | | | |-- Cerebrum | | • Process(HighLevelTasks) ∧ ¬Handle(LowLevelOperations) | | | | | |-- Frontal Lobe | | • HUMAN(DecisionMaking) ∧ ¬Interface(InputOutput) | | | | | |-- AI Assistants (e.g., Cursor AI, Claude) | | • Augment(HumanDecisionMaking) ∧ ¬Replace(HumanJudgment) | | • Generate(CodeSuggestions) ∧ ¬WriteCompletePrograms | | • Analyze(Context) ∧ ¬UnderstandFullHumanIntent | | | |-- Hippocampus | | • Buffer(ShortTermMemory) ∧ ¬Store(LongTermData) | | | | | |-- Markdown Files | | • Organize(TemporaryNotes) ∧ ¬Persist(PermanentKnowledge) | | • Structure(QuickThoughts) ∧ ¬Formalize(CompleteDocumentation) | | | |-- Basal Ganglia | • Learn(Procedures) ∧ ¬Process(DeclarativeKnowledge)
;
This folder contains AI-assisted development tools for improving code quality and consistency.
- Click on the "Use this template" button
- Create a
.ai
folder in your repository - Move the content of this template into the
.ai
folder
- codex.md: AI Codex - A repository of learnings and errors.
- learn.md: AI Learn - Protocol for updating the AI Codex.
codex.md should be added to the context of every chat:
- For regular chats: Use the plus button at the top of the chat to add the file.
- For Composers: Add the file to a Project Composer so all Composers created in that project will automatically have the file.
The Codex is divided into two main sections:
- Errors: Mistakes made and how to prevent them.
- Learnings: Insights gained and their applications.
Each entry includes context, description, correction/application, and related entries.
- start-session.md: Initiates a new AI session
- end-session.md: Concludes the current AI session
Session files create a "memory layer" for the AI across multiple interactions, enabling contextual awareness and adaptive assistance.
Key benefits:
- Maintains project context between sessions
- Reduces repetition of project details
- Provides consistent guidance aligned with project direction
Usage:
- End a session: Use @end-session command
- Start a new session: Use @start-session command
The AI will generate and read status files in status to maintain project continuity.
Blueprints are comprehensive guides for implementing specific technical architectures or project setups. They provide step-by-step instructions for installing, configuring, and integrating various technologies to create a functional foundation for your project.
- supabase-drizzle-actions.md: Backend architecture with Supabase, Drizzle ORM, and Server Actions
- flux-with-replicate.md: Image generation using Flux and Replicate
- lib: Contains documentation examples for library usage
This is an open-source template. Contributions are welcome! Please add a changelog entry with your contribution.
This system is designed for AI consumption. Entries should prioritize precision and relevance over human readability