AI • README files • Git • Handoffs • Project Memory
How to Use AI Without Losing Project Context
AI can help you move faster, but your project needs memory outside the chat.
README files, commit notes, handoff summaries, screenshots, and Git history keep the work understandable
after the original conversation gets long, messy, or stale.
This guide explains how to preserve project context so AI stays useful over time.
The goal is not to let AI remember everything for you. The goal is to build a project record you can inspect,
transfer, review, and use again later.
Main idea: project memory is not automatic. Preserve it deliberately with README files,
handoff notes, Git commits, and review checkpoints.
Current state
What exists, what changed, what works, and what is still rough.
Project rules
Folder paths, CSS classes, JSON schema, prompts, and design decisions.
Review layer
Git diff, local preview, screenshots, tests, and manual cleanup.
Next step
The exact task to continue later without rebuilding the context from zero.
A good handoff note lets a future chat, future teammate, or future version of you continue the project.
Why project memory matters
AI is useful for planning, writing, code review, data cleanup, and page wiring. But long projects create a
different problem: the context starts spreading across chats, files, screenshots, prompts, design choices,
and half-finished ideas.
Problem
Chats are not enough
A long chat can become slow, hard to search, or too full of old decisions. A new chat may know the general
project but miss the exact recent context: which file changed, which CSS class was chosen, what prompt
worked, or what problem still needs review.
If the only project memory lives in the chat, the project becomes harder to restart later.
Solution
Write durable context
Durable context lives in project files: README notes, planning documents, commit messages, screenshots,
JSON schemas, design rules, and short handoff summaries.
These notes make AI more useful because the next prompt can start from a clean summary instead of forcing
the model to reconstruct the whole project.
AI can help you continue a project, but it should not be the only place the project exists.
The project needs its own memory.
What to save
A project memory note does not need to be long. It needs to preserve the details that would be annoying,
risky, or easy to forget later.
Status
Current state
What exists now, what was just added, what works, what is incomplete, and what should be reviewed next.
Files
Files touched
List the exact files changed, such as index.html, assets/site.css,
or data/site-index.json.
Rules
Design rules
Save class names, layout decisions, image rules, naming patterns, and anything that keeps the site
consistent.
Data
Schema notes
Record JSON field names, expected values, examples, and rules like “do not redesign the data structure.”
Evidence
What was tested
Note whether the page was previewed, links were checked, layout was reviewed on mobile, or commands ran
successfully.
Next
Next step
Write the next concrete task so the project can restart without another long planning session.
The handoff workflow
The best AI workflow is not one giant build. It is a loop: build, review, summarize, save, and continue.
01
Work the problem
Use AI to plan, draft, debug, compare options, or wire repeated files into the project.
02
Review the result
Open the page, run the code, check links, inspect the diff, and fix small judgment calls manually.
03
Write the handoff
Save what changed, why it changed, what files were touched, what was tested, and what should happen next.
04
Commit or continue
Commit the working version, or start a fresh chat with the handoff note instead of carrying the whole chat.
README files are project memory
A README is not only for finished projects. It can be the project’s working brain: what the project is,
how it is organized, what decisions were made, and what still needs work.
Useful sections
What a README can preserve
- Purpose: what the project is trying to do.
- Current status: working, rough, paused, or ready for review.
- Setup notes: commands, dependencies, local preview steps, or deployment notes.
- Design rules: CSS classes, layout patterns, image rules, and visual direction.
- Data schema: JSON fields, required values, naming rules, and examples.
- Problems and fixes: what broke, how it was diagnosed, and what changed.
- Next steps: the small concrete task that comes next.
Why it helps AI
Better prompts need better context
A useful README lets you start a new AI session with the important parts already organized.
Instead of pasting a messy chat, you can paste a short project brief, current status, and next task.
This keeps the assistant focused on the current structure instead of inventing a new architecture,
new style, or new workflow every time.
LaunchShell rule: the more a project grows, the more valuable the boring notes become.
Folder paths, class names, image names, and JSON field names are part of the project.
The LaunchShell revival story
This site is a real example of why project memory matters. Old notes can restart a project months later.
01
The original idea was bigger and rougher.
LaunchShell started as an idea for a student gaming and penetration-testing portal. It was interesting,
but too large for the moment.
02
School became the priority.
Production was paused because coursework, technical growth, and the computer science program had to come
first.
03
The domain was almost gone.
Nearly a year later, the domain was close to expiring. The project could have disappeared as another
abandoned idea.
04
Students asked for project ideas.
Students asking for practical starting points changed the direction. The project did not need to be a
full platform first. It could start as a static portfolio and student resource site.
05
Old notes made the restart faster.
Early brainstorms, logo ideas, README-style summaries, and planning notes preserved enough context to
restart quickly instead of beginning from zero.
06
The project became simpler and more useful.
The direction changed from a complex portal to a static site with guides, projects, resources, JSON-backed
cards, and a clearer student/employer purpose.
The lesson: a paused project is not dead if the useful context was preserved.
A few good handoff notes can turn an old idea back into a working project.
Use chat handoffs when a conversation gets too long
Long AI conversations are useful while you are deep in the work, but they are not always the best permanent
record. Summarize the important parts before starting fresh.
01
Summarize decisions
Save the project direction, rejected ideas, chosen structure, naming rules, and style decisions.
02
Save prompts
Keep prompts that worked for card images, page structure, README updates, or data cleanup.
03
Record current files
List the actual files, folders, image names, JSON files, and CSS classes involved.
04
State the next task
End the handoff with one clear next move so the next chat can start immediately.
Practical warning: a new chat may understand the overall project but still miss the exact
recent visual context, prompt history, or layout decisions. A handoff note closes that gap.
Use Git as the safety layer
AI-assisted changes are safer when Git records the before and after. This makes it easier to inspect,
keep, fix, or revert the work.
Before AI edits
Start from a clean checkpoint
Before asking AI to make a large change, commit the current working version or make sure the existing
changes are intentional. That gives you a safe return point.
This matters for page wiring, CSS experiments, JSON edits, navigation changes, and anything that touches
several files at once.
After AI edits
Review before committing
Inspect the diff, preview the page, click links, check mobile layout, and clean up small issues manually.
Do not commit AI output just because it looks confident.
The commit should represent your reviewed project state, not just the assistant’s first draft.
# Check the current state
git status
# Review what changed
git diff
# Preview locally, fix issues, then stage reviewed files
git add guides/ai-project-memory/index.html
# Commit with a meaningful message
git commit -m "Add AI project memory guide"
Reusable handoff note template
Use this when finishing a long AI session, pausing a project, preparing to start a new chat, or handing work
to a teammate.
## Project handoff: [Project or section name]
Current status:
What exists right now? What is working? What is still rough?
Goal:
What is this project or section supposed to accomplish?
Files involved:
- path/to/file.html
- assets/site.css
- data/example.json
Important rules:
- Preserve the existing folder structure.
- Preserve the current CSS class system.
- Do not redesign the data schema unless requested.
- Keep changes surgical and reviewable.
Recent changes:
What was just added, removed, fixed, or reorganized?
Design notes:
What visual style, layout pattern, image prompt, or page structure should continue?
Data/schema notes:
What fields, filenames, IDs, categories, or JSON structure matter?
Testing/evidence:
What was previewed, run, checked, clicked, compared, or verified?
Known problems:
What is broken, awkward, incomplete, or not ready yet?
Next step:
What should happen next?
How to use this: paste the handoff at the start of the next AI session and ask for one specific
next task, not a full redesign.
Reusable update note template
This shorter version is useful for commit planning, README updates, or documenting a single feature or fix.
## Update note: [Feature or fix]
Problem:
What was wrong, missing, messy, confusing, or hard to maintain?
Change:
What changed?
Why it matters:
Why does this improve the project?
Files touched:
- file/path.html
- assets/site.css
- data/site-index.json
Evidence:
What was tested or verified?
Next step:
What should happen next?
Project memory still needs safe publishing rules
A project handoff can contain useful details, but public notes should not expose private information.
Clean the notes before publishing them.
Remove
Secrets and credentials
Do not publish passwords, API keys, tokens, SSH private keys, recovery codes, database URLs, or cloud
credentials.
Review
Logs and infrastructure
Remove sensitive IPs, private hostnames, private account details, unrevised logs, and internal paths that
should not be public.
Keep
Useful public proof
Keep safe summaries, sanitized screenshots, design decisions, lessons learned, setup notes, and clear
explanations of what changed.
Final idea
AI can help a project move quickly, but project memory is what lets the work survive over time.
Save the decisions, files, prompts, schemas, screenshots, tests, and next steps. Then AI becomes easier to use
because the project has a record outside the chat.