A template to turn GitHub Copilot into a goal-oriented, memory-persistent coding assistant — inspired by AWS Kiro.
Use this setup to guide Copilot from spec → design → tasks → tested code while maintaining project context across sessions.
📝 Read the full Medium article:
Beyond Autocomplete: Give Copilot a Memory and a Brain
copilot-instructions.md
— Tiny bootstrap that tells Copilot to use the memory bank and follow the Kiro-Lite processprompts/kiro-lite.prompt.md
— A multi-phase, slash-command-based prompt that emulates Kiro’s spec-driven workflow
memory-bank-instructions.md
— Defines the memory system, file structure, workflows, and update processcopilot-rules.md
— Captures project constraints, rules, and security policies- Core context files:
projectbrief.md
productContext.md
systemPatterns.md
techContext.md
activeContext.md
progress.md
feature-template/
— A starter folder for scoped PRD/design/task files (copied by Copilot during/start feature
)
Copilot only acts when triggered with these:
Command | Purpose |
---|---|
/start feature <name> |
Initializes folder + memory files |
/approve prd |
Locks PRD and moves to design |
/approve design |
Locks design and moves to task breakdown |
/approve tasks |
Locks task plan and allows coding |
/implement <TASK_ID> |
Generates code + tests for a single task |
/review complete |
Confirms task is done |
/update memory bank |
Refreshes context and progress files |
- 🧠 Clone the repo
- 🔌 Add
.github/copilot-instructions.md
to your working repo - 📁 Copy the
/memory-bank/
structure and fill in your context - 💬 Paste the
kiro-lite.prompt.md
into Copilot Chat - 🚀 Start building with
/start feature <name>
/start feature auth-login
# Copilot creates: /memory-bank/auth-login/{prd.md, design.md, ...}
[ you describe the PRD ]
/approve prd
# Copilot writes design.md
/approve design
# Copilot writes tasks.md
/implement AUTH-1
# Copilot generates file diff + tests
Add /memory-bank/commands.md as a cheatsheet Use GitHub Actions to validate memory structure on PRs Build an onboarding doc for new team members
MIT — use it, fork it, remix it. Just don’t let your assistant commit secrets. 😉