Add comprehensive .github/copilot-instructions.md for AI coding agents#2
Draft
Add comprehensive .github/copilot-instructions.md for AI coding agents#2
Conversation
Co-authored-by: justincihi <181523173+justincihi@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update .github/copilot-instructions.md with analysis
Add comprehensive .github/copilot-instructions.md for AI coding agents
Oct 14, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds a comprehensive
.github/copilot-instructions.mdfile to guide AI coding agents working on the WellTech AI MedSuite™ project. The documentation provides detailed guidance on architecture, development workflows, project conventions, and best practices.What's Included
📋 Comprehensive Documentation (559 lines, 18KB)
The new file includes 15 major sections with 44 detailed subsections covering:
Project Overview - Complete technology stack overview:
Architecture Overview - Detailed project structure:
app.py,src/main.py)firebase_deployment/functions/index.js)Development Workflows - Practical setup and usage:
Project-Specific Conventions:
@require_auth,@require_admin,@require_active_user)Integration Points - Complete API documentation:
/api/health,/api/therapy/demo,/api/auth/login,/api/auth/register/api/auth/profile,/api/therapy/sessions/*/api/admin/users/*,/api/admin/statsTesting Guidelines:
/debug-upload-test.html)test_upload.sh)Deployment Guidelines:
Security Best Practices:
Additional Sections:
Best Practices for AI Agents:
Why This Matters
This documentation serves as a single source of truth for AI coding agents to:
File Location
Benefits
✅ Reduces onboarding time for AI agents
✅ Ensures consistency across code changes
✅ Maintains security and compliance standards
✅ Provides clear examples and patterns
✅ Documents all API endpoints and integration points
✅ Establishes best practices for the project
Related: This addresses the need for comprehensive documentation to guide AI coding agents working on the WellTech AI MedSuite™ platform, a professional clinical AI solution for therapy session analysis.
Original prompt
implement this.
[Chronological Review: The conversation began with the user requesting an analysis of the codebase to generate or update the `.github/copilot-instructions.md` file. The user specified the need to focus on the architecture, developer workflows, project-specific conventions, and integration points. The user also provided context about the current date and the active file being worked on. The user then made a brief request with "pl," which was unclear, followed by a command to implement the analysis. The conversation ended with the user asking to implement the instructions.][Intent Mapping:
.github/copilot-instructions.md.[Technical Inventory:
[Code Archaeology:
/Users/incogneato/Documents/GitHub/thinksync-enhanced/README.md./Users/incogneato/Documents/GitHub/thinksync-enhanced/admin_dashboard.py(contains the main application logic).[Progress Assessment:
.github/copilot-instructions.mdfile based on the analysis.][Context Validation: All critical information for continuation is captured, including the user's goals and the specific files involved.]
[Recent Commands Analysis:
1. Conversation Overview: - Primary Objectives: User requested to "analyze this codebase to generate or update `.github/copilot-instructions.md` for guiding AI coding agents." - Session Context: The conversation focused on understanding the codebase architecture, workflows, conventions, and integration points to create effective instructions for AI agents. - User Intent Evolution: The user initially sought analysis, then made an unclear request, and finally asked to implement the analysis.- Technical Foundation:
- Python: Used for the application development.
- Flask: Framework for building the web application.
- Project Structure: Involves multiple components, including an admin dashboard.
- Codebase Status:
- File Name:
- Purpose: Documentation for the project.
- Current State: Active file being worked on.
- File Name:
- Purpose: Contains the main application logic.
- Current State: Context provided but no specific changes documented yet.
- Problem Resolution:
- Issues Encountered: None explicitly mentioned; focus is on analysis and documentation.
- Solutions Implemented: Not applicable yet as the analysis is pending.
- Debugging Context: No ongoing troubleshooting efforts noted.
- Lessons Learned: Insights will be gathered post-analysis.
- Progress Tracking:
- Completed Tasks: User provided context and specific requests for analysis.
- Partially Complete Work: Analysis and documentation of
- Validated Outcomes: None yet, as the analysis has not been executed.
- Active Work State:
- Current Focus: Analyzing the codebase to generate/update
- Recent Context: User requested an analysis of the codebase and implementation of findings.
- Working Code: No specific code snippets discussed recently.
- Immediate Context: User was preparing to implement the analysis when the token budget was exceeded.
- Recent Operations:
- Last Agent Commands: User requested to analyze the codebase and implement the findings.
- Tool Results Summary: No specific results generated yet; analysis is still pending.
- Pre-Summary State: The agent was preparing to analyze the codebase when the token budget was exceeded.
- Operation Context: Commands were executed to fulfill the user's goal of creating actionable instructions for AI coding agents.
- Continuation Plan:
- Pending Task 1: Analyze the codebase to generate/update `.github/...
/Users/incogneato/Documents/GitHub/thinksync-enhanced/README.md/Users/incogneato/Documents/GitHub/thinksync-enhanced/admin_dashboard.py.github/copilot-instructions.mdare pending..github/copilot-instructions.md.Created from VS Code via the GitHub Pull Request extension.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.