René's URL Explorer Experiment


Title: Refactoring code with GitHub Copilot - GitHub Docs

Open Graph Title: Refactoring code with GitHub Copilot - GitHub Docs

X Title: Refactoring code with GitHub Copilot - GitHub Docs

Description: Leverage Copilot artificial intelligence to help you refactor your code quickly and effectively.

X Description: Leverage Copilot artificial intelligence to help you refactor your code quickly and effectively.

Keywords:

Opengraph URL: https://docs-internal.github.com/en/copilot/tutorials/refactor-code

direct link

Domain: docs.github.com

google-site-verificationc1kuD-K2HIVF635lypcsWPoD4kilo5-jA_wBFyT4uMY
path-languageen
path-versionfree-pro-team@latest
path-productcopilot
path-articlecopilot/tutorials/refactor-code
page-content-typetutorials
page-document-typearticle
status200
og:site_nameGitHub Docs
og:typearticle
og:imagehttps://docs.github.com/assets/cb-345/images/social-cards/copilot.png
twitter:cardsummary
twitter:domaindocs-internal.github.com
twitter:urlhttps://docs-internal.github.com/en/copilot/tutorials/refactor-code
twitter:imagehttps://docs.github.com/assets/cb-345/images/social-cards/copilot.png

Links:

Skip to main contenthttps://docs.github.com/en/copilot/tutorials/refactor-code#main-content
GitHub Docshttps://docs.github.com/en
GitHub Copilothttps://docs.github.com/en/copilot
Tutorialshttps://docs.github.com/en/copilot/tutorials
Refactor codehttps://docs.github.com/en/copilot/tutorials/refactor-code
Homehttps://docs.github.com/en
GitHub Copilothttps://docs.github.com/en/copilot
Quickstarthttps://docs.github.com/en/copilot/get-started/quickstart
What is GitHub Copilot?https://docs.github.com/en/copilot/get-started/what-is-github-copilot
Planshttps://docs.github.com/en/copilot/get-started/plans
Featureshttps://docs.github.com/en/copilot/get-started/features
Best practiceshttps://docs.github.com/en/copilot/get-started/best-practices
Choose enterprise planhttps://docs.github.com/en/copilot/get-started/choose-enterprise-plan
Achieve company goalshttps://docs.github.com/en/copilot/get-started/achieve-company-goals
Code suggestionshttps://docs.github.com/en/copilot/concepts/completions/code-suggestions
Text completionhttps://docs.github.com/en/copilot/concepts/completions/text-completion
Code referencinghttps://docs.github.com/en/copilot/concepts/completions/code-referencing
Chathttps://docs.github.com/en/copilot/concepts/chat
About coding agenthttps://docs.github.com/en/copilot/concepts/agents/coding-agent/about-coding-agent
Agent managementhttps://docs.github.com/en/copilot/concepts/agents/coding-agent/agent-management
Custom agentshttps://docs.github.com/en/copilot/concepts/agents/coding-agent/about-custom-agents
Access managementhttps://docs.github.com/en/copilot/concepts/agents/coding-agent/access-management
MCP and coding agenthttps://docs.github.com/en/copilot/concepts/agents/coding-agent/mcp-and-coding-agent
Code reviewhttps://docs.github.com/en/copilot/concepts/agents/code-review
Copilot CLIhttps://docs.github.com/en/copilot/concepts/agents/about-copilot-cli
OpenAI Codexhttps://docs.github.com/en/copilot/concepts/agents/openai-codex
Agent Skillshttps://docs.github.com/en/copilot/concepts/agents/about-agent-skills
Enterprise managementhttps://docs.github.com/en/copilot/concepts/agents/enterprise-management
Sparkhttps://docs.github.com/en/copilot/concepts/spark
Prompt engineeringhttps://docs.github.com/en/copilot/concepts/prompting/prompt-engineering
Response customizationhttps://docs.github.com/en/copilot/concepts/prompting/response-customization
MCPhttps://docs.github.com/en/copilot/concepts/context/mcp
Spaceshttps://docs.github.com/en/copilot/concepts/context/spaces
Repository indexinghttps://docs.github.com/en/copilot/concepts/context/repository-indexing
Content exclusionhttps://docs.github.com/en/copilot/concepts/context/content-exclusion
AI toolshttps://docs.github.com/en/copilot/concepts/tools/ai-tools
About Copilot integrationshttps://docs.github.com/en/copilot/concepts/tools/about-copilot-integrations
Auto model selectionhttps://docs.github.com/en/copilot/concepts/auto-model-selection
Rate limitshttps://docs.github.com/en/copilot/concepts/rate-limits
Copilot requestshttps://docs.github.com/en/copilot/concepts/billing/copilot-requests
Individual planshttps://docs.github.com/en/copilot/concepts/billing/individual-plans
Billing for individualshttps://docs.github.com/en/copilot/concepts/billing/billing-for-individuals
Organizations and enterpriseshttps://docs.github.com/en/copilot/concepts/billing/organizations-and-enterprises
Copilot-only enterpriseshttps://docs.github.com/en/copilot/concepts/about-enterprise-accounts-for-copilot-business
Policieshttps://docs.github.com/en/copilot/concepts/policies
MCP managementhttps://docs.github.com/en/copilot/concepts/mcp-management
Network settingshttps://docs.github.com/en/copilot/concepts/network-settings
Copilot usage metricshttps://docs.github.com/en/copilot/concepts/copilot-metrics
Set up for selfhttps://docs.github.com/en/copilot/how-tos/set-up/set-up-for-self
Set up for organizationhttps://docs.github.com/en/copilot/how-tos/set-up/set-up-for-organization
Set up for enterprisehttps://docs.github.com/en/copilot/how-tos/set-up/set-up-for-enterprise
Set up a dedicated enterprisehttps://docs.github.com/en/copilot/how-tos/set-up/set-up-a-dedicated-enterprise-for-copilot-business
Install Copilot extensionhttps://docs.github.com/en/copilot/how-tos/set-up/install-copilot-extension
Install Copilot CLIhttps://docs.github.com/en/copilot/how-tos/set-up/install-copilot-cli
Get IDE code suggestionshttps://docs.github.com/en/copilot/how-tos/get-code-suggestions/get-ide-code-suggestions
Write PR descriptionshttps://docs.github.com/en/copilot/how-tos/get-code-suggestions/write-pr-descriptions
Find matching codehttps://docs.github.com/en/copilot/how-tos/get-code-suggestions/find-matching-code
Get started with Chathttps://docs.github.com/en/copilot/how-tos/chat-with-copilot/get-started-with-chat
Chat in IDEhttps://docs.github.com/en/copilot/how-tos/chat-with-copilot/chat-in-ide
Chat in Windows Terminalhttps://docs.github.com/en/copilot/how-tos/chat-with-copilot/chat-in-windows-terminal
Chat in GitHubhttps://docs.github.com/en/copilot/how-tos/chat-with-copilot/chat-in-github
Chat in Mobilehttps://docs.github.com/en/copilot/how-tos/chat-with-copilot/chat-in-mobile
Manage agentshttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/manage-agents
Create a PRhttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/create-a-pr
Update existing PRhttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/make-changes-to-an-existing-pr
Track Copilot sessionshttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/track-copilot-sessions
Review Copilot PRshttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/review-copilot-prs
Create custom agentshttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/create-custom-agents
Test custom agentshttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/test-custom-agents
Extend coding agent with MCPhttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/extend-coding-agent-with-mcp
Integrate coding agent with Slackhttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/integrate-coding-agent-with-slack
Integrate coding agent with Teamshttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/integrate-coding-agent-with-teams
Integrate coding agent with Linearhttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/integrate-coding-agent-with-linear
Changing the AI modelhttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/changing-the-ai-model
Customize the agent environmenthttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment
Customize the agent firewallhttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-firewall
Troubleshoot coding agenthttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/troubleshoot-coding-agent
Use code reviewhttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review
Configure automatic reviewhttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/request-a-code-review/configure-automatic-review
Manage toolshttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/request-a-code-review/manage-tools
Use Copilot CLIhttps://docs.github.com/en/copilot/how-tos/use-copilot-agents/use-copilot-cli
Configure access to AI modelshttps://docs.github.com/en/copilot/how-tos/use-ai-models/configure-access-to-ai-models
Change the chat modelhttps://docs.github.com/en/copilot/how-tos/use-ai-models/change-the-chat-model
Change the completion modelhttps://docs.github.com/en/copilot/how-tos/use-ai-models/change-the-completion-model
Create Copilot Spaceshttps://docs.github.com/en/copilot/how-tos/provide-context/use-copilot-spaces/create-copilot-spaces
Use Copilot Spaceshttps://docs.github.com/en/copilot/how-tos/provide-context/use-copilot-spaces/use-copilot-spaces
Collaborate with othershttps://docs.github.com/en/copilot/how-tos/provide-context/use-copilot-spaces/collaborate-with-others
Extend Copilot Chat with MCPhttps://docs.github.com/en/copilot/how-tos/provide-context/use-mcp/extend-copilot-chat-with-mcp
Set up the GitHub MCP Serverhttps://docs.github.com/en/copilot/how-tos/provide-context/use-mcp/set-up-the-github-mcp-server
Enterprise configurationhttps://docs.github.com/en/copilot/how-tos/provide-context/use-mcp/enterprise-configuration
Configure toolsetshttps://docs.github.com/en/copilot/how-tos/provide-context/use-mcp/configure-toolsets
Use the GitHub MCP Serverhttps://docs.github.com/en/copilot/how-tos/provide-context/use-mcp/use-the-github-mcp-server
Change MCP registryhttps://docs.github.com/en/copilot/how-tos/provide-context/use-mcp/change-mcp-registry
Add personal instructionshttps://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-personal-instructions
Add repository instructionshttps://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-repository-instructions
Add organization instructionshttps://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-organization-instructions
Exclude content from Copilothttps://docs.github.com/en/copilot/how-tos/configure-content-exclusion/exclude-content-from-copilot
Review changeshttps://docs.github.com/en/copilot/how-tos/configure-content-exclusion/review-changes
Use Copilot to create or update issueshttps://docs.github.com/en/copilot/how-tos/use-copilot-for-common-tasks/use-copilot-to-create-or-update-issues
Create a PR summaryhttps://docs.github.com/en/copilot/how-tos/use-copilot-for-common-tasks/create-a-pr-summary
Use Copilot in the CLIhttps://docs.github.com/en/copilot/how-tos/use-copilot-for-common-tasks/use-copilot-in-the-cli
Configure network settingshttps://docs.github.com/en/copilot/how-tos/configure-personal-settings/configure-network-settings
Configure in IDEhttps://docs.github.com/en/copilot/how-tos/configure-personal-settings/configure-in-ide
Authenticate to GHE.comhttps://docs.github.com/en/copilot/how-tos/configure-personal-settings/authenticate-to-ghecom
Monitor premium requestshttps://docs.github.com/en/copilot/how-tos/manage-and-track-spending/monitor-premium-requests
Manage request allowanceshttps://docs.github.com/en/copilot/how-tos/manage-and-track-spending/manage-request-allowances
Manage company spendinghttps://docs.github.com/en/copilot/how-tos/manage-and-track-spending/manage-company-spending
Get started with a Copilot planhttps://docs.github.com/en/copilot/how-tos/manage-your-account/get-started-with-a-copilot-plan
Get free access to Copilot Prohttps://docs.github.com/en/copilot/how-tos/manage-your-account/get-free-access-to-copilot-pro
View and change your Copilot planhttps://docs.github.com/en/copilot/how-tos/manage-your-account/view-and-change-your-copilot-plan
Disable Copilot Freehttps://docs.github.com/en/copilot/how-tos/manage-your-account/disable-copilot-free
Manage policieshttps://docs.github.com/en/copilot/how-tos/manage-your-account/manage-policies
Subscribehttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-organization/manage-plan/subscribe
Cancelhttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-organization/manage-plan/cancel
Grant accesshttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-organization/manage-access/grant-access
Manage requests for accesshttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-organization/manage-access/manage-requests-for-access
Revoke accesshttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-organization/manage-access/revoke-access
Manage network accesshttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-organization/manage-access/manage-network-access
Manage policieshttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-organization/manage-policies
Add Copilot coding agenthttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-organization/add-copilot-coding-agent
Prepare for custom agentshttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-organization/prepare-for-custom-agents
Review user activity datahttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-organization/review-activity/review-user-activity-data
Review audit logshttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-organization/review-activity/review-audit-logs
Use your own API keyshttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-organization/use-your-own-api-keys
Subscribehttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-plan/subscribe
Cancel planhttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-plan/cancel-plan
Upgrade planhttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-plan/upgrade-plan
Downgrade subscriptionhttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-plan/downgrade-subscription
Grant accesshttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-access/grant-access
Disable for organizationshttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-access/disable-for-organizations
View license usagehttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-access/view-license-usage
Manage network accesshttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-access/manage-network-access
Manage enterprise policieshttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-enterprise-policies
Prepare for custom agentshttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/prepare-for-custom-agents
Monitor agentic activityhttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/monitor-agentic-activity
Manage Copilot coding agenthttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/manage-copilot-coding-agent
Manage Copilot code reviewhttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-agents/manage-copilot-code-review
Manage Sparkhttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-spark
View usage and adoptionhttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/view-usage-and-adoption
View code generationhttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/view-code-generation
Use your own API keyshttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/use-your-own-api-keys
Configure MCP registryhttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-mcp-usage/configure-mcp-registry
Configure MCP server accesshttps://docs.github.com/en/copilot/how-tos/administer-copilot/manage-mcp-usage/configure-mcp-server-access
Download activity reporthttps://docs.github.com/en/copilot/how-tos/administer-copilot/download-activity-report
Troubleshoot common issueshttps://docs.github.com/en/copilot/how-tos/troubleshoot-copilot/troubleshoot-common-issues
View logshttps://docs.github.com/en/copilot/how-tos/troubleshoot-copilot/view-logs
Troubleshoot firewall settingshttps://docs.github.com/en/copilot/how-tos/troubleshoot-copilot/troubleshoot-firewall-settings
Troubleshoot network errorshttps://docs.github.com/en/copilot/how-tos/troubleshoot-copilot/troubleshoot-network-errors
Troubleshoot Sparkhttps://docs.github.com/en/copilot/how-tos/troubleshoot-copilot/troubleshoot-spark
Cheat sheethttps://docs.github.com/en/copilot/reference/cheat-sheet
Supported modelshttps://docs.github.com/en/copilot/reference/ai-models/supported-models
Model comparisonhttps://docs.github.com/en/copilot/reference/ai-models/model-comparison
Model hostinghttps://docs.github.com/en/copilot/reference/ai-models/model-hosting
Keyboard shortcutshttps://docs.github.com/en/copilot/reference/keyboard-shortcuts
Custom agents configurationhttps://docs.github.com/en/copilot/reference/custom-agents-configuration
Policy conflictshttps://docs.github.com/en/copilot/reference/policy-conflicts
Copilot allowlist referencehttps://docs.github.com/en/copilot/reference/copilot-allowlist-reference
MCP allowlist enforcementhttps://docs.github.com/en/copilot/reference/mcp-allowlist-enforcement
Metrics datahttps://docs.github.com/en/copilot/reference/metrics-data
Billing cyclehttps://docs.github.com/en/copilot/reference/copilot-billing/billing-cycle
Seat assignmenthttps://docs.github.com/en/copilot/reference/copilot-billing/seat-assignment
License changeshttps://docs.github.com/en/copilot/reference/copilot-billing/license-changes
Azure billinghttps://docs.github.com/en/copilot/reference/copilot-billing/azure-billing
Agentic audit log eventshttps://docs.github.com/en/copilot/reference/agentic-audit-log-events
Review excluded fileshttps://docs.github.com/en/copilot/reference/review-excluded-files
Copilot usage metrics datahttps://docs.github.com/en/copilot/reference/copilot-usage-metrics/copilot-usage-metrics
Interpret usage metricshttps://docs.github.com/en/copilot/reference/copilot-usage-metrics/interpret-copilot-metrics
Reconciling Copilot usage metricshttps://docs.github.com/en/copilot/reference/copilot-usage-metrics/reconciling-usage-metrics
Copilot LoC metricshttps://docs.github.com/en/copilot/reference/copilot-usage-metrics/lines-of-code-metrics
All tutorialshttps://docs.github.com/copilot/tutorials
All promptshttps://docs.github.com/copilot/tutorials/copilot-chat-cookbook
Create templateshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/creating-templates
Extract informationhttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/extracting-information
Synthesize researchhttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/synthesizing-research
Create diagramshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/creating-diagrams
Generate tableshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/generating-tables
Debug invalid JSONhttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/debug-errors/debug-invalid-json
Handle API rate limitshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/debug-errors/handle-api-rate-limits
Explore implementationshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/analyze-functionality/explore-implementations
Analyze feedbackhttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/analyze-functionality/analyze-feedback
Improve code readabilityhttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/refactor-code/improve-code-readability
Fix lint errorshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/refactor-code/fix-lint-errors
Refactor for optimizationhttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/refactor-code/refactor-for-optimization
Refactor for sustainabilityhttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/refactor-code/refactor-for-sustainability
Refactor design patternshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/refactor-code/refactor-design-patterns
Refactor data access layershttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/refactor-code/refactor-data-access-layers
Decouple business logichttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/refactor-code/decouple-business-logic
Handle cross-cuttinghttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/refactor-code/handle-cross-cutting
Simplify inheritance hierarchieshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/refactor-code/simplify-inheritance-hierarchies
Fix database deadlockshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/refactor-code/fix-database-deadlocks
Translate codehttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/refactor-code/translate-code
Create issueshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/document-code/creating-issues
Document legacy codehttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/document-code/document-legacy-code
Explain legacy codehttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/document-code/explain-legacy-code
Explain complex logichttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/document-code/explain-complex-logic
Sync documentationhttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/document-code/sync-documentation
Write discussions or blog postshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/document-code/write-discussions-or-blog-posts
Generate unit testshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/testing-code/generate-unit-tests
Create mock objectshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/testing-code/create-mock-objects
Create end-to-end testshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/testing-code/create-end-to-end-tests
Update unit testshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/testing-code/update-unit-tests
Secure your repositoryhttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/analyze-security/secure-your-repository
Manage dependency updateshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/analyze-security/manage-dependency-updates
Find vulnerabilitieshttps://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/analyze-security/find-vulnerabilities
All customizationshttps://docs.github.com/copilot/tutorials/customization-library
Your first custom instructionshttps://docs.github.com/en/copilot/tutorials/customization-library/custom-instructions/your-first-custom-instructions
Concept explainerhttps://docs.github.com/en/copilot/tutorials/customization-library/custom-instructions/concept-explainer
Debugging tutorhttps://docs.github.com/en/copilot/tutorials/customization-library/custom-instructions/debugging-tutor
Code reviewerhttps://docs.github.com/en/copilot/tutorials/customization-library/custom-instructions/code-reviewer
GitHub Actions helperhttps://docs.github.com/en/copilot/tutorials/customization-library/custom-instructions/github-actions-helper
Pull request assistanthttps://docs.github.com/en/copilot/tutorials/customization-library/custom-instructions/pull-request-assistant
Issue managerhttps://docs.github.com/en/copilot/tutorials/customization-library/custom-instructions/issue-manager
Accessibility auditorhttps://docs.github.com/en/copilot/tutorials/customization-library/custom-instructions/accessibility-auditor
Testing automationhttps://docs.github.com/en/copilot/tutorials/customization-library/custom-instructions/testing-automation
Your first prompt filehttps://docs.github.com/en/copilot/tutorials/customization-library/prompt-files/your-first-prompt-file
Create READMEhttps://docs.github.com/en/copilot/tutorials/customization-library/prompt-files/create-readme
Onboarding planhttps://docs.github.com/en/copilot/tutorials/customization-library/prompt-files/onboarding-plan
Document APIhttps://docs.github.com/en/copilot/tutorials/customization-library/prompt-files/document-api
Review codehttps://docs.github.com/en/copilot/tutorials/customization-library/prompt-files/review-code
Generate unit testshttps://docs.github.com/en/copilot/tutorials/customization-library/prompt-files/generate-unit-tests
Your first custom agenthttps://docs.github.com/en/copilot/tutorials/customization-library/custom-agents/your-first-custom-agent
Implementation plannerhttps://docs.github.com/en/copilot/tutorials/customization-library/custom-agents/implementation-planner
Bug fix teammatehttps://docs.github.com/en/copilot/tutorials/customization-library/custom-agents/bug-fix-teammate
Cleanup specialisthttps://docs.github.com/en/copilot/tutorials/customization-library/custom-agents/cleanup-specialist
Get the best resultshttps://docs.github.com/en/copilot/tutorials/coding-agent/get-the-best-results
Pilot coding agenthttps://docs.github.com/en/copilot/tutorials/coding-agent/pilot-coding-agent
Your first sparkhttps://docs.github.com/en/copilot/tutorials/spark/your-first-spark
Prompt tipshttps://docs.github.com/en/copilot/tutorials/spark/prompt-tips
Build and deploy appshttps://docs.github.com/en/copilot/tutorials/spark/build-apps-with-spark
Deploy from CLIhttps://docs.github.com/en/copilot/tutorials/spark/deploy-from-cli
Use custom instructionshttps://docs.github.com/en/copilot/tutorials/use-custom-instructions
Enhance agent mode with MCPhttps://docs.github.com/en/copilot/tutorials/enhance-agent-mode-with-mcp
Compare AI modelshttps://docs.github.com/en/copilot/tutorials/compare-ai-models
Speed up development workhttps://docs.github.com/en/copilot/tutorials/speed-up-development-work
Set up self-serve licenseshttps://docs.github.com/en/copilot/tutorials/roll-out-at-scale/assign-licenses/set-up-self-serve-licenses
Track usage and adoptionhttps://docs.github.com/en/copilot/tutorials/roll-out-at-scale/assign-licenses/track-usage-and-adoption
Remind inactive usershttps://docs.github.com/en/copilot/tutorials/roll-out-at-scale/assign-licenses/remind-inactive-users
Establish AI managershttps://docs.github.com/en/copilot/tutorials/roll-out-at-scale/establish-ai-managers
Drive adoptionhttps://docs.github.com/en/copilot/tutorials/roll-out-at-scale/enable-developers/drive-adoption
Integrate AI agentshttps://docs.github.com/en/copilot/tutorials/roll-out-at-scale/enable-developers/integrate-ai-agents
Increase test coveragehttps://docs.github.com/en/copilot/tutorials/roll-out-at-scale/drive-downstream-impact/increase-test-coverage
Accelerate pull requestshttps://docs.github.com/en/copilot/tutorials/roll-out-at-scale/drive-downstream-impact/accelerate-pull-requests
Reduce security debthttps://docs.github.com/en/copilot/tutorials/roll-out-at-scale/drive-downstream-impact/reduce-security-debt
Measure trial successhttps://docs.github.com/en/copilot/tutorials/roll-out-at-scale/measure-success
Explore a codebasehttps://docs.github.com/en/copilot/tutorials/explore-a-codebase
Explore issues and discussionshttps://docs.github.com/en/copilot/tutorials/explore-issues-and-discussions
Explore pull requestshttps://docs.github.com/en/copilot/tutorials/explore-pull-requests
Write testshttps://docs.github.com/en/copilot/tutorials/write-tests
Refactor codehttps://docs.github.com/en/copilot/tutorials/refactor-code
Optimize code reviewshttps://docs.github.com/en/copilot/tutorials/optimize-code-reviews
Reduce technical debthttps://docs.github.com/en/copilot/tutorials/reduce-technical-debt
Review AI codehttps://docs.github.com/en/copilot/tutorials/review-ai-generated-code
Learn a new languagehttps://docs.github.com/en/copilot/tutorials/learn-a-new-language
Modernize legacy codehttps://docs.github.com/en/copilot/tutorials/modernize-legacy-code
Modernize Java applicationshttps://docs.github.com/en/copilot/tutorials/modernize-java-applications
Migrate a projecthttps://docs.github.com/en/copilot/tutorials/migrate-a-project
Plan a projecthttps://docs.github.com/en/copilot/tutorials/plan-a-project
Vibe codinghttps://docs.github.com/en/copilot/tutorials/vibe-coding
Upgrade projectshttps://docs.github.com/en/copilot/tutorials/upgrade-projects
Copilot inline suggestionshttps://docs.github.com/en/copilot/responsible-use/copilot-code-completion
Chat in your IDEhttps://docs.github.com/en/copilot/responsible-use/chat-in-your-ide
Chat in GitHubhttps://docs.github.com/en/copilot/responsible-use/chat-in-github
Chat in GitHub Mobilehttps://docs.github.com/en/copilot/responsible-use/chat-in-github-mobile
Copilot CLIhttps://docs.github.com/en/copilot/responsible-use/copilot-cli
Copilot in Windows Terminalhttps://docs.github.com/en/copilot/responsible-use/copilot-in-windows-terminal
Copilot in GitHub Desktophttps://docs.github.com/en/copilot/responsible-use/copilot-in-github-desktop
Pull request summarieshttps://docs.github.com/en/copilot/responsible-use/pull-request-summaries
Copilot text completionhttps://docs.github.com/en/copilot/responsible-use/copilot-text-completion
Commit message generationhttps://docs.github.com/en/copilot/responsible-use/copilot-commit-message-generation
Code reviewhttps://docs.github.com/en/copilot/responsible-use/code-review
Copilot coding agenthttps://docs.github.com/en/copilot/responsible-use/copilot-coding-agent
Sparkhttps://docs.github.com/en/copilot/responsible-use/spark
Copilot Spaceshttps://docs.github.com/en/copilot/responsible-use/copilot-spaces
GitHub Copilothttps://docs.github.com/en/copilot
Tutorialshttps://docs.github.com/en/copilot/tutorials
Refactor codehttps://docs.github.com/en/copilot/tutorials/refactor-code
Introductionhttps://docs.github.com/en/copilot/tutorials/refactor-code#introduction
Understanding codehttps://docs.github.com/en/copilot/tutorials/refactor-code#understanding-code
Optimizing inefficient codehttps://docs.github.com/en/copilot/tutorials/refactor-code#optimizing-inefficient-code
Cleaning up repeated codehttps://docs.github.com/en/copilot/tutorials/refactor-code#cleaning-up-repeated-code
Making code more concisehttps://docs.github.com/en/copilot/tutorials/refactor-code#making-code-more-concise
Splitting up complex units of codehttps://docs.github.com/en/copilot/tutorials/refactor-code#splitting-up-complex-units-of-code
Rewrite conditional code for better readabilityhttps://docs.github.com/en/copilot/tutorials/refactor-code#rewrite-conditional-code-for-better-readability
Reformat code to use a different structurehttps://docs.github.com/en/copilot/tutorials/refactor-code#reformat-code-to-use-a-different-structure
Improving the name of a symbolhttps://docs.github.com/en/copilot/tutorials/refactor-code#improving-the-name-of-a-symbol
Introductionhttps://docs.github.com/en/copilot/tutorials/refactor-code#introduction
Understanding codehttps://docs.github.com/en/copilot/tutorials/refactor-code#understanding-code
Optimizing inefficient codehttps://docs.github.com/en/copilot/tutorials/refactor-code#optimizing-inefficient-code
Example codehttps://docs.github.com/en/copilot/tutorials/refactor-code#example-code
Use the Copilot Chat panelhttps://docs.github.com/en/copilot/tutorials/refactor-code#use-the-copilot-chat-panel
Use Copilot inline chathttps://docs.github.com/en/copilot/tutorials/refactor-code#use-copilot-inline-chat
Cleaning up repeated codehttps://docs.github.com/en/copilot/tutorials/refactor-code#cleaning-up-repeated-code
Making code more concisehttps://docs.github.com/en/copilot/tutorials/refactor-code#making-code-more-concise
Splitting up complex units of codehttps://docs.github.com/en/copilot/tutorials/refactor-code#splitting-up-complex-units-of-code
Rewrite conditional code for better readabilityhttps://docs.github.com/en/copilot/tutorials/refactor-code#rewrite-conditional-code-for-better-readability
Reformat code to use a different structurehttps://docs.github.com/en/copilot/tutorials/refactor-code#reformat-code-to-use-a-different-structure
Improving the name of a symbolhttps://docs.github.com/en/copilot/tutorials/refactor-code#improving-the-name-of-a-symbol
Privacy policyhttps://docs.github.com/en/site-policy/privacy-policies/github-privacy-statement
Make a contributionhttps://github.com/github/docs/blob/main/content/copilot/tutorials/refactor-code.md
Learn how to contributehttps://docs.github.com/contributing
Ask the GitHub communityhttps://github.com/orgs/community/discussions
Contact supporthttps://support.github.com
Termshttps://docs.github.com/en/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/en/site-policy/privacy-policies/github-privacy-statement
Statushttps://www.githubstatus.com/
Pricinghttps://github.com/pricing
Expert serviceshttps://services.github.com
Bloghttps://github.blog

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.