PromptLoom is a framework generator and workflow for AI-driven software development. It creates a complete directory structure, configuration files, prompt templates, and documentation to help teams use GitHub Copilot Chat and agent workflows for every phase of development.
PromptLoom sets up a Copilot-centric development environment, including:
- Directory structure for prompts, config, memory, and ADRs
- 16-phase prompt templates for Copilot Chat and agent workflows
- Team and phase configuration files
- Memory management and tagging system
- Usage guides and workflow diagrams
PromptLoom is designed for TypeScript/React/Node.js projects, but is flexible for other stacks. It creates a .github
folder for prompts, config, plus a docs
folder for memory, ADRs, and framework guides.
Covers every development phase with clear instructions and templates.
Supports team workflows, memory sync, and documentation standards.
Enforces linting, testing, security checks, and ADRs.
Optimized for Copilot Chat and agentic workflows.
bash <(curl -sSL https://raw.githubusercontent.com/Code-and-Sorts/PromptLoom/main/generate.sh)
You’ll be prompted for project name, team, tech stack, specializations, and custom tags. The script will generate all necessary folders and files in your current directory.
Prerequisites:
- Bash shell (macOS/Linux/WSL recommended)
- GitHub Copilot Chat extension in VS Code for agent workflow
Note: The setup script creates the directory structure and stub files. The actual content for requirements, user stories, architecture, etc. is generated interactively during each development phase using the prompt templates and Copilot Chat.
.github/copilot-instructions.md
- Main development standards and workflow.github/prompts/
- 16 phase prompt templates for Copilot Chat and agent workflows.github/config/
- Team, phase, and tag configuration filesdocs/adr/
- Architecture Decision Recordsdocs/memory.md
- Project memory and timelinedocs/framework/
- Usage guide and workflow diagrams
- Open Copilot
Agent
Chat in VS Code - In the chat, type
/{promptName}
and run the prompt (ex./01-requirements
)
Example Phase Prompt:
# Requirements Gathering Phase
You are a Business Analyst working on the project.
## Your Task
1. Stakeholder Analysis
2. Functional Requirements
3. Non-functional Requirements
4. Constraints
## Output Format
Create a comprehensive requirements document with:
- Stakeholder Analysis
- Functional Requirements
- Non-functional Requirements
- Constraints and Dependencies
- Edit
.github/config/team-config.yml
for team standards and tags - Adjust prompt templates for your workflow
- Use ADRs for architectural decisions
- Usage Guide: See
docs/framework/usage-guide.md
for step-by-step instructions - Workflow Diagrams: See
docs/framework/workflow-diagrams.md
for Mermaid visualizations - Memory Management: Follow tagging and update conventions in
docs/memory.md
Contributions are welcome! Please open issues or pull requests for improvements, bug fixes, or new features.
This project is licensed under the MIT License. See LICENSE
for details.
- Review the usage guide and prompt templates
- Check configuration files for standards and retention policies
- Use Copilot Chat and agent mode for phase guidance and troubleshooting