Skip to content

mikechavez/context-loops-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Context Loops

Your AI forgets everything between conversations. Context Loops gives it persistent memory.

Three files and a simple loop that keep every session informed, whether you use Claude, ChatGPT, Cursor, or any other AI tool.

The idea

Your AI forgets everything between conversations. These files make it remember.

Three files. One loop:

  1. Plan — Upload your files to any AI chat. Ask it to help you define the next task.
  2. Build — Tell your coding agent to read the files and implement the task.
  3. Update — Have the AI update your context files with what happened.
  4. Repeat.

Context lives in files, not in chat history.

Quick start

  1. Copy the templates/ folder into your project as ai-workflow/
  2. Open any AI chat (Claude, ChatGPT, etc.)
  3. Upload the blank templates and describe your project
  4. Let the AI fill them in for you
  5. Start building

See the full walkthrough: Quick Start →

Templates

File Purpose
session-start.md Where things stand right now
current-sprint.md Sprint goal and task queue
ticket-template.md One task with acceptance criteria
adr-template.md Architecture decision record
session-contract.md Rules for your coding agent's config file

File structure in your project

your-project/
├── ai-workflow/
│   ├── session-start.md
│   ├── current-sprint.md
│   └── tickets/
│       ├── TASK-001.md
│       └── BUG-002.md
├── docs/
│   └── adr/
│       ├── 001-database-choice.md
│       └── 002-caching-strategy.md
└── [your code]

Agent config

Copy templates/session-contract.md into your agent's config file:

  • Claude CodeCLAUDE.md
  • Cursor.cursorrules
  • Windsurf.windsurfrules
  • Copilot.github/copilot-instructions.md
  • CodexAGENTS.md

Learn more

Origin

This framework came from building Backdrop, a crypto intelligence platform built over eight months with AI coding agents. 15+ sprints, 100+ tickets, real bugs, real cost overruns, and one credential leak. The framework is what survived.

License

MIT

Releases

No releases published

Packages

 
 
 

Contributors