Kilo Pages (Isolated MVC) + Pre-Read Index #3096
Closed
Phosphate5429
started this conversation in
1. Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Add a framework mode to Kilo where each page or feature is an isolated micro MVC module with integrated documentation.
Before any code generation or edit, Kilo performs a full pre-read scan of the project (files, docs, Git history, commits, diffs, etc.) to build a context index that guides the AI while enforcing a single-module write scope.
Goals
Micro-Module Structure
README.md (integrated local doc)
Kilo renders this documentation directly in the sidebar when the module is selected.
Pre-Read Index (before writing)
When a repository is opened (or a module selected), Kilo builds a Pre-Read Index that gathers context from:
Code & Doc parsing
app/pages/**Git Analysis
git log -- <module>→ last commits, messages, authorsgit blame→ most frequently modified linesgit diff main...HEAD→ current work in progressDependency Mapping
Risk & Impact Scoring
Typical Flow in Kilo
app/pages/<Module>.feat(page): <Module>.Safety Features
CLI Integration
Git Hooks
feat/fix(page): <Name>VS Code UI (Kilo extension)
MVP — Acceptance Criteria
kilo make:page Foogenerates a working scaffold and route.kilo index:page Foolists routes, detected dependencies, and recent Git activity.Implementation Notes
<Name>.(model|controller|view).phpgitcommands (log, show, blame, diff) and summarize as JSON.kilo/index.json(with HEAD hash + timestamps)score = edits_30d + files_touched + blame_hotspotsMigration Tool
kilo migrate:to-pagesapp/pages/<Name>/foldersValue
Beta Was this translation helpful? Give feedback.
All reactions