I've open-sourced the Copilot instructions and prompts I use daily for a mission-critical production app in the aerospace industry. Nothing fancy, just the actual setup that helps me get: • Properly documented code • Consistent formatting and alignment • Type hints/safety in Python & TypeScript • Code that's readable & understandable Includes instruction files for Python, TypeScript/JS, and Vue.js, plus some utility prompts for generating diagrams, documentation, and a custom teacher agent. It's opinionated; Built around: KISS, DRY, YAGNI, and single responsibility principle. The kind of stuff ...that just makes code easier to maintain. If you use VS Code - Copilot and want a starting point for your own instructions setup, feel free to give it a try 🙏 https://lnkd.in/gQcfWc9q
𝘙𝘰𝘣𝘦𝘳𝘵 Hoffmann’s Post
More Relevant Posts
-
🐍 Django Tip: Direct vs. String References in Model Relationships When defining relationships in Django models, you’ll often see two valid styles: So… 🤔 what’s the real difference? 🔹 Direct Class Reference (Customer) ✅ Clean and explicit ⚠️ Requires the model to be defined or imported beforehand ⚠️ Can cause issues with forward declarations or circular imports Best when: Models are in the same file There’s no dependency loop 🔹 String Reference ('Customer' or 'app_name.Customer') ✅ Resolved lazily by Django ✅ Handles circular dependencies gracefully ✅ Ideal for cross-app relationships Best when: Models reference each other Working in large, multi-app projects 💡 Best Practice ✔️ Use direct references for clarity when possible ✔️ Use string references when flexibility is needed This small choice can save you hours of debugging as your project scales 🚀 Do you prefer: 🔹 Direct references for readability? 🔹 String references for flexibility and safety? #Django #Python #WebDevelopment #BackendDevelopment #SoftwareEngineering #CleanCode #DeveloperTips #Programming
To view or add a comment, sign in
-
-
I recently watched my colleague dive into a new Python project using GitHub Copilot - not just for quick code snippets, but as an active coding partner. What surprised me was how Copilot didn’t just offer boilerplate; it actually generated async functions with docstrings and thoughtful error handling. Sure, she still had to review and refine those suggestions (AI isn’t magic, after all), but more often than not, Copilot sped up the process - especially during those “blank editor” moments. 🚀 What stood out most: Copilot’s nudges towards better patterns, like security checks and best-practice usage of APIs, popping up right in the editor when she needed them. If you’ve seen GitHub Copilot surprise you (or a colleague), how do you make sure those suggestions are reliable? Any favorite tricks for reviewing what Copilot writes? Let’s swap stories! https://msft.it/6046ts39a #GitHubCopilot #AIPairProgramming #CodeQuality #Python #JavaScript
To view or add a comment, sign in
-
-
I recently watched my colleague dive into a new Python project using GitHub Copilot - not just for quick code snippets, but as an active coding partner. What surprised me was how Copilot didn’t just offer boilerplate; it actually generated async functions with docstrings and thoughtful error handling. Sure, she still had to review and refine those suggestions (AI isn’t magic, after all), but more often than not, Copilot sped up the process - especially during those “blank editor” moments. 🚀 What stood out most: Copilot’s nudges towards better patterns, like security checks and best-practice usage of APIs, popping up right in the editor when she needed them. If you’ve seen GitHub Copilot surprise you (or a colleague), how do you make sure those suggestions are reliable? Any favorite tricks for reviewing what Copilot writes? Let’s swap stories! https://msft.it/6046tSP1O #GitHubCopilot #AIPairProgramming #CodeQuality #Python #JavaScript
To view or add a comment, sign in
-
-
I recently watched my colleague dive into a new Python project using GitHub Copilot - not just for quick code snippets, but as an active coding partner. What surprised me was how Copilot didn’t just offer boilerplate; it actually generated async functions with docstrings and thoughtful error handling. Sure, she still had to review and refine those suggestions (AI isn’t magic, after all), but more often than not, Copilot sped up the process - especially during those “blank editor” moments. 🚀 What stood out most: Copilot’s nudges towards better patterns, like security checks and best-practice usage of APIs, popping up right in the editor when she needed them. If you’ve seen GitHub Copilot surprise you (or a colleague), how do you make sure those suggestions are reliable? Any favorite tricks for reviewing what Copilot writes? Let’s swap stories! https://msft.it/6044tS8Ks #GitHubCopilot #AIPairProgramming #CodeQuality #Python #JavaScript
To view or add a comment, sign in
-
-
I recently watched my colleague dive into a new Python project using GitHub Copilot - not just for quick code snippets, but as an active coding partner. What surprised me was how Copilot didn’t just offer boilerplate; it actually generated async functions with docstrings and thoughtful error handling. Sure, she still had to review and refine those suggestions (AI isn’t magic, after all), but more often than not, Copilot sped up the process - especially during those “blank editor” moments. 🚀 What stood out most: Copilot’s nudges towards better patterns, like security checks and best-practice usage of APIs, popping up right in the editor when she needed them. If you’ve seen GitHub Copilot surprise you (or a colleague), how do you make sure those suggestions are reliable? Any favorite tricks for reviewing what Copilot writes? Let’s swap stories! https://msft.it/6049tNvXv #GitHubCopilot #AIPairProgramming #CodeQuality #Python #JavaScript
To view or add a comment, sign in
-
-
I recently watched my colleague dive into a new Python project using GitHub Copilot - not just for quick code snippets, but as an active coding partner. What surprised me was how Copilot didn’t just offer boilerplate; it actually generated async functions with docstrings and thoughtful error handling. Sure, she still had to review and refine those suggestions (AI isn’t magic, after all), but more often than not, Copilot sped up the process - especially during those “blank editor” moments. 🚀 What stood out most: Copilot’s nudges towards better patterns, like security checks and best-practice usage of APIs, popping up right in the editor when she needed them. If you’ve seen GitHub Copilot surprise you (or a colleague), how do you make sure those suggestions are reliable? Any favorite tricks for reviewing what Copilot writes? Let’s swap stories! https://msft.it/6048tSk8Y #GitHubCopilot #AIPairProgramming #CodeQuality #Python #JavaScript
To view or add a comment, sign in
-
-
I recently watched my colleague dive into a new Python project using GitHub Copilot - not just for quick code snippets, but as an active coding partner. What surprised me was how Copilot didn’t just offer boilerplate; it actually generated async functions with docstrings and thoughtful error handling. Sure, she still had to review and refine those suggestions (AI isn’t magic, after all), but more often than not, Copilot sped up the process - especially during those “blank editor” moments. 🚀 What stood out most: Copilot’s nudges towards better patterns, like security checks and best-practice usage of APIs, popping up right in the editor when she needed them. If you’ve seen GitHub Copilot surprise you (or a colleague), how do you make sure those suggestions are reliable? Any favorite tricks for reviewing what Copilot writes? Let’s swap stories! https://msft.it/6044tSLx6 #GitHubCopilot #AIPairProgramming #CodeQuality #Python #JavaScript
To view or add a comment, sign in
-
-
I recently watched my colleague dive into a new Python project using GitHub Copilot - not just for quick code snippets, but as an active coding partner. What surprised me was how Copilot didn’t just offer boilerplate; it actually generated async functions with docstrings and thoughtful error handling. Sure, she still had to review and refine those suggestions (AI isn’t magic, after all), but more often than not, Copilot sped up the process - especially during those “blank editor” moments. 🚀 What stood out most: Copilot’s nudges towards better patterns, like security checks and best-practice usage of APIs, popping up right in the editor when she needed them. If you’ve seen GitHub Copilot surprise you (or a colleague), how do you make sure those suggestions are reliable? Any favorite tricks for reviewing what Copilot writes? Let’s swap stories! https://msft.it/6046tqI0r #GitHubCopilot #AIPairProgramming #CodeQuality #Python #JavaScript
To view or add a comment, sign in
-
-
I recently watched my colleague dive into a new Python project using GitHub Copilot - not just for quick code snippets, but as an active coding partner. What surprised me was how Copilot didn’t just offer boilerplate; it actually generated async functions with docstrings and thoughtful error handling. Sure, she still had to review and refine those suggestions (AI isn’t magic, after all), but more often than not, Copilot sped up the process - especially during those “blank editor” moments. 🚀 What stood out most: Copilot’s nudges towards better patterns, like security checks and best-practice usage of APIs, popping up right in the editor when she needed them. If you’ve seen GitHub Copilot surprise you (or a colleague), how do you make sure those suggestions are reliable? Any favorite tricks for reviewing what Copilot writes? Let’s swap stories! https://msft.it/6046tq4sK #GitHubCopilot #AIPairProgramming #CodeQuality #Python #JavaScript
To view or add a comment, sign in
-
-
🚀 Playwright Automation with Python | BDD | POM Excited to share my work on building a scalable Playwright automation framework using Python, designed with BDD (Behave) and Page Object Model (POM) best practices. 🔹 Key highlights: ✅ BDD framework using Gherkin (Given-When-Then) for business-readable scenarios ✅ Clean Page Object Model (POM) for better maintainability and reuse ✅ Cross-browser testing (Chromium, Firefox, WebKit) ✅ Smart waits & stable selectors for dynamic UI handling ✅ Data-driven testing using external test data ✅ CI/CD integration for automated regression runs ✅ Detailed reports with screenshots for failures This approach helps bridge the gap between business requirements and automation, while ensuring faster feedback and reliable releases. Refer my gitpage https://lnkd.in/evHhRq7t
To view or add a comment, sign in
More from this author
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development