CopilotHub
SearchPromptsInstructionsAgentsToolsMCPs
  1. Home
  2. Prompts
  3. Enforce Project Coding Conventions
Back to Prompts

Enforce Project Coding Conventions

Ask Copilot to rewrite code to follow your project’s style and conventions.

category:code-review
style
linting
consistency
0

Prompt

Rewrite this code to follow our project conventions.
  
  Our conventions:
  [Describe or paste a summary of your style guide / lint rules]
  
  Tasks:
  - Fix naming to match conventions.
  - Reformat code to match our style.
  - Update any patterns that violate our best practices.
  
  Code:
  
  [Paste code here]

Related Prompts

View all →

Enforce Coding Conventions with Copilot

Codify your style guide and let Copilot enforce it across the codebase.

category:code-reviewstylelinting+2

Use Copilot for a First-Pass Code Review

A workflow to use Copilot as an automated reviewer before the human review.

category:code-reviewqualitypr-review+2

Check Code for Security Issues

Use Copilot to look for common security pitfalls in a code snippet.

category:code-reviewsecuritysecurity-review

Perform a Code Review on a PR Diff

Ask Copilot to review a diff and point out issues, smells, and improvements.

category:code-reviewqualitybest-practices

Update Gradle build for Spring Boot 3

Update build.gradle with Spring Boot 3 plugin and Jakarta EE compatible dependencies.

spring-bootgradlebuild+4

Update Maven dependencies for Spring Boot 3

Update pom.xml with Spring Boot 3 dependencies and Jakarta EE compatible libraries.

spring-bootmavenbuild+4
Browse More Prompts

CopilotHub

A curated collection of prompts, instructions, agents, and tools for AI-powered development.

Quick Links

  • Prompts
  • Instructions
  • Agents
  • Tools
  • MCPs
  • Search

Browse by Category

  • Code Generation
  • Debugging
  • Documentation
  • Refactoring
  • Testing
  • Security

Legal

  • Guidelines
  • About
  • Privacy Policy
  • Terms of Service

Community

GitHub

© 2026 CopilotHub.